
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–61803E–1/10
PROGRAMMING
116
The conversational macro can control the PMC control axis through the
PMC axis control interface. The seven control codes listed below are used
for this purpose. The PMC control axis to be controlled is specified by
the PMC control axis selection variable, #8602.
G340 → Rapid traverse command
G341 → Cutting feed command
G344 → Dwell command
G345 → Reference position return command
G346 → Miscellaneous function command
G348 → Status signal read command
G349 → Command signal write command
#8602 → PMC control axis selection variable
#8602 Area Series 16 Series 18/0i 20–FA Series 21
0 Area A 1st to 8th axis 1st to 4th axis 1st to 3rd axis 1st to 4th axis
1 Area B 1st to 8th axis 1st to 4th axis 1st to 3rd axis 1st to 4th axis
2 Area C 1st to 8th axis 1st to 4th axis 1st to 3rd axis 1st to 4th axis
3 Area D 1st to 8th axis 1st to 4th axis 1st to 3rd axis 1st to 4th axis
NOTE
1 For information about the PMC axis control interface, refer
to the corresponding connection manual for each machine.
2 A control axis is selected by setting bits of the input signal
parameter G136. Use the PMC to set the bits of G136.
For details, refer to the CONNECTION MANUAL for each Series.
If a value other than 0 to 3 is specified in #8602, the control command is
ignored.
(1) Control codes
(a) Rapid traverse command (G340)
G340 Xxxx;
The rapid traverse command is issued to the PMC control axis.
Specify the incremental traveling distance after address X.
(b) Cutting feed command (G341)
G341 Xxxx Ffff;
The cutting feed command is issued to the PMC control axis.
Specify the incremental traveling distance after address X.
Specify the feedrate after address F.
6.22
PMC AXIS CONTROL
6.22.1
PMC Axis Control by the
G Code