Chapter 6 Applied Instructions 6.18.2 Explanation of Peripheral Instructions Symbol S : First input device D 1 : Device where the value is stored D 2 : Output signal Explanation 6_ 1. The ten external inputs starting from the input specified by S represents 0–9 in the decimal system. They are connected to ten keys. You can enter a four-digit decimal value 0–9,999 (16-bit instruction) or an eight-digit decimal and stores the output signals in D 2 . value 0–99,999,999 (32-bit instruction) by pressing the keys in order. The instruction stores the decimal value in D 1 , 2. The operand S occupies ten bits. 3. The operand D 2 occupies eleven bits.
Please do not change the states of the bits during the execution of the instruction. 4. When the conditional contact is not enabled, the eleven bits starting from the bit specified by D 2 are OFF. 5. When using on-line editing, please reset the conditional contact to initialize the instruction. 6. You can use the 32-bit counter only when D 1 uses 32-bit instructions. 6-509 API Instruction code Operand Function 1700 D TKY S, D1, D2 Ten-key keypad Device X Y M S T C HC D FR SM SR E K 16# “$” F S D1 D2 BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S D1 D2 Pulse instruction 16-bit instruction 32-bit instruction - ES3 ES3