![Mitsubishi Electric MELSEC iQ-F FX5 Скачать руководство пользователя страница 344](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114344.webp)
342
7 BASIC INSTRUCTIONS
7.5 Data Conversion Instructions
Ex.
For example, when (n) is 5, data starting from (s) to the lower 8 bits of (s)+2 is stored into (d) through (d)+4.
• Setting the number of bytes by (n) automatically determines the 16-bit binary data range specified by (s) and the device
range specified by (d) for storing the separated byte data.
• If (n) is 0, no processing is performed.
• In the upper byte of the devices specified by (d) to hold byte data, 00Hs are automatically stored.
Ex.
To store data in D12 to D14 into the lower 8 bits of D11 to D16
• Even if the device range of the data to be separated and the device range for storing the separated data overlap, the
processing is performed normally.
Operation error
(1): The data FEH is ignored when (n) is 5.
(1): 00H is automatically stored.
Device range where the data to be separated is stored
Device range for storing the separated data
(d)+0 to (d)+(n)-1
Error code
(SD0/SD8067)
Description
2820H
The range of no. of bytes specified in (n) from the device number specified in (s) onwards exceed the corresponding device range.
The range of (n) points of devices from the device number specified in (d) onwards exceed the corresponding device range.
(d)+1
(d)+2
(d)+3
(d)+4
(d)
∙∙∙
b0
b7
∙∙∙
b8
b15
∙∙∙
b0
b7
∙∙∙
b8
b15
(s)
(s)+1
(s)+2
00H
00H
00H
00H
00H
39H
12H
78H
56H
DCH
39H
78H
DCH
12H
56H
FEH
(n)=5
(1)
D13
D14
D12
∙∙∙
b0
b7
∙∙∙
b8
b15
∙∙∙
b0
b7
∙∙∙
b8
b15
D11
D12
D13
D14
D15
D16
00H
00H
00H
00H
00H
31H
32H
33H
34H
00H
35H
36H
32H
34H
36H
31H
33H
35H
(1)
(s) to (s)+( -1)
2
n
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......