Join us today!
Notifications
Clear all
Multiple connections between same machines
Topic starter
Oct 18, 2022 10:42 pm
(@ilya)
New Member
Joined: 2 years ago
I am using the third setup method shown on the ads-client Node.js package to connect to a PLC. That PLC hosts multiple projects which are meant to run in parallel and be accessed at different ports. I find however that when I try and connect to the PLC via more than one port, the second connection fails. These are my two objects for the connections' settings:
{ targetAdsPort: 851, localAmsNetId: '10.123.10.0.1.1', localAdsPort: 32750, routerTcpPort: 48898, routerAddress: '10.123.124.53', targetAmsNetId: '5.100.225.52.1.1' }
{ targetAdsPort: 852, localAmsNetId: '10.123.10.0.1.2', localAdsPort: 32751, routerTcpPort: 48898, routerAddress: '10.123.124.53', targetAmsNetId: '5.100.225.52.1.1' }
Is there some way I can establish the two connections between the machines? Or is it advisable for all the code on the PLC to be run from a single project?
This topic was modified 2 years ago 2 times by ilya
Reply
Topic Tags
Forum Information
- 17 Forums
- 265 Topics
- 932 Posts
- 3 Online
- 689 Members
Our newest member: nominal
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed