omron — Programmable Terminal NA-series Practices Guide MC Test Run IAG Library (EN)

6 Details of FB Specifications 6 - 1 Axis Information Acquire FB  Output variable update timing 35 6-1-1 External Specification Instruction Name FB/ Graphic expression ST expressions FUN HMI IAG Init FB _ _ _ Acquiring axis information FB FB HMI IAG Init instance _ _ _ HMI IAG Init FB _ _ _ Execute Done Busy Error ErrorID ErrorID Ex _ HMI IAG Init instance( _ _ _ Execute: = 《parameter》, Done=> 《parameter》, Busy=> 《parameter》, Error=> 《parameter》, ErrorID=> 《parameter》, ErrorID Ex=> 《parameter》 _ ); 6-1-2 Input Variable Input variable Name Data type Valid Default Description range Execute Start BOOL TRUE, FALSE The instruction is executed when Execute changes to TRUE.

FALSE 6-1-3 Output Variable Input variable Name Data type Valid Description range Done Done BOOL TRUE, TRUE when the instruction is completed. FALSE Busy During execution BOOL TRUE, TRUE when the instruction is acknowledged. FALSE Error Error BOOL TRUE, TRUE while there is an error. FALSE ErrorID Error code WORD * * Outputs the error code when an error occurs. Outputs 16#0000 under normal operation. ErrorID Ex _ Expansion error DWORD * Outputs the expansion error code when an error occurs. code Outputs 16#0000 under normal operation. Variable Timing for changing to TRUE Timing for changing to FALSE Done Done When the instruction is completed. When the instruction is completed.

 One period after Busy changes to FALSE.  Busy When Execute changes to TRUE.  Done changes to TRUE.  Error changes to TRUE. Error When there is an error in the execution conditions or When the error is cleared. input parameters for the instruction.