Reading 1-Word/2-Word Data From Another Module - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Reading 1-word/2-word data from another module

FROM(P), DFROM(P)
• FROM(P)
These instructions read (n) words of data from the buffer memory specified by (s) in intelligent function module specified by
(U/H), and store the data to the device specified by (d) and later (d).
• DFROM(P)
These instructions read the (n)  2 words of data from the buffer memory specified by (s) intelligent function module specified
by (U/H), and store the data to the device specified by (d) and later.
Ladder diagram
(U/H) (s)
(d)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(U/H)
Unit number
(s)
Start address of the buffer memory where the read-target data is
stored
(d)
FROM(P)
Head device number for storing the read data
DFROM(P)
(n)
Number of read data
■Applicable devices
Operand
Bit
X, Y, M, L,
U\G T, ST,
SM, F, B, SB
(U/H)
(s)
(d)
(n)
*1 Only the DFROM(P) instruction can be used.
(n)
Word
T, ST, C, D,
U\G
C, LC
W, SD, SW, R
Structured text
ENO:=FROM(EN,UnHn,s,n,d);
ENO:=FROMP(EN,UnHn,s,n,d);
ENO:=DFROM(EN,UnHn,s,n,d);
ENO:=DFROMP(EN,UnHn,s,n,d);
Range
Data type
H1 to H10
16-bit unsigned binary
0 to 65535
16-bit unsigned binary
16-bit signed binary
32-bit signed binary
1 to 65535
16-bit unsigned binary
Double word Indirect
specification
Z
LC
LZ
*1
*1
7 APPLICATION INSTRUCTION
Data type (label)
ANY16
ANY16
ANY16
ANY32
ANY16
Constant
Others
K, H
E
$
7.21 Module access instruction
7
607

Advertisement

Table of Contents
loading

Table of Contents