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

PLCopen Motion Control Behavior of the function block: The function block is activated by a rising edge at Enable , and investigates the axis interface that has been passed to it. A number of problems can be detected and reported during this process: If an unsupported value is given to ParameterNumber the function block responds with Error and ErrorID :=dwTcHydErrCdNotSupport. The desired parameter value is made available at Value , and Done is asserted if these checks can be carried out without problems. A falling edge at Enable clears all the pending output signals. NOTE! This function block requires no time for executing its tasks.

The output Busy will never assume the value TRUE and only exists for compatibility reasons. 4.1.9 MC_ReadStatus_BkPlcMc (from V3.0) The function block determines the current state of an axis. VAR_INPUT Enable: BOOL; END_VAR VAR_OUTPUT Busy: BOOL; Done: BOOL; Error: BOOL; ErrorID: UDINT; Errorstop: BOOL; Disabled: BOOL; Stopping: BOOL; StandStill: BOOL; DiscreteMotion: BOOL; ContinousMotion: BOOL; SynchronizedMotion: BOOL; Homing: BOOL; ConstantVelocity: BOOL; Accelerating: BOOL; Decelerating: BOOL; END_VAR VAR_INOUT Axis: Axis_Ref_BkPlcMc; END_VAR Enable : A TRUE state at this input causes the function block to update. Busy : Indicates that a command is being processed.

PLC Library Hydraulics 34 Version: 1.4