3. Instruction Set

174. External wiring:

 

 

 

 

 

 

 

 

 

 

C

D

E

F

 

 

 

 

8

9

A

B

 

 

 

 

4

5

6

7

 

 

 

 

0

1

2

3

24G

+24V

S/S

X20

X21

X22

 

X23

 

 

C

Y20

Y21

Y22

 

Y23

PLC(Transistor output)

 

 

 

 

 

Points to note:

175. When HKY instruction is executed, 8 scan cycles (matrix scan) are required for reading the input value successfully. A scan cycle that is too long or too short may cause the input to be read incorrectly. In this case we suggest the following solutions:

If the scan cycle is too short, I/O may not be able to respond in time, resulting in incorrect input values. To solve this problem please fix the scan time.

If the scan period is too long, the key may respond slowly. In this case, write this instruction into the time-interrupt subroutine to fix the execution time for this instruction.

176. The function of flag M1167:

When M1167 = ON, HKY instruction can input hexadecimal value consists of 0~F. When M1167 = OFF, A~F of HKY instruction are used as function keys.

‹

3 - 1 8 7

Page 303
Image 303
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual PLCTransistor output