Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHi,
Any command to an output channel. When command is processed by a channel, the output formula is calculated to reset channels.
MikhailModeratorHi,
You right.
1. Yes. An output channel.
2. Yes.
You should check how it works.
MikhailModeratorOption 1 looks better because it does not need an additional module.
Option 2 is easier.
MikhailModeratorHi,
Option 1
Develop a function that calls the ResetChannels function (I’ve sent it to you) on a required time of a day.Option 2
Use Automatic Control Module without programming. It can send a command on a certain time. A command will be sent to an input channel of the output type which has an output formulaResetChannels(101, 102), for example.
MikhailModeratorMy company hired just me, a newcomer, to take on this project (based on RapidSCADA)
What is the planned result of the work?
August 23, 2024 at 9:48 am in reply to: Modbus TCP No sending command for write new value to slave device #15217
MikhailModeratorNow it’s more clear.
When you send a command:
Command number – keep by default, it’s not used when the command code is set.
Command code – the code from the Modbus template.Could you make a screenshot of the Modbus template with the selected register to which you send commands?
-
This reply was modified 1 year, 9 months ago by
Mikhail.
MikhailModeratorChannel 101 is the source channel.
Channel 102 formula:EveryMin(() => IncIfOn(101, 103))
Channel 103 stores the cumulative value.
Channels 102 and 103 of the Calculated type.Add to the Scripts table
public CnlData IncIfOn(int cnlNum1, int cnlNum2) { if (Val(cnlNum1) > 0) SetData(cnlNum2, Val(cnlNum2) + 1, 1); return CnlData.Empty; }Note: the above is not tested.
August 22, 2024 at 9:53 am in reply to: version about ScadaSchemeEditor not match between source code and setup #15206
MikhailModeratorIt’s in the develop branch https://github.com/RapidScada/scada/tree/develop/ScadaWeb/ScadaScheme
MikhailModeratorAre there any other ways I can support your work, or is there a donation option available?
In addition to the above:
Donations are appreciated. Please text us by email to make a donation.You can also help us with translation into Chinese. There are Chinese language files in the language pack. If you find errors in those files, please send us an updated version, so we can include it in the language pack.
MikhailModeratorWhen you done, please post here links to Bilibili.
August 22, 2024 at 9:45 am in reply to: Modbus TCP No sending command for write new value to slave device #15203
MikhailModeratorTo check the communication line log, navigate to Line Stats – Line Log, or find the file lineXXX.log
Then find in the log a moment when you send a command.
MikhailModeratorHi,
If the channel 101 changes not too often, you can measure it’s value every minute. If it’s 1, increase the channel 102. Does this method fit your needs?
August 21, 2024 at 11:25 am in reply to: Modbus TCP No sending command for write new value to slave device #15193
MikhailModeratorAlso check the communication line log after sending a command to get a error message.
Please provide a screenshot of the Modbus template.August 21, 2024 at 11:23 am in reply to: version about ScadaSchemeEditor not match between source code and setup #15192
MikhailModeratorThat’s true.
New Scheme Editor for version 6 is under development.
Check the version history.
MikhailModeratorMany developers in China are unable to access YouTube due to network restrictions. To help them, I kindly request permission to upload the RapidSCADA 6.0 video tutorials to Bilibili, a popular video platform in China.
I assure you that all copyrights will be respected. The original content will remain unaltered, and full credit will be given to RapidSCADA, including links back to the original videos.
Yes, you can upload the videos providing the original links.
Is there an option to download videos from Youtube automatically and upload to another hosting? -
This reply was modified 1 year, 9 months ago by
-
AuthorPosts