Zelio Logic - Communication Extension
Diapositive 3
Diapositive 4
Diapositive 5
Diapositive 6
Modbus extension set up
Diapositive 8
Diapositive 9
Diapositive 10
Diapositive 11
Diapositive 12
Diapositive 13
Diapositive 14
Diapositive 16
Diapositive 17
Diapositive 18
Diapositive 19
Ethernet extension set up
Diapositive 21
Diapositive 22
Diapositive 23
Diapositive 24
Diapositive 25
1.92M
Category: programmingprogramming

Zelio Logic - Communication Extension

1. Zelio Logic - Communication Extension

D
C
B
A
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Ethernet extension set up
Ethernet extension presentation
Modbus extension set up
Modbus extension presentation
Slide 1 / 25

2.

Modbus extension Presentation
D
C
B
A
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Ethernet extension set up
Ethernet extension presentation
Modbus extension set up
Modbus extension presentation
Slide 2 / 25

3. Diapositive 3

Characteristics
Zelio logic connected on modbus via the Modbus extension module
With modular Zelio Logic power supply 24 VDC
Modbus slave not electrically isolated, RTU/ASCII
protocol
Configuration : Zelio HMI or Zelio- Soft
+
– Number of wires = 2, 4
– Frames format = RTU or ASCII
– Speed = 1200, 2400,…,19200,…,57600
SR3 B...BD
SR3 MBU01BD
– Parity = none, even, odd
– Address = 1 to 247
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
In bold =>
factory setting
Slide 3 / 25

4. Diapositive 4

Characteristics
Modbus requests supported
Read multiple registers :
Modbus function code = 03 (0x03)
Write simple register
Modbus function code = 06 (0x06)
Write multiple registers
Modbus function code = 16 (0x10)
Read device identification
Modbus function code = 43 (0x2B)
The broadcast mode is supported (writing to address 0).
To get more information concerning the Modbus protocol, see the Web site Modbus.org
http://modbus.org
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 4 / 25

5. Diapositive 5

Description
Front panel
1
1 Mounting : on rail 35mm, retractable mounting feet,
2 Connector RJ45 : Modbus fieldbus connection
3
2
4
5
SR3 MBU01BD
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
3 DEL « COM » : communication status
4 DEL « PWR » : Product powered or in fault
5 Screw for connection to the protection ground
Pin number of
connector RJ45
1
2
3
4
5
6
7
8
2 wires Modbus 4 wires Modbus
NC
NC
NC
D1
D0
NC
NC
Common
RXD0
RXD1
NC
TXD1
TXD0
NC
NC
Common
Slide 5 / 25

6. Diapositive 6

Connection example
Connection with T junction
Twido (modbus master)
1
1 Twido compact+Port COM RS485 miniDIN
2 Zelio logic and extension modbus
3
5
2
4 3
4
4
5
5
6
2
6
3 Line end of 120 ohms
4 T junction : VW3A8306R
2
6
5 Cable 3m mini-DIN and RJ45 : TWDXCARJ030
6 Cable with 2 RJ45 connectors: VW3A306R..
31 modbus slaves
maximum
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 6 / 25

7. Modbus extension set up

D
C
B
A
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Ethernet extension set up
Ethernet extension presentation
Modbus extension set up
Modbus extension presentation
Slide 7 / 25

8. Diapositive 8

Configuration
Using of Zelio HMI
From the main menu : Select the
“ CONFIGURATION ” and select
“ INIT.MODBUS ” to access to modbus
parameters.
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Using of Zelio-Soft
From the edition menu : Click on program
configuration and click on tab “ MODBUS
extension ” to access to modbus parameters.
Slide 8 / 25

9. Diapositive 9

Ladder language - LADDER
Modbus exchanges
Modbus exchanges are implicit and transparent for Zelio.
The Zelio application data are not accessible by the master.
Modbus exchanges
Modbus
function code
Modbus registers
Read of Zelio Inputs/Outputs
03 (read multiple words)
Word 20 : base inputs I1 to IG
Word 21 : extension inputs IH to IR
Word 22 : base outputs Q1 to QA
Word 23 : extension outpus QB to QG
Read/Write of Zelio clock
03 (read multiple words)
06 (write single word)
16 (write multiple word)
Word 32 : Day of the week, Seconde
Word 33 : Minutes, Hours
Word 34 : Day of the month, Month
Word 35 : Year, century
03 (read multiple words)
Word 48 : bit 0 = Run/Stop,
bit 1 = Monitoring,
bit 2 = Alarm,
bit 3 = Error,
bit 7 = Time out
bit 8 à F = Alarm code
Read Status of Zelio module
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 9 / 25

10. Diapositive 10

Function Block Diagram - FBD
2 exchanges types
Implicit exchanges with the master Modbus.
Input/Output datas between the Zelio application and the master Modbus
Implicit exchanges with the master
Modbus exchanges
Modbus
function code
Read/Write of Zelio clock
03 (read multiple words)
06 (write single word)
16 (Write multiple word)
Word 32 : Day of the week, Seconde
Word 33 : Minutes, Hours
Word 34 : Day of th month, Month
Word 35 : Year, Century
03 (read multiple words)
Mot 48 : bit 0 = Run/Stop,
bit 1 = Monitoring,
bit 2 = Alarm,
bit 3 = Error,
bit 7 = Time out
bit 8 à F = Alarm code
Read Status of Zelio module
Modbus registers
Remark : In FBD mode, the state of Zelio I/O are not accessible with implicit exchanges.
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 10 / 25

11. Diapositive 11

Function Block Diagram - FBD
Inputs/Outputs data words exchange between Application Zelio / Master
– 4 inputs words : J1XT1 to J4XT1
– 4 outputs words : O1XT1 to O4XT1
Requests modbus
Read/Write 4 words (16 bits)
Zelio
Read 4 words (16 bits) Zelio
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Modbus
Function code
Modbus registers
Inputs/Outputs
Zelio
03 (Read multiple words)
06 (Write single word)
16 (Write multiple word)
Word 16
Word 17
Word 18
Word 19
J1XT1
J2XT1
J3XT1
J4XT1
03 (Read mutiple words)
Word 20
Word 21
Word 22
Word 23
O1XT1
O2XT1
O3XT1
O4XT1
Slide 11 / 25

12. Diapositive 12

Function Block Diagram - FBD
Inputs/Outputs data words exchange between Application Zelio / Master
Screen of FBD Editor
OUTPUT
4 words J1XT1 to
J4XT1 accessible in
reading/writing by the
master
INPUT
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
4 words O1XT1to
O4XT1 accessible in
reading by the
master
Slide 12 / 25

13. Diapositive 13

Application example
The application Zelio check the temperature. The controller Twido transmit the temperature set
point (threshold) to Zelio via the fieldbus modbus. The measure of temperature is wiring on the
Zelio analogue input. If the temperature is higher than the threshold, an alarm is activate
(Klaxon).
Twido (master) manages the
Modbus exchanges which are
transparent for Zelio Logic.
Twido (master)
Temperature
set point
modbus
Temperature
measure
Zelio (slave)
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 13 / 25

14. Diapositive 14

Application example
Using the input word J1XT1 to write the temperature set point and the output word O1XT1 to
read the measure.
Writing of the set
point in the input
word J1XT1 by the
modbus master
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Reading of the
measure in the
output word O1XT1
by the modbus
master
Slide 14 / 25

15.

Ethernet extension presentation
D
C
B
A
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Ethernet extension set up
Ethernet extension presentation
Modbus extension set up
Modbus extension presentation
Slide 15 / 25

16. Diapositive 16

Characteristics
Zelio logic on Ethernet via the Ethernet extension module
Compatible Zelio Logic modular 24 VDC
Connecteur RJ45 10/100 T
+
Modbus TCP/IP server
Adresse IP : acquisition static or dynamic
Configuration : Zelio Soft 2, FBD language
SR3 B...BD
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
SR3 NET01BD
Slide 16 / 25

17. Diapositive 17

Characteristics
Modbus TCP/IP request supported
Reading of n register
Function code = 03 (0x03)
Writing of simple registers
Function code = 06 (0x06)
Writing of n registers
Function code code = 16 (0x10)
Reading device identification Function code code = 43 (0x2B)
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 17 / 25

18. Diapositive 18

Description
Front panel
1
1 Monting : Rail 35mm, patte de fixation
3
2
4
2 RJ45 connector : Connexion on Modbus TCP/IP
3 Bicolor LED “LK/ACT” : Display speed COM 10/100
4 LED “STS” : Communication status Ethernet
5 Screw terminal : Ground
6
5
6 On the right side of the device: MAC Address (single for
each device)
SR3 NET01BD
Module IP Address (setting factory) :
85 . 16 . X . Y (decimal code)
(X = Value of the last byte before of the
MAC Address ; Y = Value of the last byte of
the MAC Address)
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 18 / 25

19. Diapositive 19

Ethernet Architecture
Connection example
Twido Compact
(client)
1
Zelio Logic
(server)
4
5
1 Twido compact : TWDLCAE40DRF
2 Ethernet cable RJ45 connector : 490 NTW000 ..
2
3 Switch conneXium 499 NES251 00
3
2
4 Zelio logic modular : SR3B…BD
5 Ethernet extension module : SR3NET01BD
2
Zelio Logic
(server)
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 19 / 25

20. Ethernet extension set up

D
C
B
A
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Ethernet extension set up
Ethernet extension presentation
Modbus extension set up
Modbus extension presentation
Slide 20 / 25

21. Diapositive 21

Ethernet extension configuration - Zelio Soft 2
1
Menu edition : Select “Program
configuration”
2
Menu Program configuration : Click on
tab Ethernet extension
FBD Language
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 21 / 25

22. Diapositive 22

Ethernet extension configuration - Zelio Soft 2
3
In the IP Address field :
- Click on dynamic Address if the
network have a bootp server
- Otherwise click on Static Address
and enter IP Address, Sub-network
mask (here Class C network), and
Gateway address
4
If the Ethernet extension must be
constantly connected to a client,
enter the client address in the
reserved Address field
5
Modification of the Time-out : time
after which the Ethernet extension
must close an inactive connection
The Ethernet extension manage until 4 connections in simultaneous.
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 22 / 25

23. Diapositive 23

Data Exchanges with the Modbus client
Data words accessibles via application Zelio
4 Input words : J1XT1 to J4XT1
4 Output words : O1XT1 to O4XT1
Modbus TCP/IP
Exchanges
Modbus function
code
Modbus register
Input/Output
Zelio Logic
4 Input words
(16 bits)
03 (Reading n words)
06 (Writning 1 word
16 (Writing n words)
Reg. 16
Reg. 17
Reg. 18
Reg. 19
J1XT1
J2XT1
J3XT1
J4XT1
03 (Reading n words)
Reg. 20
Reg. 21
Reg. 22
Reg. 23
O1XT1
O2XT1
O3XT1
O4XT1
4 Output words
(16 bits)
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 23 / 25

24. Diapositive 24

Data Exchanges with the Modbus client
Status and Clock of Zelio Logic
Modbus TCP/IP
Exchanges
Modbus function
code
Reading/Writing of the
clock
03 (Reading of n words)
06 (Writing of 1 word)
16 (Writing of n words)
Reading Status of Zelio
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Modbus Registers
Reg. 32 : Day of the week, Second
Reg. 33 : Minutes, Hours
Reg. 34 : Day of the month, Month
Reg. 35 : Year , Century
Reg. 48 : bit 0 = Run/Stop,
bit 1 = Monitoring,
bit 2 = Alarm,
03 (Reading of n words)
bit 3 = Error,
bit 7 = Time out
bit 8 à F = Alarme code
Slide 24 / 25

25. Diapositive 25

Application Example
FBD editor screen : Data accessibles by the Client
4 words J1XT1 to
J4XT1 accessible in
writing/reading by the
client
4 words O1XT1to
O4XT1 accessible in
reading by the client
OUTPUT
INPUT
Automation - Product Support - Training
PhB - Zelio Logic Extension Com en 11/2006
Slide 25 / 25
English     Русский Rules