EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Writing 1-Word;2-Word Data to a Module (16-Bit Specification)

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.27 Module Access Instructions
1049
7
Writing 1-word/2-word data to a module (16-bit specification)
TO(P), DTO(P)
TO(P): These instructions write the n points of data from the specified device to the buffer memory in the module/host CPU
module.
DTO(P): These instructions write the n2 points of data from the specified device to the buffer memory in the module/host
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:=TO(EN,U/H,s1,s2,n);
ENO:=TOP(EN,U/H,s1,s2,n);
ENO:=DTO(EN,U/H,s1,s2,n);
ENO:=DTOP(EN,U/H,s1,s2,n);
FBD/LD
Instruction Execution condition
TO
DTO
TOP
DTOP
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
(s1) Start address of buffer memory or CPU built-in
memory to which data is to be written
0 to 65535 16-bit unsigned binary ANY16
(s2) TO(P) Write data or the start device where the write
data is stored
-32768 to 32767 16-bit signed binary ANY16
*1
DTO(P) -2147483648 to 2147483647 32-bit signed binary ANY32
*1
(n) Number of write data 0 to 65535 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(U/H) (s1) (s2) (n)
EN ENO
U/H
s1
s2
n

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals