R7E-YS2

INSTRUCTION MANUALDC CURRENT OUTPUT MODULE, 2 points MODEL(Ethernet Modbus/TCP)

R7E-YS2■ GENERAL PRECAUTIONS• Before you remove the unit or mount it, turn off the power
supply and output signal for safety.

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.

■ 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.

■ PACKAGE INCLUDES:
DC current output 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 when
you use this product, including installation, connection andbasic maintenance procedures.

■ 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.

POINTS OF CAUTION■ 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.

■ CONFORMITY WITH EU DIRECTIVES• 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.
■ 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. 161mA

COMPONENT IDENTIFICATION■ SIDE VIEW

■ FRONT VIEW
Status Indicator LED

Operating Mode Setting DIP SW (SW1)
PC Configurator Jack1 2 3 4 5 6 7 8
LINK

PWR

RUN4CNFG.

51RJ-45 Connector

COL

LINK100627361Power Supply Terminals

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN728394105

Output Terminals

EM-7807-E Rev.5

P. 1 / 6

R7E-YS2■ STATUS INDICATOR LEDIDCOLOR

FUNCTION

PWR

Green

Turns on when the internal 5V is supplied normally.

RUNGreen

Turns on in normal communicationsconditions.

■ POWER SUPPLY TERMINAL ASSIGNMENT
4NO.

ID

NC
15NC

NC
267+24V 0V
3NCFG

FUNCTION, NOTESLINKGreen

Turns on in LINK status.

1NC

----

LINK100

Green

Turns on when connected in 100 Mbps. *12NC

----

COL

Green

Blinks in case of collisions.

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■ OUTPUT TERMINAL ASSIGNMENT• Extension (SW1-1, 1-2)
SW1-1

SW1-2

ExtensionOFFOFF

No extension (*)

ONOFF

Discrete input, 8 or 16 points

OFFON

Discrete output, 8 or 16 points• Output at the Loss of Communication (SW1-4)
SW1-4

Output at the loss of communication

OFF

Reset the output (to -15% or approx. -11.5V DC)

ON

Hold the output (*)(maintains the last data received normally)

Caution: SW1-3, 1-5 through 1-8 are unused. Be sure to turnoff unused ones.

678910NCI0NC
I1NC
12345NC COM0 NC COM1 NC

NO.
12345ID

FUNCTIONNO.

ID

FUNCTIONNC

No connection

6NC

No connection

7I0Current 08NC

No connection

9I1Current 110NC

No connection

COM0 Common 0NC

No connection

COM1 Common 1
NC

No connection■ PC CONFIGURATOR
The PC Configurator software (model: R7CON) is used toset the ethernet communication setting and check the firmware version and settings. The following parameters foreach channel can be set.
• SETTINGS FOR INDIVIDUAL CHANNELS
Zero / Full scale
Gain / BiasZero / Full temp
• SETTINGS FOR ALL CHANNELS
IP address
Subnet mask
For more information about the programming using theR7CON, please refer to the R7CON Users Manual.

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

P. 2 / 6

R7E-YS2

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

456276137210983453(.12)

16 (.24)
7–M3 SCREWTERMINALSfor POWER

6 (.24)
10–M3 SCREWTERMINALS
for OUTPUTCONNECTION DIAGRAMWIRING INSTRUCTIONSConnect the unit as in the diagram below.

■ SCREW TERMINALTorque: 0.5 N·m

Note: In order to improve EMC performance, bond the FG terminal to ground.
Caution: FG terminal is NOT a protective conductor terminal.
OUTPUT 024V DC

67 I00V

72 COM0FG

39 I1■ SOLDERLESS TERMINAL mm (inch)
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 (AWG22 to 16)
Recommended manufacturer: Japan Solderless Terminal
MFG. Co.,Ltd., Nichifu Co.,Ltd.
3.3 (.13) max

MG CO., LTD. www.mgco.jp
5-2-55 Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN

6 (.24) max

4 COM1EXTENSION CONNECTOR

Modbus/RJ-45
TCP CONNECTOROUTPUT 1[5 (.20)]

5.5 (.22)

30 (1.18)
65 (2.56)mm (inch)

EM-7807-E Rev.5

P. 3 / 6

R7E-YS2CONFIRMING 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 LED
When 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-E Rev.5

P. 4 / 6

R7E-YS2MODBUS FUNCTION CODES & SUPPORTED CODES■ Data and Control Functions
CODENAME

01

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

X

Fetch a status word and an event counter

Fetch Comm. Event Log

X

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

12

X

13

Program Controller

14

Poll Controller

15

Force Multiple Coils

X

Digital output from the slave (read/write)

16

Preset Multiple Registers

X

General purpose register within the slave (read/write)

17

Report Slave ID

X

Slave type / ‘RUN’ status

18

Program 884/M84

19Reset 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

X

Function code is not allowable for the slave

02

Illegal Data Address

X

Address is not available within the slave

03

Illegal Data ValueX

Data is not valid for the function

04

Slave Device Failure05

Acknowledge

06

Slave Device Busy

07

Negative Acknowledge

08

Memory Parity Error

X

Loop back test

■ Diagnostic Subfunctions
CODENAME

00

Return Query Data

01

Restart Comm. Option

02

Return Diagnostic Register

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-E Rev.5

P. 5 / 6

R7E-YS2MODBUS 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 –		 4I

Analog Input

5 – 16----

Reserved (unused)

17 – 24

F

Analog Input

25 – 48----

Reserved (unused)

1 –		 2I

Analog Output

3 – 16----

Reserved (unused)

17 – 20

F

Analog Output

21 – 48----

Reserved (unused)

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
Analog input modules (models: R7E-SV4, R7E-TS4, R7E-RS4, R7E-MS4, R7E-CT4E) can show input status of each channel.
Analog output modules (models: R7E-YS2, R7E-YV2) and discrete I/O modules (models: R7E-DA16, R7E-DC16A, R7EDC16B) shows ‘0’ at the same address.
150

Input 0 (Burnout, input range error)
Input 1 (Burnout, input range error)
Input 2 (Burnout, input range error)
Input 3 (Burnout, input range error)
Input 0 (ADC error)
Input 1 (ADC error)
Input 2 (ADC error)
Input 3 (ADC error)
Unused:Unused
Burnout, input range error (≤-15%, ≥+115%)
0 : Normal 1 : Error
ADC error (no response from ADC)
0 : Normal 1 : Error

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

P. 6 / 6