Mitsubishi Electric MELSEC FX3U Programming Manual page 562

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
3) When "n" is an odd number, "00H" is stored in the high-order byte (8 bits) of the final one among the
combination result destination devices as shown below.
For example, when "n" is "5", the low-order byte (8 bits) of
+2, and "00H" is stored in the high-order byte (8 bits) of
D
S
When
"n" is
"5"
4) When "n" is "0", the BTOW instruction is not executed.
Related instruction
Instruction
WTOB (FNC141)
Caution
Devices storing the combination source data may be equivalent to devices storing the combined data.
After combination, however, the high-order byte (8 bits) of the combination source data stored in the devices
used for the combination destination data is erased and overwritten with the data acquired by combining the
high-order byte (8 bits).
=D11
S
D12
When
D13
"n" is
D14
"6"
D15
D16
Because these combination source devices are
also used for the combination destination, "ABH"
and "CDH" are erased and overwritten.
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is
stored in D8067.
• When the combination source devices
code: K6706)
• When the combined data destination devices
(error code: K6706)
When "n" is an odd number, the number of a rounded up value decides the numer of devices. (error code:
K6706)
560
b15
b8 b7
+0
ABH
12H
+1
CDH
34H
+2
EFH
56H
+3
ABH
78H
+4
CDH
9AH
The high-order bytes is ignored.
Separates consecutive 16-bit data in byte units (8 bits).
b15
b8 b7
ABH
12H
CDH
34H
EFH
56H
ABH
78H
CDH
9AH
EFH
BCH
The high-order bytes is ignored.
b0
b15
+0
D
+1
+2
Description
b0
=D10
D
D11
D12
D13
D14
D15
D16
to
+n-1 are outside the specified device range (error
S
S
to
+n/2 are outside the specified device range
D
D
19 Data Operation 2 – FNC140 to FNC149
19.3 FNC142 – BTOW / BYTE to WORD
to
+4 is stored in
S
S
+2.
D
b8 b7
34H
12H
78H
56H
00H
9AH
When "n" is "5",
"00H" is stored.
b15
b8 b7
34H
12H
78H
56H
BCH
9AH
EFH
56H
ABH
78H
CDH
9AH
EFH
BCH
It is not changed.
to
D
b0
b0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents