Thank you for choosing M-System. 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 M-System’s Sales Office or representatives.
Confirm Model No. marking on the product to be exactly
what you ordered.
■ INSTRUCTION MANUAL
This manual describes necessary points of caution when
you use this product, including installation, connection and
basic maintenance procedures.
POINTS OF CAUTION
■ HOT INSERTION/REMOVAL OF MODULES
• It is possible to replace the module with the power is supplied. Be sure to replace it when the module is not communicating with a host, as it is possible to affect the system. However, replacing multiple modules at once may
greatly change line voltage levels. We recommend that
you replace them one by one.
MODEL
■ AND ....
• The unit is designed to function as soon as power is supplied, however, a warm up for 10 minutes is required for
satisfying complete performance described in the data
sheet.
R3-NM3
INSTALLATION
Use the Installation Base Model R3-BS, or Model R3-BSW
for free I/O address capability.
Before mounting the Network Interface Module onto the
Base, be sure to configure the module as explained below.
■ DATA ALLOCATION
The setting determines the data area size assigned to each
I/O module mounted on the base.
The data sent/received via Modbus is mapped according to
this setting.
See “COMPONENT IDENTIFICATION” and “MODBUS
I/O ASSIGNMENTS”.
■ NODE ADDRESS & BAUD RATE, ETC.
See “COMPONENT IDENTIFICATION”.
■ NETWORK SLOTS ON THE BASE
I/O 1I/O 2I/O n
■ POWER INPUT RATING & OPERATIONAL RANGE
• Locate the power input rating marked on the product and
confirm its operational range as indicated below:
• DO NOT set the switches on the module while the power
is supplied. The switches are used only for maintenance
without the power.
■ ENVIRONMENT
• Indoor use.
• When heavy dust or metal particles are present in the
air, install the unit inside proper housing with sufficient
ventilation.
• 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.
With Model R3-BS base, mount the I/O Modules from the
left end (I/O 1) to the right in order that the Network Module assigns data areas from I/O 1.
Network Module(s) and Power Module are mounted basically at the right end though technically they could be
mounted in any position.
With Model R3-BSW base, there is no limitation in mounting positions as I/O address can be assigned freely to each
module using rotary switches equipped on the base.
Set the module’s node address in hexadecimal with SA1 and
SA2. (Setpoint adjustment: 01 – F7)
■ FRONT DIP SW
(*) Factory setting
• Baud Rate: SW6-1, 6-2
SW
38.4k (*)19.2k9600
BAUD RATE (bps)
4800
SW6-1OFFONOFFON
SW6-2OFFOFFONON
• Parity: SW6-3, 6-4*
SW
1
PARITY
NONE (*)ODDEVEN
N/A
SW6-3OFFONOFFON
SW6-4OFFOFFONON
• Data Mode: SW6-5*
SW
1
DATA MODE
RTU (Binary)ASCII
SW6-5OFFON
*1. Bit assignment according to Parity and Data Mode setting.
MODESTA RTDATAPARITYSTOP
RTU
ASCII
1811
18None2
1711
17None2
Note: Be sure to set unused SW6-6 through 6-8 to OFF.
DIP SW
SW3
4
3
2
1
ON
SW2
8
7
6
5
4
3
2
1
ON
SW1
8
7
6
5
4
3
2
1
ON
■ SIDE DIP SW
(*) Factory setting
• Data Allocation: SW1, SW2
2
Data Allocation Type*
must be assigned to each I/O module
slot position to specify how many data areas (four types) are
to be occupied by each.
Two bits from SW1 and SW2 are assigned to each position,
and data areas can be specified from the slot No. 1 through
8. Setting for No. 9 and later slots is identical to No. 8.
*2. Refer to the specifications of the related series for the Data
Allocation Type of I/O modules.
• Dual Communication: SW3-1
When two network modules are mounted, one must be
‘Main’ (OFF) network and the other must be ‘Sub’ (ON) network. For single communication, the network module must
always be set to ‘Main’ (OFF).
Hold: When the communication from an input module is lost
due to the input module error, the network module holds the
signal and stands by until the communication recovers.
Set to ‘0’: When the communication from an input module
is lost due to the input module error, the network module
outputs ‘0.’
SW
SW3-2OFFON
INPUT ERROR DATA
HOLD (*)
SET ‘0’
• Main/Sub Switching Control: SW3-3
The host PC or PLC can choose whether ‘Main’ or ‘Sub’ bus
is used when the switching control is set to ‘Host.’
In ‘Normal’ mode, ‘Main’ bus is normally used, while ‘Sub’
bus is when the main communication has failed.
Be sure to match this control mode for both network modules in dual communication mode.
SW
SW3-3OFFON
Note: Set SW3-3 to OFF for use in single communication mode.
MAIN/SUB SWITCHING CONTROL
NORMAL (*)
HOST
• LED Function: SW3-4
Functions assigned to the front RUN and ERR LEDs can
be selected.
SW3-4
OFF (*)Green when normalGreen when abnormal
ONRed when receivingRed when transmitting
LED FUNCTION
RUNERR
R3-NM3
PC CONFIGURATOR
With configurator software, settings shown below are available.
Refer to the software manual of R3CON for detailed operation.
■ NETWORK MODULE SETTING
PARAMETERAVAILABLE RANGEDEFAULT SETTING
Time (no communication time)0.2 – 3200.0 (sec.)3.0 (sec.)
■ M3 SCREW TERMINAL (power input, RUN contact output)
Torque: 0.5 N·m
■ SOLDERLESS TERMINAL
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.Ltd, Nichifu Co.,ltd
Applicable wire size: 0.75 to 1.25 mm
3max
4min
2
3.2 dia.
*Not provided with ‘No Power Supply’ type module.
Caution: FG terminal is NOT a protective conductor terminal.
Applicable wire size: 0.2 to 2.5 mm
Stripped length: 7 mm
MODBUS
INTERFACE
MODULE
DA
DB
DG
SLD
FG
FG
FG
(mm)
2
(AWG24 to 12)
MODBUS
INTERFACE
MODULE
DA
DB
DG
SLD
FG
EM-8330 Rev.3 P. 4 / 9
R3-NM3
MODBUS FUNCTION CODES & SUPPORTED CODES
■ Data and Control Functions
CODE NAME
01Read Coil StatusXDigital output from the slave
02Read Input StatusXStatus of digital inputs to the slave
03Read Holding RegistersXGeneral purpose register within the slave
04Read Input RegistersXCollected data from the field by the slave
05Force Single CoilXDigital output from the slave
06Preset Single RegistersXGeneral purpose register within the slave
07Read Exception Status
08DiagnosticsX
09Program 484
10Poll 484
11Fetch Comm. Event CounterXFetch a status word and an event counter
12Fetch Comm. Event LogXA status word, an event counter, a message count and a field of event bytes
13Program Controller
14Poll Controller
15Force Multiple CoilsXDigital output from the slave
16Preset Multiple RegistersXGeneral purpose register within the slave
17Report Slave IDXSlave type / ‘RUN’ status
18Program 884/M84
19Reset Comm. Link
20Read General Reference
21Write General Reference
22Mask Write 4X Register
23Read/Write 4X Register
24Read FIFO Queue
■ Exception Codes
CODE NAME
01Illegal Function
02Illegal Data Address
03Illegal Data Value
X
Function code is not allowable for the slave
X
Address is not available within the slave
X
Data is not valid for the function
04Slave Device Failure
05Acknowledge
06Slave Device Busy
07Negative Acknowledge
08Memory Parity Error
■ Diagnostic Subfunctions
CODE NAME
00Return Query DataXLoop back test
01Restart Comm. OptionXReset the slave and clear all counters
02Return Diagnostic RegisterXContents of the diagnostic data (2 bytes)
03Change ASCII Input DelimiterXDelimiter character of ASCII message
04Force Listen Only ModeXForce the slave into Listen Only Mode
1025Main / Sub Switching Command (valid only with SW3-3 set to ON)
Inputs (1X)1 – 1024Digital Input (discrete input)
1025 – 1040Module Status
1041 – 1056Error Status
1057 – 1072Data Error Status
Input Registers (3X)1 – 256IAnalog Input
257 – 768FAnalog Input
Holding Registers (4X)1 – 256IAnalog Output
257 – 768FAnalog Output
2001 – 50000Extended I/O
I: Integer, 0 – 10000 (0 – 100%)
F: Floating (32-bit data cannot be accessed using floating addresses.)
Note: DO NOT access addresses other than mentioned above. Such access may cause problems such as inadequate operation.
• Module Status indicates whether individual I/O module are mounted or not. The bit corresponding to the mounted slots
turns to “1,” and the unmounted slots to “0.”
• Error Status indicates error status for each module as described below. The bit corresponding to such modules turns to “1.”
R3-TSx, R3-RSx, R3-US4: Input burnout
R3-DA16A: Power input in error or disconnected
R3-YSx: Output current error (e.g. load unconnected)
• Data Error Status indicates overrange (R3-US4: out of -10% to +110%; the other types: out of -15% to +115%) status for each
module. The bit corresponding to such modules turns to “1.”
• Main / Sub Switching Commands given to the network modules result as follows:
‘MAIN’ MODULE‘SUB’ MODULEOUTPUT MODE
10Main bus is used; Red light turns on at RUN LED of the I/O modules.
01Sub bus is used; Green light turns on at RUN LED of the I/O modules.
11Main bus is used; Amber light turns on at RUN LED of the I/O modules.
00Output is invalid; RUN LED of the I/O modules turns off.
• In the extended I/O area, 3000 words are mapped for each I/O module.
Refer to the instruction manual of each I/O module for details.
DIP SW located at the side of the module specifies each I/O module’s data allocation (occupied data area).
For example, when the data areas are assigned as shown below:
Module 1 4
Module 2 4
Module 3 4
Module 4 1
Module 5 1
Module 6 1
Module 7 1
Then the I/O data are assigned as in the table below:
ADDRESSPOSITIONADDRESSPOSITION
Input Registers (3X)
Holding Registers (4X)
For Coil (0X) and Inputs (1X), addresses 16 times assigned data areas (Data Allocation Type) are allotted with the Data Allocation Type ‘1’ and ‘4.’ With ‘8’ and ‘16,’ 64 (4 × 16) are automatically assigned.
Shows each module’s availability and error status.
15
0
Module 1
Module 2
Module 3
:
Module 16
I/O DATA DESCRIPTIONS
The data allocations for typical I/O modules are shown below.
Refer to the manual for each module for detailed data allocations.
■ ANALOG DATA (16-bit data, models: R3-SV4, YV4, DS4, YS4 and US4, etc.)
16-bit binary data.
Basically, 0 to 100% of the selected I/O range is converted into 0 to 10000 (binary). Negative percentage is represented in 2’s
complements.
15
■ TEMPERATURE DATA (16-bit data, models: R3-RS4, TS4 and US4, etc.)
16-bit binary data.
With °C temperature unit, raw data is multiplied by 10. For example, 25.5°C is converted into 255.
With °F temperature unit, the integer section of raw data is directly converted into the data. For example, 135.4°F is converted into 135.
Minus temperature is converted into negative values, represented in 2’s complements.
■ ANALOG DATA (16-bit data, models: R3-CT4A, CT4B, etc.)
16-bit binary data.
Integer that engineering unit value (A) multiplied by 100 (for CLSE-R5, integer that engineering unit value (A) multiplied
by 1000).
32-bit binary data is used for accumulated counts and encoder positions.
Lower 16 bits are allocated from the lowest address to higher ones, higher 16 bits in turn.
32-bit data cannot be accessed using floating addresses.
15
+0
15
+1
0
Lower 16 bits
0
Higher 16 bits
■ BCD DATA (32-bit data, models: R3-BA32A, BC32A, etc.)
32-bit binary data is used for BCD.
Lower 16 bits are allocated from the lowest address to higher ones, higher 16 bits in turn.
32-bit data cannot be accessed using floating addresses.
Communication StatusStartMain LostMain RestoredSwitching by Host
R3 sub network
(main/sub switching control)
Address : 01025 = 1
Address : 01025 = 0
(1)(2)(3)(4)(5)
1) When the main/sub switching control for both main and sub network is set to ‘0,’ all contact outputs are off, and analog
output modules output -15%.
2) When the main’s setting is switched to ‘1,’ the output modules are in control of the main host device.
3) When a loss of communication is detected in the main network, the output signal is held for the preset time period. (Timer
is programmable with the PC Configurator Software, R3CON.) After the time has been elapsed, the output control is
switched from the main to the sub network. Be sure to set an appropriate output signal to the sub network and switch the
sub’s setting to ‘1’ before such switching occurs.
4) The output modules’ control does not automatically switched back to the main’s when the main network is restored if the
main’s setting is ‘0.’ Be sure to switch the setting back to ‘1’ before the communication is restored.
5) When both the main and the sub network modules are in communication, the output can be switched without delay.