Chapter 7 Program
(1) Command condition
: It is a condition to give error reset commands to the axis.
(2) Axis connection status flag
: In case the axis to be operated is connected to motion control module, and EtherCAT communication with motion control
module is normally performed, it is On.
(3) Axis error/Warning status flag
: If there are errors and warnings in the axis, it is On.
(4) Comparison of axis error number
: In example programs, a case where the value of error number flag on the axis is not 0 is determined to be error reset condition
through a comparison.
(5) Error reset command
: In example programs, axis error reset (MC_Reset) motion function block is executed under the following conditions.
- The axis operation condition is On.
- The axis is normally connected.
- There should be error and warnings.
- Error number is not 0.
Conditions to perform motion function block may vary depending on systems.
(6) Error reset command input variables
: These are input variables to execute axis error reset (MC_Reset) motion function block.
- Command axis: It sets the axis in which motion function block is executed.
- Error type: The type of error for error rest is set. 0 represents axis error, and 1 common error.
(7) Error reset command output variables
: It is a variable to store output values generated when axis error reset (MC_Reset) motion function block is executed.
- Execution completed: The execution of motion function block is completed, it is On.
- Function Block in execution: If motion function block is being performed, it is On, and execution is completed, it becomes Off.
- Error occurrence state: In case error occurs while the motion function block is being executed, it is On.
- Error number: In case error occurs, the number that corresponds to error is generated.
- For details on the output of motion function block, refer to “Edge operation motion function block” of “6.1.3 Basic I/O Variable”.