
B–61863E/15
5. FUNCTIONAL INSTRUCTIONS
PMC SEQUENCE PROGRAM
275
Note) 7 6 5 4 3 2 1 0
Display
Specified
address
Message
data
8
Message
data
7
Message
data
6
Message
data
5
Message
data
4
Message
data
3
Message
data
2
Message
data
1
Display
request
Specified
address +1
Message
data
16
Message
data
15
Message
data
14
Message
data
13
Message
data
12
Message
data
11
Message
data
10
Message
data
9
Display
Specified
address +2
Message
data
8
Message
data
7
Message
data
6
Message
data
5
Message
data
4
Message
data
3
Message
data
2
Message
data
1
Display
state
Specified
address +3
Message
data
16
Message
data
15
Message
data
14
Message
data
13
Message
data
12
Message
data
11
Message
data
10
Message
data
9
Fig. 5.43.7 Correspondence between message data and display request/displayed status
NOTE
“Specified address” means an address specified in the
message control address of a DISP instruction parameter.
(a) CNC external data input function
The DISP instruction displays messages using external data input
function or external message display, which involves external
work–number search, external tool offset, external work coordinate
system shift, etc. as well as message display. The DISP instruction
cannot display messages when any of these functions is being
executed. To check this, EPCA (any address in internal relay area)
and EPCB (any address in control relay area) are used as interlock
signal. The sequence program sets EPCA to 1 while the message is
displayed, and to 0 upon competion of processing. The sequence
program sets EPCB to 1 while any function other than the above is
being processed, and to 0 upon completion of processing.
When EPCB = 1, messages must not be displayed (DISP ACT must
not be 1). Set ACT to 1 after making sure that EPCB = 0.
When the function other than message display is executed, execute
after making sure that EPCA = 0. DISP instruction and external data
input function (external tool offset, external work number search)
must be programmed in the same sequence level.
(b) External data input function address
During DISP instruction execution (EPCA = 1), the PMC ³ CNC
interface of the external data input function must not be used for
processing of external tool offset, external work–number search or
external work coordinate system shifting. If EPCA = 1, use the JMP
instruction, for example, to skip writing data, so that nothing is
written in the interface.
5.43.8
Remarks on Using the
DISP Instruction