mylespetro
Member
Hey everyone,
First project working with a managed switch, chose to use it due to having a DLR network with 8 drives. Local PLC (let's call it PLC2) with the drives is on VLAN 100, so the PLC is 192.168.100.1, drives also have IP addresses in this range (192.168.100.11 thru 19, skipped .16 and .17 for future drives to be installed later). Want to send data from this PLC to a remote PLC (PLC1) on VLAN 5, IP address is 10.20.5.3. PLC1 is on port 1, with port 3 also being on VLAN 5, while PLC2 is on port 2 with port 4 also being on VLAN 100, and the drive DLR is connected on ports 7 and 8, also on VLAN 100.
I believe we have a good link between PLC1 and the switch over fiber as evidenced by the Tx/Rx lights on our fiber-copper converters, currently getting a slower flash because we haven't actually begun transmitting data yet. When I changed my laptop's IP address to be on VLAN 5 and plugged it into port 3 the Tx/Rx lights started blinking much more rapidly, I assume because there was actually traffic on the link.
The PLC2/DLR connection is also up and running well, so now the goal is to read data from PLC2 using MSG instructions in PLC1. My main question is how to cross the VLAN on the Stratix switch? Not sure if I'm overthinking it or not, or if I have to do some configuration in the switch itself. I have enabled Lanbase Routing, just not sure what else has to be done.
Attached is a screenshot of the system layout, note that all of the highlighted IP addresses have been changed to have 192.168.100.X instead of 1.X, as well as the top two ports on the Stratix 5700 being reversed. The ControlLogix is PLC1 and CompactLogix is PLC2.
Thanks in advance!
EDIT: Just wanted to add that there are existing MSG instructions in PLC1 that used to gather data from an old SLC over DH+ that we upgraded with the CompactLogix, so I'll just need to change the MSG types to CIP, element syntax and message path, essentially just looking for how to path from VLAN 5 to VLAN 100.
First project working with a managed switch, chose to use it due to having a DLR network with 8 drives. Local PLC (let's call it PLC2) with the drives is on VLAN 100, so the PLC is 192.168.100.1, drives also have IP addresses in this range (192.168.100.11 thru 19, skipped .16 and .17 for future drives to be installed later). Want to send data from this PLC to a remote PLC (PLC1) on VLAN 5, IP address is 10.20.5.3. PLC1 is on port 1, with port 3 also being on VLAN 5, while PLC2 is on port 2 with port 4 also being on VLAN 100, and the drive DLR is connected on ports 7 and 8, also on VLAN 100.
I believe we have a good link between PLC1 and the switch over fiber as evidenced by the Tx/Rx lights on our fiber-copper converters, currently getting a slower flash because we haven't actually begun transmitting data yet. When I changed my laptop's IP address to be on VLAN 5 and plugged it into port 3 the Tx/Rx lights started blinking much more rapidly, I assume because there was actually traffic on the link.
The PLC2/DLR connection is also up and running well, so now the goal is to read data from PLC2 using MSG instructions in PLC1. My main question is how to cross the VLAN on the Stratix switch? Not sure if I'm overthinking it or not, or if I have to do some configuration in the switch itself. I have enabled Lanbase Routing, just not sure what else has to be done.
Attached is a screenshot of the system layout, note that all of the highlighted IP addresses have been changed to have 192.168.100.X instead of 1.X, as well as the top two ports on the Stratix 5700 being reversed. The ControlLogix is PLC1 and CompactLogix is PLC2.
Thanks in advance!
EDIT: Just wanted to add that there are existing MSG instructions in PLC1 that used to gather data from an old SLC over DH+ that we upgraded with the CompactLogix, so I'll just need to change the MSG types to CIP, element syntax and message path, essentially just looking for how to path from VLAN 5 to VLAN 100.
Last edited: