Writing Device Data To Another Cpu Module - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Writing device data to another CPU module

D(P).DDWR, M(P).DDWR
• D(P).DDWR
RnPCPU
RnCPU RnENCPU
(Process)
The RnENCPU with firmware version "25" or later supports these instructions. (Use an engineering tool with version "1.032J" or later.)
• M(P).DDWR
RnPCPU
RnCPU RnENCPU
(Process)
The RnENCPU with firmware version "25" or later supports these instructions. (Use an engineering tool with version "1.032J" or later.)
These instructions write device data to another CPU module in a multiple CPU system.
Ladder
(U/H) (s1)
FBD/LD
EN
ENO
U/H
d2
s1
s2
d1
■Execution condition
Instruction
D.DDWR
M.DDWR
DP.DDWR
MP.DDWR
Setting data
■Description, range, data type
Operand
Description
(U/H)
Start I/O number (first three digits in
four-digit hexadecimal representation)
of another CPU module
(s1)
Start device of host CPU module
where the control data is stored
(s2)
Start device of host CPU module
where the write data is stored
(d1)
Start device of another CPU module
for storing the written data
(d2)
Completion device
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.
12 MULTIPLE CPU DEDICATED INSTRUCTIONS
1408
12.1 Another CPU Module Access Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(d1) (d2)
Execution condition
Range
3E0H to 3E3H
Refer to the control data.
ST
ENO:=D_DDWR(EN,U/H,s1,s2,d1,d2);
ENO:=DP_DDWR(EN,U/H,s1,s2,d1,d2);
ENO:=M_DDWR(EN,U/H,s1,s2,d1,d2);
ENO:=MP_DDWR(EN,U/H,s1,s2,d1,d2);
Data type
16-bit unsigned binary
Word
Word
String
Bit
Bit
Bit
Data type (label)
ANY16
ANY16_ARRAY
(Number of elements: 2)
*1
ANY16
ANYSTRING_SINGLE
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents