Read Device Data From Buffer Memory: From - Mitsubishi Electric R16MTCPU Programming Manual

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Read device data from buffer memory: FROM

Format
FROM(D), (S1), (S2), (n)
Setting data
■Usable data
: Usable
Setting
Usable Data
data
Bit
device
(D)
(S1)
(S2)
(n)
■Description, data type of result
Setting data
Description
(D)
Start device No. which stores the reading data.
(S1)
First I/O No. of the module (000H to FF0H, 3E00H to 3E30H)
(S2)
First address of the buffer memory which it will be read. (0 to end of target module buffer memory)
(n)
Number of words to be read (1 to within range of target module buffer memory)
Processing details
• (n) words of data are read from the address specified with (S2) of the buffer memory in the module specified with (S1), and
are stored since the device specified with (S2).
Device memory
(D)
H0000
H0005
H000A
H0000
Writing device data can be performed with the module access device (U\G).
(Example)
Reading 1 word of data from buffer memory address 10H of intelligent function module (start I/O number:
020H), and storing in W0.
Refer to the following for details of module access device.
MELSEC iQ-R Motion Controller Programming Manual (Common)
4 OPERATION CONTROL PROGRAMS
270
4.19 Other Instructions
Number of basic steps
14
Word device
16-bit
32-bit
64-bit
integer
integer
floating
type
type (L)
point
type (F)
(S1) Intelligent function
module buffer memory
Read the data
(S2)
H0000
of a part for
H0005
(n) word
H000A
H0000
W0 = U2\G16
Usable steps
F/FS
Constant
16-bit
32-bit
64-bit
integer
integer
floating
type
type
point
(K/H)
(K/H, L)
type (K)
G
Calculation
Bit
expression
conditional
expression
Data type of result
Comparison
conditional
expression

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents