4-Bit Linking Of 16-Bit Data - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

4-bit linking of 16-bit data

UNI(P)
High
Basic
Process
Redundant Universal
performance
UNI
UNIP
(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
Internal device
data
Bit
Word
(S)
(D)
n
Processing details
• Links lower 4 bits of 16-bit data n-points from device designated by (S) to 16-bit device designated by (D).
b15
b4
b3
b0
S
S
+1
S
+2
S
+3
Ignored
Linked data
• 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.
Operation error
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
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.
LCPU
Command
Command
R, ZR
J\
Bit
Word
b15
b12
b11 b8
b7
D
S
D
UNI
S
D
UNIP
U\G
Zn
b4
b3
b0
Q00J/
QnH
QnPH
Q00/
Q01
7 APPLICATION INSTRUCTIONS
7.5 Data Processing Instructions
n
n
Constant
Others
K, H
QnPRH
QnU
LCPU
431
7

Advertisement

Table of Contents
loading

Table of Contents