INSTRUCTION MANUALTOTALIZED PULSE INPUT MODULE, 8 points(CC-Link V.1.10)

MODEL

R7C-PA8

BEFORE USE ....

POINTS OF CAUTION

Thank you for choosing us. Before use, please check contents of the package you received as outlined below.
If you have any problems or questions with the product,
please contact our sales office or representatives.

■ POWER INPUT RATING & OPERATIONAL RANGE• Locate the power input rating marked on the product andconfirm its operational range as indicated below:
		 24V AC rating: 24V ±10%, 50/60 Hz, approx. 130mA
		 24V DC rating: 24V ±10%, approx. 70mA

■ PACKAGE INCLUDES:
Totalized pulse input module..............................................(1)■ MODEL NO.
Confirm Model No. marking on the product to be exactly
what you ordered.
■ INSTRUCTION MANUALThis manual describes necessary points of caution when
you use this product, including installation, connection andbasic maintenance procedures.

■ GENERAL PRECAUTIONS• Before you remove the unit or mount it, turn off the power
supply and input signal for safety.
• DO NOT set the switches on the module while the poweris supplied. The switches are used only for maintenancewithout the power.
■ ENVIRONMENT• Indoor use.
• When heavy dust or metal particles are present in theair, install the unit inside proper housing with sufficientventilation.
• Do not install the unit where it is subjected to continuous
vibration. Do not subject the unit to physical impact.
• Environmental temperature must be within -10 to +55°C(14 to 131°F) with relative humidity within 30 to 90% RH
in order to ensure adequate life span and operation.
■ WIRING• Do not install cables close to noise sources (relay drive
cable, high frequency line, etc.).
• Do not bind these cables together with those in which
noises are present. Do not install them in the same duct.

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 1 / 9

R7C-PA8COMPONENT IDENTIFICATION■ BAUD RATEBaud Rate is selected with the rotary switch.

■ FRONT VIEW

(A)

(B)

(C)

(D)

(E)

(F)

456

23

23

23

901

901

STATION ADD.

901

SD

23
0 1 2 3 4 5 6 7456

0 : 156 kbps
1 : 625 kbps
2 : 2.5 Mbps
3 : 5 Mbps
4 : 10 Mbps

78

456

78

456

78

RUN

RD

901

ERR

X1

78

PWR

1 2 3 4 5 6 7 8

X10

CNFG.

B.RATE

Baud Rate Setting
4

5
1

6
2

7

10 11 12 13 14 15 16 17 18

3

1

2

3

(G)

4

5

6

7

8

9

(H)

■ SIDE VIEW

■ OPERATING MODE(*) Factory setting• Extension (SW1-1, 1-2)
SW1-1 SW1-2
OFF
OFF
ON
OFF
OFF
ON

EXTENSION
No extension (*)
Discrete input, 8 or 16 points
Discrete output, 8 or 16 points■ DATA ALLOCATION (SW1-3)
TERM
ON OFF

(I)

SW1-3
OFF
ON

DATA ALLOCATION
1 (*)
4

Note: Be sure to unused SW1-4 through 1-8 to OFF.

■ POWER SUPPLY, CC-LINK TERMINAL ASSIGNMENT(A) Status Indicator LED *1(B) Station Address Setting Rotary SW(C) Baud Rate Setting Rotary SW(D) Operating Mode Setting DIP SW (SW1)(E) PC Configurator Jack(F) Input Status Indicator LED(G) CC-Link, Power Supply Terminals(H) Input Terminals( I ) Terminating Resistor SW*1. Refer to ‘Status Indicator LED’ section for detailed information.

■ STATUS INDICATOR LED
ID
PWR

COLOR FUNCTION
Red
Turns on when the internal 5V is supplied normally.
Red
Turns on when the refresh data is received normally.
Red
Turns on when the received data isabnormal.
Red
Turns on when the module is transmitting.
Red
Turns on when the module is receiving.

RUN
ERR
SD
RD

■ STATION ADDRESS
Station Address is selected between 1 and 64 in decimal.
The left switch determines the tenth place digit, while theright switch does the ones place digit of the address.
23

78

78

23

456

901

456

901

Station Address Setting (x1)
Station Address Setting (x10)

4

NO.
1
2
3
4
5
6
7

DA
1

5

6
7
DG U(+) V(–)
2
3
DB
SLD
FG

ID
DB
SLD
FG
DA
DG
U(+)
V(–)

FUNCTION, NOTESWhite
ShieldFG
Blue
Yellow
Power input
Power input■ INPUT TERMINAL ASSIGNMENT
14
15
16
17
18
10
11
12
13
V＋ PI0 PI1 PI2 PI3 PI4 PI5 PI6 PI7
5
6
7
8
9
1
2
3
4
C3
C4
C5
C6
V− C0
C1
C2
C7

NO.
1
2
3
4
5
6
7
8
9

ID
V–
C0
C1
C2
C3
C4
C5
C6
C7

FUNCTION
Power (–)
CommonCommonCommonCommonCommonCommonCommonCommon

NO.
10
11
12
13
14
15
16
17
18

ID
V+
PI0
PI1
PI2
PI3
PI4
PI5
PI6
PI7

FUNCTION
Power (+)
Input 0
Input 1
Input 2
Input 3
Input 4
Input 5
Input 6
Input 7

■ TERMINATING RESISTOR
To use the terminating resistor, turn the switch ON, andOFF to invalidate. (Factory setting OFF)■ MODULE COMBINATIONS
Combinations with all extension modules are selectable.

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 2 / 9

R7C-PA8

INDICATOR LED■ STATUS INDICATOR LED
PWR

RUN

ERR

SD *1

RD

ON
ON

ON
ON

BL
BL

BL
BL

ON
ON

ON
ON
ON
ON
ON
ON
ON
ON

ON
ON
ON
ON
ON
ON
ON
OFF

BL
BL
BL
OFF
OFF
OFF
OFF
BL

ON
ON
ON
ON
ON
ON

OFF
OFF
OFF
OFF
OFF
OFF

BL
BL
BL
OFF
OFF
OFF

ON
ON
OFF

OFF
OFF
OFF

OFF
ON
OFF

STATUS *2

Communicates normally with occasional CRC errors due to noise interference.
Communicates normally but the Baud Rate and/or Station Address switches failed.
ERR LED blinks approximately in 0.5 seconds intervals.
BL
OFF ---OFF ON CRC error found in the received data. Unable to respond.
OFF OFF ---BLON Normal communicationBL
OFF ---OFF ON Unable to receive data addressed to the station.
OFF OFF ---BLON Performs the interval-timed responses but CRC error found in receiving the refreshdata.
BL
OFF ---OFF ON CRC error found in the data addressed to the station.
OFF OFF ---BLON Link is not started.
BL
OFF ---OFF ON No data addressed to the station. Or unable to receive data addressed to the station
due to noise interference. (Missing parts of the data sent from the master)OFF OFF Unable to receive data due to wire breakdown
OFF ON/OFF Faulty Baud Rate and/or Station Address setting
OFF OFF Power input removed. Or power supply failure.

OFF = OFF, ON = ON, BL = Blinking*1. SD LED may look not blinking but ON with high baud rate and fewer connected modules.
*2. LEDs indicated with “----” in STATUS rarely occurs in normal operation (LED failure or the like as possible cause).

■ PULSE INPUT STATUS INDICATOR LED
Totalized pulse modules have LED indicators showing input signal status.
ON : LED ON
OFF : LED OFF

PC CONFIGURATOR
With configurator software, settings shown below are available.
Refer to the software manual of R7CON for detailed operation.
■ INTERFACE MODULE SETTING
PARAMETER
Communication Timeout

AVAILABLE RANGE
0.0 – 3276.7 (sec.)

DEFAULT SETTING
1.0 (sec.)■ CHANNEL INDIVIDUAL SETTING
PARAMETERMax
Carry
PresetAVAILABLE RANGE
1 000 – 4 294 967 295
0, 1
0 – 4 294 967 295

DEFAULT SETTING
4 294 967 295
0■ EXTENSION MODULE SETTING
PARAMETER
Output Hold/Clear

AVAILABLE RANGE
Output Hold
Output Clear

DEFAULT SETTING
Output Hold

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 3 / 9

R7C-PA8TERMINAL CONNECTIONSConnect the unit as in the diagram below.
■ EXTERNAL DIMENSIONS unit: mm (inch)
115 (4.53)

17 (.66)

18.5 (.73)

54 (2.13)

50 (1.97)

DIN RAIL
35 mm wide

4

5

6
2

7
3

10 11 12 13 14 15 16 17 18
1

2

3

4

5

6

7

8

9

3 (.12)

1

5.5 (.22)

30 (1.18)

6 (.24)
7–M3 SCREWTERMINALS
for CC-Link, POWER[5 (.20)]

6 (.24)
18–M3 SCREWTERMINALS
for INPUT■ CONNECTION DIAGRAM■ Input Connection Examples
V+ 10

4 DA

V– 1

1 DB

PI0 11

5 DG

V– 1

V– 1

PI1 122 SLD

PI0 11

PI0 11PI2 13

3 FG

C0 2

C0 2

PI3 146 U (+)

PI4 157 V (–)
PI7 18PI7 18C7 9

C7 9

PNP connection+−

PI5 16NPN connection

V+ 10

PI6 17

−

+

V+ 10

C0 2
C1 3
C2 4
C3 5
C4 6
C5 7

EXTENSION CONNECTOR

PI7 18Voltage Pulse Input
Connected

V+ 10
V– 1

+

PI0 11–

C0 2+

PI7 18

–

C7 9

C6 8
C7 9

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 4 / 9

R7C-PA8MASTER CONNECTION
COMMUNICATIONCABLE CONNECTIONS
Master UnitTERMINATOR

blue

DA
white
DB
yellow
DG
SLD
FG

Remote Unit

Remote Unit

DA
DB
DG
SLD
FE

DA
DB
DG
SLD
FE

TERMINATOR

Be sure to connect the terminating resistor across DA and DB at both ends of communication line.
When this unit is located at an end, turn the terminating resistor SW ON.
The Master Unit can be located at not only both ends but also any node of the of communication line.

DATA ACQUISITION & SETTING
Parameter reset, preset and reading of each channel is available with command setting of R7C-PA8.
The command setting method differs depending on whether the data allocation is 1 or 4. Set the commands according to theprocedure explained next.
Parameter of each channel is two word integer not signed.
When overflowing, the value to which response can be set is “0” or “1”. (factory setting: 0)
The maximum range available is 1 000 to 4 294 967 295. (factory setting: 4 294 967 295)
■ DATA ALLOCATION 1
Master → Slave (R7C-PA8)
Bit Data
RY0_0
CH0 set
RY0_1
CH1 set
RY0_2
CH2 set
RY0_3
CH3 set
RY0_4
CH4 set
RY0_5
CH5 set
RY0_6
CH6 set
RY0_7
CH7 set
RY0_8
Command setting
0: Read data
1: Write data
RY0_9
Write data selection
through
00: Preset value
RY0_A
01: Overflow response value
10: Maximum value
RY0_B
Unusedthrough
RY0_F

Word Data

RWw0
RWw1
RWw2
RWw3

Extension output (0 through F)
UnusedData to write (lower)
Data to write (upper)

Slave (R7C-PA8) → Master
Bit Data
RX0_0
CH0 acknowldedge
RX0_1
CH1 acknowldedge
RX0_2
CH2 acknowldedge
RX0_3
CH3 acknowldedge
RX0_4
CH4 acknowldedge
RX0_5
CH5 acknowldedge
RX0_6
CH6 acknowldedge
RX0_7
CH7 acknowldedge
RX0_8
Command acknowledge
0: Read data
1: Write data
RX0_9
Write data acknowledge
through
00: Preset value
RX0_A
01: Overflow response value
10: Maximum value
RX0_B
Ready
RX0_C
Setting command error code
through
10: Normal operating
RX0_D
01: Setting overrange (Maximum
value etc.)
RX0_E
Unusedthrough
RX0_F
Word Data RWr0
Extension input (0 through F)
RWr1
UnusedRWr2
Data to read (lower)
RWr3
Data to read (upper)

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 5 / 9

R7C-PA8■ DATA ALLOCATION 4
Master → Slave (R7C-PA8)
Bit Data
RY0_0
CH0 set
RY0_1
CH1 set
RY0_2
CH2 set
RY0_3
CH3 set
RY0_4
CH4 set
RY0_5
CH5 set
RY0_6
CH6 set
RY0_7
CH7 set
RY0_8
Command setting
0: Read data
1: Write data
RY0_9
Write data selection
through
00: Preset value
RY0_A
01: Overflow response value
10: Maximum value
RY0_B
Unusedthrough
RY0_F

Word Data

RY1_0
through
RY1_F
RWw0
RWw1
RWw2
RWw3
RWw4
RWw5
RWw6
RWw7
RWw8
RWw9
RWw10
RWw11
RWw12
RWw13
RWw14
RWw15

Extension output unit data

CH0 data to write (lower)
CH0 data to write (upper)
CH1 data to write (lower)
CH1 data to write (upper)
CH2 data to write (lower)CH2 data to write (upper)
CH3 data to write (lower)CH3 data to write (upper)
CH4 data to write (lower)CH4 data to write (upper)
CH5 data to write (lower)CH5 data to write (upper)
CH6 data to write (lower)CH6 data to write (upper)
CH7 data to write (lower)CH7 data to write (upper)

Slave (R7C-PA8) → Master
Bit Data
RX0_0
CH0 acknowldedge
RX0_1
CH1 acknowldedge
RX0_2
CH2 acknowldedge
RX0_3
CH3 acknowldedge
RX0_4
CH4 acknowldedge
RX0_5
CH5 acknowldedge
RX0_6
CH6 acknowldedge
RX0_7
CH7 acknowldedge
RX0_8
Command acknowledge
0: Read data
1: Write data
RX0_9
Write data acknowledge
through
00: Preset value
RX0_A
01: Overflow response value
10: Maximum value
RX0_B
Ready
RX0_C
Setting command error code
through
10: Normal operating
RX0_D
01: Setting overrange (Maximum
value etc.)
RX0_E
Unusedthrough
RX0_F
RX1_0
Extension input unit data
through
RX1_F
Word data
RWr0
CH0 data to read (lower)
RWr1
CH0 data to read (upper)
RWr2
CH1 data to read (lower)
RWr3
CH1 data to read (upper)
RWr4
CH2 data to read (lower)
RWr5
CH2 data to read (upper)
RWr6
CH3 data to read (lower)
RWr7
CH3 data to read (upper)
RWr8
CH4 data to read (lower)
RWr9
CH4 data to read (upper)
RWr10
CH5 data to read (lower)
RWr11
CH5 data to read (upper)
RWr12
CH6 data to read (lower)
RWr13
CH6 data to read (upper)
RWr14
CH7 data to read (lower)
RWr15
CH7 data to read (upper)

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 6 / 9

R7C-PA8■ DATA ACQUISITION• Data allocation 1
In case of data allocation 1, reading data from 8 channels at once is not available. Read data channel by channel. Step 1
through 6 in the figure shown below are process to read one channel. To read data continuously, repeat the step 1 through 6.
1
RY0_8

Command/Data setting
2

RY0_0 through 75
6

3

RX0_0 through 7

4
RWrx

Read data

1) Set read command:0 in RY0_8.
2) Specify the read channels to RY0_7 to RY0_8. For channel 0, set “1” in RY0_0. When “1” is set, the command for specified
channel is executed.
3) When the command is received, the bit of specified channel (RX0_0 for channel 0) turns ON and then the data of specified
channel is set in RWr2 and RWr3.
4) Read the data. By reading RX0_C and RX0_D, confirm that read data is correctly done. In case of normal, RX0_C is “0”,RX0_D is “1”. In case of error, RX0_C is “1”, RX0_D is “0”.
5) After read data is completed, turn the bit of specified channel OFF. Also in case of error, turn the bit of specified channel
OFF for the next acquisition.
6) The bit of specified channel turns OFF after confirming, then the data of RX0_8 through RX0_A and RWr2 through RWr3
turn OFF at the same time.
• Data allocation 4
For data allocation 4, allocate 8 channel data to RWr0 through RWr15.
■ DATA SETTING
Data allocation 1 and 4 in setting data process is similar. Step 1 through 6 in the figure shown below are process to set. To
set data continuously, repeat the step 1 through 6.
1
RY0_8 through A

Command/Data setting

RY0_0 through 7
RX0_0 through 7

2

5
6

3
4

RWrx

Data set

1) Write setting command:1 to RY0_8.
• Data allocation 1
Write the channel number to specify in RWw0. For channel 0, write “0”.
Write the data selection in RY0_9 and RY0_A. For preset value, write “00”.
Write the data in RWw2 and RWw3. For 1 000 000 (decimal), write “000F” in RWw3 and “4240” in RWw2
• Data allocation 4
Write the data selection in RY0_9 and RY0_A. For preset value, write “00”.
Write the data in RWw0 through RWw15. Write for 8 channels at once. Write the data for all 8 channels.
To set 1 000 000 (decimal) to channel 0, write “000F” in RWw1 and “4240” in RWw0.
2) Turn RY0_0 OFF, then execute the command.
3) When the command is received and setting data is completed, RX0_0 is turned ON.
4) By reading RX0_C and RX0_D, confirm that setting is correctly done. In case of normal, RX0_C is “0”, RX0_D is “1”. In caseof error, RX0_C is “1”, RX0_D is “0”.
5) After data setting is completed, turn RY0_0 OFF. In case of error, turn RY0_0 OFF for the next data setting.
6) The bit of specified channel turns OFF after confirming RY0_0, RX0_0 is OFF. At the same time, the data of RX0_1 throughRX0_3, RX0_6 and RX0_7 turn OFF.

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 7 / 9

R7C-PA8DATA ALLOCATION■ R7C-PA8• Data allocation 1
Interval timed Response (X)Refresh Data (Y)RX (n+0)

RX (n+0) D – RX (n+0) 0: Command

RY (n+0)

RY (n+0) A – RY (n+0) 0: Command

RX (n+1)

UnusedRY (n+1)

UnusedInterval-timed Response (X)Refresh Data (Y)RWr (n+0)

Input extension

RWw (n+0)

Output extension

RWr (n+1)

UnusedRWw (n+1)

UnusedRWr (n+2)

Count data (LSB)

RWw (n+2)

Preset data (LSB)

RWr (n+3)

Count data (MSB)

RWw (n+3)

Preset data (MSB)• Data allocation 4Interval-timed Response (X)Refresh Data (Y)RX (n+0)

RX (n+0) D – RX (n+0) 0: Command

RY (n+0)

RY (n+0)A – RY (n+0) 0: Command

RX (n+1)

Input extension

RY (n+1)

Output extension

Interval-timed Response (X)Refresh Data (Y)RWr (n+0)

ch0 Count data (LSB)

RWw (n+0)

ch0 Preset data (LSB)

RWr (n+1)

ch0 Count data (MSB)

RWw (n+1)

ch0 Preset data (MSB)

RWr (n+2)

ch1 Count data (LSB)

RWw (n+2)

ch1 Preset data (LSB)

RWr (n+3)

ch1 Count data (MSB)

RWw (n+3)

ch1 Preset data (MSB)

RWr (n+4)

ch2 Count data (LSB)

RWw (n+4)

ch2 Preset data (LSB)

RWr (n+5)

ch2 Count data (MSB)

RWw (n+5)

ch2 Preset data (MSB)

RWr (n+6)

ch3 Count data (LSB)

RWw (n+6)

ch3 Preset data (LSB)

RWr (n+7)

ch3 Count data (MSB)

RWw (n+7)

ch3 Preset data (MSB)

RWr (n+8)

ch4 Count data (LSB)

RWw (n+8)

ch4 Preset data (LSB)

RWr (n+9)

ch4 Count data (MSB)

RWw (n+9)

ch4 Preset data (MSB)

RWr (n+10)

ch5 Count data (LSB)

RWw (n+10)

ch5 Preset data (LSB)

RWr (n+11)

ch5 Count data (MSB)

RWw (n+11)

ch5 Preset data (MSB)

RWr (n+12)

ch6 Count data (LSB)

RWw (n+12)

ch6 Preset data (LSB)

RWr (n+13)

ch6 Count data (MSB)

RWw (n+13)

ch6 Preset data (MSB)

RWr (n+14)

ch7 Count data (LSB)

RWw (n+14)

ch7 Preset data (LSB)

RWr (n+15)

ch7 Count data (MSB)

RWw (n+15)

ch7 Preset data (MSB)

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 8 / 9

R7C-PA8I/O DATA DESCRIPTIONS■ R7C−PA8• RX (n+0)• RY (n+0)

15

0

15

Channel No.
Command acknowledge
Data acknowledge
Ready signal
Error display
Unused0Channel No.
Command acknowledge
Data selection
UnusedWIRING INSTRUCTIONS■ SCREW TERMINALTorque: 0.5 N·m■ SOLDERLESS TERMINAL
Refer to the drawing below for recommended ring tongue
terminal size. Spade tongue type is also applicable.
Applicable wire size: 0.25 to 1.65 mm2 (AWG 22 to 16)
Recommended manufacturer: Japan Solderless Terminal
MFG. Co., Ltd, Nichifu Co., Ltd

6 (.24) max

3.3 (.13) max

mm (inch)

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7801-AJ Rev.5

P. 9 / 9