User`s manual
233
CHAPTER 9 CONTENTS AND REGISTRATION OF THE USER FRAMES FOR DATA COMMUNICATION
9
9.2 Transmission/Reception Processing Using User Frame Register Data
(2) Reception
(a) When setting for reception by user frame is performed, and the first frame is set, the
Q series C24 receives the message when it receives data with the same contents as
the designated first frame.
If the last frame is set, when the Q series C24 receives data with the same contents as the designated last
frame, it sends a reception data read request to the programmable controller CPU.
(b) The following describes the Q series C24 receive processing using register data.
• Register data code 01H to FEH 1-byte data register part
The Q series C24 receives and checks if the received data is data of the same code (01H to FEH) as the
registered code.
Register the data codes 03H, 0DH, and 0AH as user frame No. 3E8H: When user frame No. 3E8H is set
as data receive, the Q series C24 receives and checks data codes 03H, 0DH, 0AH (ETX, CR, LF) as the
receive data of that user frame part.
• Register data code FFH + 00H to FFH 2-byte data register part
The Q series C24 receives and checks if the received data is variable data corresponding to the combination of
the register codes FFH and 00H to FFH.
For example, if a sum check code is registered, the Q series C24 calculates the sum check code from the
receive data and checks if it is the same as the received sum check code. If the two codes are not the same,
the Q series C24 performs error processing.
If the Q series C24 station No. is registered, the Q series C24 checks if the received station No. is the same as
the station No. set in the Q series C24. If the station Nos. are not the same, the Q series C24 processes the
data as if normal data was received instead of an user frame.
Register the data codes 03H, FFH, F0H, 0DH, 0AH as user frame No. 3E9H: When user frame No. 3E9H
is set as a data receive frame, the Q series C24 calculates, receives, and checks the sum check code as
the receive data of that user frame part.
(c) The Q series C24 removes the user frame data from the received message.
(The programmable controller CPU cannot read this data.)
B
42H41H 31H 32H
A12
34H 12H 03H 0AH0DH
3
4
33H 34H
(89ABH)
ABH 89H
(1234H)
E
T
X
C
R
L
F
4241H
89ABH
Arbitrary data area
Q series C24
Buffer memory
Programmable
controller CPU
Reception data
read request
(Receive data
storage area)
When the Q series C24 receives the data,
it performs a Reception data read request
to the programmable controller CPU