Parameter
Start-up parameters
P-STUP-00033 | Memory size for backward motion |
Description | This parameter defines the memory size in bytes used for backward motion on the path. During start-up, the NC checks whether the required minimum size is available. If this is not the case, a warning is output and the memory size is set to the required minimum value. If the size is set to 0, the “forward/ backward motion on the path” function is not available. The maximum size is only limited by the resources available on the PC. |
Parameter | fb_storage_size[i] where i = 0 to 11 |
Data type | UNS32 |
Data range | 0 ... MAX(UNS32) |
Dimension | ---- |
Default value | 0 |
Remarks |
|
Other PLC parameters
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. |
Stop condition | |
Description | Displays the condition why the current motion was stopped. |
Signal flow | CNC → PLC |
ST path | gpCh[channel_idx]^.bahn_state.stop_conditions_r |
Data type | DINT |
Value range | See Value range of stop conditions with explanations. |
Access | PLC is reading |
Value range of stop conditions
Constant in PLC | Value | Explanation |
HLI_SC_FEEDHOLD | 0x0001 | Path feed stop |
HLI_SC_VFG | 0x0002 | No axis-specific feed enable. |
HLI_SC_SINGLE_BLOCK | 0x0004 | Single step mode active. |
HLI_SC_M00_OR_M01 | 0x0010 | M00 (programmed stop), M01 (optional stop) is active. |
HLI_SC_PLC_ACKNOWLEDGE | 0x0020 | Stop occurs due to waiting for an acknowledgement from the SPS. This may occur as a result of the output of M or H technology functions but is not restricted to them alone. |
HLI_SC_OVERRIDE_ZERO | 0x0040 | Override = 0. |
HLI_SC_OVERRIDE_RAPID_ZERO | 0x0080 | Override = 0 with rapid traverse blocks |
HLI_SC_DELAY_TIME | 0x0200 | Dwell time. |
HLI_SC_CHANNEL_SYNC | 0x0800 | Channel synchronisation is active. |
HLI_SC_IPO_INPUT_EMPTY | 0x1000 | Input FIFO of the interpolation is empty. |
HLI_SC_IPO_INPUT_DISABLED | 0x2000 | Input of function blocks (e.g. motion blocks etc.) disabled. |
HLI_SC_WAIT_FOR_AXES | 0x8000 | Stop occurs due to waiting until a commanded axis swap is completed. |
HLI_SC_CHANNEL_ERROR | 0x00010000 | An error occurred in the channel. |
HLI_SC_WAIT_TECHNO_ACK | 0x00020000 | Waiting for acknowledgement of M/H/ST technology functions. |
HLI_SC_W_C_AFTER_COLLISION | 0x00040000 | After a detected collision, waiting for motion resumption. |
HLI_SC_SLOPE_SUPPLY_PROBLEM | 0x00080000 | Block supply problem (only occurs in conjunction with HSC slope). |
HLI_SC_BACK_INTERPOLATION | 0x00100000 | Back interpolation after tracking mode is active. |
HLI_SC_STOP_REVERSIBLE | 0x00200000 | Stop since M00 (programmed stop) is active. However, the NC program can be processed backwards despite M00 (available as of V3.1.3039.01). |
HLI_SC_BREAKPOINT_STOP | 0x00400000 | Stop after a breakpoint (stop point) is reached; available as of V3.1.3039.01. |
HLI_SC_M0_STOP | 0x02000000 | Stop after an M00 function is reached |
HLI_SC_M1_STOP | 0x04000000 | Stop after an M01 function is reached |
HLI_SC_INSERT_STOP_AT_DIST | 0x08000000 | Stop after an M function inserted by the Control Unit “Inserting stop marks” is reached. |
HLI_SC_DEC_SYN_CHAN_EMPTY | 0x10000000 | Decoder is waiting for synchronisation. NC channel has no jobs. |
CNC objects
Name | bahn_state.stop_conditions_r | |||
Description | Displays the condition why the current motion was stopped. The value read can be seen in the table. | |||
Task | GEO (Port 551) | |||
Index group | 0x12330<CID> | Index offset | 0x30 | |
Data type | UNS32 | Length | 4 | |
Attributes | read | Unit | [-] | |
Remarks | Alternatively, the stop condition can also be read by the HLI. |