Forum Replies Created
-
AuthorPosts
-
MikhailModeratorIt’s good that Chinese users have easy access to the video lessons.
MikhailModeratorHi,
Please copy the full error message to this topic. Check C:\Users\_user_\AppData\Local\ScadaAdmin\Log\ScadaAdmin.log for additional error details.
There is no size limits. May be some required folders are missing.
August 26, 2024 at 1:44 pm in reply to: Modbus TCP No sending command for write new value to slave device #15232
MikhailModeratorHi,
Please send a screenshot of the Modbus template that you created in the Rapid SCADA project.
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?
-
This reply was modified 1 year, 9 months ago by
-
AuthorPosts