We are in the process of migrating to a new machine and a new version of Rapid SCADA from version 5.5.2.1 to 6.1.1.0. The old version was copied to a new version but it does not have the same names
In version 5.5.2.1 and script that was created with the name CKLP
https://ibb.co/ZLQdp51 Input Channels v5
double CKLP(double val) {
DateTime nowDT = DateTime.Now;
if(val==1){
return (Cnl);
}
else {
if ((nowDT.Hour == 00) && (nowDT.Minute == 1)) {
return (0);
} else {
return (Cnl);
}
}
}
In version 5.5.2.1 there is the Command Type: Standard
http://ibb.co/r4R45Rp Output channels v5
Web
http://ibb.co/V93cyfh Web
In version 6.1.1.0 the same v5 script with public inclusion
https://ibb.co/NtvwqYk Input v6
public double CKLP(double val) {
DateTime nowDT = DateTime.Now;
if(val==1){
return (Cnl);
}
else {
if ((nowDT.Hour == 00) && (nowDT.Minute == 1)) {
return (0);
} else {
return (Cnl);
}
}
}
In version 6.1.1.0 there is no Command Type: Standard
https://ibb.co/qxkFxJs output channels v6
what should I do now?
-
This topic was modified 1 year, 4 months ago by
Mikhail.