Creating control data
By creating control data, programmers create a specific set of criteria or variables that all standard controls should follow. This is a dataset that should follow a requirement or process, such as the following:
- All asset controlling function blocks should return one of the following status types:
Healthy
statusRunning
statusNot available
statusInhibit
status
The preceding status types can be added to a Struct data type called Control_Data
, as illustrated in the following screenshot:
Figure 6.14 demonstrates a function with an output for the Control_Data
elements. The output is a struct containing elements that go on to be used in a program for control and interlocks with other equipment.
The contents of this Control_Data
struct are shown here:
The Control_Data_Example
asset control function block is...