Download as pdf or txt
Download as pdf or txt
You are on page 1of 44

SIDEL Conveying S.A.S. rue du Commerce - Z.I.

- CS 73445 - REICHSTETT
F-67455 MUNDOLSHEIM Cedex
Tel : +33 (0)3 88 18 38 50 - Fax: +33 (0)3 88 18 39 21

Program instructions
for ZenOn

6.22 SP1 B4

Revision Date Author Commentaries


0.0 20/01/2009 Methods Initial version
0.1 04/06/2009 Methods CHP lubrication added
0.2 22/06/2009 Methods Language variables deleted
0.3 21/04/2010 Methods Combobox + language focus
0.4 21/01/2011 Methods DB messages integration
0.5 28/12/2011 Methods Update with new PLC software
CONTENTS

1. THE FOLLOW-UP VERSION ................................................................................................. 3


1.1. Version 0.0 ..................................................................................................................... 3
1.2. Version 0.1 ..................................................................................................................... 3
1.3. Version 0.2 ..................................................................................................................... 3
1.4. Version 0.3 ..................................................................................................................... 3
1.5. Version 0.4 ..................................................................................................................... 3
2. GENERALITIES...................................................................................................................... 4
3. HMI PANEL CONFIGURATION ............................................................................................. 5
3.1. Downloading of CompactFlash image ........................................................................... 5
3.2. Installation without CompactFlash image ....................................................................... 6
3.3. IP Address Configuration................................................................................................ 8
3.4. Remote access test (VNC) ............................................................................................. 9
4. ZENON APPLICATION ........................................................................................................ 10
4.1. Downloading standard software.................................................................................... 10
4.2. Panel configuration ....................................................................................................... 11
4.3. Connexion and download on panel............................................................................... 12
5. LAYOUT BUILDING ............................................................................................................. 14
5.1. Crop area...................................................................................................................... 16
5.2. Area coloration.............................................................................................................. 19
6. HMI PROGRAMMATION...................................................................................................... 23
6.1. Variables-Driver: ''CONVEYORS S7 TCP-IP'' .............................................................. 23
6.2. Picture: ''Page_00_Home''............................................................................................ 24
6.3. Picture: ''Page_03_Settings''......................................................................................... 25
6.4. Picture: ''Page_05_Format_Btl_1'' ................................................................................ 26
6.5. Picture: ''Page_05_Format_Pck_1'' .............................................................................. 27
6.6. Picture: ''Page_05_Format_Notes''............................................................................... 27
6.7. Picture: ''Page_05_Format_Way_1'' ............................................................................. 28
6.8. Picture: ''Page_AIR_Fan_status''.................................................................................. 28
6.9. Picture SYMBOL: ''COMBO_Fonction''......................................................................... 29
6.10. Picture SYMBOL: ''COMBO_Format_Bottle'' ................................................................ 29
6.11. Picture SYMBOL: ''COMBO_Format_Pack'' ................................................................. 30
6.12. Picture: ''Page_LUB_Gest_soap'' (if used) ................................................................... 30
6.13. Picture: ''Page_LUB_Gest_dry'' (if used) ...................................................................... 31
6.14. Picture: ''Page_LUB_Gest_CHP_dry'' (if used)............................................................. 31
6.15. Picture SYMBOL: ''Combo MOTOR'' ............................................................................ 31
6.16. Picture: ''Page_SYS_Home_Main_Start'' ..................................................................... 31
6.17. Picture: ''Page_SYS_Change_Language''.................................................................... 33
6.18. Picture: ''Page_02_Layout_Opt_XXX''.......................................................................... 33
6.19. Picture: ''Page_INTERLINK_XXX'' & ''Page_INTERLINK_XXX_speed''....................... 36
6.20. Picture: ''Page_INTERLINK__Machine_speed''............................................................ 37
6.21. Reaction matrix: ''Function_motor'' ............................................................................... 38
6.22. Reaction matrix: ''z_sys_WayXXX_Format'' ................................................................. 38
6.23. Function: ''Language_Autostart'' ................................................................................... 39
6.24. Events importation of S7 project ................................................................................... 41
6.25. Check variables count .................................................................................................. 44
.
1. THE FOLLOW-UP VERSION
1.1. Version 0.0
Initial version

1.2. Version 0.1


CHP Lubrication added

1.3. Version 0.2


Modification of ZenOn language variables to organize translations
- D (Default) : Defaults texts
- G (General) : General texts for parameters
- M (Memento) : Memento texts for alarms and events
- Mach (Machine) : Machine texts for exchange signals
- T (Translation) : User texts

1.4. Version 0.3


Description modifications:
- Language integration description (picture)
- Combo box localisation description (picture)

1.5. Version 0.4


New concept Air management
DB messages incorporate
Memento messages deleted
Integration Msg_PLC_HMI.exe
Message.xls deleted

© SIDEL 3 / 44 EN ZenOn programming


20/01/2009
2. GENERALITIES
This instruction booklet describes the operations to program B&R panel with ZenOn 6.22
runtime. We will start by the panel configuration and software. Then we will finish by the
description of our standard program.

Before start, we need to install some softwares on PC to be able follow trainings.


ZenOn 6.22 software
VNC Viewer (UltraVNC for example)
Gimp (graphical software)
The iso image of memory panel for win CE 5.0
ZenOn basic software.

A coherent Ethernet network is essential to realize device interconnections. We use


Ethernet wire to build the network.

Touch screen panel B&R PC Notebook

Switch

PLC

Ethernet network

© SIDEL 4 / 44 EN ZenOn programming


20/01/2009
3. HMI PANEL CONFIGURATION
3.1. Downloading of CompactFlash image
A memory image of CompactFlash with preset configuration has been built. It's necessary
to have a CompactFlash PCMCIA (or USB) adapter and the image management software, like
B&R eMbedded OS. This software is making available on this folder:
.\B&R CF management\Image management software\B&R eMbedded OS Installer V2_22.exe

CompactFlash PCMCIA Adapter

The memory image is built with Windows CE, the ZenOn 6.22 runtime, and VNC server
(used to realize a remote connection). Furthermore, library file (imgdecmp.dll) has been added in
WinCE folder. This file is used to make available image transparency of GIF files.

 Open ''B&R eMbedded OS'' software then select ''CompactFlash'' in the item list.

Click on the ''Restore Image'' button, confirm the message, and then take the image file:

© SIDEL 5 / 44 EN ZenOn programming


20/01/2009
.\B&R CF management\Images\For ZenOn 6.22\xxx.eoi

 Confirm the file and wait the end message.


Note: while the downloading on the card, the software is put background so there is no frame
on desktop.

3.2. Installation without CompactFlash image


This chapter describes the installation procedure on a compact flash with only WinCE5.0
installed. You must have the ZenOn 6.22 runtime, and VNC server (used to realize a remote
connection). Furthermore, library file (imgdecmp.dll) has been added in WinCE folder. This file is
used to make available image transparency of GIF files.

 Copy the following files and folders on USB key then paste them on the "program files" folder
of WinCE :

Gif management: .\RT installation on panel\GIF files alpha layer on WinCE\imgdecmp.dll

 File to put into ''Windows'' folder of the panel.


Note: You must display hidden files.

© SIDEL 6 / 44 EN ZenOn programming


20/01/2009
Start files: .\RT installation on panel\Runtime\ZenOn 6.22\Put in 'hard disk'\Start.dat

 Files to put into ''hard disk'' panel folder.


Note: Type directly '\hard disk'' in frame explorer then replace existing files.

Runtime folder: .\RT installation on panel\Runtime\Zenon 6.22\Put in 'program files'

 Folder to put into ''program files'' folder of panel.

ZenOn folder: .\RT installation on panel\Runtime\ZenOn 6.22\Put into 'Desktop'

 Files to put into desktop.

Remote access: .\RT installation on panel\VNC with WinCE\CEVncSvr.exe

 Folder to put into the root folder of panel.

© SIDEL 7 / 44 EN ZenOn programming


20/01/2009
3.3. IP Address Configuration
The IP address must be set with data provide by project manager leader. Preset value is:
10.1.92.14

 On the panel, we need to validate the touch screen keyboard to type the IP address. In task
bar, click on icon, then choose the virtual keyboard.

 Click on ''MyDevice/ControlPanel/Network and Dial-up Connections/PCI-E100CE1'', and then


type IP address and the sub mask network.

In the ''ControlPanel'', click on ''Configuration Manager Properties'' icon, then ''Save Settings''
button.

© SIDEL 8 / 44 EN ZenOn programming


20/01/2009
 Restart the panel to validate the configuration: click on ''Restart'' tab, then on the ''Restart
your device now'' button.

3.4. Remote access test (VNC)


 Use ''VNC Viewer'' to check the remote access connection.

.\RT installation on panel\VNC with WinCE\UltraVNC Viewer\vncviewer.exe

 Enter IP panel, then select ''LAN'' for the type of the connection, then press on ''Connect''
button.

 The remote frame is opening now on the PC.

© SIDEL 9 / 44 EN ZenOn programming


20/01/2009
4. ZENON APPLICATION
4.1. Downloading standard software

 Select ''File/Restore project backup…''

 With this button , choose the ZenOn archive, check ''Create new project'' and validate it
with ''Ok''.

.\2009-01-22_11-27-00 zn622_uc_sidel_00.zip

 Write the new project name

For example, the Order number follow by the city of the town of the factory (don’t forget to write ''HMI'' in the name to
differentiate the PLC and HMI software).

© SIDEL 10 / 44 EN ZenOn programming


20/01/2009
4.2. Panel configuration

 Before start the panel configuration. Take care about project option ''Project as start project''
and ''Project active''. Realize a ''Right click'' on the project name to access at those options.
Then click on ''General''  ''Remote transport''  to set the IP address.

 Set the IP address of the panel and validate it by the ''Ok'' button.

© SIDEL 11 / 44 EN ZenOn programming


20/01/2009
4.3. Connexion and download on panel
 On the panel we need check if the ''Transport Service'' runs. If it isn't the case, click on
''SysSrvCE'' desktop icon.

 On the computer, the icon realizes the connection between computer and panel.

 When connection established, put the license product (see the PDF file).

© SIDEL 12 / 44 EN ZenOn programming


20/01/2009
 Check information inside ''Following frame''.

 The ''remote transport'' desk is coloured now.

Panel connexion Refresh Runtime


Download Runtime (modification only) Stop Runtime
Download Runtime (all) Start Runtime
Upload Runtime (Never used) Specify the start project to the Runtime

 Click on download runtime (all) .

 When downloading is completed, click on ''Specify the start project to the Runtime'' ,
then ''Start Runtime'' .

© SIDEL 13 / 44 EN ZenOn programming


20/01/2009
5. LAYOUT BUILDING
To make those layouts, man use graphical software "Gimp".

 Open the background file ''Bkgnd_syno.jpg'' with Gimp editor.

 Open Windows layers.

© SIDEL 14 / 44 EN ZenOn programming


20/01/2009
 Open the PDF file of the line.

 Rotate the Picture if it is necessary.

© SIDEL 15 / 44 EN ZenOn programming


20/01/2009
5.1. Crop area
 Now, we have 2 files open with gimp (the PDF file and ''background_syno.jpg''. Adjust the

selecting tool with the good parameter ( ) ratio=580:396

 ''Ctrl+Maj+C’’ to copy the selection, and then switch on the ''Bkgnd_syno.jpg'' file.

 ''Ctrl+V'' to paste the image.

 ''Maj+T’’ to adjust the copy size. Width: 580 and Height: 396

 Now you need to multiply the float selection with the background layer, like below picture.

© SIDEL 16 / 44 EN ZenOn programming


20/01/2009
 Save the copy with the good name ''syno0.jpg''

© SIDEL 17 / 44 EN ZenOn programming


20/01/2009
 To return on the initial state, you need to do ''Ctrl+Z'' 3 times.

 For the each crop area, go to the chapter (5.1).

© SIDEL 18 / 44 EN ZenOn programming


20/01/2009
5.2. Area coloration

 Start to select witch conveyor you need to colorized, with this tool .

 Now for the fine tuning, we used this tool.

© SIDEL 19 / 44 EN ZenOn programming


20/01/2009
 Adjust the colour with the colour tool.

 Final aspect:

 ''Ctrl+C'' to copy the image.

 ''Ctrl+V'' to paste the image.

 ''Maj+T'' to resize the paste element. Check if the chain is not broken, like following picture.

.
Case 1, if width layer is bigger than height, then put 580 in the width.
Case 2, if the height layer is bigger than width, then put 396 in the height.

© SIDEL 20 / 44 EN ZenOn programming


20/01/2009
Case 1 Case 2

 If it is necessary, adjust the position with this tool.

 To finish, we need to merge layers.

© SIDEL 21 / 44 EN ZenOn programming


20/01/2009
 Save the copy with the good name ''syno1.jpg'',.. ''syno3.jpg''….

© SIDEL 22 / 44 EN ZenOn programming


20/01/2009
6. HMI PROGRAMMATION

6.1. Variables-Driver: ''CONVEYORS S7 TCP-IP''

(''Driver Conveyors S7 TCP-IP'' Property)

© SIDEL 23 / 44 EN ZenOn programming


20/01/2009
 Note :
''Net address'' always 0
''Local TSAP'' always 01.00
''Remote TSAP'' always 02.02 (rack=0 and CPU position=2)

''Remote IP primary'' PLC IP of costumer PLC


''Remote IP alternative'' PLC IP of owner test PLC (if not used replace by the same IP then IP
primary

6.2. Picture: ''Page_00_Home''


 Graphic :
To adapt in function of number of running areas.

 Text :
Text to adapt (note: replace field not used by emptying field).
''@T_zoneXXX_bot''
''@T_zoneXXX_pck''
''@T_Bottle_Format_XX''
''@T_Pack_Format_XX''

 Variable :
Check and adjust if necessary the variable to programmed running area. Use relink tool on
paste element.
''Format_zoneXXX.Current_bottle''
''Format_zoneXXX.Current_pack''

© SIDEL 24 / 44 EN ZenOn programming


20/01/2009
6.3. Picture: ''Page_03_Settings''
 Graphic :
To adjust to project data. Take care about lubrication function. Dry lubrication is the preset value
in standard program. Use relink tool to change lubrication type.

© SIDEL 25 / 44 EN ZenOn programming


20/01/2009
6.4. Picture: ''Page_05_Format_Btl_1''
 Graphic :
Adjust variable in correlation between running area and program. Use relink tool on paste
element.

Adjust colour indicators (use for combiner sensor).

(''Combine element'' Property)

 Note :

'Stop the line to change the bottle format' mask is put on the ''zone_1_format_bottle'' area.
Only used if air conveyor is present in the line. Otherwise delete it.

 Note :
It's possible to add a new format bottle picture if there is not enough space on only one frame.
Use ‘‘Page_05_Format_Btl_2'' frame. Adjust navigation tab like following image.

© SIDEL 26 / 44 EN ZenOn programming


20/01/2009
6.5. Picture: ''Page_05_Format_Pck_1''
Like precedent point.

 Graphic :
Check and adjust if necessary the variable to programmed running areas. Use relink tool
on paste element.

 Note : (OPTIONAL)

It is possible to create several "format pack" combobox for the same running area. So you
need to adjust the visibility of combobox with the bottle format.

²
(''ComboBox'' Property)

Adjust colour indicators with pack formats.

 Note :
It's possible to add a new format pack picture if there is not enough space on only one frame.
Use ‘‘Page_05_Format_Pck_2'' frame. Adjust navigation tab like following image.

6.6. Picture: ''Page_05_Format_Notes''


 Graphic :
Adjust with bottle and pack formats.

Adjust indicator ring colour with bottle formats.


Adjust indicator ring colour with pack formats.

 Note :
It is possible to add a new picture if there is not enough space on only one picture. Don't forget to
modify link object.

© SIDEL 27 / 44 EN ZenOn programming


20/01/2009
6.7. Picture: ''Page_05_Format_Way_1''
 Graphic :
Adjust way Use relink tool on paste element.

 Note :
It is possible to add a new picture if there is not enough space on only one picture. Don't forget to
modify link object. Delete this tab if way selection is not used in project.

6.8. Picture: ''Page_AIR_Fan_status''


 Graphic :
To adjust to the air conveyor of the line.

© SIDEL 28 / 44 EN ZenOn programming


20/01/2009
6.9. Picture SYMBOL: ''COMBO_Fonction''

 Graphic :
Adjust the listing with motors present on the line. Adjust index motor too.

(''ComboBox'' Property)

 Text :
Text to adapt (note: replace field not used by emptying field).
''@T_Function_motor_XX''

 Note :
Don't forget ''Pack Regulation'' and ''Control pack machine''.

6.10. Picture SYMBOL: ''COMBO_Format_Bottle''

 Graphic :
Adjust combobox with the good bottle format index.

© SIDEL 29 / 44 EN ZenOn programming


20/01/2009
(''ComboBox'' Property)

6.11. Picture SYMBOL: ''COMBO_Format_Pack''

 Graphic :
Adjust combobox with the good pack format index.

(''ComboBox'' Property)

6.12. Picture: ''Page_LUB_Gest_soap'' (if used)


 Graphic :
Adjust combobox with the lubrication area.

© SIDEL 30 / 44 EN ZenOn programming


20/01/2009
(''ComboBox'' Property)

 Text :
Text to adapt (note: replace field not used by emptying field).
''@T_Page_Lub_Gest_zoneXX''

6.13. Picture: ''Page_LUB_Gest_dry'' (if used)


Like as ''Page_LUB_Gest_soap''.

6.14. Picture: ''Page_LUB_Gest_CHP_dry'' (if used)


Like as ''Page_LUB_Gest_soap''.

6.15. Picture SYMBOL: ''Combo MOTOR''

 Graphic :
Adjust the listing with motors present on the line (DOL and FC).

(''ComboBox'' Property)

6.16. Picture: ''Page_SYS_Home_Main_Start''


 Graphic :
Adjust the listing with the start zone line.

© SIDEL 31 / 44 EN ZenOn programming


20/01/2009
If new area create, don't forget to use relink tool on paste element.

(‘‘Symbol zone’’ Property)

© SIDEL 32 / 44 EN ZenOn programming


20/01/2009
6.17. Picture: ''Page_SYS_Change_Language''
To adjust to the language project.

 Note :
It is possible to adjust the font size project here.

(''Function Language_Change_XXX'' Property)

6.18. Picture: ''Page_02_Layout_Opt_XXX''


 Text : (optional)
Text to adapt (note: replace field not used by emptying field).
''@T_Page_SYS_Home_02_Opt_XX''

 Note :
If you create a new "Page_02_Layout_Opt_XX", don't forget to adjust the start function like
below picture.

© SIDEL 33 / 44 EN ZenOn programming


20/01/2009
(''Picture'' Property)

 Graphic :
Add motor symbols and adjust Target field in "Linking rules".

(''Motor Symbol'' Property)

Add emergency stop symbols and adjust Target field in "Linking rules".

(''ES Symbol'' Property)

© SIDEL 34 / 44 EN ZenOn programming


20/01/2009
Create invisible button for exchange signals of machines on "Page_02_Layout" and
“Page_02_Layout_Opt_X" picture.
Use relink tool on paste element.

© SIDEL 35 / 44 EN ZenOn programming


20/01/2009
6.19. Picture: ''Page_INTERLINK_XXX'' &
''Page_INTERLINK_XXX_speed''
Several standard interlink machine are present in the project. If you need to create a new
machine, use the machine number M11 an M12.

 Graphic :

© SIDEL 36 / 44 EN ZenOn programming


20/01/2009
(''Bargraph'' Property)

 Text :
Text to adapt (note: replace field not used by emptying field or "Spare").
''@Mach_XX__Name''
''@Mach_XX_AI0X''
''@Mach_XX_AO0X''
''@Mach_XX_DIXX''
''@Mach_XX_DOXX''

6.20. Picture: ''Page_INTERLINK__Machine_speed''


 Graphic :
Adjust with machine speed feedback of the line.

© SIDEL 37 / 44 EN ZenOn programming


20/01/2009
6.21. Reaction matrix: ''Function_motor''
Adjust the listing with motors function present on the line. Adjust index motor too.

(''Reaction matrix'' Property)

 Note :
Don't forget ''Pack Regulation'' and ''Control pack machine''.

6.22. Reaction matrix: ''z_sys_WayXXX_Format''


Adjust the listing with all way selection present on the line.

(''Reaction matrix'' Property)

© SIDEL 38 / 44 EN ZenOn programming


20/01/2009
6.23. Function: ''Language_Autostart''
Used to define starting language of the runtime.

(''Function Language_Autostart'' Property)

(''Function Language_Autostart'' Property)  General  Parameter

 Languages list :
1  English 7  Russian 13  Slovene
2  Italian 8  Polish 14  Swedish
3  French 9  Norway 15  Serb
4  Spanish 10  XXX 16  Rumanian
5  Portuguese 11  Chinese 17  Turkish
6  German 12  Bulgarian 18  Greece

© SIDEL 39 / 44 EN ZenOn programming


20/01/2009
© SIDEL 40 / 44 EN ZenOn programming
20/01/2009
6.24. Events importation of S7 project
 On ‘’Simatic Manager’’, Generate AWL file of DB118 and DB119
and PUT ON THE CLIPBOARD all data inside file.

Tips: ''Ctrl+a'' then ''Ctrl+c''.

© SIDEL 41 / 44 EN ZenOn programming


20/01/2009
 Open the exe file ''Msg_PLC_HMI.exe'' include in the ZenOn project.

 Open the correct text file (for example ''ENGLISH.TXT'') with notepad. And put the data
clipboard at the END OF THE FILE.

© SIDEL 42 / 44 EN ZenOn programming


20/01/2009
 Save the file.
On the frame ZenOn, click on "Yes" button.

© SIDEL 43 / 44 EN ZenOn programming


20/01/2009
6.25. Check variables count
Be careful about the number of variables used in the project. (512 var, 1024 var and 2048
var)

© SIDEL 44 / 44 EN ZenOn programming


20/01/2009

You might also like