Set ControllerType input of B31_REVERSE_ON_OFF_CONTROL_SEQUENCE
-
Re: How to set CONTROLLERTYPE to heating
Hi Martin
I'm againg on the same topic after some months.
I'm not able to set (I'm using an ST program) the value of input "ControlType" of block B31_REVERSE_ON_OFF_CONTROL_SEQUENCE.
I search into help but there is no example of ST program that explain how to set the input.I Tried
PROGRAM B31_TEST
VAR IN1, IN2:REAL;
O1: BOOL;
FB: LIB.CORE.V1_0.B31_REVERSE_ON_OFF_CONTROL_SEQUENCE;
END_VAR
FB(X:=IN1,CONTROLLERTYPE:=COOLING, W:= IN2);
O1:= FB.OUT;
END_PROGRAMbut
i get the error "can not find the object 'COOLING' in the current context"Antonio
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login