MC_GearOut
This Function Block disengages the Slave axis from the Master axis. The slave will continue to move at the last commanded velocity.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| B | Slave | AXIS_REF | A logical reference to the slave axis. | |
| VAR_INPUT | ||||
| B | Execute | BOOL | Upon the rising edge, all other function block inputs are read and the function is initiated. To modify an input, change the value and re-trigger the execute input. | FALSE |
| VAR_OUTPUT | ||||
| B | Done | BOOL | Set high when the commanded action has completed successfully. If another block takes control before the action is completed, the Done output will not be set. This output is reset when Execute goes low. | |
| E | Busy | BOOL | Set high upon the rising edge of the Execute input, and reset when Done, CommandAborted, or Error is true. In the case of a function block with an Enable input, a Busy output indicates the function is operating, but not ready to provide Valid information. (No Error) | |
| B | Error | BOOL | Set high if an error has occurred during the execution of the function block. This output is cleared when 'Execute' or 'Enable' goes low. | |
| E | ErrorID | UINT | If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low. | |
Notes
It is assumed that this command is followed by another command, for instance, or any other command. If there is no new command, the default condition will be to maintain the last geared velocity. MC_Stop MC_GearIn
Error Description
See the Function Block ErrorID List.
Related Function Blocks
: Commands a velocity ratio between the master and slave axes. MC_GearIn
Example
In the example shown below, an function block is used to bring the slave axis to a standstill after the gear relation is broken using MC_GearOut MC_Stop
The LogicAnalyzer timing trace for the MC_GearOut inputs and outputs in the example above is shown below:
The LogicAnalyzer timing trace for the outputs of the MC_GearIn function block from the above example is shown below: