Forum Replies Created
-
AuthorPosts
-
MikhailModeratorIf you provide screenshots from any OPC UA client that does what you need, it can help.
MikhailModeratorHi,
Create a single channel of the Calculated/Output type. Set the Output formula to
SetData()After making that settings it should be possible to change channel value by a user. This does not depend on the device.If you need to set Modbus register according to a command, configure the Modbus template, and then create channels by a wizard.
> it is possible to create a Virtual Device
Yes. In this case, a device just helps to group channels. Calculations are defined by channels.
MikhailModeratorHi,
It seems that we are close to understanding the cause.
If you restart the PC in usual way, do you get the same error?
MikhailModeratorHi,
I’ve wrote down a note to increase the priority of this task.
MikhailModerator> Is there a way for me to define what the event says?
The answer depends if you use Rapid SCADA 5 or 6. For version 6, set channel properties:
Input formula would beCnl > 0 ? 0 : 1
Format isOff-On
MikhailModeratorMay be the error occurs after the computer restart? And PostgreSQL has not started yet?
MikhailModeratorHi,
1) The error is weird. It’s the first time when we faced this type of error.
What PostreSQL version do you use?2) Probably, it just reconnects. The next time, if the error occurs, try stop and start SCADA-Serve without uploading the project.
Using pgAdmin simply try to connect to the database and open the data tables after the error occurs.
MikhailModeratorHi Matt,
Thank you for the reminder.
Do you need an example that demonstrates how to create an HTML page that uses JS API to get data (like v5 custom page example)?
MikhailModeratorThe OPC UA driver subscribes for data, and receives data in async mode when data comes from the OPC UA server. The driver does not send requests each time to read data.
> in facts it sends all the cycle data in one event type response.
Could you copy the example from the communication line log?
MikhailModeratorOPC DA sometimes unpredictable, unfortunately. While the Rapid SCADA driver uses official .NET OPC libraries, provided by OPC Foundation, they are not ideal.
Is the OPC server installed on the same machine as Rapid SCADA?
What OPC server do you use? (just for information)
MikhailModeratorPlease check this video. It should help to connect to OPC UA server. In the video Prosys OPC browser is used. However, any client is OK.
MikhailModeratorHi,
You can see that the error isNpgsql.PostgresException (0x80004005): 57P03: the database system is shutting down
You should check the PostgreSQL database. When it is not available from SCADA, try to connect to it by pgAdmin.
MikhailModeratorI’m glad that it is solved 🙂
MikhailModeratorHi,
Have you got some errors when connect by the utility?
MikhailModeratorOh, you use Rapid SCADA 5. The required feature (OPC UA server) is in version 6.
-
AuthorPosts