Mitsubishi Electric MELSEC-Q/L Programming Manual page 122

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

Advertisement

Operation error
• No operation error occurs.
Program example
■CPY_BIT_OF_INT(_E)
The program which writes a value of 5th bit of (s) to the 3rd bit of (d).
• Function without EN/ENO (CPY_BIT_OF_INT)
[Structured ladder/FBD]
[ST]
g_int3 := CPY_BIT_OF_INT(g_int1, 5, 3);
• Function with EN/ENO (CPY_BIT_OF_INT_E)
[Structured ladder/FBD]
[ST]
g_bool3 := CPY_BIT_OF_INT_E(g_bool2, g_int1, 5, 3, g_int3);
5 APPLICATION FUNCTIONS
120
5.1 Type Conversion Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents