
B–61803E–1/10
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
117
(c) Dwell command (G344)
G344 Pxxx:
The dwell command is issued to the PMC control axis. Specify
the dwell time after address P.
(d) Reference position return command (G345)
G345;
The reference position return command is issued to the PMC
control axis.
(e) Miscellaneous function command (G346)
G346 Mmm;
The miscellaneous function command is issued to the PC control
interface. Specify the miscellaneous function code after address
M.
(f) Status signal read command (G348)
G348 Pppp;
The status signals (F130, F133, F136, F139) of the corresponding
PMC axis control interface are read into the variable indicated by
address P. A one-byte signal is expressed in decimal and input
to the variable. The EBSY signal is always input as 0.
76543210
EBSY EOTN EOTP EGEN EDEN EIAL ECKZ EINP
For details of the signals, refer to the CONNECTION MANUAL
for each Series.
(Example) When both EOTN and EIAL are 1
G348 P100;
This G code causes #100 to be set to 68.
(g) Command signal write command (G349)
G349 Pppp;
A numeric value indicated by address P is written into the
command signals (G142, G154, G166, G178) of the
corresponding PMC axis control interface. The EBUF and EFIN
signals cannot be written.
76543210
EBUF ECLR ESTP ESOF ESBK EFIN
For details of the signals, refer to the CONNECTION MANUAL
for each Series.
(Example) ECLR can be set to 1 by the following G code:
G349 P64; (64 = 01000000b)
(2) Notes
(a) Buffering a command
The PMC axis control function buffers command blocks in the
CNC unit so that it can execute two or more commands
sequentially. While a block is being executed, the next block can
be specified if the CNC buffer has sufficient free space. If the
CNC buffer has no free space, the next command is in the wait
state until the previous command block is executed and space in
the buffer becomes free. Meanwhile, the display level is locked.