Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
14 Applied Instructions (External FX I/O Device)
14.9 FROM / Read From A Special Function Block
381
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
14.9 FROM / Read From A Special Function Block
Outline
This instruction reads out the content of buffer memory (BFM) of special extension unit/block to the PLC.
If a large quantity of buffer memory (BFM) data is read out in batch by using this instruction, a watchdog timer
error may occur. When there is no bad influence for the control if the data is divided and read out, you can use
RBFM instruction.
1. Format and operation, execution form
2. Set data
*1. In the case of FX1N, FX1NC, FXU, FX2C, FX2N, FX2NC series, the data type of DFROM, DFROMP of
32-bit operation is ANY16.
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD ST
FROM 16 bits Continuous FROM(EN, n1, n2, n3, d);
FROMP 16 bits Pulse FROMP(EN, n1, n2, n3, d);
DFROM 32 bits Continuous DFROM(EN, n1, n2, n3, d);
DFROMP 32 bits Pulse DFROMP(EN, n1, n2, n3, d);
Variable Description
Data type
16-bit
operation
32-bit
operation
Input
variable
EN Execution condition Bit
Unit No. of special extension unit/block ANY16
ANY32
*1
Transfer origin buffer memory (BFM) number ANY16
ANY32
*1
Number of transfer points ANY16
ANY32
*1
Variable
ENO Execution state Bit
Transfer destination device
16-bit operation: n
3
points occupied
32-bit operation: 2 × n
3
points occupied
ANY16 ANY32
FROM
EN
n1
n2
ENO
d
n3
FROMP
EN
n1
n2
ENO
d
n3
DFROM
EN
n1
n2
ENO
d
n3
DFROMP
EN
n1
n2
ENO
d
n3