FXCPU Structured Programming Manual
(Application Functions)
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
TRUE(Executes operation.)
FALSE(Stops operation.)
X000
BOOL_TO_STR_E
EN
_BOOL
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.
ENO
TRUE(Operation error did not occur.) Operation output value
FALSE(Operation error occurred.)
FALSE
ENO
M1
VAR_D10
Operation result
Indefinite value
Indefinite value
3 Function Construction
3.4 EN and ENO
33
1
2
3
4
5
6
A