Reading/Writing Device Data - Mitsubishi Electric Q173CPU Programming Manual

Q series motion controller
Hide thumbs Also See for Q173CPU:
Table of Contents

Advertisement

3 COMMUNICATION BETWEEN THE PLC CPU AND THE MOTION CPU IN
THE MULTIPLE CPU SYSTEM

3.3 Reading/Writing Device Data

Device data can be written or read to/from the Motion CPU by the PLC CPU using the
dedicated instructions listed in the table below.
Refer to Chapter 5 "MOTION DEDICATED PLC INSTRUCTIONS" for the details of
each instruction.
(Data cannot be written or read to/from the PLC CPU by another PLC CPU, to/from the
PLC CPU by the Motion CPU, or to/from a Motion CPU by another Motion CPU.)
Instruction name
Write a device data of the self CPU (PLC CPU) to a device of the other
S(P).DDWR
CPU (Motion CPU).
Read a device data of other CPU (Motion CPU) to a device of the self
S(P).DDRD
CPU (PLC CPU).
For example, by using the S(P). DDWR dedicated instruction, the device data of the
PLC CPU can be written to the device data of the Motion CPU.
<Example>
PLC CPU
S(P). DDWR instruction
Read device memory
Device memory
POINT
(1) One PLC CPU can execute a total of up to 32 "Motion dedicated instructions"
and "dedicated instructions excluding the S(P). GINT" simultaneously.
When Motion dedicated instructions and dedicated instructions excluding the
S(P). GINT are executed simultaneously, the instructions will be processed in
the order received.
If the command which has not completed processing becomes 33 or more, an
OPERATION ERROR (error code: 4107) will be occurred.
(2) Data refresh via the S(P). DDRD/S(P). DDWR is not synchronized with data
refresh via the automatic refresh function of shared CPU memory.
Do not issue S(P). DDRD/S(P). DDWR instructions to the devices whose data
in shared CPU memory is being refreshed.
Description
Write device
memory.
3 - 21
Motion CPU
Device memory

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpunQ172cpuQ172cpun

Table of Contents