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 issues #99

Closed
RikMe opened this issue Oct 21, 2022 · 10 comments
Closed

Connection issues #99

RikMe opened this issue Oct 21, 2022 · 10 comments

Comments

@RikMe
Copy link

RikMe commented Oct 21, 2022

PLC: 192.168.11.3
AMSnetID PLC: 5.50.37.33.1.1
Twincat 2

Raspberry Pi : 192.168.11.2

Route has been created on PLC. Settings should be according tot tutorials

Error : "Failed to connect 5.50.37.33.1.1:801 at startup: ClientException: Connection failed: Device system manager state read failed - ADS error -1 (Timeout - no response in 6000 ms)"

image
image
image

@jisotalo
Copy link
Owner

Can you set debugging level to 3 and copy paste the console output here?

@RikMe
Copy link
Author

RikMe commented Oct 25, 2022

Screenshot 2022-10-25 at 07 30 04
Screenshot 2022-10-25 at 07 29 06
Screenshot 2022-10-25 at 07 29 26

@jisotalo
Copy link
Owner

I mean from Node.js side (terminal).

@RikMe
Copy link
Author

RikMe commented Oct 25, 2022

Not quite sure how to pull these up. i'm using the function blocks in NodeRed

@jisotalo
Copy link
Owner

Did you start node-red from a command line or terminal? If yes, then you will see it there.
If not, it's most probably logged somewhere else.

See
https://stackoverflow.com/questions/39243198/where-to-find-console-in-node-red
https://nodered.org/docs/user-guide/runtime/logging

The latter has a note:
Note : if you are running as a service on the Raspberry Pi using our install script, you can use the node-red-log command to view the service log.

@RikMe
Copy link
Author

RikMe commented Oct 25, 2022

Screenshot 2022-10-25 at 19 05 42

@RikMe
Copy link
Author

RikMe commented Oct 25, 2022

i see targetAdsPort : 1000. Should this not be 801 on TC2 ? is configured as 801 in settings.

@jisotalo
Copy link
Owner

Unfortunately I don't know why it isn't working. Are you sure that you don't have multiple connections already? See #47

10000 is the port for system manager so that is correct.

@jisotalo
Copy link
Owner

jisotalo commented Dec 8, 2022

Any news on this?

@RikMe
Copy link
Author

RikMe commented Dec 11, 2022

No, I tried multiple other settings but no effect I'm afraid.

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