Reading 1-Word/2-Word Data From Another Module (16-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 (16-bit
specification)
FROM(P), DFROM(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• FROM(P):
These instructions read n words of data from the buffer memory address in the specified module or another CPU module.
• DFROM(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)
(d)
FBD/LD
EN
ENO
U/H
d
s
n
■Execution condition
Instruction
FROM
DFROM
FROMP
DFROMP
Setting data
■Description, range, data type
Operand
Description
(U/H)
Start I/O number (first three digits in four-digit
hexadecimal representation) of a module or CPU
module
(s)
Start address of buffer memory or CPU built-in
memory containing the data to be read
(d)
FROM(P)
Start device for storing the data that has been
read
DFROM(P)
(n)
Number of read data
EN
Execution condition
ENO
Execution result
*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.
RnSFCPU RnSFCPU
(Standard)
(Safety)
(n)
Execution condition
ST
ENO:=FROM(EN,U/H,s,n,d);
ENO:=FROMP(EN,U/H,s,n,d);
ENO:=DFROM(EN,U/H,s,n,d);
ENO:=DFROMP(EN,U/H,s,n,d);
Range
Data type
0H to FFH, 3E0H to 3E3H
16-bit unsigned binary
0 to 65535
16-bit unsigned binary
16-bit signed binary
32-bit signed binary
0 to 65535
16-bit unsigned binary
Bit
Bit
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY16
ANY16
*1
ANY16
*1
ANY32
ANY16
BOOL
BOOL
7.27 Module Access Instructions
7
1045

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents