
adccommunitymod (AutomationDirect) asked a question.
Created Date: May 21,2019
Created By: amcbrearty
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I have a setup with a wireless router with a static IP that I wish to use to connect to two different PLCs. I gave each a separate static internal node and port-forwarded to 7070 on PLC1 and 7071 on PLC2. I could connect to each inside of the router (of course), but could only connect to PLC1 from outside using the static IP. I tried setting several different parameters, but could not see PLC2 from outside. Any suggestions on how to set this up? I know I should probably setup a VPN, but I don't have any experience in setting up that. Thanks, -andrew
Created Date: May 21,2019
Created by: amcbrearty
I have a setup with a wireless router with a static IP that I wish to use to connect to two different PLCs. I gave each a separate static internal node and port-forwarded to 7070 on PLC1 and 7071 on PLC2. I could connect to each inside of the router (of course), but could only connect to PLC1 from outside using the static IP. I tried setting several different parameters, but could not see PLC2 from outside. Any suggestions on how to set this up?
I know I should probably setup a VPN, but I don't have any experience in setting up that.
Thanks,
-andrew
Created Date: May 21,2019
Created by: Do-more PE
A VPN is pretty much the only way to do it with both PLC's having the same fixed port number.
Created Date: May 21,2019
Created by: amcbrearty
Is there a way to change (assign) specific port numbers on the PLCs and use port-forwarding on the router?
Created Date: May 21,2019
Created by: Do-more PE
Not for DirectLogic. In Do-more you can assign a secondary port in the System Configuration.
Created Date: May 30,2019
Created by: TheGreatMarklar
It is possible to do with port forwarding, but you need to modify the DS600.ini file.
Under the category, uncomment or add
UDPPortNumEnable=1
Once done, when you configure the Advanced options on a link, you can specify a target port. Then, configure port forwarding in the router:
for PLC 1: port 7070 UDP to port 28784
for PLC 2: port 7071 UDP to port 28784
Created Date: May 30,2019
Created by: Do-more PE
I had forgotten about that. Thanks!