Let's learn more about the process component.
We will build this:
The diagram below shows what you will build in this tutorial. The red dots show the steps.
When a process component is a servant, the supervisor controls the servant by Required.
To clarify, the control modes are:
- Disabled: Out of service, which tells the supervisor not to use the servant.
- Manual_feedback: The operator sets the feedback state.
- Manuel: The operator sets the required state.
- Auto: The supervisor controls the servant.
- Invalid: The value of the control state is invalid.
A servant is often in run mode. In the event of an error, it changes to error mode. You can see the error mode in the Qbool array:
Error_state_data, GUID PD_9560
The error states are:
- Waiting for restart
- Waiting for acknowledge
After you clear an error, the component can react in three ways. It is defined in Operator_error confirmation (PD_9557):
- Wait for restart
- Wait for acknowledge
- Confirmation after power-up.
The view uses set/get Acknowledge error and restart.
You use acknowledge when the operator must tell the system that the error is seen. You use restart when a restart needs operator attention.
Now, let us build it.
We need to make the window bigger to make room for the two new buttons.
2. Set View_region bottom right y = 80 mm
Now let's add the buttons:
b. Double-click on control component "Temperature_input_4_to_20_mA ".
c. Select view "PD_17593- Show_Temperature_input_4_to_20_mA_as_Pushbutton".
a. Right-click on view list and add - view for control component.
b. Double-click on control component "Digital_1A_DC_output".
c. Select view "PD_17610- Show_Digital_1A_DC_output_as_pushbutton".
6. Run the graphic editor and move your components around.
Your view should look like this: