7 APPLICATION INSTRUCTIONS
7.5 Data Processing Instructions
429
7
4-bit dissociation of 16-bit data
DIS(P)
• Stores the lower n-digits (1 digit is 4 bits) of the 16-bit data designated by (S) at the lower 4 bits n-points from the device
designated by (D).
• The upper 12 bits n-points from the device designated by (S) 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 n-points from (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 dissociated is stored (BIN 16 bits)
(D): Head number of the devices where the dissociated data will be stored (BIN 16 bits)
n: Number of dissociations (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 (D) exceeds the range of the corresponding device.
Basic
Process
High
performance
Redundant
Universal
LCPU
n
n
DIS
DISP
D
D
Command
Command
DISP
DIS
S
S
b0b3b7 b4b11 b8
b4b15 b0b3
n
Filled with 0s.
Storage area
b12b15
D
S
D
D
D
+1
+2
+3