Unlike function block (FB) types, data types are not directly
executable. Testing of data types can be accomplished indirectly by
using FB types that operate on them, either by running tests on the
FB types directly or using them in system configurations such
as CODEC_TEST2
system configuration.
The example data types shown in the table below contain links to examples of the application of these strategies.
Derived Data Type | Example |
---|---|
Directly Derived |
FREQ
|
Subrange |
ANALOG_DATA
ANALOG_DATAZ
|
Enumerated |
VDIR
ANALOG_SIGNAL_TYPE
ANALOG_SIGNAL_RANGE
|
Structured |
REAL_VS
|
Array |
ANALOG_16_INPUT_DATAI
|