Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection timed out was occur when access to UNICORN OPC server #50

Closed
c-s-u opened this issue Jul 14, 2023 · 1 comment
Closed

Connection timed out was occur when access to UNICORN OPC server #50

c-s-u opened this issue Jul 14, 2023 · 1 comment

Comments

@c-s-u
Copy link

c-s-u commented Jul 14, 2023

Hi

I'm sorry if I'm wrong to ask you individually.
I was having trouble connecting to the UNICORN OPC server, so I would appreciate it if you could support the connection method.

I got following error

jovyan@jupyter-182872:~$ OPC_CLASS=OPC.Automation
jovyan@jupyter-182872:~$ OPC_CLIENT=OpenOPC
jovyan@jupyter-182872:~$ OPC_GATE_HOST=XX.XX.XX.XX
jovyan@jupyter-182872:~$ OPC_GATE_PORT=135
jovyan@jupyter-182872:~$ OPC_HOST=localhost
jovyan@jupyter-182872:~$ OPC_MODE=dcom
jovyan@jupyter-182872:~$ OPC_SERVER=Matrikon.OPC.Simulation
jovyan@jupyter-182872:~$ python -m openopc2 server-info
[00:45:37] ERROR    Could not connect to OPC server: cannot connect to ('XX.XX.XX.XX', 7766): [Errno 110] Connection timed out       

Python version: 3.10.5
openopc2 version: 0.1.11
OS: Ubuntsu 20.04

Best regards.

@renzop
Copy link
Collaborator

renzop commented Jul 16, 2023

Please ask programming questions in Stackoverflow.
You entered configured OPC_GATE_PORT=135 (this should be 7766), And the OPC Server should be your OPC server (unicorn) not Matrikon.

@renzop renzop closed this as completed Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants