EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-RJ71C24-R4 - Chapter 2 Data Communication Using Predefined Protocol

Mitsubishi Electric MELSEC iQ-RJ71C24-R4
574 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
26
2 DATA COMMUNICATION USING PREDEFINED PROTOCOL
2 DATA COMMUNICATION USING PREDEFINED
PROTOCOL
Data can be transmitted and received between the CPU module and an target device with a protocol appropriate to the target
device (such as a measuring instrument and a barcode reader).
Since devices or buffer memory data can be taken into communication packets, this protocol communication is suitable for
data that may change every transmission.
The protocol setting required to communicate with the target device is configured in Engineering tool.
Protocols can be selected from the predefined protocol library offered or can be arbitrarily created and edited.
In addition, since the registered setting data is written to the CPU built-in memory, SD memory card, or flash ROM, the
program size in the CPU module can be reduced.
For an example of data communication using the predefined protocol, refer to the following manual.
MELSEC iQ-R Serial Communication Module User's Manual (Startup)
Data communication using communication protocol
The number of protocols and packets that can be registered are as follows:
Protocols: Up to 128
Packets: Up to 256
Depending on the packet to be registered, the maximum numbers of packets above may not be registered.
The usage rate of the packet data area differs depending on the types of protocol.
It can be confirmed on the status bar of the "Protocol Setting" screen displayed by following the procedure as
follows:
Select [Tool] [Predefined Protocol Support Function] of Engineering tool, and set "Module Type" and
"Connection Destination CPU" on the "Predefined Protocol Support Function" window. And, add the
protocol on the "Predefined Protocol Support Function" screen.
CR ENQ
STX CR
Ò Setting protocols Ó Writing protocols
The set protocols are written to the C24.
The setting can be easily configured with the Predefined
protocol support function of Engineering tool.
Send
Data
Data
Receive
Ô
Executing protocols
Data communications using
protocols corresponding to the
target device are available.
Protocols can be executed with a dedicated instruction.
One dedicated instruction can execute multiple protocols.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-RJ71C24-R4

Related product manuals