Siemens SINUMERIK 828D Programming Manual page 111

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Example: Channel name and channel number with integer variable
$MC_CHAN_NAME[0]=
$MC_CHAN_NAME[1]=
Program code
START(1, 2)
Similar to this, programming with the channel identifiers:
Program code
START(CHAN_X, CHAN_Y)
Programming with integer variable:
Program code
DEF INT chanNo1, chanNo2)
chanNo1=CHAN_X chanNo2=CHAN_Y
START(chanNo1, chanNo2)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
1.13 Program coordination (INIT, START, WAITM, WAITMC, WAITE, SETM, CLEARM)
"CHAN_X" ;name of 1st channel
"CHAN_Y" ;name of 2nd channel
Comments
; Execute start in the 1st and 2nd channels
Comments
; Execute start in the 1st and 2nd channels
; The channel_X and channel_Y identifiers represent
;channel numbers 1 and 2 internally, due to the
$MC_CHAN_NAME machine data. They also execute a start
in the 1st and 2nd channel accordingly.
Comments
; Define channel number
Flexible NC programming
111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents