Ladder routine example

routine ld someProgram.exampleRLL(input Valve valve0, input Valve valve1, input real overallPressure) {
tag dint sInOut; //routine scope tag
// spaces between instrs are optional
xic(myAOI.Done) xic(myAOI.myOut) nop() {
desc = ‘hello’; // rung comment
};
tag dint sinput;
tag dint sout;
xic(myAOI.Done) [ xic(myAOI.myOut), ] nop();
;
; // empty rung
}
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.