Chapter 3 Communication Procedure; Features Of Communication Process - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

3
COMMUNICATION PROCEDURE
This chapter explains the considerations when performing communication from an external devices to the programmable
controller system using MC protocol.
3.1

Features of Communication Process

The following shows the features of data communication using MC protocol.
Request messages and response messages
There are two types of messages in MC protocol; request message and response message.
The request message sent from the external device is processed in the CPU module via MC protocol supported devices. The
processing result is returned as a response message to the external device.
Sending a request message
Sends a request message to the supported device.
Repeated as needed.
Receiving the response message
Receives the response message from the supported
device, and confirms the processing result.
End of the communication
The external device performs end processing to
terminate the communication.
Half-duplex communication
Data communication by MC protocol is performed with half-duplex communication.
When accessing CPU module, send the next command message after receiving the response message against the
previously sent command message from the CPU module. (The command messages cannot be sent until the reception of the
response message is completed.)
When the system between external devices and CPU module is configured with an m:n connection, the next command
message cannot be sent until data communication between either of the external devices and CPU modules is completed.
*1 When using the on-demand function using C24, full-duplex communication can be performed.
3 COMMUNICATION PROCEDURE
22
3.1 Features of Communication Process
External device
Supported device
Execution of the processing.
According to the message sent from the external
device, performs the requested processing such as
reading or writing.
Returning a response message
Upon completion of the processing, sends a
response message to the external device.
*1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents