Parker EME
Motion control
192-121102 N04 June 2008 173
5.4.3. Reading the device status (MC_ReadStatus)
FB name MC_ReadStatus
Specifies the current status according to the PLCopen status machine
VAR_IN_OUT
Axis
INT Axis-ID (library constants)
VAR_INPUT
Enable
BOOL
Activates the module; continuous outputs of output
parameters as long as Enable=TRUE
VAR_OUTPUT
Done
BOOL Status values available
Error
BOOL Error while executing module
Errorstop
BOOL
Error stop function. The motor brakes as specified by the
stop ramp and is de-energized;
Stopping
BOOL The motor is stopped;
Standstill
BOOL The motor is stopped;
DiscreteMotion
BOOL Individual movement;
ContinuousMotion
BOOL Continuous positioning;
Homing
BOOL Machine home is approached;
SynchronizedMoti
on
BOOL Synchronous motion
Note: See also in the status diagram.
Enable : BOOL
Axis : (VAR_IN_OUT)
Done : BOOL
Errorstop : BOOL
SynchronizedMotion : BOOL
MC_ReadStatus
Error : BOOL
Standstill : BOOL
ContinuousMotion : BOOL
DiscreteMotion : BOOL
Stopping : BOOL
Homing : BOOL