612
KEY
Function
(1) Stores the indirect address of the device designated by at and +1.
The address stored at the device designated by is used when an indirect device address is performed by the
sequence program.
(2) A bit device designation cannot be made at .
Operation Error
(1) There is no operation error in the ADRSET(P) instruction.
Remark
See Page 100, Section 3.4 for further information on indirect designations.
: Head number of the devices (X) to which a numeral will be input (bits)
n : Number of digits of the numeral to be input (BIN 16 bits)
: Head number of the devices where the input numeral will be stored (BIN 16 bits)
: Number of the bit device to turn ON at the completion of input (bits)
7.18.7 KEY Numerical key input using keyboard
7.18.7
KEY
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
(Only X)
–– –– –– ––
n ––
–– –– –– ––
–– ––
S
D D
D
MOV K1234 @D100
ADRSET W100 D100
D0
D1
D100
D101
1234
W100
Stores the address of W100 address to D100 and D101.
Reads the contents of D100.
Device area
Address of
W100
Writes 1234 to the address
specified by D100 and D101.
S
Basic
Redundant
Universal
LCPU
Process
High
performance
Command
KEY
n
S
D1 D2
KEY
S
D1
D2
S
D1
D2