TwinCAT PLC Library Hydraulics - Version 1.4 — 4.2.9 MC_Halt_BkPlcMc (from V3.0)

PLCopen Motion Control 4.2.9 MC_Halt_BkPlcMc (from V3.0) The function block cancels a current axis motion and monitors the stop operation. NOTE! The stop operation initiated by this function block can be interrupted by other function blocks. An MC_Stop_BkPlcMc function block can be used to prevent the axis from restarting during a stop operation. VAR_INPUT Execute: BOOL; Deceleration: LREAL; (ab/from V3.0.5) Jerk: LREAL; (ab/from V3.0.5) RampTime: LREAL; (ab/from V3.0.5) BufferMode: MC_BufferMode_BkPlcMc:=Aborting_BkPlcMc; (ab/from V3.0.8) END_VAR VAR_OUTPUT Busy: BOOL; Done: BOOL; Error: BOOL; ErrorID: UDINT; Active: BOOL; CommandAborted: BOOL; END_VAR VAR_INOUT Axis:

Axis_Ref_BkPlcMc; END_VAR Execute : A positive edge at this input ends a movement being carried out by the axis. Deceleration : [mm/s 2 ] The deceleration to be applied. Jerk : [mm/s 3 ] The jerk to be applied. RampTime : [s] The required stopping time. BufferMode : Reserved. This input is provided in preparation for a future build. It should currently either not be assigned or assigned the constant Aborting_BkPlcMc. (from V3.0.8) Busy : Indicates that a command is being processed. Done : This indicates successful processing of the operation. Error : The occurrence of an error is indicated here. ErrorID : An encoded indication of the cause of the error is provided here. Active:

Indicates that a command is being processed. CommandAborted : Indicates that processing of this command was canceled by another command. Axis : Here, the address of a variable of type Axis_Ref_BkPlcMc [ } 67] should be transferred. Behavior of the function block The behavior of the function block is identical to that of the MC_Stop_BkPlcMc [ } 66] () function block. The only difference is that processing of the command can be canceled by other function blocks. PLC Library Hydraulics 56 Version: 1.4