Mitsubishi Electric MELSEC-Q/L Programming Manual page 118

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

Advertisement

Operation error
• No operation error occurs.
Program example
■GET_BIT_OF_INT(_E)
The program which reads a value of 5th bit of data input to (s), and outputs the operation result from (d).
• Function without EN/ENO (GET_BIT_OF_INT)
[Structured ladder/FBD]
[ST]
g_bool3 := GET_BIT_OF_INT(g_int1, 5);
• Function with EN/ENO (GET_BIT_OF_INT_E)
[Structured ladder/FBD]
[ST]
g_bool2 := GET_BIT_OF_INT_E(g_bool1, g_int1, 5, g_bool3);
5 APPLICATION FUNCTIONS
116
5.1 Type Conversion Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents