Mitsubishi Electric SW0DNC-MNETH-B User Manual page 161

Melsecnet/hnetwork interface board
Table of Contents

Advertisement

12 APPLICATION FUNCTIONS
12 - 23
POINT
(5) The multiple network modules are installed on the target station
Specify the network number and station number of the network module which is to
be received request from the own station.
Specify 1N
2 in the following example. (2M
S
(Own station)
1M
1
P
Network No.1
1N
4
S
(6) When the target network is CC-Link IE Controller or CC-Link IE Field Network,
specify the transmission data within the range of 2 to 960 byte. When the data
larger than 960 byte is transmitted, an error will be occurred on the receive side
even though the transmission completed normally on the transmit side. For the
errors, refer to the following table.
CC-Link IE Controller
CC-Link IE Field
(2) RECV function
The RECV function reads data received by the board from the other station using
the mdReceive function.
< RECV function overview >
Sending station
Data sent from
other station by
the SEND
Received data
instruction
are stored to the
target station
channel specified
by the sending
station.
1
2
3
(Target station)
1N
2
2M
1
S
P
Network No.2
1N
3
S
Network
Board
Module
Not received
Board
Received
Module
Board
Channel 1
Channel 2
Channel 3
2
1
Channel 4
RECV
Channel 5
instruction
Channel 6
*1
Channel 7
Channel 8
disregarding the channel numbers.
*1: Executed automatically by the driver.
The board receives data sent from the other station by the
SEND instruction/SEND function, and stores data to the
target station channel specified at the sending side.
After the board receives the data, the driver automatically
executes the RECV instruction and stores the received data
to the reception buffer of the driver. All data received and
individually stored to channels of the board are stored to the
one reception buffer of the driver which can store up to 128
of data.
Reads data of the specified channel number in the received
order from the data stored in the reception buffer of the driver
using mdReceive function.
1 cannot be specified.)
P
2N
2
S
Specify 1N
2 as the target station.
S
2M
1 cannot be specified.
P
Error
No received data error (47
Network module error (E274
Transient data improper (D25D
No received data error (47
Transient data improper (D25D
Driver
Reception buffer of driver
Received data of Channel 3
Received data of Channel 7
Received data of Channel 1
3
Received data of Channel 5
Read by the
Received data of Channel 4
mdReceive
function
Received data can
be stored up to 128
MELSEC
)
H
)
H
)
H
)
H
)
H
User application
Received data storage (data)
Send target network No.
Send source station No.
Send source channel No.
Received message
(Actual data)
12 - 23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents