jydepower Posted March 24, 2012 Report Posted March 24, 2012 Hallo im trying to setup a small network for programming the plc. What i have: D-Link DAP-1350 Westermon 550 industial switch Q03ude cpu with buildin ethernet port PC with iec gx developer What i want: Q03ude --> westermo 550 (cable) D-Link DAP-1350 --> westermo 550 (cable, there is a lan/wan port on the back of the DAP-1350) PC --> D-Link DAP-1350 (wireless) Ive setup the DAP-1350 as router with dhpc and its own ip 192.168.0.50. Dhcp range is 192.168.0.100-150. Q03ude ip is 192.168.0.51 Q03ude gateway is 192.168.0.50 PC is dhcp All subnets are 255.255.255.0 This should work in my world, but it doesnt. I cant even ping the plc. The problem is in the DAP-1350 i think. Because when i puse the westermo 550 only everything works. I think the problem might be the lan/wan port on the back of the DAP-1350. Somehow it doesnt "let anything through". I cant find any setting for that port. But i think the manual states, that you could put in a xbox or something like that. So why not i plc? Any ideas? Quote
kaare_t Posted March 25, 2012 Report Posted March 25, 2012 I haven't studied the DAP-1350, but it looks to me to be a router. Do you have the same networks on both sides of the router? What is the purpose of having a router instead of an access point/switch? This could be a ton of possibilities, some examples are: -Firewall functionality. If there's a built in firewall you'll have to manually open the correct ports, the Xbox probably have auto-config for "home-firewall" which handles this automatically... -Routing functionality. Routers normally don't forward private traffic to WAN interfaces -If the DAP-1350 actually is a router, how have you configured the routes? This could go on and on. To make a long story short; you can use a lot of time and money trying to debug/configure this device, or you could go buy a cheap home access point/WLAN switch if the purpose is to access the PLC via WLAN... Quote
jydepower Posted March 28, 2012 Author Report Posted March 28, 2012 The dap 1350 is actually a router, ap and client three modes you can choose between. And I'm running it as ap now(wireless). The things that annoys me. Is that I have 2 wireless networks. One with internet and one for plc (the dap 1350). When connecting to the internet network, I can turn dhcp on the pc. But on the other network I have to make static ip, because the ap give me some wierd address. And it is a problem because I change several times a day. I was thinking using routing mode, so I could control the adresses. Quote
jydepower Posted March 28, 2012 Author Report Posted March 28, 2012 Btw. The internet network is the costumers. And I can't have control over that. Just connect with dhcp. Quote
kaare_t Posted March 28, 2012 Report Posted March 28, 2012 When you set up the 1350 to AP it will not hand out IP addresses since AP's normally does not include DHCP server (AP = Access Point). If you set it up as a router, you probably have the DHCP option and you can set it to hand out IP addresses, but then you'll have to set up routes. I would personally use it as an AP, and use static IP addresses on the "PLC-Network". Rememeber to give the AP a static IP, set the PLC to a static IP and set your computer with a static IP, all within the same IP scope. Should work without problems. Note that when the AP is set up with a static IP within the PLC network you won't be able to access the internet via the AP. Quote
jydepower Posted March 29, 2012 Author Report Posted March 29, 2012 Aha. So that's why I get I wierd ip 169. Something. I actually don't get an ip when I'm set dhcp on a ap. So the only way to avoid changing ip all the time. Is to keep the plc network ip in the same range, as the internet network gives me. Quote
kaare_t Posted March 29, 2012 Report Posted March 29, 2012 Probably correct. Either set the PLC IP in the same range and on the same network as the office network, or use a static IP on your computer when connecting to the PLC. I must admit that I haven't seen the manual for your specific AP, so I'm not 100% sure, but it sounds like that is your problem. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.