5
- 10
5.3 MELSECNET/H Module Access Function
5
ACCESS VIA NETWORK MODULES
5.3
MELSECNET/H Module Access Function
The MELSECNET/H module access function allows access to each station,
programmable controller CPU on another station, or C Controller module connected to
MELSECNET/H via MELSECNET/H modules.
In a multiple CPU system configuration, access cannot be made via a MELSECNET/H
module controlled by another CPU.
To create user programs of the C Controller module, use MELSEC data link functions or
bus interface functions.
For the Q06CCPU-V-B, MELSEC data link functions are not available.
When the Q06CCPU-V-B is used, use cyclic transmission for access to a CPU module on
another station.
Figure 5.10 MELSECNET/H access function
Q12DCCPU-V
Q06CCPU-V
Q06CCPU-V-B
ret = QBF_WriteLinkDevice(path, usIoNo, sDevType,
ulSize, pusDataBuf, ulBufSize);
ret = mdSend(path, stno, devtyp, devno, size, data);
ret = mdRandW(path, stno, dev, buf,bufsize);
ret = mdDevSet(path, stno, devtyp, devno);
ret = mdDevRst(path, stno, devtyp, devno):
ret = QBF_ReadLinkDevice(path, usIoNo, sDevType,
ulSize, pusDataBuf, ulBufSize);
ret = mdReceive(path, stno, devtyp, devno, size, data);
ret = mdRandR(path, stno, dev, buf,bufsize);
MELSECNET/H
ret = mdReceive(path, stno, devtyp, devno, size, data);
ret = QBF_SEND(path, usIoNo, psControlData, pusDataBuf,
ulBufSize, psAddinfo);
ret = mdSend(path, stno, devtyp, devno, size, data);
ret = QBF_RECV(path, usIoNo, psControlData, pusDataBuf,
ulBufSize, psAddinfo);
ret = mdReceive(path, stno, devtyp, devno, size, data);
<Example>
C Controller module
/* Reads device data of the other station programmable controller CPU */
Message
or
/* Receives a message from the other station via MELSECNET/H */
or
/* Sends a message to the other station via MELSECNET/H */
C Controller module
C Controller module
Link device access
/* Writes data to the link device*/
or
/* Reads data from the link device*/
or
1) Sends/receives a message to/from the other station via the
MELSECNET/H module.
2) Writes/reads data to/from the link device
3) Reads the data of the other station programmable controller
CPU.
Link
device
MELSECNET/H module
C Controller module
Internal
buffer
2)
2)
1)
Host personal computer
(MELSECNET/H board)
1)
Device data
Programmable
controller CPU
3)
Содержание Q06CCPU-V
Страница 2: ......
Страница 612: ...APPX 48 Appendix 11 Functions Added by Version Upgrade APPENDICES Memo ...
Страница 617: ......