L-Gate User Manual 51 LOYTEC
Version 3.2 LOYTEC electronics GmbH
applied. If this property is enabled, the analog values are pre-scaled from the technology to
the data point. The custom scaling is in addition to any technology-specific scaling factors
and can be applied regardless of the network technology.
5.2.7 System Registers
The L-Gate provides a number of built-in system registers. They are present without a data
point configuration. The system registers, such as the System time or the CPU load, can be
exposed to the OPC server. By default, all system registers are checked for being exposed
to OPC. To reduce the number of needed OPC tags, you may deselect certain system
registers, which are not useful in a specific project.
System register can also serve as a testing setup for the OPC XML-DA communication
without a network data point configuration. The System Time register is updated every
second and may serve for testing subscriptions. The Authentication Code register can be
used to verify writing to OPC tags.
5.2.8 User Registers
The L-Gate can be configured to contain user registers. In contrast to system registers,
these are only available as a part of the data point configuration. User registers are data
points on the device that do not have a specific technological representation on the control
network. Thus, they are not accessible over a specific control network technology.
A register merely serves as a container for intermediate data (e.g., results of math objects).
The register can have the following, basic data types:
• Double: A register of base type double is represented by an analog data point. It can
hold any scalar value. No specific scaling factors apply.
• Signed Integer: A register of base type signed integer is represented by a multi-state
data point. This register can hold a set of discrete states, each identified by a signed
stats ID.
• Boolean: A register of base type Boolean is represented by a binary data point. This
register can hold a Boolean value.
Since a register has no network direction, it can be written and read. Therefore, two data
points are generated for each register, one for writing the register (output) and one for
reading the register (input). A suffix is added to the register name to identify the respective
data point. For example, the register MyValue will have two data points generated for:
MyValue_Read and MyValue_Write.
5.2.9 Math Objects
Math objects are advanced application objects that can execute mathematical operations on
data points. A math object takes a number of input data points (variables v
1
, v
2
, …, v
n
) and
calculates a result value according to a specified formula. The result is written to a set of
output data points. The formula is calculated each time one of the input data points updated
its value. The formula is only evaluated if all of the input data points have a valid value
(i.e., don’t show the invalid value status).
5.3 Connections
With the use of connections, data points can interact with each other. Connections specify
which data points exchange values with each other. Both types of connections – “1:n” and
“m:1” connections – are supported. The single data point is referred to as the hub data
point, whereas the other data points are the target data points.
This means, the following connections are possible: