Writing 1-Word/2-Word Data To A 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

Writing 1-word/2-word data to a module (16-bit specification)

TO(P), DTO(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• 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 n2 points of data from the specified device to the buffer memory in the module/host
CPU module.
Ladder
(U/H) (s1)
(s2)
FBD/LD
EN
ENO
U/H
s1
s2
n
■Execution condition
Instruction
TO
DTO
TOP
DTOP
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
(s1)
Start address of buffer memory or CPU built-in
memory to which data is to be written
(s2)
TO(P)
Write data or the start device where the write
data is stored
DTO(P)
(n)
Number of write 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:=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);
Range
Data type
0H to FFH, 3E0H to 3E3H
16-bit unsigned binary
0 to 65535
16-bit unsigned binary
-32768 to 32767
16-bit signed binary
-2147483648 to 2147483647
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
1049

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents