Mitsubishi Electric MELSEC Q Series User Manual page 233

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(a) Number of channels and Internal buffer for message reception
Up to 8 channels can be used for message communication by the MELSECNET/H module, and the capacity of
the internal buffer for message reception is for 4 modules.
Sending side
MELSECNET/H
C Controller module
User program
Channel 1
ret = QBF_SEND();
Channel 2
or
Channel 3
ret = mdSendEx();
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
(b) Logical channel
The MELSECNET/H module can change the channel No. from 1 through 64 for each of the 8 channels. The
channel No. changed by the module is called a "logical channel".
Change the link special register (SW0008-SW000F) value to set the logical channel setting.
Link special
register
SW0008
Channel 1 logical channel No. setting
SW0009
Channel 2 logical channel No. setting
:
SW000F
Channel 8 logical channel No. setting
*1 :
If the value is 0, the logical channel No. is treated as 1-8 as with the actual channel No.
The following shows how to specify channels for each function.
Function
Bus interface functions
Message
transmission
MELSEC data link
functions
Bus interface functions
Message reception
MELSEC data link
functions
CHAPTER 13 FUNCTIONS ACCESSED VIA A NETWORK MODULE
MELSECNET/H
module
module
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Network No.1
Description
:
Function type
Function name
QBF_SEND
mdSendEx
QBF_RECV
mdReceiveEx
Receiving side
C Controller module (other station)
User program
Internal buffer for
ret = QBF_RECV();
message reception
or
1st
ret = mdReceiveEx();
2nd
127th
128th
Setting range
Initial value
*1
1 to 64
0
Channel specification
method
Can be specified by logical
channel No.
Specified by channel No. 1-8
13
231

Advertisement

Table of Contents
loading

Table of Contents