R7E-DA16

INSTRUCTION MANUALDISCRETE INPUT MODULE, 16 points(Ethernet Modbus/TCP)BEFORE USE ....
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.
■ PACKAGE INCLUDES:
Discrete input module....................................................... (1)■ MODEL NO.
Confirm that the model number described on the product isexactly what you ordered.
■ INSTRUCTION MANUALThis manual describes necessary points of caution whenyou use this product, including installation, connection andbasic maintenance procedures.

POINTS OF CAUTION■ CONFORMITY WITH EU DIRECTIVES• The equipment must be mounted inside the instrument
panel of a metal enclosure.
• The actual installation environments such as panel configurations, connected devices and connected wires may
affect the protection level of this unit when it is integrated in a panel system. The user may have to review the CE
requirements in regard to the whole system and employ
additional protective measures to ensure CE conformity.
* For example, installation of noise filters and clamp filters for the power source, input and output connectedto the unit, etc.
■ POWER INPUT RATING & OPERATIONAL RANGE• Locate the power input rating marked on the product andconfirm its operational range as indicated below:
24V DC rating: 24V ±10%, approx. 74mA

MODEL

R7E-DA16■ GENERAL PRECAUTIONS• Before you remove the unit or mount it, turn off the power
supply and input signal for safety.
• Before you remove the terminal block or mount it, makesure to turn off the power supply and input signal forsafety.
• 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 continuousvibration. 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 drivecable, 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.
• Be sure to close the terminal cover for safety.
■ SECURITY PRECAUTIONS• In the network environment where this module is installed, to maintain the security of the system (availability, integrity, confidentiality) against unauthorized accessfrom external devices via the network such as the Internet, DoS attacks, and other cyber attacks, take measures
such as installing firewalls or VPNs.
• We will not be responsible for any issues arising from system troubles caused by cyber attacks.
■ AND ....
• The unit is designed to function as soon as power is supplied, however, a warm up for 10 minutes is required forsatisfying complete performance described in the datasheet.

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

P. 1 / 7

R7E-DA16COMPONENT IDENTIFICATION■ SIDE VIEW

■ FRONT VIEW
Operating Mode Setting DIP SW (SW1)
PC Configurator Jack
Discrete Input Status Indicator LED

Status Indicator LED

1 2 3 4 5 6 7 8PWR

LINK
RUN

0 1 2 3 4 5 6 7 8 9 A B C D E F

COL

LINK1004CNFG.

5162RJ-45 Connector■ STATUS INDICATOR LED

7310 11 12 13 14 15 16 17 18123456Power Supply Terminals

789Input Terminals■ POWER SUPPLY TERMINAL ASSIGNMENTID

COLOR

FUNCTIONPWRGreenTurns on when the internal 5V is supplied normally.

RUNGreenTurns on in normal communications
conditions.

NO.

IDLINKGreen

Turns on in LINK status.

1NC----

LINK100

Green

Turns on when connected in 100 Mbps. *12NC----COL

GreenBlinks in case of collisions.

4NC15NCNC
267+24V 0V
3NCFG

FUNCTION, NOTES

3FG

FG

*1. Used only in 100BASE link. Dark in 10BASE link.

4NC

----

■ EXTENSION MODULE
Combination with all the extension modules is available.

5NC----

6+24V

Power input (24V DC)

70VPower input (0V)

■ OPERATING MODE(*) Factory setting■ INPUT TERMINAL ASSIGNMENT• EXTENSION (SW1-1, 1-2)
SW1-1

SW1-2

EXTENSIONOFFOFFNo extension (*)

ONOFF

Discrete input, 8 or 16 points

OFFON

Discrete output, 8 or 16 points

101112131415161718NC
X1
X3
X5
X7
X9
XB
XD
XF
123
4
5
6
789
COM X0
X2
X4
X6
X8
XA
XC
XE

NO.

ID

FUNCTIONNO.

ID

FUNCTION

Caution ! - SW1-3 through 1-8 are unused. Be sure to turn off
unused ones.

1COMCommon

10NC

No Connection

2

X0Input 0

11X1Input 1■ DISCRETE INPUT STATUS INDICATOR LED
Discrete input modules have LED indicators showing input
signal status.
Contact ON : LED ON
Contact OFF : LED OFF3X2

Input 212X3

Input 3

4X4

Input 413X5Input 55X6

Input 6

14X7

Input 7

6X8

Input 815X9Input 97XA

Input 10

16XB

Input 11

■ PC CONFIGURATOR
Ethernet setting is available by using PC configurator software.
Refer to the users manual for the R7CON for detailed
operation of the software program.

8XC

Input 12

17XD

Input 13

9XE

Input 14

18XF

Input 15

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

P. 2 / 7

R7E-DA16PC CONFIGURATOR
The following parameter items can be set with using PC Configurator Software (model: R7CON).
Refer to the users manual for the R7CON for detailed operation of the software program.
■ COMMUNICATION SETTING
PARAMETER
Communication timeout

AVAILABLE RANGE
0 – 32767 (0.1 sec.)

DEFAULT SETTING
30 (0.1 sec.)

AVAILABLE RANGE
0.0.0.0 – 255.255.255.255
0.0.0.0 – 255.255.255.255
0.0.0.0 – 255.255.255.255
0 – 32767
0 – 32767 (0.1 sec.)

DEFAULT SETTING
192.168.0.1
255.255.255.0
192.168.0.1005021800 (0.1 sec.)■ ETHERNET SETTING
PARAMETER
IP Address
Subnet Mask
Default Gateway
TCP Socket
Linger

EXTERNAL DIMENSIONS unit: mm [inch]
115 (4.53)

54 (2.13)

18.5 (.73)

17 (.66)

DIN RAIL
35mm wide

50 (1.97)

RJ-45 CONNECTOR

45627310 11 12 13 14 15 16 17 181234567893(.12)

16 (.24)
7–M3 SCREWTERMINALS
for POWER

6 (.24)[5 (.20)]

5.5 (.22)

30 (1.18)
65 (2.56)

18–M3 SCREWTERMINALS
for INPUT

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7807-F Rev.7P. 3 / 7

R7E-DA16CONNECTION DIAGRAM
Connect the unit as in the diagram below.
Note: In order to improve EMC performance, bond the FG terminal to ground.
Caution: FG terminal is NOT a protective conductor terminal.
■ INPUT CONNECTION EXAMPLES
COM 1624VDC

X0 270V

X2 33FG

X4 4Modbus/
RJ-45
CONNECTOR TCP+ –EXTENSION CONNECTOR

X6 5
X8 6
XA 7XC 8XE 9
X1 11

PNP Connection
COM 1NPN Connection– +COM 1

X0 2

X0 2

XF 18

XF 18

X3 12
X5 13
X7 14
X9 15
XB 16
XD 17
XF 18

WIRING INSTRUCTIONS■ SCREW TERMINALTorque: 0.5 N·m■ SOLDERLESS TERMINAL mm (inch)
Refer to the drawing below for recommended ring tongue
terminal size. Spade tongue type is also applicable. Solderless terminals with insulation sleeve do not fit.
Recommended manufacturer: Japan Solderless Terminal
MFG.Co.LtdOthers: 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) maxmm (inch)

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

P. 4 / 7

R7E-DA16CONFIRMING ETHERNET CONNECTION■ IP ADDRESSThe R7E does not support BootP Table Software. The IP Address and Subnet Mask can be configured using the R7CON
Configurator Software.
The Modbus/TCP Port No. is fixed at 502.
■ CHECK WIRING
Connect an Ethernet cable to the RJ-45 connector.
■ CHECK LEDWhen wiring is correct, LINK is turned on. When the module is connected in 100 Mbps, LINK100 is blinking.**. For firmware revision V0.20 or later, LINK100 is ON.

■ CHECK R7E CONNECTIONEnter “ping command” on the Windows MS-DOS as follows:		C:¥WINDOWS>ping ***.***.***.***		(***.***.***.***: Enter IP address in decimal.)		ping ***.***.***.*** with 32 bytes of data:		Reply from ***.***.***.*** : bytes=32 time<10ms TTL=64		Reply from ***.***.***.*** : bytes=32 time<10ms TTL=64		Reply from ***.***.***.*** : bytes=32 time<10ms TTL=64		Reply from ***.***.***.*** : bytes=32 time<10ms TTL=64		Ping statistics for ***.***.***.***		Packets:Sent=4,Received=4,Lost=0(0% loss)
Replies in case of normal connection are as shown above. If the connection cannot be established normally due to e.g. wrong
IP address, other replies such as ‘timeout’ will be received.
■ CHECK CONNECTION TO THE APPLICATION SOFTWARECheck Point 1: LINK LEDs
When normal connection with PC, PLC or hub is established, the front LINK and LINK100 (when connected in 100 Mbps)
is/are turned on regardless of data sending/receiving status. Check power supply to the switch/hub in case that these LEDs
are not on.
Check Point 2: RUN Indicator LED
A green light turns on at the RUN Indicator LED in normal data sending/receiving with an application.

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

P. 5 / 7

R7E-DA16MODBUS FUNCTION CODES & SUPPORTED CODES■ Data and Control Functions
CODE01

NAME
Read Coil Status

X

Digital output from the slave (read/write)

02

Read Input Status

X

Status of digital inputs to the slave (read only)

03

Read Holding Registers

X

General purpose register within the slave (read/write)

04

Read Input Registers

X

Collected data from the field by the slave (read only)

05

Force Single CoilX

Digital output from the slave (read/write)

06

Preset Single Registers

X

General purpose register within the slave (read/write)

07

Read Exception Status

08

Diagnostics

09

Program 484

10Poll 484

11

Fetch Comm. Event Counter

12

Fetch Comm. Event Log

13

Program Controller

14

Poll Controller

15

Force Multiple Coils

X

X

Fetch a status word and an event counterX

A status word, an event counter, a message count and a field of event
bytes

X

Digital output from the slave (read/write)

16

Preset Multiple Registers

XGeneral purpose register within the slave (read/write)

17

Report Slave ID

X

Slave type / ‘RUN’ status

18

Program 884/M84

19

Reset Comm. Link

20

Read General Reference

21

Write General Reference22

Mask Write 4X Register

23

Read/Write 4X Register

24

Read FIFO Queue■ Exception Codes
CODENAME

01

Illegal Function

XFunction code is not allowable for the slave

02

Illegal Data Address

X

Address is not available within the slave

X

Data is not valid for the function

X

Loop back test

03

Illegal Data Value04

Slave Device Failure05

Acknowledge

06

Slave Device Busy

07

Negative Acknowledge

08

Memory Parity Error■ Diagnostic Subfunctions
CODENAME

01

Return Query Data

02

Restart Comm. Option

03

Change ASCII Input Delimiter04

Force Listen Only Mode

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

P. 6 / 7

R7E-DA16MODBUS I/O ASSIGNMENTS
ADDRESS
Coil (0X)
Inputs (1X)

Input Registers (3X)

Holding Registers (4X)

DATA TYPE

DATA

1 – 16

Digital Output (discrete output of the basic module)

17 – 32

Digital Output (discrete output of the extension module)

1 – 16

Digital Input (discrete input of the basic module)

17 – 32

Digital Input (discrete input of the extension module)

33 – 48

Reserved (unused)

49 – 64

Module Status

65 – 80

Reserved (unused)

1–4

I

Analog Input

5 – 16----

Reserved (unused)

17 – 24

F

Analog Input

25 – 48----

Reserved (unused)

1–2

I

Analog Output

3 – 16----

Reserved (unused)

17 – 20F

Analog Output

21 – 48----

Reserved (unused)■ DATA TYPE
I : Integer, -1500 – +11500 (-15 – +115%)
F : Floating
Note: DO NOT access addresses other than mentioned above. Such access may cause problems such as inadequate operation.

■ STATUS
Bit 0 to 7: Fixed to 0.
150

Fixed to 0
Fixed to 0
Fixed to 0
Fixed to 0
Fixed to 0
Fixed to 0
Fixed to 0
Fixed to 0
UnusedUnusedUnusedUnusedUnusedUnusedUnusedUnusedMG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPANEM-7807-F Rev.7

P. 7 / 7