Mitsubishi Electronics FX3UC Benutzerhandbuch
473
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
Series
Programming Manual - Basic & Applied Instruction Edition
16 External FX Device – FNC 80 to FNC 89
16.8 FNC 87 – RS2 / Serial Communication 2
11
FN
C30
-FN
C3
C30
-FN
C3
9
R
ota
tion and
Shi
ft
ft
12
FN
C40-FN
C40-FN
C49
D
ata O
perati
perati
on
13
FNC
50-FNC
59
High-Speed
Proc
essing
14
FM
C60-FN
C60-FN
C69
H
andy
In
struction
15
FN
C70-FN
C70-FN
C79
E
xternal
F
X
I/O
De
vice
16
FNC
80-FNC
89
External
FX
Dev
ice
ice
17
FNC1
00-
FNC10
00-
FNC10
9
Dat
a
a
Transfer 2
18
FNC1
10-
FNC139
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
Operation 2
20
FNC1
50-
FNC159
FNC159
Pos
itioning
itioning
Control
16.8
FNC 87 – RS2 / Serial Communication 2
Outline
This instruction sends and receives data using non-protocol communication by way of serial ports in accordance with
RS-232C or RS-485 provided in the main unit.
In FX
RS-232C or RS-485 provided in the main unit.
In FX
3G
/FX
3GC
PLCs, data can be sent and received using non-protocol communication by way of the standard built-
in port (RS-422).
1. Instruction format
2. Set data
*1.
Ch0 is available only in FX
3G
/FX
3GC
PLCs.
Ch2 is not available in FX
3G
PLC (14-point and 24-point type) and FX
3S
PLC.
3. Applicable devices
S
: This function is supported only in FX
3G
/FX
3GC
/FX
3U
/FX
3UC
PLCs.
Explanation of function and operation
1. 16-bit operation (RS2)
This instruction sends and receives data using non-protocol communication by way of serial ports in accordance with
RS-232C or RS-485 provided in the main unit.
RS-232C or RS-485 provided in the main unit.
→ For detailed explanation, refer to the Data Communication Edition.
Operand type
Description
Data type
Head device of data registers storing data to be sent
16-bit binary or
character string
m
Number of bytes of data to be sent [setting range: 0 to 4,096]
16-bit binary
Head device of data registers storing received data when receiving is completed
16-bit binary or
character string
n
Number of bytes to be received [setting range: 0 to 4,096]
16-bit binary
n1
Used channel number [contents of setting: K0 = ch0, K1 = ch1, K2 = ch2]
*1
16-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
V Z Modify K H
E
" "
P
S
m
S
S
n
S
n1
FNC 87
RS2
−
Mnemonic
Operation Condition
16-bit Instruction
11 steps RS2
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction
S
1
S
D
S
1
S
S
2
D
FNC 87
RS2
m
S
Command
input
D
n
n1