Mitsubishi Electric MELSEC-Q/L Programming Manual page 151

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

Advertisement

For precautions when setting an input value using a programming tool, refer to the following.
 MELSEC-Q/L/F Structured Programming Manual (Fundamentals)
• If word (unsigned) type/16-bit string type/double word (unsigned) type/32-bit string type is specified for (d), warning C9026
occurs at compilation.
■Operation result
• Function without EN/ENO
An operation is executed and the operation value is output from (d).
• Function with EN/ENO
The following table shows the executing conditions and operation results.
EN
TRUE (Operation execution)
FALSE (Operation stop)
*1 When FALSE is output from ENO, the data output from (d) is undefined. In this case, create a program so that the data output from (d) is
not used.
Operation error
• No operation error occurs.
Program example
■LIMITATION(_E)
The program which outputs the values input to variables (s1), (s2), and (s3) according to the word (signed) data from (d) in the
same data type as that of (s1), (s2), and (s3).
• Function without EN/ENO (LIMITATION)
[Structured ladder/FBD]
[ST]
g_int4 := LIMITATION(g_int1, g_int2, g_int3);
• Function with EN/ENO (LIMITATION_E)
[Structured ladder/FBD]
[ST]
g_bool3 := LIMITATION_E(g_bool1, g_int1, g_int2, g_int3, g_int4);
ENO
TRUE
*1
FALSE
(d)
Operation output value
Undefined value
5 APPLICATION FUNCTIONS
5.5 Standard Selection Functions
5
149

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents