15. PMC CONTROL FUNCTION
B--63003EN--1/02
1270
MDI key codes can be sent from the PMC to CNC by means of interface
signals. This allows the CNC to be controlled in the same way as when
the operator performs MDI key operation.
Control is realized by exchanging the following interface signals between
the PMC and CNC:
Signal name Abbreviation
External key input mode selection signal (input) ENBKY
Key code signals (input) EKC0 to EKC7
Key code read signal (input) EKSET
Key code read completion signal (output) EKENB
Key input disable signal (output) INHKY
Program screen display mode signal (output) PRGDPL
The processing flow in the PMC is shown below.
(START)
Set ENBKY = 1
< EKSET = EKENB >
yes
yes
Set key code
Invert EKSET
< Has key input ended? >
yes
yes
yes
< INHKY = 0 >
no
no
no
< INHKY = 0 >
< EKSET = EKENB >
Set ENBKY = 0
(END)
1) Set the external key input control mode.
2) Check whether a key code can be set.
3) When a key code can be set:
(1) Set the key code to be input.
(2) Invert the (EKSET) signal to instruct the CNC to
read the key code.
4) Repeat the operation for the key data to be input
5) After reporting the last data, check that the CNC has
read the key data.
6) Release external key input control mode.
no
no
15.5
EXTERNAL KEY
INPUT
General