Hi All,
I'm fairly experienced in Allen Bradley PLC programming but have come up against a problem I've not encountered before and wondered if anyone could help me.
I've got 12 almost identical machines each with it's own Compact Logix L35E, several racks of Flex ethernet I/O via 1794-AENT cards and a drive connected via a 20-Comm-E, all the PLC's, I/O and drives are on a common ethernet network.
What I would like to do is make all the software identical, I have 4 spare digital inputs on local I/O in each PLC, I have wired these differently so the PLC know's what machine it is connected to and can set it's own configuration parameters.
I have found a Knowledge Base article that explains how to set the PLC IP address from ladder code which is great but I can't work out how to set the IP address info of all the AENT remote adaptors and drives. The actual physical addresses have been set and the machines operate OK, but I would like to be able to set the module info in the PLC via Ladder, or function bock etc, oo that if I load the code on machine 1 it will look for a drive at 192.168.0.11, on machine 2 it will look for a drive at xxx.xxx.xxx.21 etc.
If I can do this it means that I have one backup and when the code is modified I can load it on all the machines without having to go through and edit the IP addresses for all the remote I/O and drives.
Many thanks in advance.
Andy.
I'm fairly experienced in Allen Bradley PLC programming but have come up against a problem I've not encountered before and wondered if anyone could help me.
I've got 12 almost identical machines each with it's own Compact Logix L35E, several racks of Flex ethernet I/O via 1794-AENT cards and a drive connected via a 20-Comm-E, all the PLC's, I/O and drives are on a common ethernet network.
What I would like to do is make all the software identical, I have 4 spare digital inputs on local I/O in each PLC, I have wired these differently so the PLC know's what machine it is connected to and can set it's own configuration parameters.
I have found a Knowledge Base article that explains how to set the PLC IP address from ladder code which is great but I can't work out how to set the IP address info of all the AENT remote adaptors and drives. The actual physical addresses have been set and the machines operate OK, but I would like to be able to set the module info in the PLC via Ladder, or function bock etc, oo that if I load the code on machine 1 it will look for a drive at 192.168.0.11, on machine 2 it will look for a drive at xxx.xxx.xxx.21 etc.
If I can do this it means that I have one backup and when the code is modified I can load it on all the machines without having to go through and edit the IP addresses for all the remote I/O and drives.
Many thanks in advance.
Andy.
Last edited: