![Mitsubishi Electric Q06CCPU-V User Manual Download Page 195](http://html.mh-extra.com/html/mitsubishi-electric/q06ccpu-v/q06ccpu-v_user-manual_1811831195.webp)
5
ACCESS VIA NETWORK MODULES
5.4 CC-Link IE Controller Network Module Access Function
5.4.1 Message communication
5
- 41
1
O
V
ER
VI
E
W
2
SY
STEM
CONFIGURA
TION
3
SP
ECIFICA
T
IONS
4
FUNCTIONS
5
A
C
C
E
SS V
IA
N
E
TW
OR
K
MODUL
ES
6
P
R
EP
AR
A
T
OR
Y
PROCE
DUR
ES
A
ND
S
E
TTING
7
I/O NUM
BER
ASS
IGN
M
EN
T
8
M
E
M
O
RIE
S
A
ND
FI
L
E
S
Remark
For the bus interface functions and MELSEC data link functions, refer to the
following manual.
C Controller Module User's Manual (Utility Operation, Programming)
(3) Message communication example
The following a message communication example.
1) The C Controller module sends a message using a message sending function
in the user program.
2) Station No.4 sends the message, by the message sending function in the user
program and using channel 3, to the target station data storage channel 5 of
station No.5.
3) The C Controller module (another station) automatically checks the message
stored in station No.5, and stores the message into its own internal receive
buffer.
4) The C Controller module (another station) reads the message from the internal
receive buffer using a message receiving function.
POINT
Pay attention to the following when sending a message to a CC-Link IE controller
network module controlled by a programmable controller CPU.
When sending data twice to the same channel of the receiving station with ACK
set, execute the second transmission after the receiving station has read out the
first data by the RECV instruction.
Failure to do so will cause an error. If an error is detected, retry the transmission
after a little while.
Figure 5.39 Message communication example
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
ret = QBF_RECV();
ret = mdReceive();
ret = QBF_SEND();
ret = mdSend();
CC-Link IE controller network
CC-Link IE controller network
1)
2)
3)
4)
C Controller module
User program
or
module (Station No.4)
Network No.1
module (Station No.5)
C Controller module
(another station)
User program
Internal
message
receive buffer
or
1st
2nd
127th
128th
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Summary of Contents for Q06CCPU-V
Page 2: ......
Page 612: ...APPX 48 Appendix 11 Functions Added by Version Upgrade APPENDICES Memo ...
Page 617: ......