All information of mention is things at the time of this document publication, and Renesas
R-IN32 Series User’s Manual
)
・
・
・
Userʼs Manual
(CC-Link Remote dev ice stati on
R-IN32M3-EC
R-IN32M3-CL
R-IN32M4-CL2
Electronics may change the product or specifications that are listed in this document without
a notice. Please confirm the latest information such as shown by website of Renesas
1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the
operation of semiconductor products and application examples. You are fully responsible for the incorporation of these
circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for
any losses incurred by you or third parties arising from the use of these circuits, software, or information.
2. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas
Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoev er
for any damages incurred by you resulting from errors in or omissions from the information included herein.
3. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property
rights of third parties by or arising from the use of Renesas Electronics products or technical information described in
this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other
intellectual property rights of Renesas Electronics or others.
4. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or
in part. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from such
alteration, modification, copy or otherwise misappropriation of Renesas Electronics product.
5. Renesas Electronics products are classified according to the following two quality grades: "Standard" and "High
Quality". The recommended applications for each Renesas Electronics product depends on the product's quality grade,
as indicated below.
"Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio
and visual equipment; home electronic appliances; machine tools; personal electronic equipment;
and industrial robots etc.
systems; anti-crime systems; and safety equipment et c.
Renesas Electronics products are neither intended nor authorized for use in products or systems that may pose a
direct threat to human life or bodily injury (artificial life support devices or systems, surgical implantations etc.), or may
cause serious property damages (nuclear reactor control systems, milit ar y equip ment etc. ). Y ou must check the qua lity
grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas
Electronics product for any application for which it is not intended. Renesas Electronics shall not be in any way liable
for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for
which the product is not intended by Renesas Electro ni cs.
6. You should use the Renesas Electronics products described in this document within the range specified by Renesas
Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage
range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no
liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified
ranges.
7. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products
have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use
conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to
implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire
in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including
but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or
any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please
evaluate the safety of the final products or systems manufactured by you.
8. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all
applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation,
the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your
noncompliance with applicable laws and regulations.
9. Renesas Electronics products and technology may not be used for or incorporated into any products or systems
whose manufacture, use, or sale is prohibited under any applicable domestic or foreign law s or regulations. You should
not use Renesas Electronics products or technology described in this document for any purpose relating to military
applications or use by the military, including but not limited to the development of weapons of mass destruction. When
exporting the Renesas Electronics products or technology described in this document, you should comply with the
applicable export control laws and regulations and follow the procedures required by such laws and regulations.
10. It is the responsibility of the buyer or distributor of Renesas Electronics products, who distributes, disposes of, or
otherwise places the product with a third party, to notify such third party in advance of the contents and conditions set
forth in this document, Renesas Electronics assumes no responsibility for any losses incurred by you or third parties as
a result of unauthorized use of Renesas Electronics products.
11. This document may not be reproduced or duplicated in any form, in whole or in part, without prior written consent of
Renesas Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in
this document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) "Renesas Electronics" as used in this document means Renesas Electronics Corporation and also includes its
majority-owned subsidiaries.
(Note 2) "Renesas Electronics product(s)" means any product developed or manufactured by or for Renesas Electronics.
stable. When switching
Arm® and Cortex® are registered trademarks of Arm Limited (or its subsidiaries) in the EU and/or elsewhere.
Instructions for the use of product
In this section, the precautions are described for over whole of CMOS device.
Please refer to this manual about individual precaution.
When there i s a mention unlike the text of this manual, a mention of the text takes first pr iority
1.1Handling of Unused Pins
Handle unused pins in accord with the directions given under Handling of Unused Pins in the manual.
-The input pins of CMOS products are generally in the high-impedance state. In operation with an unused pin in the
open-circuit state, extra electromagnetic noise is induced in the vicinity of LSI, associat ed shoo t-t hro ugh current
flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal become
possible. Unused pins should be handled as described under Handling of Unused Pins in the manual.
2.Processing at Power-on
The state of the product is undefined at the moment when power is supplied.
-The states of internal circuits in the LSI are indeterminate and the states of register settings and pins are undefined
at the moment when power is supplied.
In a finished product where the reset signal is applied to the external reset pin, the states of pins are not
guaranteed from the moment when power is supplied until the reset process is compl e ted.
In a similar way, the states of pins in a product that is reset by an on-chip power-on reset function are not
guaranteed from the moment when power is supplied until the power reaches the level at which resetting has
been specified.
3.Prohibition of Access to Reserved Addresses
Access to reserved addresses is prohibited.
-The reserved addresses are provided for the possible future expansion of functions. Do not access these
addresses; the correct operation of LSI is not guaranteed if they are accessed.
4.Clock Signals
After applying a reset, only release the reset line after the operating clock signal has become
the clock signal during program execution, wait until the target clock signal has stabiliz ed.
-When the clock signal is generated with an external resonator (or from an external oscillator) during a reset, ensure
that the reset line is only released after full stabilization of the clock signal. Moreover, when switching to a clock
signal produced with an external resonator (or by an external oscillator) while program execution is in progress,
wait until the target clock signal is stable.
・
All rights reserved.
・Ethernet is a registered trademark of Fuji Xerox Co., Ltd.
・IEEE is a registered trademark of the Institute of Electrical and Electronics Engineers Inc.
・CC-Link and CC-Link IE Field are registered trademarks of the CC-Link Partner Association (CLPA).
・Additionally all product names and service names in this document are a trademark or a registered trademark
which belongs to the respective owners.
within the body of the text, at the end of each section, and in the Usage Notes section.
point in this document.
document from our web site and r e fer to it.
Document Name
Document Number
R-IN32M3 series Datasheet
R18DS0008EJ****
R-IN32M3-EC User’s Manual
R18UZ0003EJ****
R-IN32M3-CL User’s Manual
R18UZ0005EJ****
R-IN32M3 series User’s Manual (Peripheral function)
R18UZ0007EJ****
R-IN32M3 Series Programming Manual (OS edition)
R18UZ0011EJ****
R-IN32M3 Series Programming Manual (Driver edition)
R-IN32M4-CL2 User’s Manual (B oard des ign edit ion)
R18UZ0046EJ****
R-IN32 Series User’s Manual (CC-Link Remote device station edition)
This Manual
How to use this manual
This manual is intended for users who wish to understand the functions of “R-IN32 Series” CC-Link Remote device
station for designing application of it.
The functio n of CC-Link re mote device stations is represented as "CCS" in this document.
Particular attention should be paid to the precautionary notes when using the manual. These notes occur
The revision history summarizes the locations of revisions and additions. It does not list all revisions. Refer to
the text of the manual for details.
The mark "<R>" means the updated point in this revision. The mark "<R>" let users search for the updated
Literature
Literature may be preliminary versions. Note, however, that the following descriptions do not indicate
"Preliminary". S ome documents on cores were created when they were planned or still under
development. So, they may be directed to specific customers. Last four digits of document number
(described as ****) indicate version information of each document. Please download the latest
The document related to R-IN32 Series
2. Notation of Numbers and Symbols
Weight in data notation: Left is high-order column, right is low-order column
Active low notation:
xxxZ (capital letter Z after pin name or signal name)
or xxx_N (capital letter _N after pin name or signal name)
or xxnx (pin name or signa l name contains small letter n)
Note:
explanation of (Note) in the text
Caution:
Item deserving extra attention
Remark:
Supplementary explanation to the text
Numeric notation:
Binary … xxxx , xxxxB or n’bxxxx (n bit s )
Decimal … xxxx
Hexadecimal … xxxxH or n’hxxxx (n bits)
Prefixes representing powers of 2 (address space, memory capacity):
10
K (kilo)… 2
M (mega)… 2
G (giga)… 2
= 1024
20
= 10242
30
= 10243
Data Type:
Double word … 32 bits
Word … 16 bits Byte … 8 bits
1.1 Related materials ................................................................................................................................................ 1
1.2 Generic Terms and Abbreviations ...................................................................................................................... 1
1.3 CC-Link Partner Association .............................................................................................................................. 1
1.4 Cyclic Data Capacity .......................................................................................................................................... 2
2. Function List .................................................................................................................................................. 3
3. Specified Parts and Recommended Parts .................................................................................................... 4
3.1 Recommended Parts ........................................................................................................................................... 4
4. R-IN32 Series Initialization ............................................................................................................................ 5
5. CC-Link Remote Device Station Pins ............................................................................................................ 6
6.1 Setting the Number of Occupied Stations ........................................................................................................... 9
6.2 Setting the Station Number and Baud Rate ...................................................................................................... 10
9.2 Main Processing ................................................................................................................................................ 32
9.3 Reception and Transmission Processing ........................................................................................................... 35
9.3.1 Synchronous Read Met hod (Interrupt Processing) .................................................................................. 35
9.3.2 Asynchronous Read Me thod .................................................................................................................... 36
9.3.3 Asynchronous Write Me thod ................................................................................................................... 37
9.4 Timeout Time Setting C hange .......................................................................................................................... 38
9.4.1 Initial Setting Time → Normal Setting Time .......................................................................................... 38
9.4.2 Normal Setting Time → Initial Setting Time .......................................................................................... 39
10. Remote Device Station Common Specification........................................................................................... 40
10.1 Cyclic Transmission S ignals ............................................................................................................................. 40
10.1.1 Cyclic Transmission Signal Definitions .................................................................................................. 40
10.1.2 System Area Details................................................................................................................................. 41
11.1.2 Less Occupied Stations ............................................................................................................................ 47
11.2 Overview of Protocol ........................................................................................................................................ 48
11.2.1 Overview of Extended Cyclic Communication ....................................................................................... 48
11.2.2 Transmission of O wn S tatio n Informatio n ............................................................................................... 49
11.2.3 Extended Cyclic Header Information ...................................................................................................... 51
11.3 Relationship between SQ Value s and RX/RY, RW r/RWw .............................................................................. 55
12. Sample Flowchart for CC-Link Version 2 .................................................................................................... 56
12.1 List of Modules and Variables .......................................................................................................................... 56
Example Using an Interrupt (CCS_REFSTB Si gnal) .............................................................................. 59
12.3.2 Example of Polling .................................................................................................................................. 60
14.1 Circuit De s ign in General ................................................................................................................................. 71
Figure 6.1 Condition of RUN light on .................................................................................................................. 11
Figure 11.1 With 2 Occupied Stations and Extended Cyclic 2 × Setting ............................................................ 48
Figure 11.2 Extended Cyclic Header Information .................................................................................................. 51
Figure 11.3 Details of SQ V a lue (M → R Data) .................................................................................................... 52
Figure 11.4 Details of SQ Value (R → M Data) .................................................................................................... 53
Figure 11.5 Details of SQ Value (Loopback) ......................................................................................................... 54
Figure 12.1 Initial Set ting INT_CCV20 ................................................................................................................. 58
Figure 12.2 Transmission/Reception Processing Using Interrupt (CCS_REFSTB Signal) ................................... 59
Figure 12.3 Transmission/Reception Using Polling ............................................................................................... 60
Figure 12.8 Application Work Area Transfer Processing Module CHK20DONE ................................................. 65
Figure 13.1 Link Scan Ti me and CCS_REFSTB Signal Change ........................................................................... 69
Figure 13.2 Example of 4x Setting ......................................................................................................................... 70
How to R-IN32 Series Initialization ..................................................................................................... 5
Contents-4
Contents of Tables
Table 1.1
Table 1.2 Generic Terms and Abbreviations ............................................................................................................ 1
Table 1.3 Version 1 Cyclic Data Capacity ................................................................................................................ 2
Table 1.4 Version 2 Cyclic Data Capacity ................................................................................................................ 2
Table 2.1 Functio n Li st ............................................................................................................................................. 3
Table 3.1 Recommended Parts <R>.......................................................................................................................... 4
Table 5.1 Correspondence between CC-Link Remote Device Station Pins and R-IN32M3 Series Pins <R> .......... 6
Table 5.2 Correspondence between CC-Link Remote Device Station Pins and R-IN32M4-CL2 Pi ns <R> ............ 8
Table 11.2 Relationship between the number of occupied stations and extended cyclic setting in CC-Link
Table 11.3 Relationship between number of occupied stations and number of connected modules ..................... 47
Table 11.4 Version 1 and Version 2 No. of Occupied Stations / Amt. of Cyclic Data ......................................... 47
Table 11.5 Details of ST1 and ST2 in Version 2 .................................................................................................. 49
Table 11.6 Details of RV in Version 2 .................................................................................................................. 50
Table 11.7 Relationship between SQ Value s and RX/RY, RW r/RWw ................................................................ 55
Version 2 ............................................................................................................................................................ 46
CC-Link Version 2 may be stated simply "Version 2".
Home page address: http://ww w.cc-link.org/
R18UZ0056EJ0102
R-IN32 Series CC-Link Remote device station Dec. 28, 2018
1. Introduction
This document is the specification for developing CC-Link remote device stations using the R-IN32 Series.
The functio n of CC-Link remote device stations is r epresented as "CCS" in this document.
1.1 Related materials
The materials related to this product are indicated below. Refe r to Table 1.1, and request any materials by contacting
the CC-Link Partner Association as necessary. Please see the "CC-Link Specification" publ i s hed by the C C-Link Partner
Association for a detailed description of CC-Link.
Table 1.1 Reference materials
1.2 Generic Terms and Ab br eviations
Unless otherwise stated, this manual uses the terms and abbreviations below to describe the CC-Link remote device
station funct io ns CC S .
Table 1.2 Generic Terms and Abbreviations
Ver.1 CC-Link Version 1, including CC-Link Version 1.00 and CC-
1.3 CC-Link Partner Association
The product developed based on this manual must pass a conformance test conducted by the CC-Link Partner
Association. For details of the conformance te st, cont act the C C-Link Partner Association.
R18UZ0056EJ0102 Page 1 of 83
Dec. 28, 2018
No. of Occupied Stations
1 Occupied Station
2 Occupied Stations
3 Occupied Stations
4 Occupied Stations
RWr/RWw
4 words each
8 words each
12 words each
16 words each
Cyclic Setting
No. of Occupied Stations
1 Occupied Station
2 Occupied Stations
3 Occupied Stations
4 Occupied Stations
RWr/RWw
4 words each
8 words each
12 words each
16 words each
RWr/RWw
8 words each
16 words each
24 words each
32 words each
RWr/RWw
16 words each
32 words each
48 words each
64 words each
RWr/RWw
32 words each
64 words each
96 words each
128 words each
Remarks 1.
The latter 16 bits of remote I/O (RX/RY) are reserved by the system.
2.
The cyclic data capacity with an extended cyclic setting of
data capacity of Version 1.
R-IN32 Series CC-Link Remote device station 1. Introduction
1.4 Cyclic Data Capacity
The data amount of up to 128 bits for RX/RY and 16 words for RWr/RWw can be handled using Version 1 cyclic by
selecting the number of occupied stations (between one and four).
In addition, the data amount of up to 896 bits for RX/RY and 128 words for RWr/RWw can be handled by specifying
the extended cyclic transmission setting in Version 2 .
(1) Version 1 Cyclic Data Capacity
Table 1.3 Version 1 Cyclic Data Capacity
Type
RX/RY
32 bits each
(2) Version 2 Cyclic Data Capacity
Table 1.4 Version 2 Cyclic Data Capacity
Extended
Single RX/RY
Double RX/RY
Quadruple RX/RY
Octuple RX/RY
Type
32 bits each
32 bits each
64 bits each
128 bits each
64 bits each
64 bits each
96 bits each
192 bits each
384 bits each
96 bits each
96 bits each
160 bits each
320 bits each
640 bits each
"single" is the same as the cyclic
128 bits each
128 bits each
224 bits each
448 bits each
896 bits each
R18UZ0056EJ0102 Page 2 of 83
Dec. 28, 2018
Name
Description
Amount of data:4 to 128 words, setting possible
after startup (normal setting time).
station.
function
once to the transmission buffer, thereby preventing send data separation.
prevention function
once to the RY and RWw areas, thereby preventing receive data separation.
R-IN32 Series CC-Link Remote device station 2. Function List
2. Function List
Table 2.1 Function List
Setting the number of occupied
stations
Setting timeout (transmission path
switching) time
Fuse blown detection function When a device is equipped with a fuse, send the status of the fuse to the master
Send data separation prevention
Receive data separation
Programmable controller CPU
Network return function This function automatically connects to the data link a module that has been
Transmission status display
function
Based on the terminal setting.
For Version 1:No. of I/O points:32 to 128 bits
Amount of data:4 to 16 words, setting possible
For Version 2:No. of I/O points:32 to 896 bits
The timeout time is determined by the communication baud rate. Taking into
consideration transmission inconsistencies at the time of network startup, two
types of time settings are available: at software startup (initial setting time) and
The data to be sent is written to the RX and RWr areas and then transferred all at
The received data are stored in the reception buffer and then transferred all at
Run/stop and normal/abnormal statuses of the programmable controller CPU can
disconnected from the data link due to an event such as power OFF after the
The monitor terminal enables the LED display.
Because an SDLED has a short lighting duration, adjustments can be made by
Baud rate/station number setting
Baud rate/station number change
detection function
By referencing error flags, abnormal settings for baud rate and station number can
If the communication baud rate or the station num ber setting value is changed to a
value that is different from the value at startup, it can be detected by referencing
R18UZ0056EJ0102 Page 3 of 83
Dec. 28, 2018
Product Name
Model Name
Manufacturer
Filter
MCT7050-A401
Sinka Japan Co., ltd.
RS485 transceiver
SN75ALS181NS
Texas Instruments Japan, Inc.
RD6.2Z
Renesas Electronics.
STZU6.2NT146
ROHM Co., Ltd.
Product Name
Model Name
Manufacturer
HCPL-7720-500E
HCPL-0720-500E
HCPL-2611-500E
HCPL-M611-500E
PS9117A
Renesas Electronics.
.
For CC-Link interface circuit recommended parts and model names, direct your inquiries to the
CC-Link Partner Association.
2.
Specify option 060 when the insulation characteristics of VIORM= 630VPEAK are required.
3.
Specify option 060 when the insulation characteristics of VIORM= 560VPEAK are required.
R-IN32 Series CC-Link Remote device station 3. Specified Parts and Recommended Parts
3. Specified Parts and Recommended Parts
3.1 Recommended Parts
The following lists the parts recommended by the CC-Link P artner Association for use in the design of CC -Link
interface circuits.
For detailed part specifications, direct your inquiries to the co rresponding manufacturer.
Release CC-Link remote device station from the reset state.
Note2
Set up time (76.76us) requires before reset released.
CCSRES(CC-Link Reset Register):0x0000_0001
In case of reading the transmission speed by software. It’s should
Be read after 51.2us from resetting
For detail
function)" or "R-IN32M4-CL2 User’s Manual (Peripheral function)".
R-IN32 Series CC-Link Remote device station 4. R-IN32 Series Initialization
4. R-IN32 Series Initialization
Figure 4.1 s h ows how to R-IN3 2 Series initialization for CC-Link remote device station. Procedure for setting
CC-Link remote device station, see section 9, Sample Flowchart for CC-Link Version 1.
s on register specifications, see "R-IN32M3 series User’s Manual (Peripheral
R18UZ0056EJ0102 Page 5 of 83
Dec. 28, 2018
CC-Link Pin Name
R-IN32M3 Pin Name
Shared Port
Description
SD
CCS_SD
P54
Communications circuit data transmission pin
RD1
CCS_RD
P53
Communications circuit data reception pin
control pin
RUN (CCS_LNKRUNZ) = "L RUN "
ERRL(CCS_ERRZ) = "L ERR"
SDLED(CCS_SDLEDZ) = "SD"
RDLED( CCS_RDLEDZ) = "RD"
IOTENSU
CCS_IOTENSU
P22
Initial setting pin (Low fixed)
SENYU0
CCS_SENYU0
P23
Initial setting pin
SENYU1
CCS_SENYU1
P24
Initial setting pin
BS1, 2, 4, 8
CCS_BS1, 2, 4, 8
RP02-RP05
Baud rate setting switch input pin
SW1, 2, 4, 8, 10, 20, 40, 80
CCS_STATION_NO_0-7
P70-P77
Station no. setting switch input pins
REFSTB
CCS_REFSTB
P10
Interrupt signal
WDTZ
CCS_WDTZ
P13
Please connect when alarm is necessary
If there is no external fuse, input High
R-IN32 Series CC-Link Remote device station 5. CC-Link Remote Device Station Pins
5. CC-Link Remote Device Station Pins
Table 5.1 shows correspondence between CC-Lin k remote device station pins and R-IN32M3 series pins, Figure 5.1
shows R-IN32M3 Series CC-Link Remote Device Station Peripheral Architecture.
Table 5.1 Correspondence between CC -Link Remote Device Station Pins and R-IN32M3 Series Pins <R>
SDGATEON CCS_SDGATEON P52 Communications circuit transmit data & gate
RUN CCS_LNKRUNZ P50 Link RUN LED control output
ERRL CCS_ERRZ P25 Operation check LED
SDLED CCS_SDLEDZ RP00 Operation check LED
RDLED CCS_RDLEDZ P51 Receive data LED control output
FUSEZ CCS_FUSEZ P36 Please connect when external fuse is
necessary.
R18UZ0056EJ0102 Page 6 of 83
Dec. 28, 2018
R-IN32M3 Series
Cortex-M3
Control Register
CCRES
AHB Bus
Bridge
CCBSC
CCSMC0CCSMC1
CC-Link
Remote Device
Station
CC-Link
Intelligent Device
Station
CCSMD
CCS_SD, CCS_RD,
CCS_SDGATEON
CCS_REFSTB
Note
CCS_LNKRUN,
CCS_ERRZ,
CCS_SDLEDZ,
CCS_RDLEDZ
CCS_STATION_NO7-0
CCS_IOTENSU,
CCS_SENYU1-0,
CCS_BS1,2,4,8
.
It is necessary to connect a CCS_REFSTB pin to a port pin with the external interrupt function
(INTPZ).
R-IN32 Series CC-Link Remote device station 5. CC-Link Remote Device Station Pins
Figure 5.1 R-IN32M3 Series CC-Link Remote Device Station Peripheral Architecture
Note
R18UZ0056EJ0102 Page 7 of 83
Dec. 28, 2018
CC-Link Pin Name
R-IN32M4-CL2 Pin Name
Shared Port
Description
SD
CCS_SD
P56
Communications circuit data transmission pin
RD1
CCS_RD
P54
Communications circuit data reception pin
control pin
RUN
CCS_LNKRUNZ
P32
Link RUN LED control output
ERRL
CCS_ERRZ
P25
Operation check LED
SDLED
CCS_SDLEDZ
RP00
Operation check LED
RDLED
CCS_RDLEDZ
P33
Receive data LED control output
IOTENSU
CCS_IOTENSU
P22
Initial setting pin (Low fixed)
SENYU0
CCS_SENYU0
P23
Initial setting pin
SENYU1
CCS_SENYU1
P24
Initial setting pin
BS1, 2, 4, 8
CCS_BS1, 2, 4, 8
RP02-RP05
Baud rate setting switch input pin
SW1, 2, 4, 8, 10, 20, 40, 80
CCS_STATION_NO_0-7
P70-P77
Station no. setting switch input pins
REFSTB
CCS_REFSTB
P50
Interrupt signal
R-IN32M4-CL2
Cortex-M4F
Control Register
CCRES
AHB Bus
Bridge
CCBSC
CCSMC0
CCSMC1
CC
-Link
Remote Device
Station
CC
-Link
Intelligent Device
Station
CCSMD
CCS_SD, CCS_RD,
CCS_SDGATEON
CCS_LNKRUN,
CCS_ERRZ,
CCS_SDLEDZ,
CCS_RDLEDZ
CCS_STATION_NO7-0
CCS_IOTENSU,
CCS_SENYU1-0,
CCS_BS1,2,4,8
R-IN32 Series CC-Link Remote device station 5. CC-Link Remote Device Station Pins
Table 5.2 shows correspondence bet ween CC-Link remote device station pins and R-IN32M4-CL2 pins, Figure 5.2
shows R-IN32M4-CL2 CC-Li nk Remote Device Station Peripheral Architecture.
Table 5.2 Correspondence between CC -Link Remote Device Station Pins and R-IN32M4-CL2 Pins <R>
SDGATEON CCS_SDGATEON P51 Communications circuit transmit data & gate
Figure 5.2 R-IN32M4-CL2 CC-Link Remote Device Station Peripheral Architecture
R18UZ0056EJ0102 Page 8 of 83
Dec. 28, 2018
Terminal
SENYU0
L H L H SENYU1
L L H
H
Caution
:
Fix the IOTENSU pin to the low level. Setting the pi n to the high level is prohibited. <R>
R-IN32 Series CC-Link Remote device station 6. Setting Details
6. Setting Details
6.1 Setting the Number of Occupied Stations
Based on the combination listed below, the number of occupied stations can be set from 1 to 4.With one
communication, 32 I/O bits and 4 words of data can be used per station.
Table 6.1 Occupied stations setting
Number of occupied stations
1 2 3 4
When the number of occupied stations is set to "2":
With one communication, 64 I/O bits and 8 words of data can be used.
R18UZ0056EJ0102 Page 9 of 83
Dec. 28, 2018
Terminal
SW80
H H H H H H H H L L SW40
H H H H L L L L H H SW20
H H L L H H L L H H SW10
H L H L H L H L H
L
Terminal
SW8
H H H H H H H H L L SW4
H H H H L L L L H H SW2
H H L L H H L L H H SW1
H L H L H L H L H
L
Terminal
kbps
kbps
Mbps
Mbps
Mbps
BS8 H H H H H H H H L L
BS4 H H H H L L L L H H
BS2 H H L L H H L L H H
BS1 H L H L H L H L H L
1.
The settings result in error.
Station number setting value
0 or 65 and over: Results in a station number switch setting error. The L ERR. LED turns on.
2.
Baud rate setting value
Results in a baud rate switch setting error. The L ERR. LED turns on.
R-IN32 Series CC-Link Remote device station 6. Setting Details
6.2 Setting the Station Number and Baud Rate
Table 6.2 Setting the station number and baud rate
Station No. (Tens Place)
00 10 20 30 40 50 60 70
Note1 80Note1
Station No. (Ones Place)
0 1 2 3 4 5 6 7 8 9
90
Note1
Notes
Baud Rate
156
625
2.5
5
10
1 to 64: Station number (normal)
:
5
Note2
6
Note2
7
Note2
8
Note2
9
Note2
R18UZ0056EJ0102 Page 10 of 83
Dec. 28, 2018
LED name
Status
Condition
normally received after network entry. (see Figure 6.1)
4. During hardware reset
Blinking
-
higher)
2. During hardware reset
blinking)
ON
During transmission or +0.41ms × 2
after transmission (n = 1 to 8)
2. During hardware reset
Blinking
-
ON
During channel carrier detectio n
2. During hardware reset
Blinking
-
M R
R M
Turn the power on
Cancel reset
Communication
with other station
Test and test polling
Test
Test
polling
Test
response
Refresh and
polling
Refresh
Polling
Polling
response
(*1) Network entry
RUN on
Unable to detect carrier for
channel
3.28ms( 10M)
Timeout (refresh or refresh & polling not received)
104.8576ms
( 10M)
RUN off
R-IN32 Series CC-Link Remote device station 6. Setting Details
Each LEDs are automatically set ON/OFF/BLANK under the following conditions
Table 6.2 Light ON/OFF/BLINK conditions
L RUN
(ON: "L" output)
L ERR.
(ON: "L" output)
SD
(ON: "L" output)
RD
(ON: "L" output)
ON When the refresh signal or the refresh signal and polling signal are
OFF 1. Before network entry (see Figure 6.1)
2. Channel carrier detection failed
3. Timeout
ON 1. CRC error
2. Station number switch setting error at reset release (0 or 65 stations
or more including the number of occupied stations)
3. Baud rate switch setting error at reset release (a setting of 5 or
OFF 1. Normal communication
Blinking The switch setting changed from the setting at reset release. (0.4s
(n-1)
OFF 1. Other than the above
OFF 1. Channel carrier detection failed
(2) Details of RUN light on
Figure 6.1 Condition of RUN light on
R18UZ0056EJ0102 Page 11 of 83
Dec. 28, 2018
L RUN
L ERR.
SD
RD
Operation
☼ ☼
noise.
☼ ☼
and is different from the value at startup L ERR. is lit at intervals of 0.4 s.
☼
☼
- (Impossible operation status)
☼
○
Unable to respond because the received data caus ed a CRC error.
☼
●
- (Impossible operation status)
●
☼
Normal communication
●
☼
- (Impossible operation status)
● ● ○
No data for the own station
● ● ●
- (Impossible operation status)
☼
☼
Responds to polling signal, but the refresh rec eption caused a CRC error.
☼
☼
- (Impossible operation status)
☼
○
Data for the own station caused a CRC error.
☼
●
- (Impossible operation status)
●
☼
Link startup has not been conducted.
●
☼
- (Impossible operation status)
due to noise.
Power off or hardware being set.
○ ● ○
Baud rate and/or station number setting error
Note:
A blinking L ERR. light warns the operator that there has been a change in the baud rate or
station number setting. The setting will be established at the next reset.
R-IN32 Series CC-Link Remote device station 6. Setting Details
(3) Light ON/OFF/BLINK conditions
Table 6.3 Light ON/OFF/BLINK conditions
○
○
○
○
○
○
○
○
○
●
●
●
●
●
●
● ● ● ○ Either no data for the own station or unable to receive the data for own station
● ● ● ● Unable to receive data due to w ire breakage, etc.
○Communicating normally, but CRC errors have often been detected due to
○The communication baud rate or the station number setting value has changed
Note
●
●
●
○
●
○
●
●
●
○
●
●
○: ON ●: OFF ☼: BLINK
R18UZ0056EJ0102 Page 12 of 83
Dec. 28, 2018
MON7, 6
: Monitor terminals for internal signals. The signals to be monitored are not specified.
MON5
: Set to high when RWw information (bit data) of the own station is being received.
MON4
: Set to high when RY information (bit data) of the own station is being received.
MON3
: Set to high when a communication frame (bit data) other than a flag pattern is being received.
MON2 to 0
: Display the type of frame being received according to the table below.
MON2
MON1
MON0
Frame type
H H L
Receiving polling and refresh data
H L H
Receiving polling data
H L L
Receiving test polling and test data
L H H
Receiving test polling
L H L
Receiving refresh cycle complete
L L L
Initial state
R-IN32 Series CC-Link Remote device station 7. Monitor Output of Reception Frame Information
7. Monitor Output of Reception Frame Information
Table 7.1 Monitor output of reception frame information
R18UZ0056EJ0102 Page 13 of 83
Dec. 28, 2018
Address
(hexadecimal)
Address
(hexadecimal)
Data width
Data width
16 8
16
8
(Lower)
00
Send data write enable information
Allowed
Not allowed
(Lower)
80
Send data write completed
Allowed
Allowed
(Upper)
01
Receive data update information
Allowed
Not allowed
(Upper)
81
Receive data read request
Allowed
Allowed
(Lower)
02
Station number switch information
Allowed
Not allowed
(Lower)
82
Vendor code (Lower)
Allowed
Allowed
stations information
(Lower)
04
Error information 1
Allowed
Not allowed
(Lower)
84
Model code
Allowed
Allowed
(Upper)
05
Error information 2
Allowed
Not allowed
(Upper)
85
Version
Allowed
Allowed
(Lower)
06
(Not used)
Not allowed
Not allowed
(Lower)
86
SDLED illumination time setting
Allowed
Allowed
(Upper)
07
(Not used)
Not allowed
Not allowed
(Upper)
87
Timeout time setting
Allowed
Allowed
(Lower)
08
M→R ST1
Allowed
Not allowed
(Lower)
88
R→M ST1
Allowed
Allowed
(Upper)
09
M→R ST2
Allowed
Not allowed
(Upper)
89
R→M ST2
Allowed
Allowed
(Lower)
0A
M→R RY00-07
Allowed
Not allowed
(Lower)
8A
R→M RX00-07
Allowed
Allowed
(Upper)
0B
M→R RY08-0F
Allowed
Not allowed
(Upper)
8B
R→M RX08-0F
Allowed
Allowed
(Lower)
0C
M→R RY10-17
Allowed
Not allowed
(Lower)
8C
R→M RX10-17
Allowed
Allowed
(Upper)
0D
M→R RY18-1F
Allowed
Not allowed
(Upper)
8D
R→M RX18-1F
Allowed
Allowed
(Lower)
0E
(Not used)
Not allowed
Not allowed
(Lower)
8E
(Not used)
Not allowed
Not allowed
(Upper)
0F
(Not used)
Not allowed
Not allowed
(Upper)
8F
(Not used)
Not allowed
Not allowed
(Lower)
10
(Not used)
Not allowed
Not allowed
(Lower)
90
(Not used)
Not allowed
Not allowed
(Upper)
11
(Not used)
Not allowed
Not allowed
(Upper)
91
(Not used)
Not allowed
Not allowed
(Lower)
12
(Not used)
Not allowed
Not allowed
(Lower)
92
(Not used)
Not allowed
Not allowed
(Upper)
13
(Not used)
Not allowed
Not allowed
(Upper)
93
(Not used)
Not allowed
Not allowed
(Lower)
14
(Not used)
Not allowed
Not allowed
(Lower)
94
(Not used)
Not allowed
Not allowed
(Upper)
15
(Not used)
Not allowed
Not allowed
(Upper)
95
(Not used)
Not allowed
Not allowed
(Lower)
16
(Not used)
Not allowed
Not allowed
(Lower)
96
(Not used)
Not allowed
Not allowed
(Upper)
17
(Not used)
Not allowed
Not allowed
(Upper)
97
(Not used)
Not allowed
Not allowed
(Lower)
18
(Not used)
Not allowed
Not allowed
(Lower)
98
(Not used)
Not allowed
Not allowed
(Upper)
19
(Not used)
Not allowed
Not allowed
(Upper)
99
(Not used)
Not allowed
Not allowed
(Lower)
1A
M→R RWw0(L)
Allowed
Not allowed
(Lower)
9A
R→M RWr0(L)
Allowed
Allowed
(Upper)
1B
M→R RWw0(H)
Allowed
Not allowed
(Upper)
9B
R→M RWr0(H)
Allowed
Allowed
(Lower)
1C
M→R RWw1(L)
Allowed
Not allowed
(Lower)
9C
R→M RWr1(L)
Allowed
Allowed
(Upper)
1D
M→R RWw1(H)
Allowed
Not allowed
(Upper)
9D
R→M RWr1(H)
Allowed
Allowed
(Lower)
1E
M→R RWw2(L)
Allowed
Not allowed
(Lower)
9E
R→M RWr2(L)
Allowed
Allowed
(Upper)
1F
M→R RWw2(H)
Allowed
Not allowed
(Upper)
9F
R→M RWr2(H)
Allowed
Allowed
(Lower)
20
M→R RWw3(L)
Allowed
Not allowed
(Lower)
A0
R→M RWr3(L)
Allowed
Allowed
(Upper)
21
M→R RWw3(H)
Allowed
Not allowed
(Upper)
A1
R→M RWr3(H)
Allowed
Allowed
(Lower)
22
(Not used)
Not allowed
Not allowed
(Lower)
A2
(Not used)
Not allowed
Not allowed
(Upper)
23
(Not used)
Not allowed
Not allowed
(Upper)
A3
(Not used)
Not allowed
Not allowed
(Lower)
36
(Not used)
Not allowed
Not allowed
(Lower)
B6
(Not used)
Not allowed
Not allowed
(Upper)
37
(Not used)
Not allowed
Not allowed
(Upper)
B7
(Not used)
Not allowed
Not allowed
(Lower)
38
(Not used)
Not allowed
Not allowed
(Lower)
B8
(Not used)
Not allowed
Not allowed
(Upper)
39
(Not used)
Not allowed
Not allowed
(Upper)
B9
(Not used)
Not allowed
Not allowed
3A 3A
(Lower)
BA
Setting HOLD/CLR information
Allowed
Allowed
(Upper)
BB
(Not used)
Not allowed
Not allowed
BC
3E 3F
BF
R-IN32 Series CC-Link Remote device station 8. Memory Map
8. Memory Map
Memory must be written in wor d unit in R-IN32 Series.
8.1 Memory Map List
Table 8.1 When the Number of Occupied Stations is Set to 1
00
02
(Upper) 03
04
06
08
0A
0C
0E
10
12
14
16
18
1A
1C
1E
Description Read Write
Baud rate switch/number of occupied
Reception buffer
80
Allowed Not allowed (Upper) 83 Vendor code (Upper) Allowed Allowed
82
84
86
88
8A
8C
8E
90
92
94
96
98
9A
9C
9E
Update buffer
Description Read Write
20
22
36
38
(Not used) Not allowed Not allowed
(Not used) Not allowed Not allowed
A0
A2
B6
B8
BA
BC
BE
(Not used) Not allowed Not allowed
(Not used) Not allowed Not allowed
R18UZ0056EJ0102 Page 14 of 83
Dec. 28, 2018
Address
(hexadecimal)
Address
(hexadecimal)
Data width
Data width
16
8 16
8
(Lower)
00
Send data write enable information
Allowed
Not allowed
80
(Lower)
80
Send data write completed
Allowed
Allowed
(Upper)
01
Receive data update information
Allowed
Not allowed
(Upper)
81
Receive data read request
Allowed
Allowed
(Lower)
02
Station number switch information
Allowed
Not allowed
82
(Lower)
82
Vendor code (Lower)
Allowed
Allowed
stations information
(Lower)
04
Error information 1
Allowed
Not allowed
84
(Lower)
84
Model code
Allowed
Allowed
(Upper)
05
Error information 2
Allowed
Not allowed
(Upper)
85
Version
Allowed
Allowed
(Lower)
06
(Not used)
Not allowed
Not allowed
86
(Lower)
86
SDLED illumination time setting
Allowed
Allowed
(Upper)
07
(Not used)
Not allowed
Not allowed
(Upper)
87
Timeout time setting
Allowed
Allowed
(Lower)
08
Reception buffer
M→R ST1
Allowed
Not allowed
88
(Lower)
88
Update buffer
R→M ST1
Allowed
Allowed
(Upper)
09
M→R ST2
Allowed
Not allowed
(Upper)
89
R→M ST2
Allowed
Allowed
(Lower)
0A
M→R RY00-07
Allowed
Not allowed
8A
(Lower)
8A
R→M RX00-07
Allowed
Allowed
(Upper)
0B
M→R RY08-0F
Allowed
Not allowed
(Upper)
8B
R→M RX08-0F
Allowed
Allowed
(Lower)
0C
M→R RY10-17
Allowed
Not allowed
8C
(Lower)
8C
R→M RX10-17
Allowed
Allowed
(Upper)
0D
M→R RY18-1F
Allowed
Not allowed
(Upper)
8D
R→M RX18-1F
Allowed
Allowed
(Lower)
0E
M→R RY20-27
Allowed
Not allowed
8E
(Lower)
8E
R→M RX20-27
Allowed
Allowed
(Upper)
0F
M→R RY28-2F
Allowed
Not allowed
(Upper)
8F
R→M RX28-2F
Allowed
Allowed
(Lower)
10
M→R RY30-37
Allowed
Not allowed
90
(Lower)
90
R→M RX30-37
Allowed
Allowed
(Upper)
11
M→R RY38-3F
Allowed
Not allowed
(Upper)
91
R→M RX38-3F
Allowed
Allowed
(Lower)
12
(Not used)
Not allowed
Not allowed
92
(Lower)
92
(Not used)
Not allowed
Not allowed
(Upper)
13
(Not used)
Not allowed
Not allowed
(Upper)
93
(Not used)
Not allowed
Not allowed
(Lower)
14
(Not used)
Not allowed
Not allowed
94
(Lower)
94
(Not used)
Not allowed
Not allowed
(Upper)
15
(Not used)
Not allowed
Not allowed
(Upper)
95
(Not used)
Not allowed
Not allowed
(Lower)
16
(Not used)
Not allowed
Not allowed
96
(Lower)
96
(Not used)
Not allowed
Not allowed
(Upper)
17
(Not used)
Not allowed
Not allowed
(Upper)
97
(Not used)
Not allowed
Not allowed
(Lower)
18
(Not used)
Not allowed
Not allowed
98
(Lower)
98
(Not used)
Not allowed
Not allowed
(Upper)
19
(Not used)
Not allowed
Not allowed
(Upper)
99
(Not used)
Not allowed
Not allowed
(Lower)
1A
M→R RWw0(L)
Allowed
Not allowed
9A
(Lower)
9A
R→M RWr0(L)
Allowed
Allowed
(Upper)
1B
M→R RWw0(H)
Allowed
Not allowed
(Upper)
9B
R→M RWr0(H)
Allowed
Allowed
(Lower)
1C
M→R RWw1(L)
Allowed
Not allowed
9C
(Lower)
9C
R→M RWr1(L)
Allowed
Allowed
(Upper)
1D
M→R RWw1(H)
Allowed
Not allowed
(Upper)
9D
R→M RWr1(H)
Allowed
Allowed
(Lower)
1E
M→R RWw2(L)
Allowed
Not allowed
9E
(Lower)
9E
R→M RWr2(L)
Allowed
Allowed
(Upper)
1F
M→R RWw2(H)
Allowed
Not allowed
(Upper)
9F
R→M RWr2(H)
Allowed
Allowed
(Lower)
20
M→R RWw3(L)
Allowed
Not allowed
A0
(Lower)
A0
R→M RWr3(L)
Allowed
Allowed
(Upper)
21
M→R RWw3(H)
Allowed
Not allowed
(Upper)
A1
R→M RWr3(H)
Allowed
Allowed
(Lower)
22
M→R RWw4(L)
Allowed
Not allowed
A2
(Lower)
A2
R→M RWr4(L)
Allowed
Allowed
(Upper)
23
M→R RWw4(H)
Allowed
Not allowed
(Upper)
A3
R→M RWr4(H)
Allowed
Allowed
(Lower)
24
M→R RWw5(L)
Allowed
Not allowed
A4
(Lower)
A4
R→M RWr5(L)
Allowed
Allowed
(Upper)
25
M→R RWw5(H)
Allowed
Not allowed
(Upper)
A5
R→M RWr5(H)
Allowed
Allowed
(Lower)
26
M→R RWw6(L)
Allowed
Not allowed
A6
(Lower)
A6
R→M RWr6(L)
Allowed
Allowed
(Upper)
27
M→R RWw6(H)
Allowed
Not allowed
(Upper)
A7
R→M RWr6(H)
Allowed
Allowed
(Lower)
28
M→R RWw7(L)
Allowed
Not allowed
A8
(Lower)
A8
R→M RWr7(L)
Allowed
Allowed
(Upper)
29
M→R RWw7(H)
Allowed
Not allowed
(Upper)
A9
R→M RWr7(H)
Allowed
Allowed
(Lower)
2A
(Not used)
Not allowed
Not allowed
A
(Lower)
AA
(Not used)
Not allowed
Not allowed
(Upper)
2B
(Not used)
Not allowed
Not allowed
(Upper)
AB
(Not used)
Not allowed
Not allowed
(Lower)
2C
(Not used)
Not allowed
Not allowed
AC
(Lower)
AC
(Not used)
Not allowed
Not allowed
(Upper)
2D
(Not used)
Not allowed
Not allowed
(Upper)
AD
(Not used)
Not allowed
Not allowed
(Lower)
2E
(Not used)
Not allowed
Not allowed
AE
(Lower)
AE
(Not used)
Not allowed
Not allowed
(Upper)
2F
(Not used)
Not allowed
Not allowed
(Upper)
AF
(Not used)
Not allowed
Not allowed
(Lower)
30
(Not used)
Not allowed
Not allowed
B0
(Lower)
B0
(Not used)
Not allowed
Not allowed
(Upper)
31
(Not used)
Not allowed
Not allowed
(Upper)
B1
(Not used)
Not allowed
Not allowed
(Lower)
32
(Not used)
Not allowed
Not allowed
B2
(Lower)
B2
(Not used)
Not allowed
Not allowed
(Upper)
33
(Not used)
Not allowed
Not allowed
(Upper)
B3
(Not used)
Not allowed
Not allowed
(Lower)
34
(Not used)
Not allowed
Not allowed
B4
(Lower)
B4
(Not used)
Not allowed
Not allowed
(Upper)
35
(Not used)
Not allowed
Not allowed
(Upper)
B5
(Not used)
Not allowed
Not allowed
(Lower)
36
(Not used)
Not allowed
Not allowed
B6
(Lower)
B6
(Not used)
Not allowed
Not allowed
(Upper)
37
(Not used)
Not allowed
Not allowed
(Upper)
B7
(Not used)
Not allowed
Not allowed
(Lower)
38
(Not used)
Not allowed
Not allowed
B8
(Lower)
B8
(Not used)
Not allowed
Not allowed
(Upper)
39
(Not used)
Not allowed
Not allowed
(Upper)
B9
(Not used)
Not allowed
Not allowed
3A 3A
BA
(Lower)
BA
Setting HOLD/CLR information
Allowed
Allowed
(Upper)
BB
(Not used)
Not allowed
Not allowed
(Not used)
Not allowed
Not allowed
BC BC
3E
3F
BE BF
R-IN32 Series CC-Link Remote device station 8. Memory Map
Table 8.2 When the Number of Occupied Stations is Set to 2
00
02
04
06
08
0A
0C
0E
10
12
14
16
18
1A
1C
(Upper) 03
Description Read Write
Baud rate switch/number of occupied
Allowed Not allowed
Description Read Write
(Upper) 83 Vendor code (Upper) Allowed Allowed
1E
20
22
24
26
28
2A
2C
2E
30
32
34
36
38
A
(Not used) Not allowed Not allowed
R18UZ0056EJ0102 Page 15 of 83
Dec. 28, 2018
Address
(hexadecimal)
Address
(hexadecimal)
Data width
Data width
16 8
16
8
(Lower)
00
Send data write enable information
Allowed
Not allowed
(Lower)
80
Send data write completed
Allowed
Allowed
(Upper)
01
Receive data update information
Allowed
Not allowed
(Upper)
81
Receive data read request
Allowed
Allowed
(Lower)
02
Station number switch information
Allowed
Not allowed
(Lower)
82
Vendor code (Lower)
Allowed
Allowed
information
(Lower)
04
Error information 1
Allowed
Not allowed
(Lower)
84
Model code
Allowed
Allowed
(Upper)
05
Error information 2
Allowed
Not allowed
(Upper)
85
Version
Allowed
Allowed
(Lower)
06
(Not used)
Not allowed
Not allowed
(Lower)
86
SDLED illumination time setting
Allowed
Allowed
(Upper)
07
(Not used)
Not allowed
Not allowed
(Upper)
87
Timeout time setting
Allowed
Allowed
(Lower)
08
Reception buffer
M→R ST1
Allowed
Not allowed
(Lower)
88
Update buffer
R→M ST1
Allowed
Allowed
(Upper)
09
M→R ST2
Allowed
Not allowed
(Upper)
89
R→M ST2
Allowed
Allowed
(Lower)
0A
M→R RY00-07
Allowed
Not allowed
(Lower)
8A
R→M RX00-07
Allowed
Allowed
(Upper)
0B
M→R RY08-0F
Allowed
Not allowed
(Upper)
8B
R→M RX08-0F
Allowed
Allowed
(Lower)
0C
M→R RY10-17
Allowed
Not allowed
(Lower)
8C
R→M RX10-17
Allowed
Allowed
(Upper)
0D
M→R RY18-1F
Allowed
Not allowed
(Upper)
8D
R→M RX18-1F
Allowed
Allowed
(Lower)
0E
M→R RY20-27
Allowed
Not allowed
(Lower)
8E
R→M RX20-27
Allowed
Allowed
(Upper)
0F
M→R RY28-2F
Allowed
Not allowed
(Upper)
8F
R→M RX28-2F
Allowed
Allowed
(Lower)
10
M→R RY30-37
Allowed
Not allowed
(Lower)
90
R→M RX30-37
Allowed
Allowed
(Upper)
11
M→R RY38-3F
Allowed
Not allowed
(Upper)
91
R→M RX38-3F
Allowed
Allowed
(Lower)
12
M→R RY40-47
Allowed
Not allowed
(Lower)
92
R→M RX40-47
Allowed
Allowed
(Upper)
13
M→R RY48-4F
Allowed
Not allowed
(Upper)
93
R→M RX48-4F
Allowed
Allowed
(Lower)
14
M→R RY50-57
Allowed
Not allowed
(Lower)
94
R→M RX50-57
Allowed
Allowed
(Upper)
15
M→R RY58-5F
Allowed
Not allowed
(Upper)
95
R→M RX58-5F
Allowed
Allowed
(Lower)
16
(Not used)
Not allowed
Not allowed
(Lower)
96
(Not used)
Not allowed
Not allowed
(Upper)
17
(Not used)
Not allowed
Not allowed
(Upper)
97
(Not used)
Not allowed
Not allowed
(Lower)
18
(Not used)
Not allowed
Not allowed
(Lower)
98
(Not used)
Not allowed
Not allowed
(Upper)
19
(Not used)
Not allowed
Not allowed
(Upper)
99
(Not used)
Not allowed
Not allowed
(Lower)
1A
M→R RWw0(L)
Allowed
Not allowed
(Lower)
9A
R→M RWr0(L)
Allowed
Allowed
(Upper)
1B
M→R RWw0(H)
Allowed
Not allowed
(Upper)
9B
R→M RWr0(H)
Allowed
Allowed
(Lower)
1C
M→R RWw1(L)
Allowed
Not allowed
(Lower)
9C
R→M RWr1(L)
Allowed
Allowed
(Upper)
1D
M→R RWw1(H)
Allowed
Not allowed
(Upper)
9D
R→M RWr1(H)
Allowed
Allowed
(Lower)
1E
M→R RWw2(L)
Allowed
Not allowed
(Lower)
9E
R→M RWr2(L)
Allowed
Allowed
(Upper)
1F
M→R RWw2(H)
Allowed
Not allowed
(Upper)
9F
R→M RWr2(H)
Allowed
Allowed
(Lower)
20
M→R RWw3(L)
Allowed
Not allowed
(Lower)
A0
R→M RWr3(L)
Allowed
Allowed
(Upper)
21
M→R RWw3(H)
Allowed
Not allowed
(Upper)
A1
R→M RWr3(H)
Allowed
Allowed
(Lower)
22
M→R RWw4(L)
Allowed
Not allowed
(Lower)
A2
R→M RWr4(L)
Allowed
Allowed
(Upper)
23
M→R RWw4(H)
Allowed
Not allowed
(Upper)
A3
R→M RWr4(H)
Allowed
Allowed
(Lower)
24
M→R RWw5(L)
Allowed
Not allowed
(Lower)
A4
R→M RWr5(L)
Allowed
Allowed
(Upper)
25
M→R RWw5(H)
Allowed
Not allowed
(Upper)
A5
R→M RWr5(H)
Allowed
Allowed
(Lower)
26
M→R RWw6(L)
Allowed
Not allowed
(Lower)
A6
R→M RWr6(L)
Allowed
Allowed
(Upper)
27
M→R RWw6(H)
Allowed
Not allowed
(Upper)
A7
R→M RWr6(H)
Allowed
Allowed
(Lower)
28
M→R RWw7(L)
Allowed
Not allowed
(Lower)
A8
R→M RWr7(L)
Allowed
Allowed
(Upper)
29
M→R RWw7(H)
Allowed
Not allowed
(Upper)
A9
R→M RWr7(H)
Allowed
Allowed
(Lower)
2A
M→R RWw8(L)
Allowed
Not allowed
(Lower)
AA
R→M RWr8(L)
Allowed
Allowed
(Upper)
2B
M→R RWw8(H)
Allowed
Not allowed
(Upper)
AB
R→M RWr8(H)
Allowed
Allowed
(Lower)
2C
M→R RWw9(L)
Allowed
Not allowed
(Lower)
AC
R→M RWr9(L)
Allowed
Allowed
(Upper)
2D
M→R RWw9(H)
Allowed
Not allowed
(Upper)
AD
R→M RWr9(H)
Allowed
Allowed
(Lower)
2E
M→R RWw10(L)
Allowed
Not allowed
(Lower)
AE
R→M RWr10(L)
Allowed
Allowed
(Upper)
2F
M→R RWw10(H)
Allowed
Not allowed
(Upper)
AF
R→M RWr10(H)
Allowed
Allowed
(Lower)
30
M→R RWw11(L)
Allowed
Not allowed
(Lower)
B0
R→M RWr11(L)
Allowed
Allowed
(Upper)
31
M→R RWw11(H)
Allowed
Not allowed
(Upper)
B1
R→M RWr11(H)
Allowed
Allowed
(Lower)
32
(Not used)
Not allowed
Not allowed
(Lower)
B2
(Not used)
Not allowed
Not allowed
(Upper)
33
(Not used)
Not allowed
Not allowed
(Upper)
B3
(Not used)
Not allowed
Not allowed
(Lower)
34
(Not used)
Not allowed
Not allowed
(Lower)
B4
(Not used)
Not allowed
Not allowed
(Upper)
35
(Not used)
Not allowed
Not allowed
(Upper)
B5
(Not used)
Not allowed
Not allowed
(Lower)
36
(Not used)
Not allowed
Not allowed
(Lower)
B6
(Not used)
Not allowed
Not allowed
(Upper)
37
(Not used)
Not allowed
Not allowed
(Upper)
B7
(Not used)
Not allowed
Not allowed
38
(Lower)
38
(Not used)
Not allowed
Not allowed
(Lower)
B8
(Not used)
Not allowed
Not allowed
(Upper)
39
(Not used)
Not allowed
Not allowed
(Upper)
B9
(Not used)
Not allowed
Not allowed
3A 3A
(Lower)
BA
Setting HOLD/CLR information
Allowed
Allowed
(Upper)
BB
(Not used)
Not allowed
Not allowed
(Not used)
Not allowed
Not allowed
BC BC
3E
3F
BE BF
R-IN32 Series CC-Link Remote device station 8. Memory Map
Table 8.3 When the Number of Occupied Stations is Set to 3
00
02
04
06
08
0A
0C
0E
10
12
14
16
18
1A
1C
(Upper) 03
Description Read Write
Baud rate switch/number of occupied stations
Description Read Write
80
Allowed Not allowed (Upper) 83 Vendor code (Upper) Allowed Allowed
82
84
86
88
8A
8C
8E
90
92
94
96
98
9A
9C
1E
20
22
24
26
28
2A
2C
2E
30
32
34
36
9E
A0
A2
A4
A6
A8
AA
AC
AE
B0
(Not used) Not allowed Not allowed
B2
B4
B6
B8
BA
R18UZ0056EJ0102 Page 16 of 83
Dec. 28, 2018
Address
(hexadecimal)
Address
(hexadecimal)
Data width
Data width
16 8
16
8
00
(Lower)
00
Send data write enable information
Allowed
Not allowed
(Lower)
80
Send data write completed
Allowed
Allowed
(Upper)
01
Receive data update information
Allowed
Not allowed
(Upper)
81
Receive data read request
Allowed
Allowed
0
(Lower)
02
Station number switch information
Allowed
Not allowed
(Lower)
82
Vendor code (Lower)
Allowed
Allowed
information
0
(Lower)
04
Error information 1
Allowed
Not allowed
(Lower)
84
Model code
Allowed
Allowed
(Upper)
05
Error information 2
Allowed
Not allowed
(Upper)
85
Version
Allowed
Allowed
0
(Lower)
06
(Not used)
Not allowed
Not allowed
(Lower)
86
SDLED illumination time setting
Allowed
Allowed
(Upper)
07
(Not used)
Not allowed
Not allowed
(Upper)
87
Timeout time setting
Allowed
Allowed
0
(Lower)
08
Reception buffer
M→R ST1
Allowed
Not allowed
(Lower)
88
Update buffer
R→M ST1
Allowed
Allowed
(Upper)
09
M→R ST2
Allowed
Not allowed
(Upper)
89
R→M ST2
Allowed
Allowed
0
(Lower)
0A
M→R RY00-07
Allowed
Not allowed
(Lower)
8A
R→M RX00-07
Allowed
Allowed
(Upper)
0B
M→R RY08-0F
Allowed
Not allowed
(Upper)
8B
R→M RX08-0F
Allowed
Allowed
0C
(Lower)
0C
M→R RY10-17
Allowed
Not allowed
(Lower)
8C
R→M RX10-17
Allowed
Allowed
(Upper)
0D
M→R RY18-1F
Allowed
Not allowed
(Upper)
8D
R→M RX18-1F
Allowed
Allowed
0E
(Lower)
0E
M→R RY20-27
Allowed
Not allowed
(Lower)
8E
R→M RX20-27
Allowed
Allowed
(Upper)
0F
M→R RY28-2F
Allowed
Not allowed
(Upper)
8F
R→M RX28-2F
Allowed
Allowed
A0
(Lower)
10
M→R RY30-37
Allowed
Not allowed
(Lower)
90
R→M RX30-37
Allowed
Allowed
(Upper)
11
M→R RY38-3F
Allowed
Not allowed
(Upper)
91
R→M RX38-3F
Allowed
Allowed
12
(Lower)
12
M→R RY40-47
Allowed
Not allowed
(Lower)
92
R→M RX40-47
Allowed
Allowed
(Upper)
13
M→R RY48-4F
Allowed
Not allowed
(Upper)
93
R→M RX48-4F
Allowed
Allowed
14
(Lower)
14
M→R RY50-57
Allowed
Not allowed
(Lower)
94
R→M RX50-57
Allowed
Allowed
(Upper)
15
M→R RY58-5F
Allowed
Not allowed
(Upper)
95
R→M RX58-5F
Allowed
Allowed
16
(Lower)
16
M→R RY60-67
Allowed
Not allowed
(Lower)
96
R→M RX60-67
Allowed
Allowed
(Upper)
17
M→R RY68-6F
Allowed
Not allowed
(Upper)
97
R→M RX68-6F
Allowed
Allowed
18
(Lower)
18
M→R RY70-77
Allowed
Not allowed
(Lower)
98
R→M RX70-77
Allowed
Allowed
(Upper)
19
M→R RY78-7F
Allowed
Not allowed
(Upper)
99
R→M RX78-7F
Allowed
Allowed
1A
(Lower)
1A
M→R RWw0(L)
Allowed
Not allowed
(Lower)
9A
R→M RWr0(L)
Allowed
Allowed
(Upper)
1B
M→R RWw0(H)
Allowed
Not allowed
(Upper)
9B
R→M RWr0(H)
Allowed
Allowed
1C
(Lower)
1C
M→R RWw1(L)
Allowed
Not allowed
(Lower)
9C
R→M RWr1(L)
Allowed
Allowed
(Upper)
1D
M→R RWw1(H)
Allowed
Not allowed
(Upper)
9D
R→M RWr1(H)
Allowed
Allowed
1E
(Lower)
1E
M→R RWw2(L)
Allowed
Not allowed
(Lower)
9E
R→M RWr2(L)
Allowed
Allowed
(Upper)
1F
M→R RWw2(H)
Allowed
Not allowed
(Upper)
9F
R→M RWr2(H)
Allowed
Allowed
20
(Lower)
20
M→R RWw3(L)
Allowed
Not allowed
(Lower)
A0
R→M RWr3(L)
Allowed
Allowed
(Upper)
21
M→R RWw3(H)
Allowed
Not allowed
(Upper)
A1
R→M RWr3(H)
Allowed
Allowed
22
(Lower)
22
M→R RWw4(L)
Allowed
Not allowed
(Lower)
A2
R→M RWr4(L)
Allowed
Allowed
(Upper)
23
M→R RWw4(H)
Allowed
Not allowed
(Upper)
A3
R→M RWr4(H)
Allowed
Allowed
24
(Lower)
24
M→R RWw5(L)
Allowed
Not allowed
(Lower)
A4
R→M RWr5(L)
Allowed
Allowed
(Upper)
25
M→R RWw5(H)
Allowed
Not allowed
(Upper)
A5
R→M RWr5(H)
Allowed
Allowed
26
(Lower)
26
M→R RWw6(L)
Allowed
Not allowed
(Lower)
A6
R→M RWr6(L)
Allowed
Allowed
(Upper)
27
M→R RWw6(H)
Allowed
Not allowed
(Upper)
A7
R→M RWr6(H)
Allowed
Allowed
28
(Lower)
28
M→R RWw7(L)
Allowed
Not allowed
(Lower)
A8
R→M RWr7(L)
Allowed
Allowed
(Upper)
29
M→R RWw7(H)
Allowed
Not allowed
(Upper)
A9
R→M RWr7(H)
Allowed
Allowed
2A
(Lower)
2A
M→R RWw8(L)
Allowed
Not allowed
(Lower)
AA
R→M RWr8(L)
Allowed
Allowed
(Upper)
2B
M→R RWw8(H)
Allowed
Not allowed
(Upper)
AB
R→M RWr8(H)
Allowed
Allowed
2C
(Lower)
2C
M→R RWw9(L)
Allowed
Not allowed
(Lower)
AC
R→M RWr9(L)
Allowed
Allowed
(Upper)
2D
M→R RWw9(H)
Allowed
Not allowed
(Upper)
AD
R→M RWr9(H)
Allowed
Allowed
2E
(Lower)
2E
M→R RWw10(L)
Allowed
Not allowed
(Lower)
AE
R→M RWr10(L)
Allowed
Allowed
(Upper)
2F
M→R RWw10(H)
Allowed
Not allowed
(Upper)
AF
R→M RWr10(H)
Allowed
Allowed
30
(Lower)
30
M→R RWw11(L)
Allowed
Not allowed
(Lower)
B0
R→M RWr11(L)
Allowed
Allowed
(Upper)
31
M→R RWw11(H)
Allowed
Not allowed
(Upper)
B1
R→M RWr11(H)
Allowed
Allowed
32
(Lower)
32
M→R RWw12(L)
Allowed
Not allowed
(Lower)
B2
R→M RWr12(L)
Allowed
Allowed
(Upper)
33
M→R RWw12(H)
Allowed
Not allowed
(Upper)
B3
R→M RWr12(H)
Allowed
Allowed
34
(Lower)
34
M→R RWw13(L)
Allowed
Not allowed
(Lower)
B4
R→M RWr13(L)
Allowed
Allowed
(Upper)
35
M→R RWw13(H)
Allowed
Not allowed
(Upper)
B5
R→M RWr13(H)
Allowed
Allowed
36
(Lower)
36
M→R RWw14(L)
Allowed
Not allowed
(Lower)
B6
R→M RWr14(L)
Allowed
Allowed
(Upper)
37
M→R RWw14(H)
Allowed
Not allowed
(Upper)
B7
R→M RWr14(H)
Allowed
Allowed
38
(Lower)
38
M→R RWw15(L)
Allowed
Not allowed
(Lower)
B8
R→M RWr15(L)
Allowed
Allowed
(Upper)
39
M→R RWw15(H)
Allowed
Not allowed
(Upper)
B9
R→M RWr15(H)
Allowed
Allowed
3A 3A
(Lower)
BA
Setting HOLD/CLR information
Allowed
Allowed
(Upper)
BB
(Not used)
Not allowed
Not allowed
(Not used)
Not allowed
Not allowed
BC BC
3E
3F
BE BF
R-IN32 Series CC-Link Remote device station 8. Memory Map
Table 8.4 When the Number of Occupied Stations is Set to 4
2
(Upper) 03
4
6
8
A
Description Read Write
Baud rate switch/number of occupied stations
Description Read Write
80
Allowed Not allowed (Upper) 83 Vendor code (Upper) Allowed Allowed
82
84
86
88
8A
8C
8E
90
92
94
96
98
9A
9C
(Not used) Not allowed Not allowed
9E
A0
A2
A4
A6
A8
AA
AC
AE
B0
B2
B4
B6
B8
BA
R18UZ0056EJ0102 Page 17 of 83
Dec. 28, 2018
MWR
When the transfer completes, the status is set to enable.
R-IN32 Series CC-Link Remote device station 8. Memory Map
8.2 Memory Map Details
8.2.1 Send Data Write Enable Information (CCS_MWRENL_RCEX)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCS_MWR
ENL_RCEX
R/W
Bit Position Bit Name Function
8 DCHANG
0 0 0 0 0 0 0
0 0 0 0 0 0 0 R 0 0 0 0 0 0 0 R
Receive data update information
DCH
0 0 0 0 0 0 0
ANG
ENL
0:No update
Receive buffer (byte address 08h - 39h, word address 08h - 38h) contains the
same data as the previously read data.
(Received new data during the previous read, or the read interval is shorter
than the refresh cycle.)
1:Update
Newly received data is stored in the receive buffer .
(Even if the updated data is the same as the previously read d ata, if the receiv e
buffer has been updated this bit becomes "1".)
For an asynchronous read, ensure that this bit is set to "1" before reading the
receive data.
0 MWRENL
Send data write enable information
0:Enable
Confirms that this bit is set to "0" and writes the send data into the update buffer.
1:Disable
Writing to the update buffer is disabled when this bit is set to "1" because the
data is being transferred from the update buffer to the send buffer.
When the send data write completion flag (80h) is set to "1", the data transfer
from the update buffer to the send buffer starts and the status is set to disable.
Address Initial
Value
400F B000H 0000H
R18UZ0056EJ0102 Page 18 of 83
Dec. 28, 2018
KYOKU1
KYOKU0
Number of Occupied Stations
0 0 1station
0 1 2 stations
1 0 3 stations
1 1 4 stations
BSW8
BSW4
BSW2
BSW1
Switch Setting
0 0 0 0 156 kbps
0 0 0 1 625 kbps
0 0 1 0 2.5 Mbps
0 0 1 1 5 Mbps
0 1 0 0 10 Mbps
hardware converts the 2-digit switch value from BCD to binary.
R-IN32 Series CC-Link Remote device station 8. Memory Map
8.2.2 Station Number Switch Information, Number of Occupied Stations Information
and Baud Rate Switch Information (CCS_M3STNO_BSW_KYOKU)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCS_M3ST
NO_BSW_
KYOKU
R/W
Bit Position Bit Name Function
13-12 KYOKU1-
0 0
0 0 R R R R R R R R R R R R R R
KYOKU0
KYO
KU1
KYO
BSW
BSW
BSW
BSW
KU0
8
4
2
S7 S6 S5 S4 S3 S2 S2 S0 400F B002H
1
Number of occupied stations informatio n
Address Initial
Value
Undefined
11-8 BSW8-BSW1
7-0 S7-S0
Baud rate switch information
Station number switch information
The station number setting switch value will be stored as binary code upon power
up or the completion of the reset cycle.
Note that any value in the range from 0 to 99 (00h to 63h) is valid, because the
R18UZ0056EJ0102 Page 19 of 83
Dec. 28, 2018
1: CRC error
1: Timeout error
1: CRC error
1: Error (The setting has been changed from the settin g at power on.)
1: Error (The setting has been changed from the settin g at power on.)
1: Setting error (Value other than 0 to 4 has been set)
1: Setting error (Value 0, 65 or greater has been set)
Remark
The error is cancelled when it returns to its normal condition.
R-IN32 Series CC-Link Remote device station 8. Memory Map
8.2.3 Error Information (CCS_M3ERR1_ERR2)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
CCS_M3ER
R1_ERR2
R/W
Bit Position Bit Name Function
10 ERR22
0 0 0 0 1
0 0 0 0 1 R R R 0 0 R R 0 0 R R
ERR
ERR
22
CRC error
21
ERR
20
0 0
BSE
RR
SSE
RR
0 0
BERR STE
0: Normal
Address Initial
400F B004H
RR
Value
Undefined
9 ERR21
8 ERR20
5 BSERR
4 SSERR
1 BERR
0 STERR
Timeout error
0: Normal
CRC error
0: Normal
Baud rate switch change error information
0: Normal
Station number setting switch change error information
0: Normal
Baud rate switch setting error information
0: Normal
Station number switch setting error information
0: Normal
R18UZ0056EJ0102 Page 20 of 83
Dec. 28, 2018
Loading...
+ 68 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.