Status information of a spindle
Operating state | |
Description | Current operating state of the spindle |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateIpo_Data.HLIAxeDispData_Spindle.D_Mode |
Data type | UDINT |
Value range | 1 M05 active 2 M03 active 4 M04 active 8 M19 active 16 Superimposed movement active (PLCopen) 32 RPF active |
Access | PLC reads |
Characteristics |
|
Speed monitoring active | |
Description | Speed monitoring is activated for the spindle. |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateLR_Data.X_RevControlActiv |
Data type | BOOL |
Value range | [TRUE = Speed monitoring is active, FALSE] |
Access | PLC reads |
Characteristics | If the axis is not a spindle, the value is undefined. |
Speed setpoint reached | |
Description | The spindle has reached the programmed speed setpoint. |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateLR_Data.X_RevReached |
Data type | BOOL |
Value range | [TRUE = Speed setpoint reached, FALSE] |
Access | PLC reads |
Characteristics | If the axis is not a spindle, the value is undefined. |
Spindle stopped | |
Description | The spindle speed is lower than the value of vb_min_null (speed = 0) contained in the axis parameter list. |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateLR_Data.X_RevZero |
Data type | BOOL |
Value range | [TRUE = Spindle stopped, FALSE] |
Access | PLC reads |
Characteristics | If the axis is not a spindle, the value is undefined. |
Speed monitoring invalid | |
Description | If the speed of rotation of the spindle exceeds the limit speed of the position sensor of the spindle, speed monitoring is deactivated. The limit speed for the position measuring system is defined in the axis parameter list by parameter vb_regelgrenze. |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateLR_Data.X_RevControlInvalid |
Data type | BOOL |
Value range | [TRUE = Speed monitoring invalid, FALSE] |
Access | PLC reads |
Characteristics | If the axis is not a spindle, the value is undefined. |
Residual path | |
Description | Residual path when positioning with M19 |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateIpo_Data.HLIAxeDispData_Spindle.D_DistToGo |
Unit | 10-4 ° |
Data type | DINT |
Access | PLC reads |
Characteristics |
|
Spindle order error | |
Description | A job for the spindle has not been able to be performed owing to an error. |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateIpo_Data.X_spindle_order_error_r |
Data type | BOOL |
Value range | [TRUE = Job not executed, FALSE] |
Access | PLC reads |
Characteristics | Valid only in conjunction with external spindle tasking by the PLC |