Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
[LABORATORY ]
LAB
Objective:
Programming:
On the left hand side of the window if Property and Output is not seen then go to
VIEWCheck PropertyCheck Output.
1. Create Tags for Elements (i.e. buttons, indicators etc):
Go to OptionsTag Table
Under HMI select Base PortAddFirst write addresses and then names for different
tags as given belowClick OK
2. Add a Background for the HMI screen:
Go to ScreenImportSelect any saved pictureOK
The screen background will appear now.
Change the read address in the same way. Add a text (in this case ‘OFF’ for state 0). Change the
foreground color.
Go to state ‘1’ and modify property as given below
For state ‘1’change text to ‘ON’. Change Picture name for this state. Do not modify the
read address.
Add a text ‘Read Screen 2’. Press Enter in the text option for coming to next line. Modify
Goto Screen option from 1-Screen_1 to 2-Screen_2. Click OK.
9. Add a Function Key Control:
Go to ElementFunction Keys
Press F1LocalCheck Goto Screen. In property edit the goto screen to 1-Screen_1.
10. Set Up Communication to the HMI:
Goto OptionsConfigure
Press Communication tab. Select Ethernet and uncheck DHCP. Put the HMI IP, Mask IP
and Default Gateway IP for the respective HMI. Click OK.
11. Save the Application:
Go to ToolsCompileSaveOK
You will have to compile your application every time you make any change.
12. Create an Off Line Simulation:
You can do an offline simulation to check whether the elements are operating correctly.
Go to ToolsOff Line Simulation