Mitsubishi Electronics FX3G User Manual

Page of 964
453
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
15 External FX I/O Device – FNC 70 to FNC 79
15.10 FNC 79 – TO / Write To A Special Function Block
11
FN
C30
-FN
C3
9
R
ota
tion and 
Shi
ft
12
FN
C40-FN
C49
D
ata O
perati
on
13
FNC
50-FNC
59
High-Speed
 
Proc
essing
14
FM
C60-FN
C69
H
andy 
In
struction
15
FN
C70-FN
C79
E
xternal
 F
X
 I/O
 
De
vice
16
FNC
80-FNC
89
External
 FX 
Dev
ice
17
FNC1
00-
FNC10
9
Dat
Transfer 2
18
FNC1
10-
FNC139
Fl
oati
ng Poi
nt
19
FNC14
0-F
N
C
149
Da
ta
 
Operation 2
20
FNC1
50-
FNC159
Pos
itioning 
Control
15.10 FNC 79 – TO / Write To A Special Function Block
Outline
This instruction writes data from a PLC to buffer memories (BFM) in a special function unit/block.
When a large capacity of data is written to buffer memories (BFM) by this instruction, a watchdog timer error may
occur. When splitting the data to be written does not affect the control, use WBFM (FNC279) instruction.
→ For WBFM (FNC279) instruction, refer to Section 31.2.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (TO and TOP)
→ For the common items between FROM instruction and TO instruction, refer to Subsection 15.9.1.
PLC (word device) 
 Special extension unit/block (BFM) 
"n"-point 16-bit data starting from 
 inside a PLC are transferred (written) to "n"-point buffer memories starting
from the buffer memory (BFM) # m2 inside a special function unit/block No. m1.
Operand Type
Description
Data Type
m1
Unit number of a special extension unit/block 
(K0 to K7 from the right side of the main unit)
16- or 32-bit binary
m2
Transfer destination buffer memory (BFM) number
16- or 32-bit binary
Device number storing the transfer source data
16- or 32-bit binary
n
Number of transfer points
16- or 32-bit binary
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
P
FNC 79
TO
D
DTO
DTOP
Mnemonic
Operation Condition
32-bit Instruction
17 steps
Continuous
Operation
Pulse (Single)
Operation
16-bit Instruction
9 steps
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
TO
TOP
  S
  S
   
S
Command
input
FNC 79
TO
m1
m2
n
S ‚
Unit No.
m1 = 0 to 7
Transfer destination (Special
extension unit/block) BFM#
m2 = 0 to 32766
Transfer source (PLC)
Number of transfer points
n = 1 to 32767