Other status signals
Real-time loop active | |
Description | The datum indicates whether current machining is located in a #RT WHILE - #RT ENDWHILE sequence. |
Signal flow | CNC → PLC |
ST path | gpCh[channel_idx]^.bahn_state.inside_rt_loop_r |
Data type | BOOL |
Value range | [TRUE = Machining within #RT WHILE #RT ENDWHILE, |
Access | PLC is reading |
Special feature | Date available as of CNC Build V3.1.3105.01 and higher |
Waiting for external command velocity | |
Description | The NC channel waits for an external command velocity. |
Signal flow | CNC → PLC |
ST path | gpCh[channel_idx]^.bahn_state.wait_ext_command_speed_r |
Data type | BOOL |
Value range | [TRUE = channel is waiting |
Access | PLC is reading |
End of program reached | |
Description | This status information indicates that the interpolator has reached program end or that no NC program is currently under in execution. |
Signal flow | CNC → PLC |
ST path | gpCh[channel_idx]^.bahn_state.program_end_r |
Data type | BOOL |
Value range | [TRUE = End of program reached, FALSE] |
Access | PLC is reading |
Currently covered path in the NC program (PCS) | |
Description | Reads the current distance covered in the NC program since program start or since the last # DISTANCE PROG START CLEAR NC command. The calculation is based on the current position in the current NC block. |
Signal flow | CNC → PLC |
ST path | gpCh[channel_idx]^.bahn_state.dist_prog_start |
Data type | UDINT (* LREAL) |
Unit | 0.1 µm |
Access | PLC is reading |
Special features | * As of CNC Build V3.1.3104.01 the data element is provided in LREAL forma. |
Activation of external path velocity | |
Description | Activate the velocity commanded in the ext_command_speed control unit. To reach the commanded velocity, all axes involved in the motion are accelerated or decelerated. If this value is TRUE, the sign is considered in the current path feed (active_feed_r control unit). |
Data type | MC_CONTROL_BOOL_UNIT, see description Control unit |
Access | PLC reads request_r + state_r and writes command_w + enable_w |
ST Path | gpCh[channel_idx]^.bahn_mc_control.ext_command_speed_valid |
Commanded, requested and return values | |
ST Element | .command_w .request_r .state_r |
Data type | BOOL |
Value range | [TRUE, FALSE] |
Redirection | |
ST Element | .enable_w |