7 global attributes – ProSoft Technology ProSoft i-View User Manual
Page 33

ProSoft i-View ♦ Mobile Process Monitoring and Control Application
Data Source Files
Version 2.0.2
User Manual
ProSoft Technology, Inc.
Page 33 of 106
September 29, 2011
3.1.7 Global Attributes
Global attributes are modifiers that apply to all tags or have a meaning in the context of
the whole source file. Global attributes can be placed anywhere in column D of source
files. So they can be specified next to any variable and they will still have a global scope.
Note: If a particular global attribute is included more than once in a source file,
only its first occurrence will take effect.
Communication settings are global and therefore need to be specified only once in a
source file.
COMMUNICATION
ATTRIBUTES
TYPE
DESCRIPTION
Local_ip
text
Source address in text format for local access (LAN).
Example: "192.168.1.40"
Local_port
number
TCP port used for local connections (LAN) to this source.
If it is not specified, ProSoft i-View will use the standard
port for the protocol of the current source file. (For
example, 502 for Modbus. Note that this can differ from
the default port specified in the ProSoft i-View Settings
tab.)
Remote_host
text
Source address or host name for remote connections.
Example: "remote.remotehost.com"
Remote_port
number
TCP port used for remote connections to this source
(WAN-Internet). If it is not specified ProSoft i-View will use
the standard port for the protocol of the current source file.
Ssl
number
(boolean)
Specifies whether TLS/SSL encryption is required for a
remote connection. Nonzero numeric values are
considered true. Default value is ‘false’.
Validation_tag
Special text Allows for using a custom validation tag on protocols
supporting it.
For EIP/PCCC use validation_tag = "Nx:y"; only N files
can be used and the code is stored as an INT (default is
N98:0).
For FINS/TCP use validation_tag = "Dx"; only DM area
can be used and the code is stored as a WORD (default is
D19998).
For EIP/NATIVE the validation tag name is always
SMValidationTag, it can not be changed.
For MODBUS/TCP no validation tag is available.
If no attribute from this group is specified, ProSoft i-View will dynamically use values from the
application Settings tab view.
The Modbus specification does not define exactly how the data is stored in registers or
the order in which bytes or words are sent. The following global attributes help to deal
with this. Swapped words/bytes options for Modbus are global.