Example: configuring and programming a PLC spindle
Initialization in the axis parameter list
achs_typ 0x00004 Spindle
achs_mode 0x40000 Externally controlled spindle
antr_typ 0x00004 Simulation
Initialization in the channel parameter list
spdl_anzahl 1
main_spindle_ax_nr 1
main_spindle_name S
spindel[0].bezeichnung S1
spindel[0].log_achs_nr 1
There is no difference between programming of NC and PLC spindles. |
Programming example DIN syntax
N10 M03 S1000
N20 Z0
N30 M04 S1000
N40 Z100
N50 M05
N60 M19 S200 S.POS100
M30
Programming example Axis-specific syntax
N10 S[M03 REV1000]
N20 Z0
N30 S[M04 REV1000]
N40 Z100
N50 S[M05]
N60 S[M19 REV200 POS100]
M30