Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHi,
Channel formulas work only with current data. To calculate differences (e.g., power consumption), I suggest Elastic Report Plugin.
MikhailModeratorHi,
Could you clarify your question?
MikhailModeratorCould you make a screenshot of the log?
MikhailModeratorHi,
I use sendcommand sending about 30 commands to virtual device per second and the base session will be suspended. The session will wait until the cmd is handeld.
If commands require heavy processing, implement a queue to process them in background.
I use the writcurdata method to send data to the server and persist the data to a dat file.
To analyze the issue, you should use a debugger or log files.
MikhailModeratorLinux is preferable for a cloud server.
MikhailModeratorI suggest to deploy Rapid SCADA on a cloud server provided by Microsoft Azure, Google Cloud, Amazon, Digital Ocean or your local provider.
MikhailModeratorHi Zeus,
When I use the send command function to write a large amount of data to a virtual device, the session will be suspended.
What amount of data you try to send using a command?
When I use writing curdata to a virtual device, if the frequency is low, the data will become 0.
Could you explain?
MikhailModeratorAvailable at https://rapidscada.net/store/Module/en/ExtTrendJP
MikhailModeratorCheck Communicator – Communication Lines – Your line – Line Stats – Line Log
December 27, 2023 at 11:46 am in reply to: Use logical judgment to calculate equipment working time #13873
MikhailModeratorHi,
Something like (not tested)public double CountTime() { return Val(101) > 0 ? Val() + 1 : Val(); }101 – channel that stores the machine state
Then use this formula in a channel of the Calculated type:EveryMin(() => CountTime())
MikhailModeratorAlso, try specifying a byte order. For 16-bit float it could be 2301.
MikhailModeratorHello,
Usually, you should remove 4x from register address. Address of register 40000 is 0.
MikhailModeratorHello,
Formulas work with current data. To solve this task, Elastic Report Plugin can help. It can calculate the difference. See the example here.December 22, 2023 at 10:45 am in reply to: Use logical judgment to calculate equipment working time #13865
MikhailModeratorHello,
The related answer is here
If the motor change its state not too often, you can check it every minute and add a channel value if it is on.December 22, 2023 at 10:43 am in reply to: Create a channel with increment per minute using the value of a variable as step #13864
MikhailModeratorIn Rapid SCADA the general syntax of the formula would be
EveryMin(() => MyFunc()) -
AuthorPosts