Axis identification
Axis name (PCS) | |
Description | Name of the logical axis with which this is referenced currently in the automatic program / manual block (e.g. X, Y, Z). This may be changed by default when programming the channel (SDA-MDS list) or dynamically in the NC program by means of a swap command. |
Information flow | CNC -> PLC |
ST path | pMC[channel_idx]^.addr^.StateBahn_Data.HLIBahnCoordDispData_Coord[axis_idx].HLIAxeName_Data.STR_Zeichen |
Data type | ARRAY[1..GCW_250_HLIAchsNameLaenge] OF BYTE |
Access | PLC reads |
Axis number (PCS) | |
Description | Logical number, unique system-wide, of the axis which is currently being traversed on the channel. The logical axis number is defined arbitrarily in the parameter list of the axis and is used, amongst other things, for identifying the axis in the case of an axis swap (e.g. #CALL AX [X, 1, 0]). |
Information flow | CNC -> PLC |
ST path | pMC[channel_idx]^.addr^.StateBahn_Data.HLIBahnCoordDispData_Coord[axis_idx].W_LogAchsNr pAC[axis_idx]^.addr^.StateIpo_Data.W_LogAxeNr |
Data type | UINT |
Value range | [1, nAxis] |
Access | PLC reads |
Axis spindle (ACS) | |
Description | Indicates whether the axis is currently being interpolated via the path interpolator (e.g. thread drilling, tapping) or the BF spindle. |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateIpo_Data.X_SpindleAxis |
Data type | BOOL |
Value range | [TRUE = the axis is traversed via the BF spindle, FALSE] |
Access | PLC reads |
Axis type (PCS) | |
Description | Type of axis |
Information flow | CNC -> PLC |
ST path | pMC[channel_idx]^.addr^.StateBahn_Data.HLIBahnCoordDispData_Coord[axis_idx].W_AxisType pAC[axis_idx]^.addr^.StateIpo_Data.W_Type |
Data type | UINT |
Value range | 1 = Translator, 2 = Rotator, 4 = Spindle |
Access | PLC reads |
Channel number of the axis | |
Description | Number of the channel via which the axis is currently being tasked. == 0: Axis is currently not on a channel or spindle not processing tasking of a channel. != 0: Axis belongs to a channel or spindle is executing a command of a channel. |
Information flow | CNC -> PLC |
ST path | pAC[axis_idx]^.addr^.StateLR_Data.W_NCChannel pAC[axis_idx]^.addr^.StateIpo_Data.W_NCChannel |
Data type | UINT |
Value range | [1..HLI_SYS_CHNMAX] |
Access | PLC reads |