Untitled

mail@pastecode.io avatar
unknown
plain_text
14 days ago
299 B
2
Indexable
Never
FUNCTION_BLOCK PumpControl
VAR_INPUT
			PStart:BOOL;
			PStop: BOOL;
			PFail:BOOL;
END_VAR

VAR_OUTPUT
			PRun:BOOL;
			PTrip:BOOL;
			ThisObject: POINTER TO PumpControl;
END_VAR

VAR 
	prevPStart:BOOL;
	prevPStop:BOOL;
	prevPtrip:BOOL;
END_VAR

#initalisation 
ThisObject:=THIS
Leave a Comment