Forum Home › Forums › Development and Integration › Sending JSON text to Rapid SCADA
- This topic has 6 replies, 3 voices, and was last updated 4 years, 3 months ago by Mikhail.
-
AuthorPosts
-
December 13, 2016 at 12:48 am #1819Matt3Participant
Hi
Now:
I have an embedded pc collecting data from sensors using the Modbus RTU protocol. I have total access to the embedded pc software so I can change all options. At 5 minute intervals, the embedded pc software sends the data, in JSON format, to a remote server (RS) where it is parsed and stored in a database.Using Rapid SCADA:
I want to replace the software on the remote server (RS) with Rapid SCADA. Can Rapid SCADA understand JSON text or should I send the data, every 5 minutes, from the embedded pc software to the server in another format? What format do you suggest?sensor ——-> embedded pc ——————> remote server
send data every
5 minutesThanks
MattDecember 13, 2016 at 6:06 am #1822MikhailModeratorHi,
I can suggest different ways:
1. JSON is a generic format. I mean the contents of JSON of your system is differ than JSON used by other system. You can develop a driver for Rapid SCADA that will recognize you JSON packets. Driver is a DLL written for .NET.
2. You can use a native Rapid SCADA protocol over TCP. Server application of Rapid SCADA opens TCP port and your software can communicate with Rapid SCADA. You can implement the protocol by your own or use the existing C# library.
3. You can use Rapid SCADA for interacting with the sensors via Modbus. For example, the embedded PC may be a gateway that connects to RS as TCP client and provides transparent channel to sensors.
- This reply was modified 7 years, 4 months ago by Mikhail.
December 13, 2016 at 6:17 am #1827MikhailModerator4. Install Rapid SCADA on the embedded server if it is possible. And optionally, install the web app of Rapid SCADA on the remote server.
January 20, 2020 at 4:49 am #6428kirjono mudiartoParticipantHi,
I seem to have the same problem.
I have several devices communicating using Modbus protocol and I have sucessfully communicated with them except for one that communicates with the Remote Procedure Call (RPC) protocol and it said that the data format is JSON.
How can I communicate with RPC through rapidscada?Thanks
kirjono- This reply was modified 4 years, 3 months ago by kirjono mudiarto.
January 20, 2020 at 2:42 pm #6430MikhailModeratorHi,
The start question was about another thing.
RPC, JSON and Modbus are completely different.
You should start a new topic and provide the datasheet of your device.January 21, 2020 at 1:18 am #6431kirjono mudiartoParticipantThanks Mikhail, I will start a new topic
January 21, 2020 at 3:16 pm #6436MikhailModerator -
AuthorPosts
- You must be logged in to reply to this topic.