You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I wrote a code in codesys that I want to transfer to hassio. Can someone helpme?
It's for decrease current by disconnect some loads.
This code runs once/sek. Example: 26.5Amp, 3600/(10^2.25)= around 13sek before action
Example: 17.5Amp, 3600/(1^2.25)= 3600sek before action
IF strom1.rPayload >= 16.5 THEN
rMem1:=ABS(EXPT((strom1.rPayload - 16.5),2.25));
rMem2:=rMem1 + rMem2;
ELSE
rMem1:=0;
rMem2:=0;
END_IF
bMinne:= (rMem2>3600 OR bMinne) AND NOT memTon.Q;
memTon(IN:= bMinne, PT:=T#60S , Q=> , ET=> );
bVakt:=bMinne;
The text was updated successfully, but these errors were encountered:
Hi.
I wrote a code in codesys that I want to transfer to hassio. Can someone helpme?
It's for decrease current by disconnect some loads.
This code runs once/sek. Example: 26.5Amp, 3600/(10^2.25)= around 13sek before action
Example: 17.5Amp, 3600/(1^2.25)= 3600sek before action
IF strom1.rPayload >= 16.5 THEN
rMem1:=ABS(EXPT((strom1.rPayload - 16.5),2.25));
rMem2:=rMem1 + rMem2;
ELSE
rMem1:=0;
rMem2:=0;
END_IF
bMinne:= (rMem2>3600 OR bMinne) AND NOT memTon.Q;
memTon(IN:= bMinne, PT:=T#60S , Q=> , ET=> );
bVakt:=bMinne;
The text was updated successfully, but these errors were encountered: