EN/ENO Signals
Additional Boolean EN (Enable) input and ENO (Enable Out) characterize GF_ProjectVX code blocks, according to the declarations
See the Modifying properties of blocks section to know how to add these pins to a block.
When these variables are used, the execution of the operations defined by the block are controlled according to the following rules:
EN | ENO |
VAR_INPUT EN: BOOL := 1;END_VAR | VAR_OUTPUT ENO: BOOL;END_VAR |
- If the value of EN is FALSE when the block is invoked, the operations defined by the function body are not executed and the value of ENO is reset to FALSE by the programmable controller system.
- Otherwise, the value of ENO is set to TRUE by the programmable controller system, and the operations defined by the block body are executed.