PDA

View Full Version : IP Address issue SLC 5/05 with Red Lion G308


joe75140
July 21st, 2007, 07:49 AM
Hi, I am not very familiar with IP adressing. I want to add a Red Lion G308 to an existing process that already has a SLC 5/05 and Red Lion G310 connected by ethernet using 4 port hub. I do know both of their IP Addresses and can communicate with them. I hope I can run new ethernet from open port in hub to G308, give G308 IP Address, and program from there. My question is how do I choose new IP address for G308? Does it come with its own IP Address already assigned from manufacturer? Thanks for any information.

TWControls
July 21st, 2007, 07:59 AM
The easiest way is to plug into the USB port for your initial download

joe75140
July 21st, 2007, 09:10 AM
Thanks for your reply TW. So do I assign IP Address when I do initial download? And if true, do I just make up address? Or, should I be able to find IP Address, when I make first connection, kInd of like finding out the IP Address of a SLC 5/05 by making serial connection first? I don't know how IP Addresses work on new products, do you know where I can get information on IP Adresses, for industrial applicatioms?

TWControls
July 21st, 2007, 09:13 AM
Well the IP Address you will assign to the G3 will be dependent on the current IP Address of your SLC. What's the IP and subnet of the SLC?

geniusintraining
July 21st, 2007, 09:18 AM
Check with your IT department for a IP addresses, I always use a static (fixed) IP address and work with them on a block of address that they give me

A lot of just the standard PCs are automatically assigned a address when they login the network, but for PLCs equipment you don't want any issues with address conflicts

joe75140
July 21st, 2007, 09:27 AM
IP Address is 192.168.1.185, subnet mask is 255.255.255.0. I noticed the Red Lion has a Gateway Address. Is the Gateway referring to DF1 master?

joe75140
July 21st, 2007, 09:35 AM
We are small and do not have an IT Department. We do have a computer guy who is over our networked office computers, that just comes in maybe once a month unless we have a problem, then we call him. Should I check with him on getting IP Address?

geniusintraining
July 21st, 2007, 09:45 AM
I would say yes...

How did you come up with that address? 192.168.1.185? is this the SLC? do you want to use DF1? or ethernet?

joe75140
July 21st, 2007, 10:05 AM
192.168.1.185 is address for the SLC 5/05. The address for the G310 is 192.168.1.130. Under communications on the Red Lion HMI, when I click on ethernet, it shows port settings and shows Gateway IP address. Under ethernet, it shows Protocol 1 being DF1 master, with my SLC 5/05 IP Address listed under DF1 master. I believe the DF1 master is referring to the card in back of touchscreen. The touchscreen does have ethernet going to 4 port hub and the SLC 5/05 has ethernet going to hub also. These are only cables going to either one. Since there is 2 empty ports on hub I hope I can run ethernet from there to a new Red Lion HMI. Sorry for not being more clear.

504bloke
July 21st, 2007, 11:02 AM
Can you post a screen shot of the G310 Ethernet config screens (both of them)

joe75140
July 21st, 2007, 11:38 AM
Hope you can open these. If not I will just take picture of screen and post.

504bloke
July 21st, 2007, 04:06 PM
I give up, how do i open a CDI file ?

EDIT: Its a G3 Image file, i am pretty sure i cannot open this with C2

You will need to post the cd2 file, it can be got from putting the cdi onto a CF, renaming to dbase.cdi and then booting, then uploading from the G3 but i cannot do this as i dont have a G308 or G310 at work (or home) at present


http://www.plctalk.net/qanda/uploads/cdi.jpg

504bloke
July 21st, 2007, 04:23 PM
If you can post the cd2 file that would be good, if not then i am sure Redlion will jump on this on Monday and sort it for you...

Another thing you may want to look into, instead of having both G3's access the 5/05 would be to have all tags needed mapped to the existing G310 and then have the G308 get these from the G310 over the ethernet link

See this doc for details (http://www.redlion.net/Support/TechNotes/HumanMachineInterface/TNOI28.pdf), i havent doen it yet but will be in the next month or so with 2 x G303's one connected to a multitech modem with SMS alarms out, the second G3 will need to text out also.

joe75140
July 21st, 2007, 05:04 PM
Thank you very much for your replies and the link. It may be useful to me. Here is the cd2 file.

504bloke
July 21st, 2007, 05:16 PM
Have you tried to get the G3 on the network yet or not ?

504bloke
July 21st, 2007, 05:25 PM
Try this on the G308, you will need to upload intiially by USB

DanYost
July 23rd, 2007, 08:51 AM
Joe,

The G308 will have an IP address of 192.168.1.XXX where XXX is NOT 185, 130, or anything else that may be in use on the network. Are these devices connected to a router, or something else that may act as a DHCP server? If so, you could set the G3 up for DHCP, then use a String Text primitive on the display with a value if GetNetIp(1). Make sure you set the format of this primitive to 15 characters so it will display the whole IP address.

As far as the gateway, that is only needed to get from one subnet to another. If the G3 and the SLC will be on the same subnet, you will not need a Gateway.

You will need to program once with 232, USB, or a CF card, as the unit comes from the factory with Ethernet disabled. You will also want to enable the IP download, as that is also disabled by default.

Feel free to call with any questions, 1-800-677-7880.

Regards,
Dan

P.S.

Thank you Dave, Tim, and GIT for helping answering Joe's questions.