Process Control Instructions
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 47
Structured Text
SyrupController.ProgCommand := AddSyrup;
SyrupController.FB0 := SyrupValveClosedLimitSwitch;
SyrupController.FB1 := SyrupValveOpenedLimitSwitch;
D2SD(SyrupController);
SyrupValve := SyrupController.Out;
Switch Between Program Control and Operator Control
The following diagram shows how the D2SD instruction changes between
Program control and Operator control.
(1) The instruction remains in Operator control mode when ProgOperReq is
true.