EasyManua.ls Logo

Delta AH500 - Explanation of Peripheral Instructions

Delta AH500
749 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Applied Instructions
6-377
6.18.2 Explanation of Peripheral Instructions
API
Instruction code Operand
Function
1700 D
TKY
S, D
1
, D
2
Ten-key keypad
Device
X Y M S T C HC D L SM SR E PR K 16#
“$” DF
S
D
1
D
2
Pulse instruction 16-bit instruction (7 steps)
32-bit instruction (7 steps)
-
AH500
AH500
Symbol:
S
Initial device Bit
D
1
Device in which the value is
stored
Word/Double word
D
2
Output signal Bit
Explanation:
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. Users can enter a four-digit decimal value or an
eight-digit decimal value by pressing the keys in order. The decimal value is stored in D
1
, and
the output signals are stored in D
2
.
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
is OFF.
5. When the on-line editing is used, please reset the conditional contact to initialize the
instruction.
Example:
1. The ten external inputs starting from X0.0 is connected to ten keys which represent 0~9 in the
decimal system. When M0 is ON, the instruction is executed. The value that users enter is
stored as a binary value in D0, and the output signals are stored in M10~M19.

Table of Contents

Other manuals for Delta AH500

Related product manuals