Operation error
• No operation error occurs.
Program example
■TIME_TO_BOOL(_E)
The program which converts time type data input to (s) into bit type data, and outputs the operation result from (d).
• Function without EN/ENO (TIME_TO_BOOL)
[Structured ladder/FBD]
[ST]
g_bool1 := TIME_TO_BOOL(g_time1);
• Function with EN/ENO (TIME_TO_BOOL_E)
[Structured ladder/FBD]
[ST]
g_bool3 := TIME_TO_BOOL_E(g_bool1, g_time1, g_bool2);
5 APPLICATION FUNCTIONS
102
5.1 Type Conversion Functions