Forum Replies Created
-
AuthorPosts
-
SergeiParticipant
Thanks. It worked ok with 0x10 (Multiple). Tried this yesterday although didn’t know why Single didn’t work.
Thanks for replying.
SergeiParticipantYes. You need:
1. Create an output channel.
2. Specify this channel in a scheme or a table view.
3. Configure a command in your Modbus template.The available Command values are just binary/discrete (On/Off, Arm/Disarm, Run/Stop). How do I send a float value to the device?
Do I have to set a formula to write to the Modbus device using an output channel?Using the Communicator Command window and the interface both reset the register to zero (a pulse-driven flow-meter counter that needs to be manually synchronized to a physical value in the field), but no one actually write the desired value to the register.
As a side note, I tried a modbus utility and the value is correctly written.
SergeiParticipantWhich pdf manual? Is it the same as the online documentation available today? (as of 2021.07.28)
SergeiParticipantUpdate:
Got this error dialogue after trying to ‘Save’ the options in the RapidGate settings GUI.
- This reply was modified 3 years, 3 months ago by Sergei.
SergeiParticipantTried on another server (Windows Server 2019) to no avail.
Scada Server v5.1.4.0
RapidGate v5.1.1.0ScadaServer.log
——————————————————————————–
2021-01-26 19:16:18 <EC2AMAZ-4OFICL4><SYSTEM><ACT> ScadaServerService 5.1.4.0 is started
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Module is loaded from the file C:\SCADA\ScadaServer\Mod\ModDBExport.dll
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Module is loaded from the file C:\SCADA\ScadaServer\Mod\ModAutoControl.dll
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Module is loaded from the file C:\SCADA\ScadaServer\Mod\ModRapidGate.dll
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Check the existence of the data directories is completed successfully
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Check the existence of the configuration database files is completed successfully
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ERR> No active input channels in the configuration database
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Ouput channels are read from the configuration database
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Users are read from the configuration database
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Formulas are read from the configuration database
2021-01-26 19:16:21 <EC2AMAZ-4OFICL4><SYSTEM><ACT> The formulas source code has been compiled
2021-01-26 19:16:21 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Connection listener is started
2021-01-26 19:16:21 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Start server
2021-01-26 19:16:22 <EC2AMAZ-4OFICL4><SYSTEM><EXC> Error executing actions on server start in module ModRapidGate: Value cannot be null.
Parameter name: format
2021-01-26 19:16:22 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Current data are loaded- This reply was modified 3 years, 3 months ago by Sergei.
SergeiParticipantAlso, please note that after enabling HTTPS in IIS, https://localhost will not work (and should not) because the SSL certificate is for the public domain name and most probably doesn’t include the localhost domain.
SergeiParticipantPlease note the web.config file in ScadaWeb\plugins\Scheme also needs to be edited for HTTPS to work corectly. Else the schemes cannot be grabbed by the plugin. (The console -F12- shows “404 not found” errors)
SergeiParticipantWe have solved the issue.
At first we followed the procedure for installation of the module and then activating it, uploading the config and then restarting the server and Administrator.
The problem was the module was blocked by Windows Server (WS2012R2) and we had to “Unblock” it from the .dll file Properties dialogue.
After that was done, there was no indication the module was running because the config had to be uploaded again to the Scada server.
After that was done, we got the module to write to the log file, return the computer ID and running as expected.
Just to note: We tried this procedure in a new machine with Windows Server 2019 and it worked too, but in this case the ModAutoControl.dll file wasn’t blocked by the OS and the procedure was more straightforward.
SergeiParticipantI have scanned the ScadaServerSvc.log file and found no indication whatsoever of a problem. There’s also no mention to the ModAutoControl module in it.
¿Could this be a permissions or a .NET runtime lib issue?
SergeiParticipantI’m afraid this didn’t work. The ModAutoControl.log file is empty.
Just to note I had to “Unblock” the module’s DLL (Win Server 2012 R2) to allow the module to be activated, but even after that the ‘Computer code’ text box appears grayed out.
I have tried Deactivating and re-Activating the module several times (restarting server service and even rebooting the machine), to no avail.
- This reply was modified 3 years, 4 months ago by Mikhail.
-
AuthorPosts