Message Communication Example - Mitsubishi Electric Q12DCCPU-V User Manual

Melsec q series, c controller module
Hide thumbs Also See for Q12DCCPU-V:
Table of Contents

Advertisement

5
ACCESS VIA NETWORK MODULES
Remark

(3) Message communication example

The following a message communication example.
MELSECNET/H
module (Station No.4)
C Controller module
User program
Channel 1
1)
ret = QBF_SEND();
Channel 2
or
Channel 3
ret = mdSend();
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
For the bus interface functions and MELSEC data link functions, refer to the
following manual.
C Controller Module User's Manual (Utility Operation, Programming)
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 (logical channel 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.
MELSECNET/H
module (Station No.5)
Logical channel 1 (Channel 1)
Logical channel 2 (Channel 2)
Logical channel 3 (Channel 3)
2)
Logical channel 4 (Channel 4)
Logical channel 5 (Channel 5)
Logical channel 6 (Channel 6)
Logical channel 7 (Channel 7)
Logical channel 8 (Channel 8)
Network No.1
Figure 5.12 Message communication example
5.3 MELSECNET/H Module Access Function
C Controller module
(another station)
Internal
message
receive buffer
4)
1st
2nd
3)
127th
128th
5.3.1 Message communication
1
2
3
4
User program
5
ret = QBF_RECV();
or
ret = mdReceive();
6
7
8
5
- 13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw3pvc-ccpu-eQ06ccpu-vQ06ccpu-v-b

Table of Contents