TwinCAT PLC Library Hydraulics - Version 1.4 — 4.1.11 MC_ResetAndStop_BkPlcMc (from V3.0)

PLCopen Motion Control 4.1.10 MC_Reset_BkPlcMc (from V3.0) The function block eliminates an error state and puts the axis in an operational state. VAR_INPUT Execute: BOOL; END_VAR VAR_OUTPUT Busy: BOOL; Done: BOOL; Error: BOOL; ErrorID: UDINT; END_VAR VAR_INOUT Axis: Axis_Ref_BkPlcMc; END_VAR Execute : An axis reset is initiated by a rising edge at this input. Busy : Indicates that a command is being processed. Done : Successful execution of the axis reset is indicated here. Error : The occurrence of an error is indicated here. ErrorID : An encoded indication of the cause of the error is provided here. Axis :

Here, the address of a variable of type Axis_Ref_BkPlcMc [ } 67] should be transferred. Behavior of the function block: A rising edge at Execute triggers an axis reset. This puts the axis in an operational state, as far as possible, and Done is reported. If this is not possible, the function block reacts with Error and ErrorID := the ErrorCode of the axis. A falling edge at Execute clears all the pending output signals. NOTE! In some drive types, signal exchange with an external device is required, in order to rectify certain errors. During the time required for this, the function block is unable to report a final result (Done or Error).

Instead, Busy is used to indicate that the function is in progress. 4.1.11 MC_ResetAndStop_BkPlcMc (from V3.0) The function block puts a faulty axis in an operational state. If the axis is processing a travel command, this is aborted, and the associated required stop operation is monitored. PLC Library Hydraulics 36 Version: 1.4