Speeds of a spindle
| Speed setpoint | |
| Description | Current speed setpoint of the spindle | 
| Signal flow | CNC → PLC | 
| ST path | gpAx[axis_idx]^.lr_state.active_rev_r | 
| Data type | DINT | 
| Unit | [0.001°/s] | 
| Access | PLC is reading | 
| Special features | 
 | 
| Actual speed | |
| Description | Current actual speed of the spindle | 
| Signal flow | CNC → PLC | 
| ST path | gpAx[axis_idx]^.lr_state.current_rev_r | 
| Data type | DINT | 
| Unit | [0.001°/s] | 
| Access | PLC is reading | 
| Special features | 
 | 
| Speed programmed | |
| Description | Speed setpoint of the spindle programmed via M03, M04 or S in the NC program | 
| Signal flow | CNC → PLC | 
| ST path | gpAx[axis_idx]^.lr_state.cmd_rev_r | 
| Data type | DINT | 
| Unit | [0.001°/s] | 
| Access | PLC is reading | 
| Special features | 
 |