View Categories

Symbolic tag creation

Table of Contents

In a regular view, you would link your graphics to your PLC using hard (direct) address. In the Parametric View, you can construct your tag with the help of passing parameters, which you can use in the tag address.

When you construct your tag, use $index$ as part of the tag. During the opening of the parametric view, $index$ will be replaced by the parameter specified by the open command.

Some examples: #

Open command parameters are specified like this:

21.3.1

Let’s look at the parameter $6$; here we use an equation to pass the value of variable bitvariable as defined in the View Script. In parameter $7$ we pass the value read from the PLC at address H:10.

Now some examples of how symbolic tag translates to hard link during the view opening:

Symbolic tag defined at view

Hard link translated during opening of view

Note

Valve[$1$]

Valve[5]

 

DB$2$

DB100

 

motor[$1$].$3$

motor[5].open

 

motor[$1$].$4$

motor[5].close

 

$5$

H:0

 

DB100.$6$

DB100.1

bitvariable=1

DB100.$7$

DB100.2

Tag H:10 has value = 2