1054
7 APPLICATION INSTRUCTIONS
7.27 Module Access Instructions
Reading 1-word/2-word data from another module (32-bit
specification)
FROMD(P), DFROMD(P)
• FROMD(P):
These instructions read n words of data from the buffer memory address in the specified module or another CPU module.
• DFROMD(P):
These instructions read n
2 words of data from the buffer memory address in the specified module or another CPU module.
■
Execution condition
Setting data
■
Description, range, data type
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
Ladder
ST
ENO:=FROMD(EN,U/H,s,n,d);
ENO:=FROMDP(EN,U/H,s,n,d);
ENO:=DFROMD(EN,U/H,s,n,d);
ENO:=DFROMDP(EN,U/H,s,n,d);
FBD/LD
Instruction
Execution condition
FROMD
DFROMD
FROMDP
DFROMDP
Operand
Description
Range
Data type
Data type (label)
(U/H)
Start I/O number (first three digits in four-digit
hexadecimal representation) of a module or CPU
module
0H to FFH, 3E0H to 3E3H
16-bit unsigned binary
ANY16
(s)
Buffer memory from which the data is read or the
start device where the start address of the CPU
memory is stored
0 to 4294967295
32-bit unsigned binary
ANY32
(d)
FROMD(P)
Start device for storing the data that has been
read
16-bit signed binary
ANY16
DFROMD(P)
32-bit signed binary
ANY32
(n)
Number of read data
0 to 4294967295
32-bit unsigned binary
ANY32
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
RnCPU RnENCPU
RnSFCPU RnSFCPU
RnPCPU
RnPCPU
(Standard)
(Safety)
(Redundant)
(Process)
(U/H)
(s)
(d)
(n)
EN
ENO
d
U/H
s
n
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......