7 Programming with Q Parameters
7.7 Reading from System Data
With the function FN18: SYSREAD you can read system data and store
them in Q parameters. A system address is selected with the associated
group and number, and, in some cases, with an index number:
Number af group Number Index @stem address
Data defined in the tool table 50 1 Tool length
Tool radius
Tool length oversize DL
Tool radius oversize DR
Tool locked (0 or 1)
Number of replacement tool
Maximum tool life TIME1
Maximum tool life TIME2
Current tool age CUR.TIME
PLC status
TT: Number of teeth CUT.
TT: Wear tolerance: length LTOL
TT: Wear tolerance: radius RTOL
TT: Cutting direction DIRECT (3 or 4)
TT: Offset plane R-OFFS
lT: Offset length L-OFFS
TT: Breakage tolerance: length LBREAK
TT: Breakage tolerance: radius RBREAK
Active transformations
210
1
-
Basic rotation in MANUAL OPERATION
-
Programmed rotation with Cycle 10
-
Active mirror axis
0: Mirroring inactive
1: Mirroring X active
2: Mirroring Y active
3: Mirroring X/Y active
4: Mirroring Z active
5: Mirroring X/Z active
6: Mirroring Y/Z active
8: Mirroring IV axis active
9: Mirroring X/IV axis active
10: Mirroring Y/IV axis active
12: Mirroring Z/IV axis active
Nominal position of REF system 240
1 1 X axis
2 Y axis
3 Z axis
4
Axis IV
Touch point of REF system 2 1 X axis
2 Y axis
3 Z axis
4 Axis IV
Pole of REF system 3 1 X axis
2 Y axis
3 Z axis
-/
-
-
-
4
4
4
-
Example: Read a BASIC ROTATION defined in the
MANUAL OPERATION mode and store it in 025
FN18: SYSREAD Q25 = ID210 NO1
7-14 TNC 370