3 Function Construction
3.4 EN and ENO
33
FXCPU Structured Programming Manual
(Application Functions)
1
Outline
2
Function List
3
Function
Construction
4
How to Read
Explanation of
Functions
5
Applied
Functions
6
Standard
Function Blocks
A
Correspondence
between Devices
and Addresses
3.4 EN and ENO
Execution of an instruction can be controlled when the instruction contains "EN" in its name.
• "EN" inputs the instruction execution condition.
• "ENO" outputs the instruction execution status.
• The table below shows the "ENO" status corresponding to the "EN" status and the operation result.
EN ENO Operation result
TRUE(Executes operation.)
TRUE(Operation error did not occur.) Operation output value
FALSE(Operation error occurred.) Indefinite value
FALSE(Stops operation.) FALSE Indefinite value
BOOL_TO_STR_E
EN ENO
VAR_D10
X000
_BOOL
M1
In the above example, the function "BOOL_TO_STR_E"
is executed only when X000 is "TRUE".
When the function is executed normally, "TRUE" is output to M1.