Forum Home › Forums › Communicating with Devices › OPC › OPC on Remote PC
- This topic has 16 replies, 2 voices, and was last updated 7 months, 3 weeks ago by
scadakid.
-
AuthorPosts
-
August 12, 2020 at 4:13 am #7135
scadakid
ParticipantHi,
Please guide me how to connect OPC server on remote PC from Rapid Scada.
Both PC are on same network. Configured DCOM setting and able to see each other from third party OPC client. But, I’m not able to connect from Rapid Scada. Thanks.
OPC server – Iconics/ Kepware
Rapid Scada – 5.8.1August 12, 2020 at 1:29 pm #7142Mikhail
ModeratorHi,
You should install Communicator and Agent applications on the remote PC. Then add an additional instance in the Rapid SCADA project. Communicator on the remote PC should refer to the IP address of the main Rapid SCADA server.
August 12, 2020 at 1:30 pm #7143Mikhail
ModeratorIf something goes wrong in the above sequence, please provide screenshots.
August 12, 2020 at 1:38 pm #7146Mikhail
ModeratorDoes your OPC server support OPC UA? This would make setup easier.
August 12, 2020 at 3:07 pm #7147scadakid
ParticipantHi Mikhail,
Below is the ScadaCom log from remote PC.
Rapid Scada server IP is 192.168.0.134. Is it correct configuration?2020-08-12 23:01:59 <WIN7-PC><SYSTEM><ERR> Unable to connect to SCADA-Server. Try again.
2020-08-12 23:01:59 <WIN7-PC><SYSTEM><ERR> Unable to connect to SCADA-Server. Try again.
2020-08-12 23:02:00 <WIN7-PC><SYSTEM><ACT> Connect to SCADA-Server “192.168.0.134”
2020-08-12 23:02:53 <WIN7-PC><SYSTEM><ACT> Receiving commands aborted
2020-08-12 23:02:53 <WIN7-PC><SYSTEM><ACT> Stop communication lines
2020-08-12 23:02:58 <WIN7-PC><SYSTEM><ACT> Disconnect from SCADA-Server
2020-08-12 23:02:58 <WIN7-PC><SYSTEM><ACT> ScadaCommService is stopped
——————————————————————————–
——————————————————————————–
2020-08-12 23:02:58 <WIN7-PC><SYSTEM><ACT> ScadaCommService 5.2.1.1 is started
2020-08-12 23:02:58 <WIN7-PC><SYSTEM><ACT> Load device library: KpModbus.dll
2020-08-12 23:02:58 <WIN7-PC><SYSTEM><ACT> Load device library: KpOpc.dll
2020-08-12 23:02:58 <WIN7-PC><SYSTEM><ACT> Load device library: KpSms.dll
2020-08-12 23:02:58 <WIN7-PC><SYSTEM><ACT> Load device library: KpEmail.dll
2020-08-12 23:02:58 <WIN7-PC><SYSTEM><ACT> Load device library: KpSnmp.dll
2020-08-12 23:02:59 <WIN7-PC><SYSTEM><ACT> Connect to SCADA-Server “192.168.0.134”
2020-08-12 23:02:59 <WIN7-PC><SYSTEM><ACT> Start communication lines
2020-08-12 23:02:59 <WIN7-PC><SYSTEM><ACT> Start receiving commandsAugust 12, 2020 at 3:19 pm #7148scadakid
ParticipantAugust 12, 2020 at 3:28 pm #7151scadakid
ParticipantWhen I upload, I get this error.
[url=https://ibb.co/XZqywdS][img]https://i.ibb.co/gMxvnXz/OPC2.png[/img][/url]
August 12, 2020 at 3:35 pm #7156scadakid
ParticipantAugust 13, 2020 at 2:25 pm #7158Mikhail
ModeratorYou should create a new deployment profile for the 2nd instance.
Make sure that the firewall of the target machine allows incoming connections to the port 10010.August 13, 2020 at 2:44 pm #7160August 13, 2020 at 3:06 pm #7162scadakid
ParticipantI have done the following steps.
1) install Agent and Communicator on remote PC in which OPC server is installed (OK)
2) communicator on the remote PC refer to main rapid scada server (OK)
3) create second instance in main rapid scada server (FAIL)
what setting should be in second instance?
4) create new deployment for second instance (FAIL),I have gone through the following two topics also. I still can’t get the whole picture exactly.
OPC on network-
This reply was modified 8 months ago by
scadakid.
August 14, 2020 at 2:55 pm #7166Mikhail
ModeratorInstead of localhost you should specify the IP of the remote server.
August 14, 2020 at 4:02 pm #7167scadakid
ParticipantHi Mikhail,
Thanks for your reply.
IP address = IP of the remote server
Username = ScadaAdmin
Password = 12345
What should be the Secret key?August 16, 2020 at 7:11 am #7169Mikhail
ModeratorHi,
The secret key is a string specified in C:\SCADA\ScadaAgent\Config\ScadaAgentConfig.xml on the remote server.
August 20, 2020 at 1:18 am #7183scadakid
ParticipantHi Mikhail,
I was able to create new deployment profile for the 2nd instance.
-
This reply was modified 8 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.