
B–61863E/15
2. SEQUENCE PROGRAMPMC SEQUENCE PROGRAM
53
NOTE
The status of the CNC input memory, input signals from
machine, CNC output memory and output signals to
machine can be checked by using the PC self–diagnosis
function.
The self–diagnosis number specified is the address number
used by the sequence program.
Signals input from the CNC are transferred to the PMC at intervals of 8
ms.
Signals output to the CNC are transferred from the PMC at intervals of
8 ms.
PMC I/O signals are generally transferred at intervals of 8 ms.
In this case, note that state of the input signals from the CNC does not
synchronize with that of the 1st level sequence program and the 2nd level
sequence program. By this reason, if an input signal from the CNC may
change while execution of the 1st level sequence program, for example,
some trouble may occur like example in Fig. 2.5.3 (a).
To avoid such trouble, write the state of signal TF in an internal relay at
the start of the 1st level sequence, then the 1st level sequence program
shall refer to the internal relay as signal TF. See Fig. 2.5.3 (b).
TF
If after TF=0 is load, signal state changes to TF=1,
state of W1=1 and W2=1 may momentary occur
W1
TF
W2
END 1
Fig. 2.5.3 (a)
Make signal TF synchronized one, and state of
W1=1 and W2=1 may not occur.
TFM
TFM
W1
TFM
W2
END 1
TF
Fig. 2.5.3 (b)
2.5.3
I/O Signals to CNC