Work preparation
3.1 Flexible NC programming
Program code
START(LOADER)
START using local "channel names", user variables and parameterized channel names
Program code
DEF INT chanNo1
DEF INT chanNo2
chanNo1 = CHAN_1
chanNo2 = CHAN_2
...
START(ChanNo1)
START(ChanNo2)
INIT command with absolute path specification
Selection of program /_N_MPF_DIR/_N_ABSPAN1_MPF in channel 2.
Program code
INIT(2,"/_N_WCS_DIR/_N_SHAFT1_WPD/_N_CUT1_MPF")
INIT command with program name
Selection of the program with the name "MYPROG". The control searches for the program
using the search path.
Program code
INIT(2,"MYPROG")
484
Comment
; Start of channel 2
Comment
; Definition of user variable for channel 1
; Definition of user variable for channel 2
; Assignment of parameterized channel name channel 1
; Assignment of parameterized channel name channel 2
; Start of channel 1
; Start of channel 2
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming