4. For analog modules, the compiled hex value of the bit length is added.
For digital modules, the bits are added in byte blocks. A byte is completed
with leading zeros, if it is being fully used.
5. Individual values are separated by commas.
6. Closing bracket: "]".
7. Closing brace: "}".
The following examples illustrate the string structure for various modules:
Module
Input values
4AI module
4x 8-bit input values
(10 dec, 20 dec,
30 dec, 40 dec)
2AI2AO module
2x 16-bit input values
(100 dec and
500 dec)
16DO module
Valve module, 2x
RawValues
The current output and input data can be retrieved as a collection with the vari-
ables RawValues. The RawValue output has been prepared for the best possible
performance in data transmission. The data is therefore not processed module-
specifically here. The recipient must assign the data to the modules personally
(see
g 4.2.4 Module
sequence). The data in this string is transmitted in the Big-
Endian format and hex-coded. Only the time stamp is decimal coded.
The following example illustrates the string structure for the module
M44,2AI2AO2M12-AE.
For calculation of the output and input values: see
Module
Input data
type
Valve side
EP (M)
16-bit integer 500 (decimal) 16-bit integer 500 (decimal)
Valve module,
---
4x (4)
Valve module,
---
4x (4)
I/O side
Analog com-
2x 16-bit inte-
bination mod-
ger
ule
(2AI2AO2M12
-AE)
Time stamp: 1 h, 26 min, 4 sec and 608 ms since ModulStart (5164608 ms)
The contents of the columns are separated by commas. In this example, this re-
sults in the following string: "5164608,01F4,01F455AA,07D02710,01F43A98".
Timestamp in
Input data,
ms since start-
valve side (hex-
up (decimal
encoded)
code)
5164608
01F4
Availability
MeasurementFunctions and RawValue data is only available when a valid license
has been entered in the system.
License number
The license number can be ordered with the number R412028478 and indication
of the serial number of the bus box (AesFieldbusNode->SerialNumber).
Enter license number
1. Enter the license number via OPC UA in the field MeasurmentFunctions -> Li-
censeKey.
2. Restart the product.
License is check when starting the product.
4.2.3 Measurement functions and methods
IIoT measurement function
The AES bus coupler has the option of performing simple measurement functions
with an internal time resolution.
AVENTICS™ AES OPC-UA | R412028203-BAL-001-AB | English
Output values
String
{"i":
["0x0A","0x14","0x1E
","0x28"]}
2x 16-bit output val-
{"i":
ues (700 dec and
["0x0064","0x01F4"],
1500 dec)
"o":
["0x02BC","0x05DC"]
}
16x digital outputs,
{"o":["0x12","0x34"]}
set:
0b000100100011010
0
4x digital outputs,
{"o":["0x0F"]}
set: 0b00001111
g 4.2.4 Module
Input data
Output data
type
---
8-bit single bit 0x55 (hex)
---
8-bit single bit 0xAA (hex)
2000 (deci-
2x 16-bit inte-
mal)
ger
10000 (deci-
mal)
Output data,
Input data, I/O
valve side (hex-
side (hex-en-
encoded)
coded)
01F455AA
07D02710
Notes
• The measurement functions required storing and computing time. The num-
ber of possible measurement functions is therefore limited to 30.
Each of these measurement functions occupies a so-called slot. To configure
them, there are several methods under the MeasurementFunctions object.
MeasurementFunctionBitConfig method
With the following input parameters, this method is used to configure the digital
functions.
Table 4: Input parameters for theMeasurementFunctionBitConfig method
Input parameter
SlotNumber
FunctionNumber
StartModuleNumber
StartBitNumber
StartType
StartEdge
StopModuleNumber
StopBitNumber
StopType
StopEdge
Table 5: Function numbers MeasurementFunctionBitConfig
sequence.
Value
Output data
1
2
3
The stop signals are not analyzed.
Table 6: Channel type
500 (decimal)
Value
15000 (deci-
1
mal)
2
Table 7: Edge type
Value
1
2
Output data, I/O
3
side (hex-en-
coded)
01F43A98
Description
Measurement function slot
number (1 ... 30)
Function number (see
ble 5)
Module number where the
start signal is located
Bit number of start signal on
the module
Type of start signal (see
ble 6)
Starting edge (see g Table 7) Int32(Enum)
Module number where the
stop signal is located
Bit number of stop signal on
the module
Type of stop signal (see
ble 6)
Stopping edge (see
ble 7)
Action
Time stamp (for the start signal)
Time measurement between two triggers
Counter (for the start signal)
Channel type
Input
Output
Edge type
Rising edge (0 ... 1)
Falling edge (1 ... 0)
Status change (on each edge)
Data type
Byte
g Ta-
Int32(Enum)
Byte
Byte
g Ta-
Int32(Enum)
Byte
Byte
g Ta-
Int32(Enum)
g Ta-
Int32(Enum)
13