Detailed description
2.2 Metric /inch measuring system
Examples:
Both parts programs are implemented with a metric setting with:
MD10240 $MN_SCALING_SYSTEM_IS_METRIC=1.
N100 R1=0 R2=0
N120 G01 G70 X1 F1000
N130 $MA_LUBRICATION_DIST[X]=10
N140 NEWCONF
N150 IF ($AA_IW[X]>$MA_LUBRICATION_DIST[X])
N160 R1=1
N170 ENDIF
N180 IF ($AA_IW[X]>10)
N190 R2=1
N200 ENDIF
N210 IF ( (R1<>0) OR (R2<>0))
N220 SETAL(61000)
N230 ENDIF
N240 M30
Note
Alarm 61000 is not output if G70 is replaced by G700 in block N120.
22
Basic logic functions: Velocities, Setpoint/Actual Value Systems, Closed-Loop Control (G2)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0