ProSoft Technology ProSoft i-View User Manual
Page 38

Data Source Files
ProSoft i-View ♦ Mobile Process Monitoring and Control Application
User Manual
Version 2.0.2
Page 38 of 106
ProSoft Technology, Inc.
September 29, 2011
As an example, this is what you could do to create a two-entry table with indexes 1 and 2.
Column A
Column B
Column C
Column D
entry1
LOOKUP
1
This is the lookup table at index 1
entry2
LOOKUP
2
This is the second entry in the table so it will display if
a lookup tag value is 2
Lookup numbers do not need to be ordered or contiguous. They can be any number that
fits in 16 bits (0 to 65535).
Multiple User Lookup Tables
You can specify an access level for entries in column D. In this case, you must set the
lookup text in the Comment attribute. This allows for having different texts depending on
user level. For example, consider the following:
Column A
Column B
Column C
Column D
entry1_boss
LOOKUP
1
access:=9; comment:= "Only I will see this
message. I’m the boss!";
entry1_worker
LOOKUP
1
access:=3; comment:= "I can see this with my
user level of 3 or more";
Multiple Range Lookup Tables
Lookup styled tags use the engineering unit as the index to the table. Therefore you can
use the scale attribute to make a lookup styled tag access to determinate portions or
ranges of the table.
For example, the setting: scale:={0,10,100,110}; will forward any raw value coming from
the PLC in the range from 0 to 10 to table text entries from 100 to 110.
You can use this feature to effectively have several virtual tables simultaneously in use.
The StylesExampleModb example shows how this concept works.
The global lookup table is available to expressions with the SM.lookup
method.