Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 342

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Processing details
• These instructions link each bit of the data in the device numbers specified by (s1) onwards into bit units specified by (s2),
and store the linked data in the device number specified by (d).
(s2)
6
(s2)+1
8
(s2)+2
6
(s2)+3
4
(s2)+4
8
(s2)+5
10
(s2)+6
3
(s2)+7
0
(s1)
b7
(s1)+1
(s1)+2
(s1)+3
(s1)+4
b9
(s1)+5
(s1)+6
(s2) to (s2)+6: Number of bits specified by (s2) to (s2)+6
(1): The value 0 indicates the end of setting.
• The number of link bits specified by (s2) can be specified within the range of 1 to 16 bits.
• The number of bits specified in devices from the device number specified by (s2) up to the device number in which "0" is
stored are processed as the number of connection bits.
• If the device numbers specified by (s1), (s2), (d) are partially overlapping, an operation error occurs.
Operation error
Error code
Description
(SD0/SD8067)
2820H
The usage range of the device specified by (s1) or (d) exceeds the corresponding device range due to the specification of the number of
link bits specified by (s2).
2821H
The (s1), (s2) devices are overlapping.
The (s1), (d) devices are overlapping.
The (s2), (d) devices are overlapping.
3401H
The specification of the number of link bits specified by (s2) is not set within the range of 1 to 16 bits.
0 is not set in the range between the device specified by (s2) up to the corresponding device range.
7 BASIC INSTRUCTIONS
340
7.5 Data Conversion Instructions
(1)
b5
b0
b0
b5
b0
b3
b0
b7
b0
b0
b2
b0
b15 b14
b13
(s2)
(d)
(s2)+1
b15
(s2)+2
(d)+1
(s2)+3
(s2)+4
b12
(s2)+5
(d)+2
(s2)+6
b6 b5
b0
b8 b7
b4 b3
b0
b10
b0

Hide quick links:

Advertisement

loading