User Guide

Matrikon OPC Server for Allen Bradley
Page 48 of 49
FORMATNUMER
IC(mask, x)
Converts the numeric value x to
text using the format mask
FORMATNUMERIC('####.#',
123.4567) = ‘123.5’
INPUT The incoming value read from
OPC
INPUT * 3.1415
OUTPUT The outgoing value written to OPC
OUTPUT / 3.1415
H.2 CONFIGURATION CSV FORMAT
Comma-delimited text files (CSV) contain records on each line. Commas separate the individual
fields in a record. If the data within a field contains commas or spaces in itself, then the data is
enclosed in double quotation marks (“”). If the data contains a double quotation mark within
itself, then two double quotation marks are used in place. Lines beginning with a hash mark (#)
are ignored as comments.
Each record in an alias CSV files has the following general format.
"Alias Group", "Alias Name", "Item Path", <data type>,
<read-only>, <poll always>, <update rate>, <scaling>
[, <scaling parameters>...]
For example: "North.FIC101","CV","Com1.Plc1.4:0001F",5,1,0,0,0
Field Description
"Alias Group"
The name of the alias group folder to add the alias item to.
Periods in this name indicate subfolders below the root (i.e.
North.FIC101 = folder "North" under the root and subfolder
"FIC101" under that).
"Alias Name"
The alias item name. To access a particular item from an
OPC client, the full path name is delimited with periods (i.e.
North.FIC101.CV).
"Item Path"
The fully qualified item ID for the OPC item to which this
alias refers.
<data type>
A number indicating the data type to convert the value to
before it is returned to the OPC client. This is also appears
as the "canonical" data type for the alias when browsing.
Use as zero in this field for the default data type of the
referenced OPC item. See the annex for a list of possible
values.
<read-only>
The number one in this field indicates that the alias cannot
be written to. The number zero indicates that it can.
<poll always>,
<update rate>
These values are used in conjunction to ensure that an OPC
item is always being scanned whether the client is presently
using it or not. Set the "poll always" value to a one for the
item to be scanned continuously, and specify the update rate
in milliseconds. Otherwise, set both values to zero.
Field Description