3. The current values of the operator controls are determined and entered in tags on the HMI device.
4. Communication between the HMI device and PLC is established.
5. After communication has been established, the old values of the tags are transferred from the PLC into the tags of the
HMI device. The old values no longer match the current values of the operator controls (data inconsistency).
6. The new value is not written into the tag of the HMI device and transferred to the PLC until a change has been made to
an operator control. The HMI device and controller receive valid values (data consistency).
Procedure
Proceed as follows to avoid data inconsistency:
1. Specify the connection to the PLC in the "Connections" editor.
2. Activate the "Coordination" area pointer to ensure that the life bit is available on the PLC.
3. Create three tags in the "Tag" editor.
–
Internal tag "Status_Control_Element"
–
External tag "Auxiliary-Tag"
–
External tag "Control_Element_PLC"
4. For globally allocated illuminated pushbutton, keyswitch, and handwheel:
–
Open the template in the "Screens" editor.
–
Select the operator control in the template.
–
Click on the "General" group in the Properties window.
–
Select the "Status_Control_Element" tag under "Tag" in the "Settings" area.
The value is written to the "Status_Control_Element" tag when you operate the operator control. You can additionally
configure the "LED-Tag" tag for the illuminated pushbuttons in order to control the integrated LED.
The following figure shows the tag assignment using the example of the "F1" function key.
KTP700F Mobile HW, KTP700F Mobile HW/OR
A5E44033674-AA, 08/2018
25