Forum Replies Created
-
AuthorPosts
-
November 22, 2022 at 2:20 pm in reply to: Export channel data to excel for longer periode of time #11647
victorlam
ParticipantHello,
It seemed that it would like to persuade to use Rapid SCADA V6 as soon as we can.
May I know what is the proper procedures to install V6?
How about the existing V5 projects? Can we use or we need to rebuild the project file again?
Please help to advise all the details about V6 installation and changer over.
Do I need to uninstall V5 first? Sorry for many questions to ask.victorlam
ParticipantHennie,
Or have you tried these formula proposed by Mikhail?
A formula would be close to
Cnl >= 2 ? 0 : 1If you also want to calculate channel status
Cnl >= 2 ? 0 : 1; Cnl >= 2 ? 201 : 202
where 201 and 202 are status IDsFor me, I was really confused on this and not fully digested with correct understanding. Or you can show me the picture how you have deployed the formula statement Cnl>?0:1 etc. or this must be used. Then I need to buy a programmer book and learn how this programming condition can be applied.
victorlam
ParticipantHi Hennie,
Thanks for your quick response on my kindest help.
I have already learnt the concept of status change from your side with your formula and show the status of the battery management eg communication lost, charging, battery fault. I did memorized this method and stimulate my case as follows:-
Normal;Leak;Break;Leak&Break under UNIT at dictionary section.
This works. Thanks a lot.
Now I also would like to display the value og the register under input channel number eg 102. As the original number for this register is 65535 (FFFF), it will change to other values once triggered with the water leakage situation. So I am asking if you have any tips or hints for me to include this information to be displayed as well.
Your battery status formula is very helpful and make me to understand about RAPID SCADA. I am a new user without any proper programming skill.
Thanks for your kind support so far.
victorlam
ParticipantHello,
Thanks! This log can be helpful. But the formula issue cannot be helpful sometimes.
victorlam
ParticipantHello,
Thanks for your support.
Sometimes, CnlVal and Val(n) are confusing and found error and no idea how to solve.
victorlam
ParticipantOr my situation was not clear. And let me brief the status as follows:-
30001 = 0/1/2/3
0=NORMAL, 1=LEAK, 2=BREAK, 3=LEAK&BREAK
This register value can be used at the unit function and represented with different status of the register 30001.30002
default value = FFFF (65535). This value is not significant and should not be displayed and need to display any number other than 65535.
Suggest to use the formula. Then the formula is as follows:-
public int Leak() { if (Cnl>=65535) return 0;
else return 1}After the apply of the formula function, I cannot implement with the requested effect. Please help to advise if anything is missing here. Or I have the wrong interpretation.
victorlam
ParticipantHello,
Thanks for the reply and support here.
As I am a new user for this platform, currently I can only handle up to 50 devices especially 485 Modbus RTU devices. Just in case for the idea and plan, if my project can be enlarged as many devices to be deployed.victorlam
ParticipantHello Hennie,
I know you might be an experienced programmer more than me as a new learner.
How can we define your event here? According to my understanding, 200 201 202 and 203 are the event status or channel value?
return 1 means the value is defined?
I tried to test a number eg 5, it will be displayed as “battery faulty”.
victorlam
ParticipantAnd this value (not 65535) needs to be displayed or shown.
victorlam
ParticipantHello,
Let me explain my situation here.
Value of a register eg 30001, the value at initial state is 65535 (FFFF in heximal value). This is an unrelevant value or non-meaning value. So I do not want to display this FFFF or 65535 value. When there is a trigger from the sensor, it will be changed as eg 10 or 200 355 or 311 or any value not 65535.
How can this be done? I have already used the formula but not successful. May be my formula is not correct.
victorlam
ParticipantHere you are:-
2022-11-18 22:56:46 <LAPTOP-JH81V3B5><SYSTEM><ERR> Error compiling the source code of the formulas:
Line 516, column 5: error CS0200: Property or indexer ‘Scada.Server.Engine.CalcEngine.Cnl’ cannot be assigned to — it is read only
Line 516, column 5: error CS0029: Cannot implicitly convert type ‘double’ to ‘bool’
See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code
2022-11-18 22:56:46 <LAPTOP-JH81V3B5><SYSTEM><ERR> Normal program execution is impossiblevictorlam
ParticipantHello,
Thanks for your guidance support.
I try to set the undefined status with color as white as the table summary background is white.Then the formula is
public int Checkstatus()
{
if (Cnl=65535) return 0;
else return 1;
}Under input channel 1, then the syntax is Cnl;checkStatus()
However, there is no change or there is error after upload the project file.
Please help to advise the solution on this.
November 15, 2022 at 1:01 pm in reply to: Notification plug in (trial key vs paid registration key) #11532victorlam
ParticipantHello,
May I know how can I clear all the acknowledgement with a button or under the menu at webstation?
Thanks!
victorlam
ParticipantToday is November timeframe. May I know if Rapid SCADA will have rc2 or rc3? Or rc1 will be migrated to final release version.
victorlam
ParticipantHello,
Still do not understand why the google is not working here.
This link should be fine.
-
AuthorPosts