7 APPLICATION INSTRUCTIONS
7.5 Data Processing Instructions
431
7
4-bit linking of 16-bit data
UNI(P)
• Links lower 4 bits of 16-bit data n-points from device designated by (S) to 16-bit device designated by (D).
• The bits of the upper (4-n) digits of the device designated by (D) become 0.
• The value of n can be designated at between 1 and 4.
• If n=0, there will be no processing, and the contents of device (D) will not change.
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
(S): Head number of the devices where data to be linked is stored (BIN 16 bits)
(D): Head number of the devices where the linked data will be stored (BIN 16 bits)
n: Number of links (1 to 4), 0: No processing (BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S)
(D)
n
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The value of n is other than 0 to 4.
4101 The range n-points from (S) exceeds the range of the corresponding device.
Basic
Process
High
performance
Redundant
Universal
LCPU
n
n
UNI
UNIP
D
D
Command
Command
UNIP
UNI
S
S
b0b3
b7
b4
b11 b8b12b15
b4b15 b0b3
Ignored
Linked data
D
S
S
S
S
+1
+3
+2