Forum Replies Created
-
AuthorPosts
-
MikhailModeratorChannel formula example for the calculated channel:
Val(101); Stat(101)
where 101 is the source input channel
MikhailModeratorOnly can access OPC UA server anonymously
The issue in DrvOpcUa has been fixed. Thank you for finding it.
Do you prefer building the source code by yourself or should I provide an updated DLL?
MikhailModeratorHowever, if you have to provide only 2 registers per device as Modbus Slave, I will help you. In this case you should create a new Modbus template, and add a bunch of channels of the Calculated type to make a device mapping.
-
This reply was modified 3 years, 9 months ago by
Mikhail.
MikhailModeratorHi,
In the Modbus Slave driver of version 5.x I strongly recommend to provide fully the same registers as they are. Providing only particular registers may be too tricky. We will simplify driver settings in the 6 version, so you can choose registers when it is ready.You should add 4 Modbus Slave devices. Specify for them the same Modbus template that you use for master, and set Data source device equal to master devices’ IDs (> 0).
https://rapidscada.net/doc/content/latest/en/modules/kp-modbus-slave-files/device_props_en.pngSeptember 19, 2022 at 7:15 am in reply to: How to manage MQTT JSON data from Rapid Scada version 6 beta #10828
MikhailModeratorHi,
Check server log for errors.
MikhailModeratorThe formula
Cnl; Cnl > 0 ? 15 : CnlStatdoes not contain particular channel number. It’s applied to the channel of the formula.15 is a channel status. You can see channel status IDs in the Event types table.
MikhailModeratorAccording to the manual there is no difference. They are the same.
MikhailModeratorI will check.
September 18, 2022 at 9:26 am in reply to: How to Install Automatic Control Module in Raspberry PI #10808
MikhailModeratorHi,
You should copy the files to the Linux machine and to the Windows machine. Activate the module in the project. You will find the computer code in the module log on Linux.
MikhailModeratorThe correct link is this.
I mean that you should use ScadaCommMono.exe instead of ScadaCommSvc.exe
MikhailModeratorAn event is displayed by Notification plugin if it has channel status, specified in PlgNotification.xml.
Try the formula for your input channel:
Cnl; Cnl > 0 ? 15 : CnlStat
MikhailModeratorHi,
You can try:public double ResetArc(int u, int d) { SetVal(u, 0); SetVal(d, 0); return 0; }-
This reply was modified 3 years, 9 months ago by
Mikhail.
MikhailModeratorHello,
You can use “;” to split a formula as you did in version 5.
In version 6 you can also use a function to calculate channel data like that:
NewData(1.23, 1)
where 1.23 is value and 1 is status. -
This reply was modified 3 years, 9 months ago by
-
AuthorPosts