Example: configuration of the first measurement slot with MeasurementFunc-
tionBitConfig
Fig. 1: Configuration of measurement slots withMeasurementFunctionBitConfig
Table 8: Time measurement example configuration is started
StartModuleNumber
StartBitNumber
StartType
StartEdge
In the example above, the first measurement slot is configured so that the slot
displays the time between two digital triggers.
The time measurement is started when output 3 changes from OFF to ON on the
first module.
Table 9: Time measurement example configuration is stopped
StartModuleNumber
StartBitNumber
StartType
StartEdge
The time measurement is stopped when output 3 changes from ON to OFF on
the first module. The time value is displayed as a result.
Result:
How long is the third output on the module activated without interruption (in
ms).
Method MeasurementFunctionAnalogConfig
This method is used to configure the analog functions.
Table 10: Input parameter for MeasurementFunctionAnalogConfig
Description
Description
SlotNumber
Measurement function slot
number (1 ... 30)
FunctionNumber
Function number (see
ble 11)
ModuleNumber
Module number where the
signal is located
ChannelNumber
Channel to be measured
AnalogType
Type of start signal (see
ble 6)
Status
Setting to determine at which
monitoring status of the digi-
tal slot the measurement
should take place (see
ble 12)
MonitoredSlot
Number of the digital slot
whose status should be moni-
tored
AVENTICS™ AES OPC-UA | R412028203-BAL-001-AB | English
01
3 (output and input number)
Output
Rising edge
01
3
Output
Falling edge
Data type
Byte
g Ta-
Int32(Enum)
Byte
Byte
g Ta-
Int32(Enum)
Int32(Enum)
g Ta-
Byte
Description
Description
TimeGrid
Time ms (varying function de-
pending on the selected
FunctionNumber)
4,7,8: grids in which values
are added up
6, 11, 14, 17: time according
to time stamp
9, 12, 15, 18: time grid
Time2
Time in ms
(only analyzed for Function-
Number 7 and 8)
7: time grid
8: time according to time
stamp
Offset
Offset to be deducted from
the values
(only for FunctionNumber
4,7,8).
Table 11: Function numbers MeasurementFunctionAnalogConfig
Value
Function
4
Analog values
Adding up as long as measurement slot XX is measuring
5
Analog value difference between start and stop or stop and start of mea-
surement slot XX. Depending on the set status.
6
Analog value
Difference between the update of the measurement slot XX (time stamp)
and the specified time
7
Analog value
Adding up in the time grid
8
Analog value
Adding up between trigger start (time stamp) and the specified time
9
Analog value
Difference in the time grid
10
Min. analog value between start and stop or stop and start of measure-
ment slot XX. Depending on the set status.
11
Min. analog value between trigger start (time stamp) and the specified
time
12
Min. analog value in the time grid
13
Max. analog value between start and stop or stop and start of measure-
ment slot XX. Depending on the set status.
14
Max. analog value between trigger start (time stamp) and the specified
time
15
Max. analog value in the time grid
16
Mean analog value between start and stop or stop and start of measure-
ment slot XX. Depending on the set status.
17
Mean analog value between trigger start (time stamp) and the specified
time
18
Mean analog value in the time grid
Table 12: Measurement slot status
Value
1
2
Data type
Uint32
Uint32
Uint32
Status
Monitored measurement started
Monitored measurement stopped
14