Mitsubishi — 5.8.1 Definitions of Input Pins/Output Pins

Chapter 5 Applied Instructions output pin. The Busy output pin and the Done output pin in a function block indicate the state of the motion control function block. If the execution of motion control function block is to be interrupted by another motion control function block, the Aborted output pin will be added to the motion control function block. Besides, the Error output pin in a motion control function block is used to indicate that an error occurs in the motion control function block when the motion control function block is executed. A motion control function block has not only the Execute input pin/the Enable input pin, but also value/state input pins.

The characteristics of the value/state input pins are described below.  Use of input values:  If the input pin that a motion control function block has is the Execute input pin, values are used when there is a transition in the Execute input pin’s signal from low to high. If a new value is created, it becomes valid when the Execute input pin is triggered again.  If the input pin that a motion control function block has is the Enable input pin, values are used when there is a transition in the Enable input pin’s signal from low to high. Compared with the Execute input pin, the Enable input pin is used more often when a value used is updated repeatedly.  An input value exceeds a range.

After a motion control function block is started, the input values which are not in ranges allowed will be limited, or result in an error occurring in the motion control function block. If an error occurring in a motion control function block results in an error occurring in an axis, the motion control function block is applied incorrectly. Users should prevent incorrect values from being generated in an applied program.  Output pins are mutually exclusive.  If the input pin that a motion control function block has is the Execute input pin, only the Busy output pin, the Done output pin, the Aborted output pin, or the Error output pin can be set to True.

If the Execute input pin is set to True, the Busy output pin, the Done output pin, the Aborted output pin, or the Error output pin must be set to True.  If the input pin that a motion control function block has is the Enable input pin, the Valid output pin and the Error output pin are mutually exclusive, and only the Valid output pin or the Error output pin can be set to True.

 Time when output data/states are valid  If the input pin that a motion control function block has is the Execute input pin, the Done output pin, the Error output pin, the Aborted output pin, and data output are reset when there is a transition in the Execute input pin’s signal from high to low, but the execution of the function block does not stop when there is a transition in the Execute input pin’s signal from high to low. Even if the Execute input pin in a motion control function block is reset before the execution of the motion control function block is complete, output states will still be generated and retained for one cycle.

If a motion control function block is started again before the execution of the motion control function block is complete, the motion control function block will not give feedback to the Done output pin and the Aborted output pin, and an error will occur.  If the input pin that a motion control function block has is the Enable input pin, the Valid output pin, the Busy output pin, and the Error output pin are reset when there is a transition in the Enable input pin’s signal from high to low.  Characteristic of the Done output pin The Done output pin in a motion control function block will be set to True after the motion control function block is executed successfully.

 Characteristic of the Busy output pin  If the input pin that a motion control function block has is the Execute input pin, the motion control function block uses the Busy output pin to indicate that the execution of the motion control function block is not complete, and new output states (values) are expected to be generated. The Busy output pin is set to True when there is a transition in the Execute input pin’s signal from low to high. When the Done output pin, the Aborted output pin, and the Error output pin are set to True, the Busy output pin are reset.

 If the input pin that a motion control function block has is the Enable input pin, the motion control function block uses the Busy output pin to indicate that the execution of the motion control function block is not complete, and new output states (values) are expected to be 5-131