G-15
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (FX
2N
-232IF)
5 Creating Programs
5.2 FROM and TO Instructions
A
Comm
on I
te
ms
B
N:
N N
etwo
rk
C
Paral
le
l Li
nk
D
Com
puter Li
nk
E
In
verter
C
omm
uni
cation
F
N
on-Proto
col
C
ommunicati
on
(R
S/RS
2 Instru
ction
)
G
No
n-
Protoc
ol
Co
mmuni
ca
tion
(FX
2N
-2
32IF)
H
Programm
ing
Comm
uni
cation
I
Re
mo
te
Ma
intenance
Apx.A
D
isco
nti
nued
models
5.2
FROM and TO Instructions
This section explains how to use FROM and TO instructions.
5.2.1
FROM instruction
FROM instruction reads data of the buffer memory in a special block.
1. Applicable devices
• For FX
2N
/FX
2NC
PLCs
• For FX
3U
/FX
3UC
PLCs
2. Function and operation
1) 16-bit operation (FROM and FROMP)
Special function block (BFM)
PLC (word device)
"n" 16-bit data starting from buffer memory (BFM) No. m2 inside the special function block No. m1 are
transferred (read) to "n" devices starting from
inside the PLC.
2) 32-bit operation (DFROM and DFROMP)
Special function block (BFM)
PLC (word device)
"n" 32-bit data starting from buffer memory (BFM) No. m2 inside the special function block No. m1 are
transferred (read) to "n" devices starting from [
+1,
] inside the PLC.
Operand
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Index
Constant
Pointer
X
Y
M
T
C
S
KnX
KnY
KnM
KnS
T
C
D
V
Z
Modify
K
H
P
m1
m2
n
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
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
m1
m2
n
D
D
D
Number of transfer points
n = 1 to 32767
FNC 78
FROM
m1
m2
n
D
Unit No.
m1 = 0 to 7
Transfer source BFM #
(Special extension unit/block)
m2 = 0 to 32766
Transfer destination (PLC)
Command
D
D
FNC 78
DFROM
m1
m2
n
D
Unit No.
m1 = 0 to 7
Transfer source BFM #
(Special extension unit/block)
m2 = 0 to 32765
Transfer destination (PLC)
Number of transfer points
n = 1 to 16383
Command
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......