
Simple example
2.6 Create HMI screen
STEP 7 Basic V10.5
Getting Started, 12/2009, A5E02651459-01
69
Result
You have connected the "Machine ON/OFF" button with the PLC tag "ON_OFF_Switch".
When you press the button on the HMI device, the bit of the PLC tag is set to the value "1"
(machine on). When you press the button a second time, the bit of the PLC tag is set to the
value "0" (machine off).
2.6.4.2 Graphic objects "LEDs"
Introduction
The following steps show you how to set up two status LEDs (red/green) using the circle
object and animate them depending on the value of the PLC tag "ON_OFF_Switch".
Requirements
The HMI screen is open.
Procedure
To create and animate the LEDs, follow these steps:
1. Keeping the Shift key pressed, draw two circles beneath the "Machine ON/OFF" button.
Kommentare zu diesen Handbüchern