Modifiers in FactoryTalk Linx

When accessing the item values in a client application with
FactoryTalk Linx
, there are certain modifiers that can be used to change the way the information is accessed. This includes converting the values to a different format or requesting multiple items.
The item address must be in the following format:
[ShortcutName]TagName,Modifiers
TIP:
To utilize a modifier in
FactoryTalk View Studio
, open the
Tag Browser
and manually type the modifier text to the end of a tag reference. For example,
[New_Shortcut]Tag1,S1.
Note that
FactoryTalk View Studio
doesn't support L modifier.
Where:
Modifier
Description
L##
Indicates the length (block size), or the number of items to be read.
Use this modifier in a client application to read the data block (for example, array tag) in a single action.
For example,
Tag1[0] = 65
Tag1[1] = 66
Tag1[2] = 67
Tag1[3] = 68
Add an item in client application:
[New_Shortcut]Tag1[0],L4
which,
"
New_Shortcut
" represents the shortcut used to access the tag value.
"
Tag1[0]
" represents the starting element of the array tag.
"
L4
" represents the number of elements to be read.
The value returned is:
65,66,67,68
Tip
: The maximum number of elements supported by this modifier for different data types are:
  • BOOL: 3808
  • INT/UINT: 238
  • DINT/UDINT: 119
  • SINT/USINT: 476
  • REAL: 119
This modifier works with the following shortcut types:
  • Processor
  • Unsolicited Message
  • Redundant Controller Path
  • Redundant
    ControlLogix
    Controller
SC##
Indicates a special modifier that converts the data values into ASCII style.
Use this modifier in a client application to convert tag values with data types: SINT, INT, DINT, LINT, UINT, USINT, UDINT, ULINT.
For example,
Tag1[0] = 65
Tag1[1] = 66
Tag1[2] = 67
Add an item in client application:
[New_Shortcut]Tag1[0],SC3
which,
"
New_Shortcut
" represents the shortcut used to access the tag value.
"
Tag1[0]
" represents the starting element of the array tag.
"
SC3
" represents the number of elements to be converted, here it will convert Tag1[0], Tag1[1], and Tag1[2].
The string value returned is:
ABC
This modifier works with the following shortcut types:
  • Processor
  • Redundant Controller Path
  • Redundant
    ControlLogix
    Controller
S#
Indicates a specific server to fulfill data requests in a redundant server configuration. This is particularly useful for obtaining server status predefined items.
S1 = primary server, S2 = secondary server.
Use this modifier to define the
FactoryTalk Linx
data server or
FactoryTalk Linx
OPC UA Connector server to receive the tag value.
The S# modifier forces a specific server to receive tag values regardless of which server is active.
For example,
[New_Shortcut]@ConnectionsActive,S1
.
Meaning the @ConnectionsActive will be accessed through the primary
FactoryTalk Linx
data server.
If the S# modifiers are not used, the tag value in a redundant system will be accessed through the currently active server.
This modifier works with all the shortcut types.
This modifier can be used to access server status information even when the server is not active.
,CTime
A string that converts a LINT tag to epoch time. Epoch time, also known as Unix time, is the number of seconds elapsed since 1970/1/1 00:00:00 Greenwich Mean Time (GMT). The format follows the Logix 5000 controller time format of Year/Month/Day/Hour/Minute/Second.
The range of the LINT/ULINT tag must be from 1 through 32,600,000,000,000,000.
The value returned is the result of converting the LINT tag from 1970/1/1 00:00:00 to the system time on the computer that hosts the client application.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal