Mitsubishi Electric MELSEC-Q/L Programming Manual page 436

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

Advertisement

• The number of dissociated bits designated at (S2) can be designated within a range of 1 to 16 bits.
• Bits from the device number designated at (S2) to the device number where "0" is stored are processed as dissociated bits.
• Do not overlap the device range for data to be dissociated ((S1) to end range of (S1)) with the device range which stores
the dissociated data ((D) to end range of (D)). If overlapped, the correct operation result may not be obtained.
• Do not specify the same device number for (S1), (S2), and (D). If the same device is specified for (S1), (S2), and (D), the
operation does not work correctly.
■NUNI
• Links individual bits of data stored into the area starting from the device number designated by (S1) in the number of bits
specified by (S2), and stores them following the device number designated by (D).
Designation of the number of linked bits
S2
6
S2
+1
8
+2
S2
6
+3
S2
4
+4
S2
8
S2
+5
10
S2
+6
3
S2
+7
0
S 1
+1
S 1
S 1
+2
S 1
+3
S 1
+4
b9
S 1
+5
S 1
+6
• The number of bits to be linked as designated by (S2) can be within a range of from 1 to 16.
• Processing will be performed on the number of bits to be linked from the device number designated by (S2) to the device
number storing "0".
• Do not overlap the device range for data to be linked ((S1) to end range of (S1)) with the device range which stores the
linked data ((D) to end range of (D)). If overlapped, the correct operation result may not be obtained.
• Do not overlap the device numbers to be designated at (S1), (S2), and (D). If overlapped, correct operation is not possible.
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 number of dissociated or linked bits specified by (S2) has not been set
within the range from 1 to 16 bits.
4101
The device number of the device specified by (S1) or (D) based on the
number of dissociated or linked bits specified by (S2) is greater than the last
device number of each device.
7 APPLICATION INSTRUCTIONS
434
7.5 Data Processing Instructions
Designation of the end of setting
b5
b0
Number of bits
designated at S2
b7
b0
Number of bits
designated at
b5
b0
Number of bits
designated at
b4
b0
Number of bits
designated at
b7
b0
Number of bits
designated at
b0
Number of bits
designated at
b2
b0
Number of bits
designated at
b15b14b13
D
S2
+1
b15
D
S2
+2
S2
+3
S2
+4
b12
b10
D
S2
+5
S2
+6
Q00J/
Q00/
Q01
b6
b5
b0
b8
b7
b4
b3
b0
b0
QnH
QnPH
QnPRH
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents