User`s manual
262
11.2.2 Timing for start/completion of data reception
This section explains the reading of reception data based on the user frame and other factors (such as the receive
complete code and received data count) during data reception using a user frame.
(1) Timing for start/completion of data reception
The following describes the timing for start/completion of the data reception processing with the Q series C24.
• Data reception using a user frame
• Data reception using the receive complete code and received data count initially set in the Q series C24
• Data reception using exclusive format-1 received data count
(2) Timing chart for reception processing using the Q series C24
The following is a timing chart for the reception processing when data reception is performed using the user
frame, which includes the reception processing using the received data count. The numbers in the table indicate
the timing of a reception data read request to the programmable controller CPU.
[Combination with the first frame]
Item
User frame setting for
reception
When using format-0
(See Page 262, Section 11.2.2 (2) for each
timing.)
When using Format-1
(See Page 262, Section 11.2.2 (2) for each
timing.)
Reception
start
With the first frame When the first frame is received.
Without the first frame
When the first data of arbitrary data is
received.
Receive
complete
When the factor of receive complete (timing of reception data reading to the programmable
controller CPU) is one of the following:
(Depends on prior settings. See Page 262, Section 11.2.2 (2))
• When the last frame is received.
• When data of the receive complete code is
received. (In the case of a combination
without the first frame)
• When data equaling the received data
count is received.
• When a receive error (time out for the no-
reception monitoring time (timer 0)) occurs.
• When exclusive format-1 received data
count is specified as 0 and the first frame is
received.
• When exclusive format-1 received data
count is specified as 1 or more and data
equaling this count is received.
• When a receive error (time out for the no-
reception monitoring time (timer 0)) occurs.
* All arbitrary data received up to the point when one of the above occurs or a receive error is
generated is stored in the reception area.
Timing pattern number
Combination Amount of reception data of arbitrary data
Reception data
Reception
data prior to
the reception
of the first
frame
When receiving
the first frame
When
receiving
arbitrary data
in the
reception
message
When
receiving
the last
frame
When receiving
the complete
code (
*1
)
1-A
Reception data count < Received data count
Delete
Reception start
1-A 1) Data of the
complete code
is treated as part
of arbitrary data.
Reception data count Received data count 1-A 2)
1-B Reception data count = 0 1-B
1-C
Reception data count Received data count 1-C 1)
Data of the
complete code
is treated as part
of arbitrary data.
Reception data count > Received data count 1-C 2)
1-D
Reception data count (exclusive format-1 received
data count > 0)
1-D
1-E
Reception data count (exclusive format-1 received
data count = 0)
Reception
start
1-E