DVP-ES3 Series Programming Manual Symbol S 1 : First input device _6 S 2 : For system use only D 1 : First output device D 2 : Device where the value is stored D 3 : Output signal Explanation 1. The four external inputs starting from the input specified by S are connected to the four external outputs starting from the output specified by D 1 to form a 16-key keypad. The instruction stores the value that you enter by pressing the keys in D 2 , and stores the output signals in D 3 . If you press several keys simultaneously, the value that is smaller is stored. 2. The value that you enter by pressing the keys is temporarily stored in D 2 .
For the 16-bit HKY instruction, the maximum value that can be stored in D 2 is 9,999. If the value exceeds four digits, the first digit from the left overflows. For the 32-bit DHKY instruction, the maximum value that can be stored in D 2 is 9,999. If the value exceeds eight digits, the first digit from the left overflows. 3. After the instruction completes, SM692 is ON. That is, SM692 is ON for a scan cycle after the execution of the matrix scan is complete.
6-512 API Instruction code Operand Function 1701 D HKY S1, S2, D1, D2, D3 Sixteen-key keypad Device X Y M S T C HC D FR SM SR E K 16# “$” F S1 S2 D1 D2 D3 BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1 S2 D1 D2 D3 Pulse instruction 16-bit instruction 32-bit instruction - ES3 ES3