Mitsubishi Electric MELSEC-Q/L Programming Manual page 116

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Operation error
• No operation error occurs.
Program example
■CPY_BITARR(_E)
The program which outputs 12 bits from num1 element of bit string input to (s) to num2 and the following bits of (d).
• Function without EN/ENO (CPY_BITARR)
[Structured ladder/FBD]
[ST]
g_bool5[num2] := CPY_BITARR(g_bool4[num1], 12);
• Function with EN/ENO (CPY_BITARR_E)
[Structured ladder/FBD]
[ST]
g_bool2 := CPY_BITARR_E(g_bool1, g_bool4[num1], 12, g_bool5[num2]);
5 APPLICATION FUNCTIONS
114
5.1 Type Conversion Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents