APPLICATION TEST_AI16C

This application is part of the CODEC_TEST2 system configuration. It utilizes instances of IN_ANY and OUT_ANY for input and output of transmitted data, respectively. This data is of the derived data type ANALOG_16_INPUT_CONFIGURATION as shown at the right and further described in subclause 2.3.3.1 and Table 12 of IEC 61131-3.

The ANALOG_16_INPUT_CONFIGURATION type utilizes the data types ANALOG_SIGNAL_TYPE and ANALOG_CHANNEL_CONFIGURATION which are also defined in Table 12 of IEC 61131-3, and the data type FILTER_PARAMETER which is defined as follows:

TYPE FILTER_PARAMETER :
SINT(0..99) ;
END_TYPE
Here is the situation after data transmission has been triggered by pressing the Enter key in the lower left text field (data in the monitor window has been reformatted for easier reading). The transmitted data has been constructed from the initial value specification (SIGNAL_TYPE:=DIFFERENTIAL,
FILTER:=50,
CHANNEL:=[(RANGE:=UNIPOLAR_10V),
(MAX_SCALE:= 100, MIN_SCALE:=0)])

Default values have been inserted where initial values have not been given. Hence, the transmitted values are as shown at right, corresponding to the following set of received values:

(SIGNAL_TYPE:=DIFFERENTIAL,FILTER:=50,CHANNEL:=[
(RANGE:=UNIPOLAR_10V,MIN_SCALE:=-4095,MAX_SCALE:=4095),
(RANGE:=UNIPOLAR_1_5V,MIN_SCALE:=0,MAX_SCALE:=100),
(RANGE:=UNIPOLAR_1_5V,MIN_SCALE:=-4095,MAX_SCALE:=4095),
...])

The ellipsis (...) corresponds to 13 additional default values of the ANALOG_CHANNEL_CONFIGURATION type.

[Viewer Help]

Last updated: 2006-04-18.
©2006 Holobloc Inc
Licensed under the Academic Free License version 3.0.