TwinCAT PLC Library Hydraulics - Version 1.4 — 4.1.9 MC_ReadStatus_BkPlcMc (from V3.0)

PLCopen Motion Control Done : Successful determination of the actual position is indicated here. Error : This output reports any problems relating to the function of the function block. ErrorID : Provides a coded cause of error, if the function block was unable to execute the required function. Errorstop : This signal indicates that the axis associated with an error has been placed in a state in which it is not able to operate. This state can only be cleared by activating either a MC_Reset_BkPlcMc [ } 36] or a MC_ResetAndStop_BkPlcMc [ } 36] function block. Disabled : This signal indicates whether the axis is enabled or disabled by its MC_Power_BkPlcMc [ } 26] function block. Stopping :

This signal indicates that an active movement of the axis is being stopped by a MC_Stop_BkPlcMc [ } 66] or by a MC_ResetAndStop_BkPlcMc [ } 36] function block. This signal is cleared as soon as the axis is stationary. StandStill : This signal indicates that the axis is neither in a fault state nor is it active. DiscreteMotion : This signal indicates that the axis is executing an autonomous movement (not resulting from a coupling) with a defined target. ContinousMotion : This signal indicates that the axis is executing an autonomous movement (not resulting from a coupling) with a defined velocity but not with a specified target. SynchronizedMotion :

This signal indicates that the axis is being controlled by a gear coupling. Homing : This signal indicates that the axis is executing a reference travel. ConstantVelocity : This signal indicates that the axis is being moved with constant velocity. Accelerating : This signal indicates that the velocity of an axis is reaching a specified value. NOTE! This does not always mean that the velocity is increasing: when an axis that is already in movement is started, it can happen that the axis accelerates in the direction opposite the current movement in order to achieve a specified velocity in the other direction.

From the point of view of the original movement this is a deceleration, although from the point of the current (new) movement it is still an acceleration. Decelerating : This signal indicates that the axis is reducing its velocity in order to continue a movement with a velocity lower than the current velocity, or in order to end it. Axis : Here, the address of a variable of type Axis_Ref_BkPlcMc [ } 67] should be transferred. Behaviour of the function block: If Enable is TRUE, the function block examines the transferred axis interface and decodes the internal state information. A FALSE state at Enable clears all the pending output signals. NOTE!

This function block requires no time and no preconditions for executing its tasks. The outputs Error and Busy will never assume the value TRUE and only exist for compatibility reasons. To read the current error code of the axis, an MC_ReadAxisError_BkPlcMc() [ } 30] function block should be used. PLC Library Hydraulics 35 Version: 1.4 Note Observe outputs The outputs Error and ErrorID indicate the state of the function block, not that of the axis.