MC_CamOut
Commanding of an MC_CamOut FB releases coupling of the slave axis to the master axis that has been specified via a cam. The current velocity of the slave is retained (endless motion).
Blockdiagramm
Parameters of the FB
VAR_IN_OUT | ||
Variable name | Data type | Description |
Slave | AXIS_REF | Axis reference of the slave axis |
VAR_INPUT | ||
Variable name | Data type | Description |
Execute | BOOL | Starts to disengage the coupling via a cam on a rising edge. |
VAR_OUTPUT | ||
Variable name | Data type | Description |
Done | BOOL | Disengagement completed. |
Error | BOOL | Is TRUE when an error occurs in the FB. |
ErrorID | WORD | Error code. |
Behaviour of the FB
- Release of coupling of the slave axis to the master axis can only be commanded if the slave axis is in the Synchronized Motion state. If this is not the case, the "error" output is set to FALSE and "error_id" indicates an error value that designates the state the axis is currently in.
- Mention is made here once again of the (idiosyncratic) definition of the PLCopen standard to the effect that the commanded slave axis remains at its momentary speed after cancellation of coupling. Therefore, it does not necessarily stop.
- The function block is retriggerable. Therefore, it can send a command again in the active state.