Vai al contenuto

EN/ENO Signals

Additional Boolean EN (Enable) input and ENO (Enable Out) characterize GF_ProjectVX code blocks, according to the declarations
ENENO
VAR_INPUT EN: BOOL := 1;END_VARVAR_OUTPUT ENO: BOOL;END_VAR
See the Modifying properties of blocks section to know how to add these pins to a block. EN/ENO Signals-image_0 EN/ENO Signals-image_1 EN/ENO Signals-image_2 EN/ENO Signals-image_3 EN/ENO Signals-image_4 EN/ENO Signals-image_5 EN/ENO Signals-image_6When these variables are used, the execution of the operations defined by the block are controlled according to the following rules:
  • 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.