Message Communication (Network Module Dedicated Instructions) - Mitsubishi Electric MELSEC iQ-R Series User Manual

Programmable controller
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Message communication (network module dedicated
instructions)
This function can read or write data using the channel of a network module controlled by this product.
Using this function allows data communication similar to the following link dedicated instructions of a network module.
Dedicated instruction
Sending data to a programmable
controller on other stations
Receiving data from a programmable
controller on other stations
For details on link dedicated instructions, refer to the following:
MELSEC iQ-R Programming Manual (Module Dedicated Instructions)
Precautions
This function cannot be performed for network modules which do not support link dedicated instructions.
Data flow for message communication
MELSECWinCPU module
(Sending side)
User program
 Specify channels used in the own station and the target station to send data. (The sending side MELSECWinCPU module)
When specifying the used channels in a user program, specify the channel numbers of both the sending and receiving side
network modules.
 From the sending side channel, data is sent to the receiving side channel.
 Messages are read from the receiving side channel. (The receiving side MELSECWinCPU module)
When specifying the used channels in a user program, specify the channel numbers specified on the sending side network
module.
• The message communication function can be used even if a CPU module on the sending station or
receiving station is other than a MELSECWinCPU module. For the target CPU module, use the SEND/
RECV link dedicated instruction or a function equivalent to it.
• When sending data to the same channel of the receiving station with arrival confirmation, make sure to send
the data after the receiving station reads the previously sent data with the message receive function (or the
RECV instruction). Otherwise, an error will occur. If an error is detected, send the data again after a while.
• When specifying the same own station channel using the message communication function, execute the
function after the previously executed function is completed. If the message communication function is
executed simultaneously from multiple programs by specifying the same own station channel, an error will
occur in the function executed later.
16 NETWORK MODULE ACCESS FUNCTION
170
16.2 Transient Transmission
Description
JP.SEND
To send data to a programmable controller on other stations
GP.SEND
JP.RECV
To read data received from a programmable controller on other stations
GP.RECV
Network module
Channel 1
Channel 2
Ò
Channel 3
Ó
Channel 4
Channel 5
Channel 6
Channel 7
Channel 8
Network
Network module
MELSECWinCPU module
Channel 1
Channel 2
Channel 3
Channel 4
Ô
Channel 5
Channel 6
Channel 7
Channel 8
(Receiving side)
User program

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r melsecwincpu

Table of Contents