Forum Home › Forums › Communicating with Devices › OPC › OPC on Remote PC
Tagged: Instruction for OPC remote
- This topic has 25 replies, 3 voices, and was last updated 2 years, 10 months ago by StevenYX.
-
AuthorPosts
-
August 20, 2020 at 2:15 pm #7185MikhailModerator
Hi,
Good! Does the whole system run well for now?August 24, 2020 at 7:05 am #7194scadakidParticipantHi Mikhail,
I can browse the remote OPC server now. I have’t checked the point values yet. I will update here. Thanks.
May 10, 2021 at 12:38 pm #8907StevenYXParticipantHi Mikhail/scadakid,
Could you please make an instruction how to integrate OPC DA/UA remotely?
Also how to add a new instance?Thank you very much!
Steven
May 10, 2021 at 1:06 pm #8909MikhailModeratorHi,
Please provide more details of you task.
OPC DA and OPC UA are supported by different Rapid SCADA drivers, and they are configured differently.May 10, 2021 at 1:08 pm #8910MikhailModeratorYou also could watch this video about OPC UA configuring.
May 12, 2021 at 7:43 pm #8941StevenYXParticipantHello Mikhail,
1. A computer, IP: 192.168.10.111,
installed: MatrikonOPC Server; ScadaAgent and ScadaComm(of RapidSCADA)
2. B computer, IP: 192.169.10.106,
installed: RapidScada (except of ScadaComm)
Configure:
Common Parameters: server: 192.168.10.111(A computer IP address)
Connection Settings Server: 192.168.10.111
Upload: got “Unable to login – Error validating user3. copy BaseDat from B computer to A computer
Upload: “Upload competed successfully. Duration:0 Sec. Data size 230383 bytes”4. A computer: stop ScadaCommservice, then start ScadaCommservice
5. B computer:
Instance–>Default–>Server–>Stats got “File not found”
Instance–>Default–>Communicator–>Communication Lines–>Stats got
connect to SCADA-Server “192.168.10.111”
Error Connecting to SCADA-server: No connection could be made because the target machine actively refused it 192.168.10.111:10000
Disconnect from SCADA-Server
Unable to start operation due to SCADA-Server communication ErrorBoth A and B computer’s fire wall are off
Port 10000, 10001, 10002, 10010 are openedWhat’s wrong?
thanks in advance
Steven
May 12, 2021 at 8:03 pm #8942StevenYXParticipantOn A computer, IP: 192.168.10.111
Edit ScadaCommSvcConfig.xml in the fold: c:\SCADA\ScadaComm\Config<CommonParams>
<Param Name = “ServerHost” value = “192.168.10.106” (was 192.168.10.111)Keep all the other the same
stop ScadaCommservice, start ScadaCommservice
On B computer, IP: 192.168.10.106
Instance–>Default–>communicator–>[2]OPC–>[21]OPC Demo
three tags are there, and updating
Instance–>Default–>communicator–>[2]OPC–>Line Stats–>Active Device 1. Device 21 “OPC Demo”: NormalHowever:
Instance–>Default–>Communicator–>[2]OPC–>Line Parameters–>Request Sequence–>Properties–>OPC server got “<No available servers>
Should Call Number or host name be 192.168.10.111?
Best Regards
Steven
May 13, 2021 at 12:14 am #8943StevenYXParticipantWorkaround solution:
1. Install RapidSCADA fully on both A and B computer
2. On A computer(on which there is OPC server),
a. Create a new communicaiton line
b. Create a new devie
c. Create new Input channels and output channels
d. Create new communication line in Instanceall above can do them according training videos
Local OPC on local server( A computer should work now)
3. repeat the save steps on B computer
or copy all files from A to B (did not test, but must work)4. copy all the files in the fold SCADA\ScadaComm\Config
from A computer to B computer5. Stop ScadaServerService on A computer
6. Stop ScadaCommservice on B computer7. Change Common Parameters (server) to B computer IP address
8. Change Connection Settings (server) to A computer IP address
9. UploadDone
May 13, 2021 at 12:53 pm #8945MikhailModeratorHello Steven,
Error Connecting to SCADA-server: No connection could be made because the target machine actively refused it 192.168.10.111:10000
This error is usually caused when firewall of the server machine blocks incoming connections to the port 10000.
I strongly suggest to move from classic OPC DA to modern OPC UA. It works much better in network environment.
May 13, 2021 at 12:55 pm #8946MikhailModeratorBoth A and B computer’s fire wall are off
Port 10000, 10001, 10002, 10010 are openedPlease check the connection using telnet or any other utility (e.g. Hercules).
Just try to connect via port 10000.May 16, 2021 at 7:46 pm #8954StevenYXParticipantHello Mikhail,
Thanks for the reply.
I got it work as the posts #8942 and/or #8943….(it’s not TCP/IP ports, it’s IP address)(It has been notised that there are a lot of posts about TCP/IP ports, would be better the installation execution file can check if those ports are free.)
Thanks again!
Steven
-
AuthorPosts
- You must be logged in to reply to this topic.