Learn WONDERWARE-INTOUCH with Real Code Examples
Updated Nov 27, 2025
Code Sample Descriptions
1
Simple Counter in Wonderware InTouch
# wonderware_intouch/demo/CounterApp
1. Open InTouch Window Designer.
2. Drag a Numeric Display object onto the window.
3. Drag a Button object onto the window.
4. Configure Button: On Click -> Increment 'Counter' tag by 1.
5. Bind Numeric Display to 'Counter' tag.
6. Run the runtime to see the live counter.
A basic InTouch example that increments a counter on a button press and displays it on a numeric display.
2
Start/Stop Machine Simulation
# wonderware_intouch/demo/StartStopApp
1. Create a Boolean Tag 'MachineRunning'.
2. Drag two buttons: 'Start' and 'Stop'.
3. Configure 'Start' button: On Click -> Set 'MachineRunning' = True.
4. Configure 'Stop' button: On Click -> Set 'MachineRunning' = False.
5. Add an animated indicator light bound to 'MachineRunning'.
6. Run the runtime to control the machine state.
Simulate a machine start/stop using buttons and a boolean tag.
3
Temperature Monitor
# wonderware_intouch/demo/TemperatureMonitor
1. Create a Float Tag 'Temperature'.
2. Drag a Numeric Display to show 'Temperature'.
3. Add a color animation: If Temperature > 80 -> Display red.
4. Add a color animation: If Temperature < 0 -> Display blue.
5. Bind Numeric Display to 'Temperature'.
6. Run runtime to observe color changes.
Displays a temperature value from a tag and changes color when limits are exceeded.
4
Tank Level Visualization
# wonderware_intouch/demo/TankLevel
1. Create a Float Tag 'TankLevel'.
2. Drag a Bar Graph object onto the window.
3. Bind Bar Graph value to 'TankLevel'.
4. Add min/max animation: 0 = empty, 100 = full.
5. Optionally, add color changes based on levels.
6. Run runtime to see the tank level update live.
Visualize a tank level using a bar graph linked to a tag.
5
Conveyor Belt Animation
# wonderware_intouch/demo/ConveyorBelt
1. Create Boolean Tag 'ConveyorRunning'.
2. Drag a Graphic of a conveyor belt.
3. Add animation: If 'ConveyorRunning' = True -> Move belt graphic.
4. Add a button: On Click -> Toggle 'ConveyorRunning'.
5. Run runtime to control and observe belt movement.
Animate a conveyor belt based on a boolean running tag.
6
Alarm Indicator Panel
# wonderware_intouch/demo/AlarmPanel
1. Create Boolean Tags: 'HighTempAlarm', 'LowPressureAlarm'.
2. Drag indicators for each alarm.
3. Bind each indicator color to respective tag: True = Red, False = Green.
4. Trigger alarms via tag changes.
5. Run runtime to see alarm status visually.
Display alarm states using colored indicators based on boolean tags.
7
Batch Timer
# wonderware_intouch/demo/BatchTimer
1. Create a Float Tag 'BatchTime'.
2. Drag a Numeric Display for minutes and seconds.
3. Create a Start button: On Click -> Start incrementing 'BatchTime'.
4. Create a Stop button: On Click -> Stop timer.
5. Run runtime to monitor batch duration live.
Track batch process duration using a timer and display minutes/seconds.
8
Pressure Gauge Visualization
# wonderware_intouch/demo/PressureGauge
1. Create a Float Tag 'Pressure'.
2. Drag a Gauge object onto the window.
3. Bind Gauge value to 'Pressure'.
4. Configure min/max values: 0 to 200 psi.
5. Optionally, add color zones for safe/critical.
6. Run runtime to see pressure updates.
Use a gauge graphic to visualize pressure values from a tag.
9
Recipe Selector
# wonderware_intouch/demo/RecipeSelector
1. Create String Tag 'SelectedRecipe'.
2. Drag a Combo Box or List Box.
3. Bind it to 'SelectedRecipe' with recipe options.
4. On selection, trigger actions/microflows for process.
5. Run runtime to select recipes and trigger processes.
Select different recipes for a process using a drop-down menu and tags.
10
Live Trend Chart
# wonderware_intouch/demo/LiveTrend
1. Create a Float Tag 'ProcessValue'.
2. Drag a Trend Chart object onto the window.
3. Bind the Trend Chart to 'ProcessValue'.
4. Configure chart scale and update frequency.
5. Run runtime to observe live trending of the tag.
Display real-time trends of a tag value on a chart.