TwinCAT PLC Library Hydraulics - Version 1.4 — 4.2.12 MC_MoveAbsolute_BkPlcMc (from V3.0)

PLCopen Motion Control The stop can only be executed if the axis is actively carrying out a movement. If it is stationary, the function block immediately asserts the Done signal. If the axis is already in a fault state, or if it is in the process of carrying out a stop operation, it responds with Error and ErrorID :=dwTcHydErrCdNotReady. If the axis is in a state, in which it is controlled by a coupling with another axis or a comparable mechanism, it responds with Error and ErrorID :=dwTcHydErrCdNotReady. The Stop operation begins if these checks can be carried out without problems. The control value of the axis is immediately set to 0, without any ramp.

All outputs of control or regulation voltages are then suppressed, as long as Execute is set to TRUE. 4.2.12 MC_MoveAbsolute_BkPlcMc (from V3.0) This function block starts and monitors the movement of an axis. VAR_INPUT Execute: BOOL; Position: LREAL; Velocity: LREAL; Acceleration: LREAL; Deceleration: LREAL; Jerk: LREAL; Direction: MC_Direction_BkPlcMc:=MC_Shortest_Way_BkPlcMc; (ab/from V3.0.8) BufferMode: MC_BufferMode_BkPlcMc:=Aborting_BkPlcMc; (ab/from V3.0.8) END_VAR VAR_OUTPUT Busy: BOOL; Done: BOOL; CommandAborted: BOOL; Error: BOOL; ErrorID: UDINT; END_VAR VAR_INOUT Axis: Axis_Ref_BkPlcMc; END_VAR Execute : The movement is initiated by a positive edge at this input. Position :

[mm] The target position of the movement in actual value units of the axis. Velocity : [mm/s] The required motion velocity in actual value units of the axis per second. Acceleration : [mm/s 2 ] The required acceleration in actual value units of the axis per square second. If this parameter is 0.0, it is replaced by a default value from the axis parameters. Deceleration : [mm/s 2 ] The required deceleration in actual value units of the axis per square second. If this parameter is 0.0, it is replaced by a default value from the axis parameters. Jerk : [mm/s 3 ] reserved. Direction: Reserved.

This input was only amended for compatibility reasons and either should not be assigned, or the constant MC_Shortest_Way_BkPlcMc should be assigned to it. (from V3.0.8) PLC Library Hydraulics 60 Version: 1.4