User Tools

Site Tools


faq13

SCADA software LAquis FAQ | SCADA software

Question: How to test tags values?

Answer: Tags (equipment / SCADA PLC values) can be tested in script by name, inside an event type:

if tagname = value then
 ...
end if

Examples:

if Tag1 = 1 then
 Tag3 = 3
end if

if tag is VAR text:

if Tag5 == "test" then
 Tag3 = 3
end if

if tag is inside a group:

if Group1.Tag1 = 1 then
 Group1.Tag3 = 3
end if

To access a SCADA tag property

if Group1.Tag1.ValueChanged = 1 then
 Group1.Tag3 = 3
end if

To access a tag property

if Group1.Tag1.ValueChanged = 1 then
 Group1.Tag3 = 3
end if

if the event is OnClick, the default group is from the tag associated to it.

if Tag1 = 1 then
 Tag3 = 3
end if

if the SCADA event is OnGroup, the default group is the current updated tag group there.

if Tag1 = 1 then
 Tag3 = 3
end if

SCADA software

faq13.txt · Last modified: 2016/11/08 05:14 by scadalaquis

Page Tools


Tags: SCADA software , SCADA systems.