338
7 BASIC INSTRUCTIONS
7.5 Data Conversion Instructions
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).
• 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
(s2) to (s2)+6: Number of bits specified by (s2) to (s2)+6
(1): The value 0 indicates the end of setting.
Error code
(SD0/SD8067)
Description
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
separation 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 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.
(s2)
(s2)+1
(s2)+2
(s2)+3
(s2)+4
(s2)+5
(s2)+6
(s2)+7
(s1)
(s1)+1
(s1)+2
6
8
6
4
8
10
3
0
b0
∙∙∙
b6 b5
∙∙∙
b13
b15 b14
b0
∙∙∙
∙∙∙
b8 b7
b4 b3
∙∙∙
b15
b0
∙∙∙
b9
b10
∙∙∙
b12
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
(d)+6
∙∙∙
b0
∙∙∙
b0
b7
∙∙∙
b0
b7
∙∙∙
b0
b9
b5
∙∙∙
b0
b5
∙∙∙
b0
b3
∙∙∙
b0
b2
(s2)+1
(s2)+2
(s2)+3
(s2)+4
(s2)+5
(s2)+6
(1)
(s2)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......