Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: maciek on April 19, 2017, 08:33:49 PM

Title: brx baby
Post by: maciek on April 19, 2017, 08:33:49 PM
my brx plc and click plc both have ethernet  and i am using 4 port unmanaged ethernet switch. can i connect to both of them at the same time.
right now if i want to connect to one i must disconnect from the other one they both have same ip
Title: Re: brx baby
Post by: BobO on April 19, 2017, 08:39:06 PM
Sure. They just need to have different IP addresses.
Title: Re: brx baby
Post by: maciek on April 19, 2017, 09:06:10 PM
how does one accomplish that
Title: Re: brx baby
Post by: BobO on April 19, 2017, 09:07:11 PM
how does one accomplish that

Setting the IP address?
Title: Re: brx baby
Post by: maciek on April 19, 2017, 09:10:02 PM
doesn't the device that one is trying connect have to have the same ip address as the computer?
 
Title: Re: brx baby
Post by: BobO on April 19, 2017, 09:15:33 PM
Just the opposite, they must all be unique. You should consider getting a book on IP network configuration. It's not that hard, but it is important that it is done currently.
Title: Re: brx baby
Post by: maciek on April 19, 2017, 09:30:15 PM
what is a good easy book for dummy
Title: Re: brx baby
Post by: BobO on April 19, 2017, 09:37:27 PM
I just Googled "IP networking basics" and got several hits on free tutorials. Start there.
Title: Re: brx baby
Post by: maciek on April 19, 2017, 11:07:03 PM
my computer is connected to the internet wireless but i am using my ethernet lan  to connect to brx plc
do i need a wired internet connection to be able to send e mails?
Title: Re: brx baby
Post by: BobO on April 20, 2017, 09:18:22 AM
my computer is connected to the internet wireless but i am using my ethernet lan  to connect to brx plc
do i need a wired internet connection to be able to send e mails?

The PLC just needs to be able to 'see' the SMTP server or relay, wired or wireless isn't really relevant. Since you are wired to the PC and the PC is connected to the Internet, you might consider an SMTP relay program.
Title: Re: brx baby
Post by: maciek on April 21, 2017, 01:28:15 AM
https://www.automationdirect.com/adc/Shopping/Catalog/Process_Control_-a-_Measurement/Signal_Conditioners/DC_Voltage,_Current_or_Potentiometer_Input/FC-B34
this is the only one that looks like it takes millivolt signal
Title: Re: brx baby
Post by: maciek on April 21, 2017, 01:37:02 AM
sounds complicated
Title: Re: brx baby
Post by: Controls Guy on April 21, 2017, 02:49:54 AM
No more than it needs to be to do the job.  Do you need it done?

Besides, those are sucky.  Use the nice, professional ones.
Title: Re: brx baby
Post by: maciek on April 21, 2017, 10:24:41 PM
i set up the smtp client device and followed a video i found on youtube set up the email instruction that c50 turns on i get a message couldn't open tcp connection with specified device in email at 0000161  (EMAIL at $Main@249)
any ideas or should i just give up
Title: Re: brx baby
Post by: BobO on April 22, 2017, 10:40:09 AM
any ideas or should i just give up

Lots of ideas, and no, you shouldn't give up.

What is the PLC's IP config (address, netmask, and gateway) and what is the configuration of your router. The PLC can't access anything outside your local network unless this is correct.
Title: Re: brx baby
Post by: maciek on April 22, 2017, 11:11:25 PM
plc ip config
Title: Re: brx baby
Post by: BobO on April 22, 2017, 11:36:36 PM
The gateway address has to be pointed to the router or whatever you are using to get to the Internet.
Title: Re: brx baby
Post by: maciek on April 25, 2017, 08:35:41 PM
my pc ip
Title: Re: brx baby
Post by: maciek on April 25, 2017, 08:38:11 PM
what is there to configure with the router ?
Title: Re: brx baby
Post by: maciek on April 25, 2017, 09:54:08 PM
i configured the gateway to the wireless lan adapter and still same ending
Title: Re: brx baby
Post by: BobO on April 25, 2017, 10:08:47 PM
I don't have enough information there to help you.

In order to connect to the Internet, your PLC must be connected to some form of router. Since the PLC only has a wired connection, the connection to the router will be wired. The PC appears to be connected wirelessly, but the PC's wired connection doesn't show a gateway, which tells me the wired connection isn't tied to the router.

Some wireless routers also have a built-in switch for wired connections. If so, that's where you need to connect. If there is a switch in the router, try connecting the PC to it and dumping the IP setup of the wired connection.
Title: Re: brx baby
Post by: maciek on August 27, 2017, 07:36:59 PM
where do i enter the configuration of the router within the plc set up
Title: Re: brx baby
Post by: BobO on August 27, 2017, 09:01:51 PM
From the Dashboard, you can click on the Ethernet port and select "Edit IP Configuration". You can also access the same dialog from System Information.
Title: Re: brx baby
Post by: Controls Guy on August 27, 2017, 10:47:42 PM
It's not hard, just stick with it and you'll get there.  You might consider a VPN (virtual private network) that creates a tunnel connection between you and the thing you want to talk to on the other end.  A little more complicated, but not too much, and more secure.
Title: Re: brx baby
Post by: maciek on October 07, 2017, 07:00:38 PM
you wrote see smtp relay server how do i make the plc see that
Title: Re: brx baby
Post by: BobO on October 08, 2017, 06:57:17 AM
A relay is just software running on a local PC. It has an internal SMTP interface, and an external interface that talks to the target email servers. From the BRX PLC's perspective it just looks like an SMTP server, so you configure BRX with IP address of the internal interface.
Title: Re: brx baby
Post by: Garyhlucas on October 10, 2017, 08:36:26 PM
It's not hard, just stick with it and you'll get there.  You might consider a VPN (virtual private network) that creates a tunnel connection between you and the thing you want to talk to on the other end.  A little more complicated, but not too much, and more secure.

We build small waste treatment plants and you think who'd bother hacking that?  Well we are moving to VPN because last month we got a $900 overage bill on our cell modem from data traffic unrelated to our operations!  Before that we were simply getting pinged so much that the response to the pings saying 'yep we are here' ran up a big bill.
Title: Re: brx baby
Post by: pbw on January 09, 2018, 04:30:32 PM
I know this a old post but I also had a rough time trying to send a email. I had a laptop that was connected to Wifi the only way I was able to have the plc access the internet was to bridge the LAN connection and Wifi connection.
Another way to do it is: Go to network and sharing-click on your wireless connection-properties-sharing tab-select "allow other network users to connect to the internet"-select the connection that you want to share. Your local port will get a different IP address and you will have to update your plc ip to match.For example my computer Ethernet IP is 192.168.137.1-Mask 255.255.255.0 your PLC IP has be 192.168.137.XXX-Mask255.255.255.0 Gateway 192.168.137.1 and it should work.