Programmable Controller: Operation Manual Ipro - Genius
Programmable Controller: Operation Manual Ipro - Genius
Programmable Controller: Operation Manual Ipro - Genius
PROGRAMMABLE CONTROLLER
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -1-
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -2-
1. lNDEX
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-
8. PROGRAMMING LANGUAGES
8.1 ST language – General concepts
8.2 FBD language – General concepts
8.2.1 FBD example – ON/OFF regulator
8.3 FB function block
8.3.1 Introduction of Function Block FB
8.3.2 How to create the FB
8.3.3 How to use the FB inside the programs
8.3.4 Exportation and Importation of FB
8.4 Configuration files
8.4.1 File CONF
8.4.2 File BIN
8.4.3 File PARAM
8.4.4 File SPALT
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-
14. CONNECTIVITY
14.1 Ethernet 10/100 and Serial bus
14.2 How to configure the bus and variables
14.2.1 Define the BUS (GENLINE board)
14.2.2 Define the I/O (GENAI, GENAO, GENDI, GENDO boards)
14.2.3 Define the new variable(s) in the dictionary
14.2.4 Link between variables and boards
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 -5-
2. WARNING
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-
3. INTRODUCTION
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-
• CANBus digital communication serial protocol for the connection to other
programmable controllers, to I/O expansion modules.
• Two master and slave RS485 serial output.
• ModBUS-RTU standard communication protocol that allows connection to Dixell
digital controllers, to XWEB supervising and controlling systems or to applications
developed by third Party Systems.
• BACnet communications allows the system to have easy and immediate integration
with different manufactures ensuring a complete collaboration.
• The possibility to have a connection to the expansion modules in order to increase
system capacity.
• 20VA max power absorption.
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-
3.3 Alarm Management
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-
format, providing portability to any OS on any hardware platform. The Enhanced options for
ISaGRAF® transform this outstanding controller into a top of the line PLC, DCS or RTU.
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 -
The user can choose between two options:
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 -
If necessary, inside the CD-ROM you will find the Java Virtual Machine program distributed
by Sun® Microsystems.
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 -
4. BASIC Input/Output CONFIGURATION
Configurable means that every inputs or output can be configured different each other.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 13 -
4.1 Power Supply
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 14 -
4.3 Analog Inputs (Pressure transducers 4÷20mA, probes 0÷20mA)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 15 -
4.6 Analog Outputs (0÷10V - 4÷20mA signal for condenser controls)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 16 -
4.8 Analog Outputs (proportional signal 0÷10V, 4÷20mA for actuators/ servo-motors)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 17 -
4.10 Digital Inputs
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 18 -
4.12 Visograph connection
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 19 -
4.13 Expansion Module (specifications and connections)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 20 -
4.14 Other connections
For all the other connections, please refer to the section No. 14.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 21 -
5. HOW TO START
iPRO
PC
Cable
(Crossover)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 22 -
• Disconnect your computer from the data network of your company and connect the
PC with the iPRO through the Crossover cable.
• The personal computer has to be set in the same network of the iPRO.
o In the windows environment click with the mouse on “start” button .
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 -
Launch the browser in your computer and write the following web site address:
http://192.168.0.250/panel (if your IP is different, write the correct one):
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 -
If everything is ok, the message will be:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 25 -
5.3 Intranet / Ethernet connection (Local Area Network)
The Intranet or Ethernet connection should be initially managed by the net administrator
that will assign one free IP address to reach the iPRO. This number is an example of what
you should expect with the default IP of the iPRO: 192.168.0.250.
After receiving the address from your network Administrator the iPRO must be set with this
number (through the procedure described in the chapter 5.2).
Use a standard RJ45 network cable to connect the unit to your existing LAN.
The Intranet method allows the connection to interact with iPRO from all the PC Clients.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 26 -
If the connection is OK, in this window you will see the following information:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 27 -
6. ISAGRAF INSTALLATION AND SET-UP
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 -
Please install ONLY the programs selected as showed here below:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 29 -
…select: “Install”
…select: “Next”
…select: “Finish”
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 30 -
6.3 How to download the software from ISaGRAF website
Open the browser in your computer and write the following address: www.isagraf.com and
choose Downloads.
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 -
6.4 How to set-up the ISaGRAF program
First, it is necessary to copy in this directory of your PC:
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 -
6.5 Start with the new Project
Launch the ISaGRAF program and select:
The file to open is inside the project that we have saved in:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 33 -
Open the file PrjLibrary
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 -
The last operation to do to complete the set-up is to define the IP address in the ISaGRAF
workbench.
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. THE ISAGRAF WORKBENCH
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 -
To check the Cycle Timing choose: Edit Æ Properties Æ Settings
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 38 -
Function blocks: they are a general routine (software) executed in different programs.
It is possible to “call” the FB in every part of the program; in this way is
not necessary to write the same program a lot of time. Besides you can
save them in the library and also protect them with a password.
These FB can be developed by ISaGRAF, Dixell and from third party.
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 -
• ADDRESS: where to save the value of the variable
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 -
7.2 How to make a regulator ON-OFF
The purpose of this example is to introduce how to develop a program with ISaGRAF; this
first example will be developed with the ST language.
Our target is to create a Regulator ON-OFF for Compressor (Direct Action).
The diagram of this regulator is:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 41 -
Now the new group has been created and we have called it “Group1”.
Double click on Group1:
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 -
Change the window from the Dictionary to the Program :
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 -
Comment
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 -
The physical input and output are defined inside the Variable Groups “SysParameters”.
The AI are the analog inputs, the DI are the digital inputs, the AO are the analog outputs
and the DO are the digital outputs.
The ConfAI is the value to configure the probe type; for example if your AI01 is a PTC
probe, ConfAI01 = 1.
It is also possible to define immediately the physical I/O; in this case the program will be:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 45 -
………and “REBUILD PROJECT”.
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 -
In this window choose “Select All” and then “Download”.
At the end of the transferring this message will appear in the bottom of ISaGRAF.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 47 -
The red semaphore means that the SIMULATION or DEBUG TARGET are running.
To stop the execution is enough to click on semaphore.
During the execution of the program we can read, write and lock the variables.
If you click this icon the variables will appear; with this window is possible to check
the status of your application.
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 -
Here below you can see what is happened:
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 -
Once the DEBUG is finished, it is important to UNLOCK all the variables.
To do this is enough to click on DEBUG Æ DIAGNOSIS, choose the tab “Locked Variables”,
and select “Unlock All” as showed here below.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 50 -
7.3 Debug Step by Step
This function is useful to check in your application what happen when the inputs change;
you can see in which part of your application the program is stopped because it is waiting
some new information or event.
To enable this function, click on the Resource bar and , with the
right button of the mouse, chose Properties; in window here below, choose the tab
“Target/Code” and check “Generate debug information”.
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 -
Open your program and with this icon add the breakpoints; place the cursor at the
beginning of the line of your program and click the breakpoint icon.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 52 -
To check how many breakpoints there are in your application and if you need to remove
them, click the icon :
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 -
The window with your application will be open; a yellow arrow will show you the position
where the debug is arrived (obviously if there are breakpoints).
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 54 -
7.4 The ISaGRAF instruction manual
Once you have installed the ISaGRAF environment, it is possible to find the complete
documentation of ISaGRAF development tool inside the folder:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 55 -
8. PROGRAMMING LANGUAGES
• 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 -
• STRING
ASSIGNMENT
:= direct copy
CONCATENATION
+ concatenates two strings
COMPARISON
=, <>, >=, <=, >, < alphabetical order
• 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 -
8.2 FBD language – General concepts
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 58 -
8.2.1 FBD example – ON/OFF regulator
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 -
Once the FBD is open, we have to put the elements of our application; the first element is
the Hysteresis block. Click the icon and then positioning it in the window.
With the tab here below select the block and then press OK.
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 -
8.3 Function block FB
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 -
8.3.2 How to create the FB
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 -
We can summarize the four diagrams in 2 diagrams:
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 -
Add the 5 variables:
Remember that you can use this FB when you want and all the times that you need.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 65 -
8.3.3 How to use the FB inside the programs
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 -
The last step is to write the program with ST and FBD languages:
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 -
To complete the job, SAVE, COMPILE and EXECUTE your project.
The same program written with FBD language will be:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 68 -
8.3.4 Exportation and Importation of FB
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 -
• Importation
Choose File Æ Import Æ Exchange File
Choose the file saved before or the file in your library (file extension is pxf):
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 70 -
Select the exchange file to import:
Now in your project, in the function block folder you will find the ONOFF_Regulator.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 71 -
8.4 Configuration files
The files, managed through the USB key, are recognized with different kind of “extension
file”; here below the differences.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 72 -
8.4.3 File PARAM
The file param.txt is the list of parameters for iPRO.
Create a standard txt file with the following structure:
0=value
1=value
.........
9=value
The meaning of 0,1,2, etc is :
0=IP Address 1=HOSTNAME
2=DNS 3=DOMAIN
4=Modbus Address 5=NETMASK
6= NET 7=Net Gateway
9=MODSLAVE_Parameters
The files can be transfer to the iPRO using the USB; at the end the iPRO will reboot
automatically with the new configuration. (It is not necessary to write all the parameters).
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 73 -
• maileth.spalt
this file include the parameters necessary to send mail through internet.
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
Compile with correct values each field.
• 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 -
• smsneteth.spalt
this file include the parameters necessary to send sms through Ethernet - Internet.
An example of configuration is:
NETECH_MACHINE_NAME=ipro_dixell
SMS_NUMBER=+391234567890
Compile with correct values each field.
• 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 -
9. SECURITY
Now write and confirm the password (min 6 characters) as in the window here below:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 76 -
• If the procedure has been correct the message in the ISaGRAF window will be:
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 -
9.2 How to transfer or copy the application/program
It is possible transfer one application, if in your computer ISaGRAF is not installed, from:
• 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 -
In the folder, there are two files:
app_file Æ this is the file to transfer in the new iPRO (through Ethernet)
• 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 -
With this procedure, starting from an existing file, it is possible to create a new
“isadix” file with a different password.
Write the new password.
Then click on “Create crypt file only”.
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 -
9.3 How to protect the function block FB
When one or more function blocks have been developed than is possible to protect them
with a password. The function blocks are visible in the project but to open or modify them it
is necessary the password.
Select the function block to protect:
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 -
Try to save, close and open again the project.
Now the block is protect and the colour is red.
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 -
10. HOW TO USE THE USB KEY
Through the USB key it is possible download and upload files from iPRO.
First off all it is necessary to set-up the USB key creating the following structure:
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 -
Inside each IP folder the structure is always the same; it is also possible to create, inside the
IP folder, only the folder that you need. For example if you have to download a new bin file
for the Visograph, it is enough to create only the “bin” folder.
• 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 -
11. VISOPROG INSTALLATION AND SET-UP
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 -
Fill in with these information:
- Username
- Company name
- Product Key
Then “Avanti”.
Choose “Completa….”,
then “Avanti”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 86 -
Choose “Installa.”.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 87 -
11.2 Licence Activation
Start the VISOPROG program with double click on the icon in your desktop:
To complete the installation choose Utility Æ License
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 -
11.3 How to set-up the VISOPROG program
Before to set-up the program it is necessary to open a project.
In the CD you can find the project “Dixell_visoprog” that you have to copy inside the folder
“C:\Programmi\DIXELL\DIXELL VisoGraph visoprog\Template” in your computer.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 89 -
11.3.1 Environment Language
This set-up defines the language used in your environment.
Select: Environment Æ Language and choose your preferred language.
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 -
11.3.2 Environment Connection
This set-up defines the connection between your personal computer and the iPRO.
Select: Environment Æ Instrument and choose the iPRO device.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 91 -
In this window you can define the fonts of your project; for each project you can choose 4
fonts. In every moment you can change the fonts (click on Edit and choose the new one),
but pay attention that in your project the previous font will be updated automatically with the
new one.
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 -
To create and manage your vocabulary in the best way please follows these suggestions:
• Define the multi-languages to use in your project.
Click this icon and choose the languages to add.
• 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 -
First click on “A” , then “B”, “C”, “D” and “E”; in the left table you will see the following
structure:
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 -
• Define the ISaGRAF project to link in VISOGRAPH project.
Select the ISaGRAF project where Import and Export the variables:
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 -
In this window there are the images that is possible to use in your project.
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 -
In this window you can define the destination folder for your .bin file. The bin file is the
compiled file of your project. This is the file to download in your VISOGRAPH interface.
In this option is possible to decide which languages to add in the bin file.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 97 -
12. VISOGRAPH
The VISOGRAPH Human Interface is a graphic lcd display necessary to visualize all the
variables defined in the iPRO (remember that only the variables with an address defined in
the ISaGRAF project can be visualized).
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. THE VISOPROG WORKBENCH
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 -
13.3 The STAGE area
The STAGE area is the structure of the project.
VISOGRAPH is organized as a sequence of menu called Stages; then, inside each stage, it
is possible to create one (SINGLE PAGE) or more pages (MULTIPLE PAGES).
If you are inside the stage with multiple pages, it is possible to work in one page for time
and the active page is in yellow colour. When the VISOGRAPH starts, the first stage
showed in the display is the first stage defined in the VISOPROG project. Each stage is the
container of the elements (controls) that you have decided to visualize.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 100
-
In the picture here below an example:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 101
-
13.4 The STAGE EDITOR area
The STAGE EDITOR area is the area where to create the interface of the stage.
In this area through the control bar is possible to add labels, variables, Images and switch
variables/labels.
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
-
13.5 The INFORMATION AREA
The INFORMATION AREA is the area composed by:
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
-
In the second window it is possible to put the controls in different layers.
Æ 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
-
In the other window you can export the picture and also simulate the variables value; it is
enough to write the word or the number inside the box.
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
-
• Mask pointer to state list is the variable is showed as state (active only
with “State” checked)
• Read from Excel if checked (= 1) means that previous properties cannot change.
If unchecked (= 0) the application can change them.
• LimitMax variable upper limit (only if Read from Excel = 1)
• LimitMin variable lower limit (only if Read from Excel = 1)
• Decimals number of decimals
• ReadOnly
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
-
13.6 How to create a new project
When you start with a new project, there are some important suggestions to follow:
• Open VISOPROG and configure the environment:
o Language
o Connection
• Configure the PROJECT OPTIONS:
o General
o Font
o Vocabulary
o Variables
o Database of images
o Compiler file
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
-
To import the variables used in ISaGRAF project choose: FILE Æ OPTION Æ and then
Variables & States tab (or click the icon, in the menu bar, ).
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 108
-
and we can also modify the characteristic of the stage1:
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
-
Double click on “-XXXXXX” variable to define the properties:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 110
-
Now we have to add the compressor status; in the next example you can see how to do this
with a different solutions.
- 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
-
To add the “DxImage” we have to click the icon and insert the control in the stage.
Then double click in the control to define the properties:
OR($0001=0,0)
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 112
-
• To add the “DxAnimImage” we have to click the icon and insert the control in the
stage. Then double click in the control to define the properties:
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
-
This stage is composed of a single page; to add another page click the icon and the
second page will appear. In this new page we will add the set-point and the hysteresis; it is
clear that we have to add also some buttons to change the pages.
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
-
The buttons are completely programmable; in the pages of the stage we have to add some
images and then define the buttons in the “Object Properties”.
In our project is enough to put two buttons with the function of page down and page up.
In the Stage 2 add two images:
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 first button to define is T1.
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
-
After this procedure in the Object Properties there are the two buttons just created.
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
-
If the download is
correct you will find
the following messages.
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
-
• ScrollLock Option
This option is available only for the images in the first page of the stages.
To modify our project it is necessary to select the icon “Down Page” and uncheck the option
“ScrollLock” in the “Object Properties” tab.
For the “Up Page” the procedure is a little bit different; sure you have to uncheck the option
“ScrollLock” but then it is necessary to “cut” and “copy” the images from the main page to
the second page. To do this select the images in the first page.
The new layout of your pages will be the following:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 119
-
To declare the two variables as modifiable, select, one by one, the variables and in the
Object Properties uncheck the flag “Disabled”.
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
-
After this, add the new images in the page but in a new layer called “SET_BAND variables”:
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
-
T6 button
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
-
13.7 Features included
In the next chapters there are more information about the buttons, the disabled property, the
controls visibility and how to create the stages automatically.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 123
-
In the button properties there are a lot of combination to choose:
• 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
-
Choose in which variable you need to write the value (double click in the variable)
and write the sentence that you prefer between these two structures:
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
-
• Jump to stage and back: allow to come back to the previous stage.
• 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
-
13.7.4 Automatic Stages
The automatic stage is a procedure that will help you to create one or more stage quickly.
It is no more necessary to add the controls one by one but all together in one time.
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
-
These are the two pages
of the new stage.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 128
-
14. CONNECTIVITY
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 129
-
3. IPRO with I/O expansion and/or electronic valve modules Æ CAN
4. IPRO with IPRO Æ Ethernet
• 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
-
The meaning of these I/O is:
• DIX_IO_GENLINE Æ boards to configure the bus (MDB, ETH, CAN)
• DIX_IO_GENDI Æ boards to configure Digital Inputs
• DIX_IO_GENDO Æ boards to configure Digital Outputs
• DIX_IO_GENAI Æ boards to configure Analogs Inputs
• DIX_IO_GENAO Æ boards to configure Analogs Outputs
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
-
This is the new board
to add.
Then confirm and the new board will be added in your project.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 132
-
The meaning of these parameters is:
The other Buses are the ETHERNET and CAN; the configurable tables for these buses are:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 133
-
Some information about the ETH and CAN boards:
• it is possible to define more than one GENLINE with name ETH and CAN.
• do not change the “fixed string” (name).
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 134
-
• If the number of channels is > 1 but the addresses are not consecutive, will be
necessary to define different boards.
This is the situation when your iPRO has to read 3 variables with address 100, 101
and 104; in this case declare two GENAI: the first to read the variables with address
100 and 101 (the Number of Channels = 2), the second to read the variable with
address 104 (Number of Channels = 1).
Then confirm and the new board will be added in your project.
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 135
-
The meaning of these parameters is:
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
-
14.2.3 Define the new variable(s) in the dictionary
The new I/O has to be defined in the dictionary; it is necessary to add the new variable(s) in a
new or existing group of variables.
In our example we have to add the variable AI11; for this variable (and in any case for each
variable), it is important to declare:
• Name
• Type
• Direction
• Attribute
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 137
-
14.2.4 Link between variables and boards
The last operation to do is link the new variable(s) with the new boards.
To complete our example, it is clear that we have to link the variable AI11 with the GENAI
board.
Click the icon to open the I/O window.
Click on the last GENAI board; in the Unwired variables (in the right side of the window) is
visible the variable AI11.
To link the variable with the board, select the “ID point” in the board:
________________________________________________________________________________________________________
1592025400 – Vers. 1.0 - 138
-
15. ADMINISTRATOR SITE
Inside the iPRO, as default, there is a Website where is possible to get some information
about the configuration, the working status and the variables value.
To see the website launch, in your browser, the command:
• http://192.168.0.250/panel (if your IP is different, write the correct one)
The “HOME” window will appear:
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
-
Click on “VARIABLES” to check the information about the variables used in your application.
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
-