Mitsubishi Electric MELSEC-Q/L Programming Manual page 120

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

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents