Examples Of Procedure For Data Communications With Cpu Module; Sequential Data Communications Between Target Devices And The Cpu Module - Mitsubishi Electric MELSEC iQ-R Series User Manual

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

18.3
Examples of Procedure for Data Communications
with CPU Module
This section shows examples of procedures to communicate data with the CPU module by configuring interlocks among the
target devices.
Sequential data communications between target devices and the
CPU module
Each target device obtains the line ownership in turns according to the station number to communicate with the CPU module.
Ex.
Station No.
1BH
target device
Station No.
1CH
target device
Data communications
with the CPU module
Station No. (m-1)
target device
Ex.
The example below shows the procedures for each target device to communicate data with the CPU module.
Ò
Target device
When communicating
data with the station
(Station No.:1BH)
No. 1H CPU module
Ó-
a
(Station No.:0H)
CPU
C24
CPU
 When the system starts, the target device with the lowest station number (1BH) obtains the line ownership.
• When format 1, format 2, or format 4 is selected for communication using ASCII code, change ENQ (05H).
 The target device that obtained the line ownership,
• Begins the processing from  after communicating data with the CPU module within the maximum data communication
time arranged among the target devices, when communicating data with the CPU module.
• Immediately begins the processing from , when not communicating data with the CPU module.
 The target devices that have not obtained the line ownership check the line usage time of the target device that obtained
the line ownership and ignore the received data not addressed to their own station.
When the line usage time exceeds the maximum data communication time, each target device performs the processing of .
Time
Transmission to transfer
the line ownership
Response
Target device
(Station No.:1CH)
(Station No.:1H)
(Station No.:2H)
C24
CPU
The above C24 includes Q series C24, L series C24, QC24(N), and UC24.
18 DATA COMMUNICATIONS BETWEEN TARGET DEVICE AND CPU MODULE IN M:N BASIS

18.3 Examples of Procedure for Data Communications with CPU Module

Ô
Target device
(Station No.:1DH)
C24
: Target device that obtained the line ownership
Ô
Ô
Target device
(Station No.:1EH)
(Station No.:15H)
CPU
C24
18
371

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents