LD Time1
TOD_DINT_TO_STRING
ST Result_Str
Result_Str := TOD_DINT_TO_STRING(Time1);
Parameter
|
Type
|
Comment
|
---|---|---|
Time1
|
PL7 time of day to convert into character string format.
|
Parameter
|
Type
|
Comment
|
---|---|---|
Result_Str
|
Result_Str is a string of 8 characters containing a time of day in the following format: HH:MM:SS.
Example: ’04:38:49’
|
Field
|
Limits
|
Comment
|
---|---|---|
Hour
|
[00,23]
|
The leading 0 is displayed; it can be omitted during data entry.
|
Minute
|
[00,59]
|
The leading 0 is displayed; it can be omitted during data entry.
|
Second
|
[00,59]
|
The leading 0 is displayed; it can be omitted during data entry.
|