13
COMMUNICATIONS BETWEEN CPU MODULES
13.1
Data Communications by MELSEC Data Link Functions
(1) Data communications by MELSEC data link functions
Remark
13
- 2
13.1 Data Communications by MELSEC Data Link Functions
From the C Controller module, access can be made to device data in a programmable
controller CPU or C Controller module.
Use MELSEC data link functions when creating a user program of the C Controller
module.
For the Q06CCPU-V-B, MELSEC data link functions are not applicable.
To access device data of a programmable controller CPU from the Q06CCPU-V-B,
use the CPU shared memory.
Programmable
controller CPU
1)
Device data
2)
Figure 13.1 Data communications by MELSEC data link functions
For the MELSEC data link functions, refer to the following.
C Controller Module User's Manual (Utility Operation, Programming)
Q12DCCPU-V
Page 13-12, Section 13.3)
(
C Controller module
/*Reads the device data of the programmable controller CPU */
ret = mdReceive(path, stno, devtyp, devno, size, data);
/*Writes data to the programmable controller CPU device */
ret = mdSend(path, stno, devtyp, devno, size, data);
1) Reads the device data of the programmable
controller CPU to the C Controller module.
2) Writes data from the C Controller module to the
programmable controller CPU device.
Q06CCPU-V
Q06CCPU-V-B