4.2 Programming - BottomUpWorkflow (OneStripe) - Exercise06
4.2 Programming - BottomUpWorkflow (OneStripe) - Exercise06
4.2 Programming - BottomUpWorkflow (OneStripe) - Exercise06
Stripe)
Time for exercise : 90 minutes
1.1 Program stripe “Heating Coil” using existing I/Os from scratch
Task
Go to Programming and use the I/Os created in the IO configuration to program the Heat-
ing coil aggregate from scratch in the Programming editor. Drag and drop inputs, outputs
and program blocks (from the library) to the chart. Load the application to the controller
and test the program logic.
Result
The stripe “Heating Coil” is programmed with a local exception and tested.
Page : 1
1.1 Program stripe “Heating Coil” using existing I/Os from
scratch
Step Action
1 Archive Project
Navigate to the Project overview and archive the already created project if nec-
essary. The project archive will be stored in the preconfigured folder.
If you have not already setup the data points the following four data points would
be needed for our programming exercise.
Page : 2
Step Action
You have two different option to navigate to the programming editor (See below)
4 Drag and drop data points from Plant view to the chart
Page : 3
Step Action
Page : 4
Step Action
Optional: Adjust pin visibility for function block “Controller”. In the exercise, we
will only use the following pins:
=> inputs: EnFnct. Sp, Xctr and outputs: Yctr
Page : 5
Step Action
Page : 6
Step Action
You can show a grid or use align-functions for arranging the blocks from
the toolbar.
Use text boxes (context menu) as separator of stripes -> add the first text
box, adjust text box size from Properties, font size (e.g. 14), color, … (also
activate “textbox in background”) and afterwards duplicate it.
Page : 7
Step Action
• Change the Supply air temperature with respect to the setpoint and check
if the valve and pump behave accordingly. You can adapt the temperature
with the operation board X1 temperature poti.
If you Valve is not showing the right status, check the Process value 2 in
the Properties in Engineering editor. It should be set to 100.
Page : 8
1.2 Set up local exception to stripe “Heating Coil”
2 Drag and drop the Frost Protection Monitor data point to the chart
• Connect PrVal of FrostProtection to EnIn1 of both output objects (valve,
pump)
Page : 9
3 Go Online
Click on Play. Test the frost protection scenario. You can also use the switch on
the operation board D1 to change the status of the frost protection.
Page : 10
Simulation Board
You have now completed this exercise. Please take a pause and reflect what you learnt.
You can use the below section for the notes.
Page : 11