Forum Replies Created
-
AuthorPosts
-
MikhailModeratora value greater than 0, such as 5, and then I have to read addresses 0x1000 to 0x1005 to get 5 events
You can send a command to poll the device using Automatic Control Module. Then try to generate events with the same module. Before developing a new driver, it’s worth trying.
From such a driver, would I be able to read any ModBus device registers and generate SCADA events based on them?
Yes.
is there a minimal example of a ModBus device driver available that I could follow?
Check the existing drivers, especially DrvModbus, DrvEnronModbus and DrvSimulator.
-
This reply was modified 10 months, 2 weeks ago by
Mikhail.
MikhailModeratorHi,
According to Modbus Parser, the following data is requested:
https://ibb.co/bjB7xMyCDoes it match the Modbus register map?
MikhailModeratorHi,
Probably, you can read the most recent event from the fixed Modbus address. Then you will get it as channel values. How will you process those channel values?
MikhailModeratorHi,
Could you copy the packets from the communication line log as text?
They can be found in a text file in the logs directory.
MikhailModeratorHi,
You need to upgrade to Rapid SCADA 6 to use that feature.
MikhailModeratorHi,
Please copy a part of the communication line log to check data packets, and provide screenshots of the Modbus template.
MikhailModeratorHi,
I sent a response on July 08. Is it put in the spam folder?
MikhailModeratorThank you for noticing the bug.
MikhailModeratorEverything look fine except Auto Report Module automatically export the Event Report even I didn’t activate it.
It’s a bug. Will be fixed in the next version.
MikhailModeratorEverything look fine except Auto Report Module automatically export the Event Report even I didn’t activate it.
Restart the service after changing the configuration.
MikhailModeratorHi,
After I change culture to en-GB, no errors at log and excel file (Historical Data Report & Elastic Report) when I opened them.
The PlgElasticReport.zh-Hans.xml file includes a line
<Phrase key="WorksheetName">工作表{0}</Phrase>
Likely there is some forbidden character.
Try replacing that line by the similar line from PlgElasticReport.en-GB.xml-
This reply was modified 10 months, 3 weeks ago by
Mikhail.
MikhailModeratorIn case of Modbus coils
Cmd > 0 ? 0 : 1
MikhailModeratorHi,
In the output formula of the channel, put something like
Cmd > 0 ? 0xFF : 0x00
If it doesn’t work, make screenshots.
MikhailModeratorHello,
To do that, add a new function in the Scripts table, and then use it in a channel.public void MyFunc() { SetData(501, Val(500), 1); SetData(502, Val(501)-Val(500)); } -
This reply was modified 10 months, 2 weeks ago by
-
AuthorPosts