17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3. Instruction Set<br />

174. External wiring:<br />

C D E F<br />

8 9 A B<br />

4 5 6 7<br />

0 1 2 3<br />

24G<br />

+24V<br />

S/S<br />

X20<br />

X21<br />

X22<br />

X23<br />

C<br />

Y20<br />

Y21<br />

Y22<br />

Y23<br />

PLC(Transistor output)<br />

Points to note:<br />

175. When HKY instruction is executed, 8 scan cycles (matrix scan) are required for reading the<br />

input value successfully. A scan cycle that is too long or too short may cause the input to be<br />

read incorrectly. In this case we suggest the following solutions:<br />

If the scan cycle is too short, I/O may not be able to respond in time, resulting in incorrect input<br />

values. To solve this problem please fix the scan time.<br />

If the scan period is too long, the key may respond slowly. In this case, write this instruction into<br />

the time-interrupt subroutine to fix the execution time for this instruction.<br />

176. The function of flag M1167:<br />

When M1167 = ON, HKY instruction can input hexadecimal value consists of 0~F.<br />

When M1167 = OFF, A~F of HKY instruction are used as function keys.<br />

<br />

3-187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!