Ipro
Ipro
Ipro
PROGRAMMABLE CONTROLLER
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -1-
2. WARNING
3. INTRODUCTION
3.1 Main Features
3.2 Technical data
3.3 Alarm Management
3.4 Plant Status Display
3.5 ISaGRAF
3.6 Why ISaGRAF
3.7 Development tools
3.8 Upgrade programs from previous version of ISaGRAF (3.x)
3.9 Minimum system requirement for PC
3.10 Inside the packaging
5. HOW TO START
5.1 Ethernet 10/100 connection
5.2 Direct connection (between iPRO and PC with a cable)
5.3 Intranet/Ethernet connection (Local Area Network)
5.4 Port forwarding
5.5 Modem connection
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -3-
9. SECURITY
9.1 How to protect your application/program
9.2 How to transfer or copy the application
9.3 How to protect the function blocks FB
12. VISOGRAPH
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -4-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -5-
WARNING: Dixell Spa can accept no responsibility for any possible damage due the usage of
not supported modems.
Dixell Spa. reserves itself the right to modify this manual without notice. The
last version available can be downloaded from the website.
This controller is compliant with standard EN 12830 if it is used together with
probes that are compliant with standard EN 13485
WARNING: This manual is part of the product and should be kept near the instrument to
easy and quick reference.
The instrument shall not be used for different purpose from those described in
this manual. It cannot be used as a safety device.
Check the application limits before proceeding.
WARNING: Check the supply voltage is correct before connecting the instrument.
Do not expose to water or moisture: use the controller only within the operating
limits avoiding sudden temperature changes with high atmospheric humidity to
prevent formation of condensation.
Warning: disconnect all electrical connections before any kind of maintenance.
Fit the probe where it is not accessible by the End User.
The instrument must not be opened.
Consider the maximum current which can be applied to each relay (see
Technical Data).
Ensure that the wires for the probes, loads and the power supply are separated
and far enough from each other, without crossing or intertwining.
In case of applications in industrial environments, the use of mains filters (our
mod. FT1) in parallel with inductive loads could be useful.
DIXELL reserves the right to modify or change its products without prior warning.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -6-
iPRO family, dedicated whether for HVAC units (iPRO Chill and Domo) or for general
purposes and refrigeration (iPRO Genius), is characterized by the most advanced
technology in connectivity and processing speed.
It is based on a powerful platform that includes one hardware configuration that is able to
expand the actual solution in the market, and a software that, thanks to the ISaGRAF®
development environment allows the development through standard programming
languages.
An easy and useful HMI is also guaranteed through the VISOGRAPH graphic display, as
the expandability and the solution to many applications are satisfied with a complete range
of accessories, among which, I/O expansion modules and proportional electronic valve
management, modem, wiring…
The iPRO Genius family satisfy all requirements regarding the controlling and management
of refrigeration, heating, ventilation, electric power and all building automation services.
They are suited for all applications in the PLC world and they find applications in many
shopping centres, hospitals, airports, boatyards, energy management plants, and so on…
These controllers provide a high level of technology for ease of external connectivity and
programmability providing simple answers to every application’s needs, while ensuring a
complete local or remote monitoring.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -7-
Ethernet 10/100
Modem (Internal and External)
2 Master bus (RS485 and Can-bus)
1 Slave bus (RS485 MODBUS RTU)
1 USB
1 VISOGRAPH connection
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -8-
The alarm management system is the fundamental element that increases the plant
efficiency, ensuring an immediate identification of plant problems and activates automatic
strategies to prevent possible damages. The following possible options are available with
iPro GENIUS.
The plant maintenance staff can easily have a report of application status in order to decide
how and when to intervene. The report contains all of the most important values, the plant
status and operating set point.
3.5 ISaGRAF
In order to create programs that will be uploaded into the iPro series Dixell has selected
ISaGRAF®; a software environment that enables you to create local or distributed control
systems. ISaGRAF® offers a combination of a highly portable, robust management engine
(Virtual Machine) and an intuitive application development environment (Workbench). The
output of the development environment is selectable as either portable “C” source code or
TIC (target independent code). The ISaGRAF® Virtual Machine is a powerful, optimized
and very fast control engine that executes the TIC. Virtual Machine and all options are
offered ready to use on NT, Linux, CE 3.0 and QNX. Additionally, this control engine has
been designed such that the source code of the Virtual Machine is available in a toolkit
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -9-
The ISaGRAF® Application development Workbench supports all the standard IEC 61131
control program languages plus Flow Chart.
IPRO-TOOL is a complete tool, provided by Dixell, that allows the final user to work
independently to create programs for iPRO controllers, taking advantage of all the
programmable series potential. The package includes manuals and the WIZMATE software,
a useful instrument that allows a simple iPRO controllers programming mode. Another utility
provided by Dixell is the VISOPROG software for the graphic interfaces creation of
VISOGRAPH displays.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 10 -
For iPRO is possible to manage programs that have been developed with ISaGRAF 3.x
version; it is not possible the opposite.
If the program contains ISaGRAF standard function block, they can be converted
automatically.
If the program contains ISaGRAF custom functional block (for example blocks made from
other company), it will be necessary to codify and rewrite them for the new version.
When connecting through the LAN, the PC client computer must have installed these
components:
• Windows 98®, Windows 2000, WindowsXP.
• Pentium II 300MHz with 64Mb ram or higher
• Java Virtual Machine
• Explorer 5.5 or higher, Firefox
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 11 -
Dixell S.p.a. is not responsible for any kind of damage occurring after the loading of the
Java Virtual Machine program into the user’s PC.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 12 -
Configurable means that every inputs or output can be configured different each other.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 13 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 14 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 15 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 16 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 17 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 18 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 19 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 20 -
For all the other connections, please refer to the section No. 14.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 21 -
iPRO
PC
Cable
(Crossover)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 22 -
o In this window set the following parameters (as showed in the picture):
IP address: 192.168.0.200
Subnet Mask: 255.255.255.0
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 23 -
If necessary is possible to change the IP address; click the Configuration button and in the
IP box write the new address (for example if your IP address is: 192.168.0.233).
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 24 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 25 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 26 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 27 -
6.1 Requirements
To develop the software with ISaGRAF are necessary:
• Software (it is possible to install the program from the CD or download it from the
ISaGRAF Website).
• To have the ISaGRAF USB KEY
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 28 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 29 -
…select: “Next”
…select: “Finish”
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 30 -
Then choose the ISaGRAF version to download (before to do this, check the Dixell website
to verify the latest revision approved by Dixell).
The procedure to install and set-up of ISaGRAF software is the same as above.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 31 -
the folder “Dixell_template” as showed here below (you can find and download this folder
directly from the Support Area inside the Dixell website in the “ISaGRAF section).
This is the Template project necessary to start with your new project.
Second, in the disk “C:\” , copy the folder “Dixell” as showed here below.
Inside this folder, there is the DIXELL GFL (general function library).
You can find this folder inside the Dixell website in the “ISaGRAF Function Blocks” section.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 32 -
The file to open is inside the project that we have saved in:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 33 -
When you have opened your project, it is important to import the “tdb” file.
This file has been generated by Dixell to describe the property of iPRO to the ISaGRAF
workbench; this file include all the latest information about the improvement of the standard
application of iPRO. To import the file in the project: File Æ Import Æ Plc Definition .
Import the “tdb” file (you can find and download this file directly from the Dixell the Support
Area inside the Dixell website in the “ISaGRAF section).
To check if your application is ok, after the compilation, you can see on the bottom of
ISaGRAF window if there are errors or warnings.
If there are some errors you have to check your application otherwise you can’t download it
in the device. If there are some warnings, you can download the application.
To remove the warning messages, follow this procedure:
1. Project Æ Clean Project/Library
2. Project Æ Clean Resource
3. Tool Æ Compact Database
Then save and compile again; The new messages should be:
All these file are available in the Dixell web site (www.dixell.com) inside the support area.
Pay attention because if you have already developed your project with an old version of the
tdb file is not necessary to import the new one in your project.
This operation is necessary only when you start with a new project and if the developer
needs to use a new Function Block not available in the previous versions.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 35 -
Config window
Double click on
vertical bar
If the vertical bar is not visible, move the “Config” window until the vertical bar will appear.
Write inside the box the IP address of your iPRO, then OK.
Now the set-up of ISaGRAF is completed and you can start with your application.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 36 -
7.1 Definitions
Before to start with the examples is important to fix some important definitions.
Resource: it is your project; inside there are the elements of your project.
The elements of your project are:
Programs: it is the software that you develop to execute your application.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 37 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 38 -
Variables: they are values that can change during the execution of the program.
For each variable we can define:
• NAME: it is the name of the variable
• COMMENT: the description of the variable (free field)
• GROUP: you can organize the variables in different groups.
• INIT VALUE: it is the value when the program starts.
• TYPE:
Bool: can assume the value 0=FALSE, 1=TRUE
Dint: can assume values from -2147483648 to +2147483647
Real: can assume floating point values
String: contain character strings (with specified the length)
Time: contain values used in time expression
Any: function block
• DIMENSION: specifies the dimension of the array of variables
• RETAIN:
Yes: the value will be saved in not volatile memory
No: the value will not be saved
• ATTRIBUTE:
Read: the application can read the value but not change it
Write: the application can modify the value but not read it
Free: the application can read and modify the value
• DIRECTION:
Input: the application reads the value from field
Output: the application writes the value to the field
Internal: any other variables
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 39 -
In the example here below, it is possible to understand how to define the variables.
There are some important information that have to be taken in consideration when:
the TYPE of the variable is REAL; use this kind of variable only if strictly necessary
(for operation with Log, Exp, Cos,…).
An example is for the temperature: if the value is 25.4°C instead of to work with
REAL variables, we can consider the temperature as DINT so we can work with 254
as decimal.
the RETAIN is Yes; don’t change the value frequently because every memory has a
maximum number of writing and the application can damage the flash memory.
The minimum period suggested is 30 minutes.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 40 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 41 -
Double click below name to fill in all the fields (Name, Comment, Type, Address…)
Here we have also define the “Address”; it is necessary to read the value from Visograph.
Now we are ready to add a new ST program and we call it “Regulator_for_compressor”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 42 -
Click on Insert Æ Add Program and choose the language that you prefer:
This example will be developed in ST language.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 43 -
Program
Comment
In the example here above, the variables are not linked with the physical output; these
variables are only logical. To link these variables with the physical output we have to write
another program.
The new program will be:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 44 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 45 -
If the program is ok, in the bottom of the ISaGRAF window, the message will be:
At this moment, we are able to execute the program in two different ways:
SIMULATION
Execution without the iPRO; this is the first debug of the program because it is
immediate and complete (see page 48 for procedure).
DEBUG TARGET
The application is running on iPRO. Before to do this is necessary to download
the project into the iPRO; click the icon to select the project to download.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 46 -
At the end of the transferring this message will appear in the bottom of ISaGRAF.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 47 -
We can force the value of the input; for example we want to switch on the compressor.
Double click in the box of Logical Value of the temperature: try to insert the value “60” and
then confirm with “Write”:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 48 -
It is also possible to lock and unlock the variable; for example we can lock the variable of
compressor. During the test, to avoid to damage the compressor, we can lock the
compressor in off (variable must be FALSE) and then change all the other variables to
understand what happen in all the other resource of our application (fan, pump, valve,…).
Here above the information are very clear; in our application the compressor should be on
(TRUE) but, due the variable lock as FALSE, the compressor is off. Now you can change all
the other variables and in any case the compressor will be off.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 49 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 50 -
Now the Debug Step by Step is enable; the next operation to do is to decide in which part of
the application or program put the “Breakpoints”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 51 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 52 -
If the step by step set-up is completed, save and compile the application.
To test the system there are two ways:
• with SIMULATION .
• with DEBUG TARGET ; in this case the following operations are necessary:
o download the application with the breakpoints in the target
o disable the Watchdog (see the “Website for iPRO” chapter)
BE AWARE: when the debug test has been completed and you are in the DEBUG
TARGET, to enable the Watchdog is necessary to reboot the Target (iPRO).
When you will launch the debug, the ISaGRAF workbench will ask you the following
information; confirm with “Yes” or “Yes to all”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 53 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 54 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 55 -
• STATEMENT
:= assignment
( ) priority
IF, THEN, ELSE, ELSIF, END_IF; binary selection
CASE, OF, ELSE, END_CASE; selection
WHILE, REPEAT, END_WHILE, END_REPEAT; iterations
FOR, TO, BY, DO, END_FOR; indexed iterations
RETURN; program termination
EXIT; iteration statement termination
BOOLEAN OPERATOR (decreasing priority)
NOT boolean negation
AND boolean AND
OR boolean OR
XOR boolean exclusive OR
=, <>, >=, <=, <, > comparisons
+, -, *, / arithmetic operators
Beware of:
WHILE and REPEAT have to be used with special care.
arithmetic operator can be used for integer DINT or REAL.
• TIME
+ addition
- subtraction
Beware of subtraction: negative timer as result means nothing.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 56 -
• CONVERSION FUNCTION
ANY_TO_BOOL conversion to boolean
ANY_TO_DINT conversion to double INT
ANY_TO_REAL conversion to real
ANY_TO_TIME conversion to timer
ANY_TO_STRING conversion to string
Example:
If we have two variables: SEC (type DINT) and SEC1 (type TIME) the assignation:
SEC1 := SEC; this is wrong
SEC1 := ANY_TO_TIME (SEC*1000); this is correct
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 57 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 58 -
The purpose of this example is to develop the same example of before but with the FBD
language.
The steps are the same of example No.1 except for the step when you have to add the
program; in this case you have to add the FBD program.
Pay attention because in this example we have called the FBD program with the same
name of the ST program; inside one project is not possible to have different program with
the same name
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 59 -
The other elements to put are the variables (defined in the Group1).
Click the icon and then positioning them in the window.
With the tab here below you can select the variables.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 61 -
Here below you can see some typical FB made by ISaGRAF and Dixell:
The FB is composed by some Inputs (on the left side) and some Outputs (on the right side).
When you use the FB in your program is enough to send them only the value of the
variables to get the result; it is not necessary to know what happen inside the blocks.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 62 -
Starting from the Example No. 1, we can consider to control the following resources:
• Fan motor
• Alarm for high temperature
• Alarm for low temperature
The diagram for each of them is:
Inverse Action
Direct Action
Inverse Action
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 63 -
This is our new function block; click on it with the right key of the
mouse and choose “Parameters / Local Variables”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 64 -
Remember that you can use this FB when you want and all the times that you need.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 65 -
More or less the steps are the same used to write the program for Regulator ON/OFF; the
only difference is that we have to add the “INSTANCE” to recall the FB inside the variables
group. With the instance we can transfer the input values to the FB and the FB will return to
us the result (for example in our case the output will be TRUE (ON) or FALSE (OFF)).
To call the function block ONOFF_Regulator , double click on the “Type” box of the instance
COMP_INST.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 66 -
It is very important to understand that the list of the inputs is not random; the sequence of
the inputs must be like the sequence of the instance.
TEMPERATURE Æ
FALSE Æ
SET+BAND Æ
SET Æ
For all the other resources is enough to add the variables, instances and program for each
of them.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 67 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 68 -
Select the directory to save the file (the extension of the file is .pxf).
When the process will be finished, choose close in the following window.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 69 -
Choose the file saved before or the file in your library (file extension is pxf):
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 70 -
Now in your project, in the function block folder you will find the ONOFF_Regulator.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 71 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 72 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 73 -
• mailmodem.spalt
this file include the parameters necessary to send mail through the modem.
An example of configuration is:
EMAIL_FROM=ipro
[email protected]
EMAIL_SUBJECT=”test mail”
EMAIL_SMTP_SERVER=smtp.libero.it
EMAIL_AUTH=on
[email protected]
EMAIL_PASS=ipro400d
EMAIL_TLS=on
ANALOG_DIALOUT_TEL=0,7027020000
[email protected]
ANALOG_DIALOUT_PASS=trustn0ne
ANALOG_DIALOUT_DIRECTPPP=0
ANALOG_DIALOUT_NAME_P=name:
ANALOG_DIALOUT_PAAS_P=word:
Compile with correct values each field.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 74 -
• smsnetmod.spalt
this file include the parameters necessary to send sms through the modem.
An example of configuration is:
NETECH_MACHINE_NAME=ipro_dixell
SMS_NUMBER=+391234567890
ANALOG_DIALOUT_TEL=0,7027020000
[email protected]
ANALOG_DIALOUT_PASS=trustn0ne
ANALOG_DIALOUT_DIRECTPPP=0
ANALOG_DIALOUT_NAME_P=name:
ANALOG_DIALOUT_PAAS_P=word:
Compile with correct values each field.
All these files can be transfer to the iPRO through the USB.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 75 -
Now write and confirm the password (min 6 characters) as in the window here below:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 76 -
If you try do download another application without or with a different password the message
showed by ISaGRAF will be:
To remove the password the procedure is the same as above but in the configuration
properties you have to cancel the password.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 77 -
• iPRO to PC
• PC to iPRO
• USB TO iPRO
All these procedure can be done with the iPRO software tool.
• From iPRO to PC
To transfer the application from iPRO to the PC it is necessary to know the password
of application inside the iPRO; if the application is not protected the default password
is Dixell.
Write the IP address of iPRO and the password.
Then click on “Read application from iPRO”.
Save the file, for example, with the name “app_file”; the message that appear is:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 78 -
• From PC to iPRO
To transfer the application from PC to the iPRO it is necessary to know the password
of application inside the iPRO; if the application is not protected the default password
is Dixell.
Write the IP address and the password of the iPRO (not the password of the file).
Then click on “Write application to iPRO”.
Choose the file, for example, the name “app_file”; the message that appear is:
From this moment, the new password is the password of the file transferred inside the ipro;
with this procedure, the previous application and password will be removed.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 79 -
Choose the file, for example the name “app_file”; the message that appear is:
This mean that the new isadix file has been created with the new password.
For each iPRO and each “app” folder it is possible to use only one isadix file.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 80 -
Click on the function block and with the right button of the mouse select properties:
Select security and write inside the boxes your password and confirm.
In your project the colour of function block will change colour from yellow to green; this
mean that your block is locked but non saved yet.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 81 -
The exportation and importation are possible but in any case the block will be protected.
Only if you know the password will be possible to remove the protection and open the block.
To remove the password, double click on the function block:
Write the password and confirm; the colour of the block become green.
Pay attention because with this procedure you are able to check the function block but the
password is not yet removed.
To remove completely the password it is necessary to modify again the properties as above.
In this case in enough to write the password in the box here below and confirm.
Now the block is completely unlocked and the colour will be yellow.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 82 -
FOLDER DESCRIPTION
This is the main folder common for all the iPROs.
This folder, common for all the iPROs, contains the file to update the
microprocessor; it is possible to download the latest version from Dixell website
and the syntax of this file is: “updater-2008090300”.
This is iPRO’s IP folder with inside the files only for the single iPRO. If there are
more iPRO is enough to create more folders with different IP; inside the IP folders
the structure have to be the same.
Folder to download the ISaGRAF application (isadix file – crypted)
Folder to download the spalt files with parameters for e-mail, sms and dial-in
If you have more iPRO the structure of your USB key have to be:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 83 -
• When the yellow led will blink, the file has been downloaded or uploaded; now you
can remove the USB key.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 84 -
Insert the CD in your PC and launch the program and then follow the instruction
as showed here below
Choose “Avanti”.
Choose “Accetto….”,
then “Avanti”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 85 -
- Username
- Company name
- Product Key
Then “Avanti”.
Choose “Completa….”,
then “Avanti”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 86 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 87 -
In the window here below you will find the information about your Product Key and the
Installation Key (this number has been generated automatically by VISOPROG).
• : in this case you have to send the two codes (Product Key and Installation
key ) to Dixell by fax or mail to get the Activation Key.
• : in this case you can get the Activation Key automatically (an Internet
Connection is required)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 88 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 89 -
Pay attention because if your language is not included in the standard languages, you can
add it for yourself. Go inside the folder “Languages” that you can find in your default
installation directory.
For example, starting from Italian file, we have copied and renamed it in German file.
At this point, you can edit and modify the file translating the text into your language.
Save the file and, at the next starting of VISOPROG, you will be able to select your
language.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 90 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 91 -
In this window you can define the languages to use in your user interface. For each project
you can use up to 5 languages and this file can be manage as an excel file.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 92 -
• Define the language to use (this is the language that you will see in VISOPROG
during the developing of your project); if you want, in every moment, it is possible to
change it to check the others languages in your display.
Click this icon and choose the default language.
First row must have this kind of structure: IDVoc, Language1, Language2, etc....
Starting from the second row of the first column, we have to write the progressive index.
Then for each text inserted, you have to translate into the other languages you want.
Summarizing: the structure of yellow rows and columns must be like the example here
above while the structure of blue rows and columns is “free”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 93 -
In this window is possible to associate the variables between the ISaGRAF and VISOPROG
projects; they can Import or Export the variables each other.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 94 -
If you click on Variables you will find the variables defined in the project “Example1”.
Now is possible to export the excel file, modify and then import the file again; in this way
is not necessary to modify the variables two times.
For VISOPROG
For ISaGRAF
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 95 -
The recognized formats for images are .gif, .jpg, .bmp, .ico, .emf and .wmf.
For each list is possible to manage up to 256 images.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 96 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 97 -
The Graphic Lcd and the Keys are programmable by the user; this is possible using the
software tool VISOPROG made by Dixell.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 98 -
13.1 Introduction
The VISOPROG workbench is the environment developed by Dixell to build the human
interface in the VISOGRAPH graphic lcd.
VISOPROG reads the ISaGRAF project from the iPRO and imports directly variables and
function blocks to create automatically the basic interface; then the developer completes the
interface adding functionality through the keys.
VISOPROG can import images and multi-languages dictionary.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 99 -
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 100
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 101
-
VarLabel: With this control you can add the variables to visualize the value;
these are the variables defined in the ISaGRAF project.
DXLabel: With this control you can add a fixed string or value; this string
can be associate with the vocabulary.
DxImage: With this control you can add an image from the database.
DxAnimImage: With this control you can add an animated image; this
animation is made adding images from the database.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 102
-
In this tab there are the properties of the controls, the layers of your
stage and the buttons setting.
In this tab there is the preview of your stage; the possibility to export
the snapshot of your stage and it is possible to write the values of the
variables to simulate the real functioning.
In this tab there are all the words included in your vocabulary (if in
your project there are more languages, here is visualized only the
active language).
In this tab we can see and manage the states used by human
interface; it is possible to show in the display a label instead of the
number of the variable.
• Left X it is the top left corner value, in the X coordinate, of the control.
• Top Y it is the top left corner value, in the Y coordinate, of the control.
• ScrollLock it permits to show the control in all the pages of the stage.
• Disabled if this control is enabled (property unchecked) the control has
additional properties.
• Font Number it permits to change the font.
• Layer it permits to place the control in different layer
• Visible IF it permits to change the visibility of control depending on variable
value.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 103
-
Æ to delete a layer
For each single layer it is possible to set the visibility, lock/unlock and name.
In the third window it is possible to manage the buttons for each stage; here you can add,
edit and delete the buttons as well as the functionality.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 104
-
13.5.3 Variables
In this tab there are the properties of the variables; here you can see and modify the
variables used in the human interface project.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 105
-
13.5.4 Vocabulary
In this tab you can see all the words defined in your vocabulary.
If in your project there are more languages, the vocabulary showed is the vocabulary
defined in the “Project Options”. In this case the active language is English.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 106
-
In this way you have all the elements necessary to build your human interface for the iPRO.
It is possible to change any element of the configuration during the developing of your
project.
Now we can start to build the human interface starting from the ISaGRAF project developed
before (Regulator ON-OFF for compressor).
Our starting point is like here below:
Only one stage in This is the Stage1; only one No Variables, only
the tree. Image and two Labels. one Layer and no
Buttons.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 107
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 108
-
In the Stage2 I want to visualize the temperature, the compressor status and add buttons to
change page where I can verify the set-point and hysteresis.
To visualize the temperature we have to add two labels and one variable:
- the font.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 109
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 110
-
- a “DxSwitchVarLabel”
- a “DxImage”
- a “DxAnimImage”
To add the “DxSwitchVarLabel” we have to click the icon and insert the control in the
stage. Then double click in the control to define the properties:
- font
- the conditions:
If the value of the variable is = 0, the
display will visualize “OFF”
If the value of the variable is = 1, the
display will visualize “ON”
REMARK:
In any case the last condition is
considered as default.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 111
-
OR($0001=0,0)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 112
-
Preview of animation.
Sequence of images
from top to bottom.
Now we can check our project with the “Main View”. If we can try to write the values in the
boxes ”AI01 and RL01”, we can see the result in the display (except for the
DxSwitchVarLabel).
..... .
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 113
-
In the picture here above we have added four labels (SET, BAND and °C) and two
variables. The labels and the variables have been defines as in the page before.
Practically:
It is very important to pay attention to the flag “Disabled”; if the flag is checked the value is
non modifiable with the VISOGRAPH. If the flag is unchecked the value will be modifiable
through the VISOPROG buttons.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 114
-
For these two images the flag “ScrollLock” have to be checked; in this way the images will
be replicate automatically in all the pages of the stage (also the buttons control will be the
same in all the pages).
In the third window of Object Properties click with the right button of the mouse and choose
“Add Button”:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 115
-
The window here below will appear automatically and we have to set it in the following way:
To add the buttons T8 the procedure is the same but the setting is different:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 116
-
With this file you can decide to download it immediately in your VISOGRAPH (the
IPRO and the VISOGRAPH have to be connected with your PC):
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 117
-
The other way is to copy this file in the USB key to download it inside the IPRO (in this
second case it is necessary to use the function block “UPDATE_VISOGRAPH”).
• Decimal Point
Open your project and choose the Stage2; select the variable to modify in the page and, in
the” Variables Properties” tab, write the number of decimals in the box “Decimals. In our
case the value will be “1”. This procedure is the same for all the other variables with decimal
point.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 118
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 119
-
It is also possible to define the range limits; practically you can decide the range min and
max of your variables. Then in the VISOGRAPH you can choose the value between min
and max range. Select the variable in the page and, in the Variables properties, write the
limits:
- LimitMax = 450
- LimitMin = -50
- LimitMax =100
- LimitMin = 0
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 120
-
The new buttons to define are T2, T4 and T6 and the properties for each of them are:
T2 button
This is the time that the button
must be kept pressed before to
get the activation; if the value is
“0” the activation will be
immediately.
T4 button
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 121
-
Our project is completed and the final VISOPROG environment is like below:
Compile and download again the project in the VISOGRAPH graphic display to check the
improvements.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 122
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 123
-
• Active Input: if the control is a variable Æ allow to change the value and confirm it.
otherwise Æ allow to do “conditional jump”.
REMARK: available only if the flag “Disabled” of the control is unchecked.
• Page UP, Page Down: in a multistage pages, change the current page.
• Prev Element /UP Value: select the previous active element / increase the value.
REMARK: available only if the flag “Disabled” of the control is unchecked.
• Next Element / DOWN Value: select the next active elements / decrease the value
REMARK: available only if the flag “Disabled” of the control is unchecked.
• Conditional Jump to Stage: jump to another stage according to the value of specified
variable.
Select the action “Set Variables” and then the tab “Assign Variable”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 124
-
If you want to change the status of the variable RL02 between “0” and “1”
(0Æ1Æ0Æ1...) you have to use the following sentence:
• Fast increment value: if the control is a variable Æ allow to increase the value without
confirmation
REMARK: available only if the flag “Disabled” of the control is unchecked.
• Fast decrement value: if the control is a variable Æ allow to decrease the value
without confirmation
REMARK: available only if the flag “Disabled” of the control is unchecked.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 125
-
• for a SWITCH VAR and LABEL: enable only if switch mode is different from variable.
In this case the value of the variable is showed as images or vocabulary.
In the stage are necessary three buttons: Active Input, UP Value and DOWN Value.
OR($RL01=0,0):0R($RL01=0,0)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 126
-
In this window you can decide which controls add in the stage, the positioning in the human
interface and the preview of the stage.
When you confirm the setting, your stage will be created automatically.
Here below the example.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 127
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 128
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 129
-
• Only DINT and BOOL variables can be read and write through the bus.
• The total number of variables that iPRO can exchange through the buses depends on
ISaGRAF USB Key (128, 256 or unlimited I/O).
• An external gateway (for example “anybus communicator”) can be used for different
protocols from Modbus (LonWorks, BACNet and Profibus).
To configure the bus, click the icon I/O Wiring ; at the first time the situation of the I/O
Wiring is the following (default configuration for iPRO):
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 130
-
For example, I need to connect (through the RS485 Master) the iPRO with the Dixell device
“XT” to control the temperature of its probe.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 131
-
Then confirm and the new board will be added in your project.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 132
-
The other Buses are the ETHERNET and CAN; the configurable tables for these buses are:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 133
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 134
-
Then confirm and the new board will be added in your project.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 135
-
Some information about the GENAI, GENAO, GENDI and GENDO boards of MDB:
• if par_2 and/or par_3 are names of variables, ISaGRAF application can change node
and variable address to read and write.
Some information about the GENAI, GENAO, GENDI and GENDO boards of ETH:
• if par_3 is a name of variable, ISaGRAF application can change node and variable
address to read and write 0x var hex.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 136
-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 137
-
To link the variable with the board, select the “ID point” in the board:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 138
-
The command that you can use in this first page are:
• To see and delete the Doglog.
You can check if there have been failures or reboots of the system; here below an
example of reboot message:
Click on “LOGS” to check and download the log files (for example the alarms file).
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 140
-
If you want to change the value of the variable “SET” from 100 to 150, write the name of the
variable, the new value and then confirm.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 141
-