Data flow AI (Analog Input)
The signal acquisition and data processing for the analog input of this device is as follows:
Data flow diagram legend | ||
Left column: | Middle column: | Right column: |
This terminal only uses floating point calculations internally, as shown in the data flow. This considerably simplifies and shortens the commissioning of the analog channel, which minimizes errors in understanding. In addition, intermediate values throughout the data calculation can easily be displayed in the CoE.
The Real32 and INT16 values are defined in the CoE without units. However, the unit is determined by the context and should, wherever possible, be regarded as an SI unit. For example, the voltage is measured in V, the current in A (even at 20 mA input!), the resistance in ohms and the ratio in V/V and so on.
![]() | REAL32 and INT types in the CoE Individual functional units (see data flow) have already been introduced in earlier analog devices based on INT16 (integer) and are controlled by these INT-based parameters. Such INT parameters are still supported for compatibility reasons. For example, existing code in the controller should access the CoE via ADS. This means that parameters of functional units are either:
|
When re-implementing the analog function, the Real32 parameters should be implemented.
Commissioning of the analog input in TwinCAT should follow this data flow.
