Forum Replies Created
-
AuthorPosts
-
MikhailModeratorThe approach is
1. Receive data in UInt16 (4 Bytes)
2. Create a formula in the configuration database (SCADA-Administrator, Formulas table) which decodes the data.
3. Use the formula for your input channels in the Formula field.Do you have an algorithm how to convert INT32-M10K to normal integers or floats?
MikhailModerator1. Create a formula in the Formulas table:
int CorrectStat() { return CnlStat == 5 ? 0 : CnlStat; }2. Add the expression in the Formula field of an input channel:
Cnl; CorrectStat()
Note: I didn’t test this answer. It should work, but may have mistakes.
-
This reply was modified 9 years, 8 months ago by
Mikhail.
MikhailModeratorGood idea, thank you.
I’ve added it to the issue list.If it is critical to your project, it is possible to change the Unreliable status to Undefined by a formula of input channel.
October 17, 2016 at 8:22 am in reply to: SendStandardCommand, SendBinaryCommand, SendRequestCommand #1651
MikhailModeratorHi,
You can create special files. Try to stop SCADA-Server then send commands using Communicator. You can see the files in C:\SCADA\ScadaComm\Cmd
There is an example how to do it.-
This reply was modified 9 years, 8 months ago by
Mikhail.
MikhailModeratorHello,
If Communicator is off, the values become undefined in 5 minutes by default. You can change this time span by the parameter “Unreliable on inactivity” in SCADA-Server.
October 17, 2016 at 7:08 am in reply to: SendStandardCommand, SendBinaryCommand, SendRequestCommand #1648
MikhailModeratorIn this case you can use SendStandardCommand, SendBinaryCommand and SendRequestCommand methods which establish TCP connection with SCADA-Server. Why you need non-TCP way of sending commands?
October 15, 2016 at 7:54 am in reply to: SendStandardCommand, SendBinaryCommand, SendRequestCommand #1645
MikhailModeratorHi,
Could you provide more details or example of the situation?October 14, 2016 at 5:29 pm in reply to: SendStandardCommand, SendBinaryCommand, SendRequestCommand #1643
MikhailModeratorIt is an ID of a user from the configuration database which you can see in Administrator. You can set it to 0 means undefined. User ID is just an information who send a command.
MikhailModeratorProbably, the first list item above is difficult to implement, because devices are installed for a long period of time. In this case you need a software simulator of devices, that can respond for requests.
MikhailModeratorpolling frequency 30 sec to 5 mins distributed among devices
This is not high load.
1. After you configure Rapid SCADA, you should start the whole process and watch for CPU, RAM, HDD and network load.
2. Test responsiveness of the web app by serfing data views. Compare first open time of a view if Communicator is running or not. First open time after restart application pool of IIS.
3. Explore logs of the web app and SCADA-Server service (you should switch to detailed log).
MikhailModerator1) Both are good choice.
Server 2016 is not tested with Rapid SCADA, but I’m sure, it will work well. In case of any issues with it, I can help you.2-4) Very good.
5) I forget to ask about communication protocols. Could you describe how devices will be connected?
I think, from 10 to 100 parallel polling threads (communication lines) have to work.
It would be wonderful if you share stats when you launch the system.I recommend Extended Support for important systems. Also recommend the new web app.
MikhailModeratorHi,
Rapid SCADA is tested in the lab with 10000 input channels and works well on Pentium i3 and 4GB RAM. Active communication between Server and Communicator may require more resources.
Some additional questions:
1. What OS is planned?
2. What frequency of polling is really needed?
MikhailModeratorHello,
If it already works, it will work further too.
But there can be a mess for administrator.
I recommend to create communication lines and assign them to devices.
Objects are optional.
MikhailModeratorThe most simple is MySQL and MS SQL 🙂
MikhailModerator1521 is the default Oracle port. I don’t think you should explicitly specify it.
Have you specified your connection settings in tnsnames.ora ?Connection tab contains settings those used by the shell to connect to SCADA-Server service. You don’t need to change them.
-
This reply was modified 9 years, 8 months ago by
-
AuthorPosts