Delta Electronics AH — 3.1.1 The Interface of a Motion Control Function Block

AH Motion Controller – Motion Control Instructions Manual - Use of input values:  If a function block has an Execute input, values are used when Execute input changes from False to True. If a new value is created, it becomes valid when the Execute input is triggered again while the instruction is not in busy status.  If a function block has an Enable input, values are used when Enable input changes from False to True. Compared with the Execute input, the Enable input is used more often when an input value is updated - An input value exceeds a range. repeatedly.

After a 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 function block results in an error occurring in an axis, the function block is applied incorrectly. Users should prevent incorrect values from being generated in an applied program. - Outputs are mutually exclusive .  If the a function block has an Execute input which is set to True, either the Busy output, the Done output, the _3 CommandAborted output, or the Error output can be set to True.

 If the a function block has an Enable input, the Valid output and the Error output are mutually exclusive, and - Time when output data/states are valid only the Valid output or the Error output can be set to True.  If a function block has an Execute input, the Done output, the Error output, the CommandAborted output, and data output are reset when the Execute input changes from False to True. If the Execute input is reset before the execution of the function block is complete, i.e. Busy is True, output states of Done , Error , CommandAborted will still be generated and retained for one cycle.

 If a function block has an Enable input, the Valid output, the Busy output, and the Error output are reset when Enable input changes from True to False. (MC_Power has different behaviors on the inputs and outputs, refer to - Characteristic of the Done output MC_Power for details.) The Done output 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  If a function block has an Execute input, the function block uses the Busy output to indicate that the execution of output is set to True when Execute input changes from False to True.

When either the Done output, the the function block is not complete, and new output states (values) are expected to be generated. The Busy CommandAborted output, or the Error output is set to True, the Busy output is reset.  If a function block has an Enable input, the function block uses the Busy output to indicate that the execution of output is set to True when Enable input changes from False to True, and remains True when the function block the function block is not complete, and new output states (values) are expected to be generated. The Busy is executing. When the Busy output is True, output states (values) are updated continuously.

- Characteristic of the CommandAborted/Aborted output The CommandAborted output in a motion control function block is set to True when the execution of the motion control function block is interrupted. - Relation between the Enable input and the Valid output If a function block has an Enable input, the function block uses the Valid output to indicate whether output data/states are valid. The Valid output is set to True only when the Enable input is set to True and output data/state becomes valid 3-4