Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHello,
Working with Modbus devices was not changed in Rapid SCADA 5.7. From the log we can see that the device doesn’t respond. You should check serial connection.
July 31, 2019 at 11:03 am in reply to: String dynamic text change according input channel value #5776
MikhailModeratorHi,
Please find the error details in C:\SCADA\ScadaServer\Log\ScadaServerSvc.log and copy the error message here.
MikhailModeratorOpen Line Parameters, Main Parameters page and tick “Commands enabled”.
Upload the project to the server.
MikhailModeratorHello,
The actions below relate to Communicator settings available in the Administrator app.1. Double click the node of your device to open the device data form.
2. Click the Properties button. The OPC device properties form opens.
3. Select “Write data” node in the right tree.
4. In the left tree, double click the item you need to write. It is added to the right tree.
5. Click Save and close the form.
6. Click command button and try sending commands.
7. You should see sent commands in the opened device data widow.
8. If commands don’t work, find sending command action in a communication line log (Line Stats > Line Log). You can find full log file in C:\SCADA\ScadaComm\Log\lineXXX.logWhen the above work, I can explain how to bind commands to user interface. Otherwise, send screenshots and logs.
MikhailModeratorHello,
Please create a new topic in https://forum.rapidscada.org/?forum=communicating-with-devices/opc
This topic is not relevant to the question.Provide information what Rapid SCADA version do you use?
Did you do some settings to write data or have no idea how to do it?July 28, 2019 at 12:00 pm in reply to: String dynamic text change according input channel value #5763
MikhailModeratorHi,
1. Create a new record in the Units table with Sign =
-; Stop; Manual; AutoSee “No; Yes” for example.
2. Create a new formula in the Furmulas table. Something like that:
function double MyFunc() { switch ((int)Cnl) { case 3: return 1; case 4: return 2; case 5: return 3; default: return 0; } }3. For your input channel set formula to MyFunc() and set unit to the unit you created.
MikhailModeratorHi,
You should create an extra input channel of the calculated type.
In the channels of particular doors use SetVal(…) to set the calculated channel.
MikhailModeratorit s okay now
Thanks for noticing.
MikhailModeratorThe current solution is not beautiful.
Use a formula for an input channel:
EncodeAscii(((UInt16)Cnl).ToString(“X4”))And set the Format field to ASCII text
MikhailModeratorThis code performs bit operations. It uses C# syntax. You can find &, >> in C# documentation.
Val() gets the channel value.
MikhailModeratorHi,
The idea I wrote before is true.For example, to get bits 5-8, you need a formula:
((UInt16)Val(101) & 0x0078) >> 4
where 101 is the source input channel.
Note: I didn’t test the formula.
MikhailModeratorHi,
I’m not sure that I understand the question. But likely you need to create extra input channels of the Calculated real type. And use the Formula field of these channels to define the calculations.
MikhailModeratorYou should update Webstation at least to 5.0.8.0
MikhailModeratorHi,
The manual is http://doc.rapidscada.net/content/latest/en/
For now, the existing videos show the earlier version of Rapid SCADA. The textual documentation is up to date.
MikhailModeratorafter i add autologin to scadaweb folder and try to access website via address
What version of Webstation do you use?
-
AuthorPosts