
17.PMC CONTROL FUNCTION B-63943EN-1/02
- 2040 -
- Signal detail
The processing flow in the PMC is shown below.
(START)
< EKSET = EKENB >
Set key code
Invert EKSET
< Has key input ended? >
< INHKY = 0 >
< INHKY = 0 >
< EKSET = EKENB >
Set ENBKY = 0
(END)
1) Set the external key input control mode.
Set ENBKY = 1
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
yes
no
no
no
yes
yes
yes
no
yes
NOTE
Read processing is controlled by exclusive-ORing
(XOR) the key code read signal (EKSET) with the
read completion signal (EKENB). When the EKSET
and EKENB signals differ in their logic, the CNC
reads the input key code. Once reading has been
completed, the CNC inverts the EKENB signal to
match its logic with that of the EKSET signal.
In the PMC, on the other hand, a new key code
cannot be set while the EKSET and EKENB signals
differ in their logic.