Mitsubishi MELSEC iQ-F FX5 series Programming Manual page 291

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Processing details
• These instructions separate each bit of the data in the device numbers specified by (s1) and later into bit units specified by
(s2), and store the separated data in the device numbers starting from the one specified by (d).
Specifies the number of separating bits
(s2)
6
(s2)+1
8
(s2)+2
6
(s2)+3
4
(s2)+4
8
(s2)+5
10
(s2)+6
3
Specifies the setting end
(s2)+7
0
b15 b14
b13
···
b6 b5
(s1)
b15
···
b8 b7
···
b4 b3
(s1)+1
b12
···
b10
b9
···
(s1)+2
• The number of separation 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 separation bits.
• If the device numbers specified by (s1), (s2), (d) are partially overlapping, an operation error occurs.
Operation error
Error code
Description
(SD0/SD8067)
2820
The usage range of the device specified by (s1) or (d) exceeds the corresponding device range due to the specification of the number of
separation bits specified by (s2).
2821
The (s1), (s2) devices are overlapping.
The (s1), (d) devices are overlapping.
The (s2), (d) devices are overlapping.
3401
The specification of the number of separation 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.
···
b0
For the bits specified by (s2)
For the bits specified by (s2)+1
···
b0
For the bits specified by (s2)+2
For the bits specified by (s2)+3
For the bits specified by (s2)+4
b0
For the bits specified by (s2)+5
For the bits specified by (s2)+6
b5
···
(d)
b7
···
(d)+1
b5
···
(d)+2
b3
(d)+3
b7
···
(d)+4
b9
···
(d)+5
b2
(d)+6
6.5 Data Conversion Instructions
b0
b0
b0
··· b0
b0
b0
··· b0
6 BASIC INSTRUCTIONS
6
289

Advertisement

Table of Contents
loading

Table of Contents