Receiving Data - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

■Remarks
With the multidrop connection, including data for the target device to identify which station transmitted a message in the user
frame can facilitate creation of arbitrary data to be transmitted.
CPU C24
Data when transmitting
a frame written to each
C24 for transmission

Receiving data

When user frame reception is designated
When the start frame is set, C24 receives the message when it receives data with the same arrangement as the designated
start frame.
If the final frame is set, C24 issues the read request of received data to the CPU module when it receives data with the same
arrangement as the designated final frame.
C24 reception processing by registration data
■Registered portion of 1-byte data for code of registration data, 01H to FEH
C24 receives and checks if the received data is data of the same code (01H to FEH) as the registered code.
Ex.
When data code 03H, 0DH, 0AH is registered as user frame number, 3E8H
When user frame No. 3E8H is set for data reception, C24 receives and checks data codes 03H, 0DH, 0AH (ETX, CR, LF) as
the receive data of that user frame portion.
CPU module
Reception data
read request
13 CONTENTS AND REGISTRATION OF USER FRAMES FOR DATA COMMUNICATION
260
13.2 Transmission/Reception Processing Using User Frame Registration Data
Target device
Data used by the target device to identify the transmitting station
S
T
1 A ; A B C 1 2 3 ;
X
Arbitrary data
User frame
CPU C24
(0)
(1)
S
S
0 A ;
1 A ;
T
T
X
X
C
L
C
;
;
R
F
R
C24
Buffer memory
41H
4241H
(Receive data
storage area)
89ABH
C
L
When message transmitted from the station No.1 C24
R
F
"ABC123
... Data designated to the station
CPU C24
(5)
S
5 A ;
T
X
L
C
L
;
F
R
F
Arbitrary data
A
B
1
2
3
4
(1234H)
42H
31H 32H
33H 34H
34H 12H
No.1 C24 transmission data
designation area.
( ): Station No.
E
C
L
T
X
R
F
(89ABH)
ABH 89H
03H
0DH
0AH
When the C24 receives the
data,it issues reception data
read request to the CPU module

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents