Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Using Ethernet Cable between devices whilst using WIFI network.

01 Apr 2016   #1
jw416

Windows 7 professional x64
 
 
Using Ethernet Cable between devices whilst using WIFI network.

Hello,

Without too much information, I'm learning how to use Beckhoff hardware. I have a motor rigged up to a PLC that is programmable via Ethernet using a software called Twincat.

I'm a hardware person so hooking it up was no problem. But I'm venturing out into the world of PLC programming which I'm finding quite new and difficult. I use Google/ YouTube/ internet services to aid me in learning this.

The problem is, to connect with the PLC, my Ethernet port needs to be active. Whilst connected, (whilst programming) I'd like to connect to the internet via WIFI.

I've found a multitude of forums with instructions to change the priority of the network connections using metrics and all that, but none of the solutions allow me to connect to both.

Is it really impossible to connect with a device via Ethernet, whilst connected to the internet using WIFI?

I don't know the exact specs for all the different hardware cards on my laptop, but its a HP ZBook running windows 7.

Much obliged.


My System SpecsSystem Spec
.
01 Apr 2016   #2
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

You may need a crossover cable.

How is everything connected ?

A router ? A switch ?
My System SpecsSystem Spec
01 Apr 2016   #3
jw416

Windows 7 professional x64
 
 

Thanks for your reply.

My laptop is connected to a Wi-Fi router. The PLC is connected directly with an Ethernet cable, from Ethernet port to Ethernet port so to speak.

When I plug in the Ethernet cable the Wi-Fi is disconnected. I know I can stop that happening by changing the interface metric to a lower number than the Ethernet connection, but doing that stops my connection to the PLC whenever Wi-Fi is active. So I effectively have the same problem in reverse.
My System SpecsSystem Spec
.

01 Apr 2016   #4
sml156

Microsoft Windows 7 Ultimate 32-bit 7601
 
 

Is your PLC on a different subnet from the WiFi because if its not you more than likely will have problems.

For example if your Wifi's IP is 192.168.0.X you could set your PLC to 192.168.10.X and after a few min's the computer should remember where it is.

Your best bet would be to grab a cheap router and have that take care of your internet and PLC. Did your ISP supply you with router with more than one lan jack because that would work to, instead of buying another cheap router
My System SpecsSystem Spec
01 Apr 2016   #5
strollin

W10 Pro desktop, W10 laptop, W10 laptop, W10 Pro tablet (all 64-bit)
 
 

In case you missed what sml156 said because it was at the tail end of his reply, connect your PLC programmer to an ethernet port on your router instead of your PC. That will allow the PC to connect to the router via wifi but be connected to the PLC programmer via the router.

Since you say you prefer hardwire, you could connect both the PC and the PLC programmer to the router via ethernet. If your router has only one ethernet port or you don't have any free ethernet ports, you can use a switch to add more ethernet ports.
My System SpecsSystem Spec
01 Apr 2016   #6
jw416

Windows 7 professional x64
 
 

Sorry I should have specified;

The network is at work. I'm calling it the LAN because my company uses a LAN, in that I can login into any computer connected. When logged in I have access to my network drives and so on.

However we do have personal laptops so that I can store files on the laptop, whereby I can only access the files from that laptop. (this is probably all obvious I'm just trying to give you an accurate picture).

The 'LAN' is accessible via either WIFI (routers located throughout the building), or by Ethernet (again, ports located throughout the building).

Most of the time in my job I use large modelling files and transfer massive amounts of data around the network so my preference is to plug in with Ethernet. We have docking stations and everything it's all very good and easy.

But to program the PLC, it has to be connected using an Ethernet cable, and connected with Twincat (the programming software) as if in a network. But I'm totally useless at programming PLC's at the moment and I'm searching for videos and other literature online to help me learn, whilst doing it.

Isn't there a simple setting in windows, in order to listen to both the Ethernet port, and the Wi-Fi 'port'?

Technically I'm networking with the PLC, but it only needs to transfer data. It doesn't need access to the rest of the network, or the internet, or anything. It might as well be a USB connection. (accept it doesn't support a USB connection).

How can I tell what subnet its on? My apologies, I'm at the stage where the saying "A little knowledge is dangerous" definitely applies to me.
My System SpecsSystem Spec
01 Apr 2016   #7
jw416

Windows 7 professional x64
 
 

Quote   Quote: Originally Posted by strollin View Post
In case you missed what sml156 said because it was at the tail end of his reply, connect your PLC programmer to an ethernet port on your router instead of your PC. That will allow the PC to connect to the router via wifi but be connected to the PLC programmer via the router.

Since you say you prefer hardwire, you could connect both the PC and the PLC programmer to the router via ethernet. If your router has only one ethernet port or you don't have any free ethernet ports, you can use a switch to add more ethernet ports.
Thanks.

Your all giving me great advice I appreciate it. I think If I was at home this would be the perfect solution. I've tried connecting the PLC to the LAN, similarly to your advice, but I'm assuming the firewalls at work stop unknown devices from gaining access because It can't be found.

the PLC doesn't have its own UI, so I'm not even sure how I could go about logging it onto the network.

Thanks again. sorry for the essay posts by the way.
My System SpecsSystem Spec
01 Apr 2016   #8
jw416

Windows 7 professional x64
 
 

See image attached, hopefully that portrays what I'm trying to achieve more elegantly than I can type it.


Attached Thumbnails
Using Ethernet Cable between devices whilst using WIFI network.-network-issue-sketch.png  
My System SpecsSystem Spec
01 Apr 2016   #9
AddRAM

Windows 7 Pro x64 Windows 10 Pro x64
 
 

I was a bit confused as to why you would use wifi over ethernet, but I think they nailed it.
My System SpecsSystem Spec
01 Apr 2016   #10
jw416

Windows 7 professional x64
 
 

Do you think its possible to connect with a router like you suggest, but then connect that router to the overall network of the building?

I remember at home a few years back I had a router connected to another router to boost the signal upstairs. (I had a spare router, and a not quite long enough wire to reach upstairs, so I put the other router at the top of the stairs to reach the bedrooms)
Might it be possible to connect one to the main network, effectively creating a sub network with just my laptop and the PLC on it?

Thanks again
My System SpecsSystem Spec
Reply

 Using Ethernet Cable between devices whilst using WIFI network.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
ethernet cable not showing up in network adaptors
i have been using a linksys wireless WiFi usb port adapter to connect to the internet but wanted to recently connect to internet manually. When i plug in the ethernet cable, absolutly nothing happens. nothing pops up in bottom right of screen, and cant find local device. when i go to device manager...
Network & Sharing
Prefer ethernet cable over WiFi?
Is there somewhere in Windows XP, 7, and 8 to have it use the ethernet cable only when plugged in even with WiFi enabled or connected?
Network & Sharing
Unidentified Network after changing Ethernet Cable
I have a problem with my internet that makes absolutely no sense to me. I recently bought a new ethernet cable because my old was...well...kinda old and it had some wires popping out. I plugged in the new cable and all of a sudden it won't give me internet access. Instead it just says stuff like...
Network & Sharing
Network speed and ethernet cable questions with wifi card question
Debating on going wireless or not: Have an Asus M4A87TD EVO that has RTL8111E PCIe Gigabit LAN controller featuring AI NET2. So Gigabit, Im thinking at least 100/1000. I am wire into my router which puts out high speed and low ping to wireless. Standard Ethernet cables supply the data pipeline, not...
Network & Sharing
Network cable unplugged message when using ethernet cable
Hi, I have a brand new Dell Precision Workstation with Windows 7 Professional 64 bit. I have not been able to connect to networks or the internet. It does not recognize that it is plugged into the network/internet via an ethernet cable. The computer has a Broadcom NetLink Gigabit Ethernet adapter...
Network & Sharing
Prevent Network Card shutdown on ethernet cable removal
I need to know if this is a Windows 7 issue... I am running software which is licensed through my network card ID. I have recently bought a new laptop, running Windows 7 for the first time. Unless there is a network cable plugged in, I have no access at all to my card and so the software does...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:24.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App