
SM210
RS485 - JBUS/MODBUS®for SM102E
§
User instructions

Contents
Preliminary operations ................................................... 1
§
General informations...................................................... 1
Installation ...................................................................... 2
Programmation............................................................... 3
Acces to programming mode (COde= 100) ....................... 3
Communication address............................................... 5
Communication speed ................................................. 6
Communication parity.................................................. 6
Communication stop bit ............................................... 7
To quit programming ................................................... 7
Communication .............................................................. 8
The standard communications frame............................... 8
Communication table................................................... 8
Technical characteristics ............................................... 8
Glossary of abbreviations.............................................. 8

Preliminary operations
N 1 N n
R=120Ω R=120Ω R=120Ω
+ - - +
RS485
R=120Ω
RS232
N 1 N 2 N n
R=120Ω
RS485
R=120Ω
RS232
For personnel and product safety please read the
contents of these operating instructions carefully before
connecting.
Check the following points as soon as you receive the
package:
General informations
Functions
The optional IP Communication module must be connected
to the SM102E. It provides an RS485 serial link (2 or 3 wires)
with JBUS/MODBUS®protocol for the use of SM102E from
a PC or PLC.
• the packing is in good condition
• the product has not been damaged during transit
• the product reference number conforms to your order
• the package contains the product and the operating
instructions.
General points
For a standard configuration, an RS485 link is used to
connect up to 31 SM102E or SM103E with a PC or a PLC
over a distance of 1200 metres, using JBUS/MODBUS
protocol.
®
PLC
PLC
~–1200 M or 32 UL ~–1200 M or 32 UL
Recommendations
You should use a shielded twisted pair (LIYCY type). In a
disturbed environment or large network (in terms of
length) we recommend the use of a shielded twisted pair
(type LIYCY-CY).
A repeater (1 channel) or an arrestor (4 channels) should
be used if you intend to exceed the distance (1200 m.)
and/or maximum number (31) of SM102E.
Please contact us for more information.
~–1200 M or 32 UL
Repeater
N.B.
A 120 ohm resistance (found on the additional module)
must be fixed at both ends of the link.
1

O
N
1
NO
1
-
V
0+
=
R
0
2
1
Installation
The SM102E product must be disconnected.
Fix the module in one of the
21
two positions.
4 Follow indications when connecting the terminal.
Switch on voltage supply.
3
Notes
2

Programmation
x 1
3 sec
x 1
confirm
x 1
x 1
Access to programming mode (COdE = 100)
3

x 1 (19,2 kbauds)
x 2 (38,4 kbauds)
x 3 (2,4 kbauds)
x 4 (4,8 kbauds)
x 5 (9,6 kbauds)
x 1
confirm
x 1
Programmation
x 1
x 2
x 3
x 1
confirm
x 1
Communication speed
Example: BDS = 38,4 bauds
Communication parity
Example: PAr = EvEn
(Odd = odd parity)
(Even = even parity)
(no = without parity)
6

Communication
The JBUS/MODBUS®used by the SM102E involves a
dialogue using a master-slave hierarchical structure.
There are two possible dialogues:
• the master communicates with a slave and waits for its
reply.
• The master communicates with all the slaves without
waiting for their reply.
The mode of communication is the RTU (Remote Terminal
Unit) using hexadecimal characters of at least 8 bits.
The standard communications frame
The standard communications frame consists of:
Slave address Function code Address Data CRC 16
According to the JBUS/MODBUS®protocol, transmission
time must be less than 3 silences, i.e. the emission time
of 3 characters so that the message is processed. To
correctly use information, the following functions are
important:
3 : to read n words (maximum 128).
6 : to write one word.
8 : to diagnose exchanges between the master and the
slave via meters 1, 3, 4, 5 and 6.
16 : to write n words (maximum 128).
Nota
1 word <=> 2 octets <=> 16 bits
2 w o rds <=> 4 octets <=> 32 bits
When selecting slave address 0, a message is sent to all
the instruments present on the network (only for functions
6 and 16)
Comment
T he response time (time out question/answer) is 250 ms
maximum.
C ommunication table
The communication tables are available on the CD-Rom supplied with the RS485 JBUS/MODBUS®for SM102E.
Technical characteristics
RS485 2 or 3 wires half duplex
Protocole JBUS/MODBUS®/mode RTU
Speed 2400 to 38400 Bauds
Galvanic insulation 4 kV
Charging unit 1 UL (Unity of loads)
Glossary of abbreviations
COM Communication
ADR Slave address
BDS Speed of communication in bauds
PAR Communication frame parity
NO Without parity
Even Even parity
Odd Odd parity
STOP Frame-stop beep
1 1 stop bit
2 2 stop bits
8

540301B_GB
Hager 12.2011 OCOM 113007
www.hager.com
6S5078-02b