Transmission/Reception Processing Module (Iccv20) - Renesas R-IN32 Series User Manual

Cc-link remote device station
Table of Contents

Advertisement

R-IN32 Series CC-Link Remote device station
12.4

Transmission/Reception Processing Module (ICCV20)

The following indicates the processing called during interrupt or polling based transmission/reception processing.
If invalid, set all RX and RWr to 0
Set Transmission SQ value to 0
Reception data request OFF
CCS_M3SDOK_RDRQ.DRD
Figure 12.4 Transmission/Reception Processing Module (ICCV20)
R18UZ0056EJ0102
Dec. 28, 2018
ICCV20
CCS_M3MRST1_ST2.
MST15=0?
(Master station version =1)
Yes
Warning output ON
(If version discrepancy
is detected, some
warning is output)
CCS_M3MRST1_ST2.
MST1 ? 1
... see Section 8.2.4
Set cyclic transmission
to DISABLE.
M3RM_SSQ←0
Transmission complete flag ON
CCS_M3SDOK_RDRQ.WPFLG? 1
RQ? 0
Other initialization
such as work area
initialization
return
12. Sample Flowchart for CC-Link Version 2
No
Warning output OFF
CCS_M3MRST1_ST2.
MST1 ← 1
... see Section 8.2.4
Set cyclic transmission
to ENABLE.
Is this the
first time reception has been
completed?
Yes
Timeout time
... see Section
setting change
8.4.1.
A ←M3MR_SSQ
B ←A & 0fh (Retrieve lower 4 bits)
R_NOW_SQ ←B (Store current SQ value)
S_ORI_SQ ←B (Store loopback SQ value)
R_ORI_SQ ← (A >> 4) & (divisions - 1)
(Get upper 4 bits)
No
B
Page 61 of 83

Advertisement

Table of Contents
loading

This manual is also suitable for:

R-in32m4-cl2R-in32m3-ecR-in32m3-cl

Table of Contents