Operation error
• No operation error occurs.
Program example
■INT_TO_BITARR(_E)
The program which outputs low-order 4 bits of word (signed) type data input to (s) to (d).
• Function without EN/ENO (INT_TO_BITARR)
[Structured ladder/FBD]
[ST]
g_bool4[0] := INT_TO_BITARR(g_int1, 4);
• Function with EN/ENO (INT_TO_BITARR_E)
[Structured ladder/FBD]
[ST]
g_bool2 := INT_TO_BITARR_E(g_bool1, g_int1, 4, g_bool4[0]);
5 APPLICATION FUNCTIONS
112
5.1 Type Conversion Functions