Programming
Cross-block lifting/lowering
Programming is based on the syntax for independent axes. The corresponding parameters can be programmed at the start of lifting/lowering. These are non-modal parameters, i.e. if required they are reset for every start.
Syntax: |
<axis_name> [ LIFT_START [ DOWN ] [ G90 | G91 ] [ POS=.. ] POS_LIMIT=.. ] |
<axis_name> | Lift axis name |
LIFT_START | Identifier for the start of the (cross-block) independent lifting motion of the axis. Must always be programmed as the first keyword. |
DOWN | The axis motion direction can be inverted via DOWN, i.e. the motion is in the direction of the negative software limit switch. If nothing is specified, the default direction is in the direction of the positive software limit switch. |
G90 / G91 | Absolute/relative dimension; the default dimension is G90. G91 is non-modal and is only active for the lifting/lowering motion. |
POS=.. | Target position of the lift axis after the lifting motion in [mm, inch]. The current command position of the axis (see V.A.ABS.<axis name>) is the default. |
POS_LIMIT=.. | Maximum lifting height or lowering depth in [mm, inch] |
Syntax: |
<axis_name> [ LIFT_END ] |
<axis_name> | Lift axis name |
LIFT_END | Identifier for the end of the (cross-block) independent lifting motion of the axis. |
Programing Example
Cross-block lifting/lowering
N10 X10 Y20 Z30 ;Cut with laser
N20 M5 ;Laser off
N30 Z[LIFT_START POS=12 POS_LIMIT=100] ;Lift Z axis
N30 G01 X.. Y..
N40 G02 X.. Y..
N50 G03 X.. Y..
N60 G01 X.. Y..
N70 Z[LIFT_END] ;Absolutely lower Z axis to target 12 mm
N80 M4 ;Laser on
N90 X20 Y20 ...
N10 X10 Y20 Z30
N30 Z[LIFT_START POS=12 POS_LIMIT=100] ;Lift Z axis
N40 G01 X.. Y..
N50 G01 X.. Y..
N60 Z[LIFT_END] ;Absolutely lower Z axis to target 12 mm
N70 X100
alternative programming
N110 X10 Y20 Z30
N140 G01 X.. Y.. Z[LIFT_START POS=12 POS_LIMIT=100]
N150 G01 X.. Y.. Z[LIFT_END]
N170 X100
Lifting/lowering in an NC block
Programming is based on the syntax for independent axes. The corresponding parameters can be programmed at the start of lifting/lowering. These are non-modal parameters, i.e. if required they are reset for every start.
Syntax: |
<axis:name> [ LIFT [ DOWN ] [ G90 | G91 ] [ POS=.. ] POS_LIMIT=.. ] |
<axis_name> | Lift axis name |
LIFT | Identifier for the start and end of the independent lifting motion of the axis in the current NC block Must always be programmed as the first keyword. |
DOWN | The axis motion direction can be inverted via DOWN, i.e. the motion is in the direction of the negative software limit switch. If nothing is specified, the default direction is in the direction of the positive software limit switch (option not available as at 10/2011). |
G90 / G91 | Absolute/relative dimension. The default dimension is G90. G91 is non-modal and is only active for the lifting/lowering motion. |
POS=.. | Target position of the lift axis after the lifting motion in [mm, inch]. The current command position of the axis (see V.A.ABS.<axis name>) is the default. |
POS_LIMIT=.. | Maximum lifting height or lowering depth in [mm, inch] |
Programing Example
Lifting/lowering in an NC block
; single-row programming
N200 Z40
N240 X10 Y.. Z[LIFT POS=30 POS_LIMIT=300]
N250 X20 Y.. Z[LIFT POS=20 POS_LIMIT=300]
N260 X30 Y.. Z[LIFT POS=25 POS_LIMIT=300]
N270 X.. Y.. Z[LIFT POS=30 POS_LIMIT=300]
N280 X.. Y.. Z[LIFT POS=30 POS_LIMIT=300]
Status query: Lifting/lowering active
In the NC program, the V.G. variable…
V.G.LIFT_ACTIVE |
… of the Boolean type can determine whether lifting/lowering is active.