Comunicacion Modbus
Comunicacion Modbus
000005
Presentation
The Modbus protocol is a master/slave protocol. Two exchange methods are possible: # Question/answer: Questions from the master are addressed to a specific Modbus slave. The master waits for the answer to be returned by the slave polled. # Distribution: The master distributes a message to all the slave stations on the bus. These stations execute the instruction without sending an answer.
SR3 MBU01BD
Zelio Logic modular smart relays are connected to the Modbus network via the Modbus slave communication module. This module is a slave that is not electrically isolated. The Modbus slave communication module must be connected to an SR3 B///BD modular smart relay, with a $ 24 V supply. Configuration The Modbus slave communication module can be configured: # Independently, using the buttons on the smart relay (ladder language). # On a PC, using "Zelio Soft" software (1). When using a PC, programming can be carried out either in LADDER language, or in function block diagram language (FBD) (2). Connection example 1 Modbus Master programmable controller (for example Twido). 2 Zelio Logic smart relay. 3 Modbus slave communication module. 4 T-junction. 5 Line terminator.
Examples of combinations: 1
000001
1 4
1 Modular smart relay (10 or 26 I/O) 2 Modbus slave communication module
4 5
1
000003
Description # The Modbus slave communication module is connected to a 2-wire or 4-wire Modbus network. # The maximum length of the network is 1000 m (9600 bauds max., AWG 26). # A maximum of 32 slaves may be connected to the Modbus network, or a maximum of 247 slaves with repeaters. # Line end adaptors must be fitted to both ends of the line (10 nF/10 V, 120 / 0.25 W in series). # The line must be polarised (470 /0.25 W resistors) (3). # The connection cable and its RJ45 male connectors must be shielded. # The "COMMON" signal must be connected directly to the protective earth at one point on the bus. 1 Modular smart relay (10 or 26 I/O) 2 Modbus slave communication module 3 I/O extension module (6, 10 or 14 I/O)
(1) See page 14102/14. (2) FBD: Function Block Diagram. (3) The polarisation resistors must be managed by the master.
14105-EN_Ver1.0.fm/2
Description, characteristics
Description
Modbus slave communication module SR3 MBU01BD comprises: 1 7 7 8
SR3 MBU01BD COM PWR MB485-V1
3 2 4
1 2 3 4 5 6 7 8
Two retractable fixing lugs. A Modbus network connection (RJ45 shielded female connector). A communication LED (COM) A Power ON LED (PWR) A screw terminal block for the protective earth connection. A spring clip for mounting on a 35 mm mounting rail. Two locating pegs. Two pins for clip-on fixing.
8 5
Environment characteristics
Product certifications Conformity with the low voltage directive Conformity with the EMC directive Degree of protection Overvoltage category Degree of pollution Ambient air temperature around the device Maximum relative humidity Maximum operating altitude Mechanical resistance Resistance to electrostatic discharge Resistance to HF interference (immunity) Conforming to 73/23/EEC Conforming to 89/336/EEC Conforming to IEC 60529 Conforming to IEC 60664-1 Conforming to IEC/EN 61131-2 C Operation Storage C m Operation Transport m Immunity to vibrations Immunity to mechanical shock Immunity to electrostatic discharge Immunity to electromagnetic radiated fields Immunity to fast transients in bursts Immunity to shock waves Radio frequency in common mode Voltage dips and breaks (") Immunity to damped oscillation waves Conforming to EN 55022/11 (Group 1) Pending: UL, CSA, GL, C-TICK EN 61131-2 (open equipment) EN 61131-2 (Zone B) EN 61000-6-2, EN 61000-6-3 and EN 61000-6-4 IP 20 3 2 -20... +55 (+40 in enclosure), conforming to IEC 60068-2-1 and IEC 60068-2-2 -40... +70 95 % without condensation or dripping water 2000 3048 Conforming to IEC 60068-2-6, test Fc Conforming to IEC 60068-2-27, test Ea Conforming to IEC 61000-4-2, level 3 Conforming to IEC 61000-4-3, level 3 Conforming to IEC 61000-4-4, level 3 Conforming to IEC 61000-4-5 Conforming to IEC 61000-4-6, level 3 Conforming to IEC 61000-4-11 Conforming to IEC 61000-4-12 Class B
14105-EN_Ver1.0.fm/3
Functions
Parameter entry
Parameters can be entered either using Zelio Soft software, or directly using the buttons on the Zelio Logic smart relay. When the "RUN" instruction is given, the Zelio Logic smart relay initialises the Modbus slave communication module in a configuration previously defined in the basic program. The Modbus slave communication module has 4 parameters: # number of UART wires and format of the frames on the Modubs network, # transmission speed, # parity, # network address of the Modbus module. The default parameter settings are as follows: 2-wire, RTU, 19 200 bauds, even parity, address n1.
Software workshop parameter entry window Parameter entry Number of wires Frame format Transmission speed in bauds Parity Network address Options 2 or 4 RTU or ASCII 1200, 2400, 4800, 9600, 19 200, 28 800, 38 400, 57 600 None, even, odd 1 to 247
510391
Number of words 4 4 4
Status
Read 03
LADDER programming In LADDER mode, the 4 data words (16 bits) to be exchanged cannot be accessed by the application. Transfers with the master are implicit and are effected in a way that is totally transparent.
Modbus exchanges Image of smart relay I/O Code Read 03 Number of words 4
Status
Read/Write 16, 06 or 03
Read 03
14105-EN_Ver1.0.fm/4
References
Modbus slave communication module
000007
Weight kg 0.300
Connection accessories
Description T-junction complete with 0.3 m cable T-junction complete with 1 m cable SR3 MBU01BD T-junction without cable 170 XTS 04100 Reference VW3 A8 306TF03 Weight kg
VW3 A8 306TF10
70 57 52,5 10 35 10 35
27.5
108
44
15
27.5
25
14105-EN_Ver1.0.fm/5
100
2 x 4
90
35