Download Print this page

Danfoss MCO 305 Design Manual page 151

Hide thumbs Also See for MCO 305:

Advertisement

MCO 305 Design Guide
STAT
Summary
Syntax
Return Value
Description
Command Group
Cross Index
Syntax Example
Program Sample
__ Software Reference __
Query axis and control status.
res = STAT
res = Axis and Control status (4-Byte value):
Byte 3 MSB
Bit 0
1 = MOVING
Bit 1
1 = OVERFLOW Slave Encoder
Bit 2
1 = OVERFLOW Master Encoder
Bit 3
1 = POSFLOAT active *)
Byte 2 Status byte of axis control
Bit 7
1 = axis control switched off
Bit 2
1 = position reached
Bit 0,1,3-6
has no meaning
Byte 1 not used
Byte 0 LSB
Bit 7
1 = limit switch active
Bit 6
1 = Reference switch active
Bit 5
1 = Start switch active
Bit 2
1 = axis control switched off
Bit 0,1,3,4
not in use
*) Explanation: i.e. the axis is within the tolerance range of the control window
REGWINMAX / REGWINMIN. As soon as the control window is set, the axis
controller is switched on again.
The STAT command reports the actual status, of the axis control unit as well as
that of the axis. For example, whether the axis controller shuts down, ends the
motion or the end switch is active. The status of the program execution cannot be
called up with STAT, but only with AXEND.
I/O
AXEND
PRINT STAT
/* print status word */
STAT_01.M
®
MG.33.L4.02 – VLT
is a registered Danfoss trademark
151

Advertisement

loading