To make it possible to call EDT from a C program, macros, in the form of include files, are supplied for the definition, initialization and modification of the EDT control blocks. The return codes are defined as symbolic constants.
Both formats (V17 format and V16 format) of the interfaces are always generated. In all cases, these can be addressed via structure-name_v16
or structure-name_v17
(e.g. iedglcb_v17 or iedglcb_v16
).
By setting the value EDT_V17
for #define
, users can specify whether the standard names of the control blocks and the abbreviated names for initialization or access operations are to correspond to V17 or V16 format. If EDT_V17
is defined then V17 is used as the default, otherwise the V16 format.
The individual control block fields are described in section “Generation and structure of thecontrol blocks”.