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

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

TOD(P), DTOD(P)
RnPCPU
RnCPU RnENCPU
(Process)
• TOD(P): These instructions write the n points of data from the specified device to the buffer memory in the module/host
CPU module.
• DTOD(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)
FBD/LD
EN
ENO
U/H
s1
s2
n
■Execution condition
Instruction
TOD
DTOD
TODP
DTODP
Setting data
■Description, range, data type
Operand
(U/H)
(s1)
(s2)
TOD(P)
DTOD(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
1058
7.27 Module Access Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(n)
Execution condition
Description
Start I/O number (first three digits in four-digit
hexadecimal representation) of a module or CPU
module
Buffer memory to which the data is written or the
start device where the start address of CPU
memory is stored
Write data or the start device where the write
data is stored
Number of write data
Execution condition
Execution result
ST
ENO:=TOD(EN,U/H,s1,s2,n);
ENO:=TODP(EN,U/H,s1,s2,n);
ENO:=DTOD(EN,U/H,s1,s2,n);
ENO:=DTODP(EN,U/H,s1,s2,n);
Range
0H to FFH, 3E0H to 3E3H
0 to 4294967295
-32768 to 32767
-2147483648 to 2147483647
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