Reading 1-Word/2-Word Data From Another Module (32-Bit Specification) - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Reading 1-word/2-word data from another module (32-bit
specification)
FROMD(P), DFROMD(P)
RnPCPU
RnCPU RnENCPU
(Process)
• 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.
Ladder
(U/H) (s)
FBD/LD
EN
ENO
U/H
d
s
n
■Execution condition
Instruction
FROMD
DFROMD
FROMDP
DFROMDP
Setting data
■Description, range, data type
Operand
(U/H)
(s)
(d)
FROMD(P)
DFROMD(P)
(n)
EN
ENO
*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.
7 APPLICATION INSTRUCTIONS
1054
7.27 Module Access Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(d)
(n)
Execution condition
Description
Start I/O number (first three digits in four-digit
hexadecimal representation) of a module or CPU
module
Buffer memory from which the data is read or the
start device where the start address of the CPU
memory is stored
Start device for storing the data that has been
read
Number of read data
Execution condition
Execution result
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);
Range
0H to FFH, 3E0H to 3E3H
0 to 4294967295
0 to 4294967295
Data type
Data type (label)
16-bit unsigned binary
ANY16
32-bit unsigned binary
ANY32
16-bit signed binary
ANY16
32-bit signed binary
ANY32
32-bit unsigned binary
ANY32
Bit
BOOL
Bit
BOOL
*1
*1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents