TwinCAT PLC Library Hydraulics - Version 1.4 — 4.2.11 MC_ImediateStop_BkPlcMc (from V3.0.5)

PLCopen Motion Control MC_Block_BkPlcMc The axis is moved with Axis_Ref_BkPlcMc [ } 67] .stAxParams.fEnc_RefIndexVelo in the direction specified by bEnc_RefIndexPositive. If no movement is detected over a period of 2 seconds, the fixed stop (block) is considered to have been reached. The actual value for the axis is set to the value of the reference position. From version 3.0.41 of 12 October 2017 it is possible to change the time period for the function block detection. See ST_TcHydAxRtData [ } 99] .fBlockDetectDelay. MC_FlyingSwitch_BkPlcMc Not currently supported. MC_FlyingRefPulse_BkPlcMc Not currently supported.

4.2.11 MC_ImediateStop_BkPlcMc (from V3.0.5) The function block cancels a current axis motion. VAR_INPUT Execute: BOOL; 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 rising edge at this input ends a movement being carried out by the axis. 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 cancelled 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 function block is activated by a rising edge at Execute , and investigates the axis interface that has been passed to it. A number of problems can be detected and reported during this process: PLC Library Hydraulics 59 Version: 1.4