As described in 1.4.1, a configuration consists of resources, tasks (which are defined within resources), global variables, and access paths. Each of these elements is defined in detail in this subclause.
Table 49 enumerates the language features for declaration of configurations, resources, global variables, and access paths. Partial enumeration of TASK declaration features is also given; additional information on tasks is provided in 2.7.2. The formal syntax for these features is given in B.1.7. Figure 20 provides examples of these features, corresponding to the example configuration shown in figure 19a and the supporting declarations in figure 19b.
The ON qualifier in the RESOURCE...ON...END_RESOURCE construction is used to specify the type of "processing function" and its "man-machine interface" and "sensor and actuator interface" functions upon which the resource and its associated programs and tasks are to be implemented. The manufacturer shall supply a resource library of such functions, as illustrated in figure 3. Associated with each element in this library shall be an identifier (the resource type name) for use in resource declaration.
The scope of a VAR_GLOBAL declaration shall be limited to the configuration or resource in which it is declared, with the exception that an access path can be declared to a global variable in a resource using feature 10d in table 49.
Table 49 - Configuration and resource declaration features