Software - Renesas R-IN32 Series User Manual

Cc-link remote device station
Table of Contents

Advertisement

R-IN32 Series CC-Link Remote device station
14.2

Software

(1) Questions and Answers Related to Initial Processing
Question
1
We have a question about the initial setting in
the sample flowchart . Should the RS485
reception enable signal be set to H only at
initialization?
2
We perform the following software processing
for the initial processing.
Word address
(1) CCS_M3VENDORCODE = 0x0119
(2) CCS_M3MODELCODE_VERSION
= 0x0120
(3) CCS_M3SDLED_TOVER = 0xf200
(4) CCS_M3SDLED_TOVER = 0xf2f0
(5) CCS_M3SDOK_RDRQ = 0x0101
However, in step 5 above, SDLED is not lit
even though the WRFLG bit is set to 1 (there
is no output from the SD terminal of the CCS,
either. It maintains the H level). If
CCS_M3SDOK_RDRQ register is read after
this, the value 0x0100 has been stored. This
means that the transfer to the send buffer
must have been completed. (Are we correct in
thinking so?)
3
Which takes priority, an initial processing
request or error status request? (Assuming a
request is generated while another request is
being processed)
4
The specifications indicate that initialization of
initial settings occurs in the order of RX
information followed by RWr information. In
the asynchronous write method flowchart,
however, the specifications indicate that the
settings are to be written in the order of RWr
→ RX. Can initialization be performed in the
order of RWr → RX as well?
5
Do we need to verify the transmission data
enable signal of RX and RWr information initial
settings during initialization?
R18UZ0056EJ0102
Dec. 28, 2018
Set it to "H" at initialization, and keep it high afterwards.
When the CCS_M3SDOK_RDRQ.WPFLG bit is set to 1, data is
transferred between the double buffers for transmission (send
buffer and update buffer). During the transfer, the MWRENL send
data write enable information of CCS_MWRENL_RCEX.MWRENL
is set to 1. CCS_M3SDOK_RDRQ.WRFLG and
CCS_MWRENL_RCEX.MWRENL are set to 0 when the transfer
from the send buffer to the update buffer is completed.
No data is transmitted from the CCS (causing SDLED to be lit)
unless polling data from the master station is received.
If data was read after the CCS_M3SDOK_RDRQ.WRFLG bit was
set to "1" and the bit is changed to "0", the data transfer from the
send buffer to the update buffer has been completed.
As a general rule, priority should be given to error status requests.
However, this rule does not apply if it would cause deadlock in the
operation of the developed device. Please specify the operation in
the operation manual in such cases.
During initialization, RX and RWr information may be initialized in
either order.
The data link is not established during RX and RWr information
initialization; there is no need to verify the signal.
14. Questions & Answers
Answer
Page 73 of 83

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents