Sign in to follow this  
Followers 0
pelly09

Contrologix to PLC-5 comms

7 posts in this topic

Hi guys i'm working on a project at the moment in which i have to transfer 350 integers of data from a contrologix L61 to a PLC-5/80. Can anyone tell me if this is possible through channel 0 of both PLC's. I know i can do it on the DH+ network that we already have, but there is already an excessive amount of traffic and i don't want to slow it any further, and we have no spare comms ports on the PLC-5 so we can't set up a unique path from the clgx. any input would be appreciated steve

Share this post


Link to post
Share on other sites
Yes you can do it was a MSG Instruction. You'll need to set the protocol the same for both port 0's. And while we are at it RS-232 {port 0} is usually limited to 50 feet. Before you rule out using the DH+ check your comms formats. If you are using MSG Writes these us 2X the bandwidth of MSG Reads. You might find you can streamline your data transfers on the DH+ and have room for the CLGX message as well.

Share this post


Link to post
Share on other sites
You will need several Message instructions to transfer 350 integers. A DF1 protocol message instruction maximum data payload is around 122 words... I'll go check the specifics for the PLC-5 serial port. A 1761-NET-ENI will allow you to do the same transfers without using the serial port of your ControlLogix.

Share this post


Link to post
Share on other sites
Thanks for your input guys, we got the PLC's transferring data yesterday through the serial ports after a bit of experimenting with message settings, but everything now seems to be working fine. Thanks for the tip on the message writes Bob, i'll be looking at that very soon. We'd considered the use of an ethernet adapter card, but i believe rthat they have to be positioned in the slot next to the processor in the chassis (PLC-5) and we don't have any spare slots at all, let alone one next to the processor, but thanks anyway. i'm not convinced about the 122 word maximum payload as we seem to have all 350 words transferred in one message instruction, i'll have to check more thoroughly but the .ER bit does not come on and the .DN bit does come on for the message instruction which indicates that the message has completed. i'll post any further information as and when i get it. many thanks steve

Share this post


Link to post
Share on other sites
Now you've got me wondering about the size. I was going from information in the DF1 protocol reference manual, but I'm not totally certain which Command and Function the ControlLogix uses when you perform a PLC-5 Write.

Share this post


Link to post
Share on other sites
Here's what I captured from one "PLC-5 Typed Write" message instruction in a ControlLogix writing 350 words of data. It looks like the ControlLogix automatically splits up the large messages into segments that are manageable by the normal PLC-5 DF1 port. [COM5] - 10 02 01 00 0F 00 7D 01 67 00 00 5E 01 00 24 4E 37 3A 30 00 99 09 DD 42 78 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 03 60 [COM6] - 10 06 10 02 00 01 4F 00 7D 01 10 03 32 [COM5] - 10 06 10 02 01 00 0F 00 8E 01 67 6E 00 5E 01 00 24 4E 37 3A 30 00 99 09 DD 42 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 03 59 [COM6] - 10 06 10 02 00 01 4F 00 8E 01 10 03 21 [COM5] - 10 06 10 02 01 00 0F 00 9F 01 67 DC 00 5E 01 00 24 4E 37 3A 30 00 99 09 DD 42 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 03 DA [COM6] - 10 06 10 02 00 01 4F 00 9F 01 10 03 10 [COM5] - 10 06 10 02 01 00 0F 00 B0 01 67 4A 01 5E 01 00 24 4E 37 3A 30 00 99 09 29 42 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 0A 10 03 D1 10 06 [COM6] - 10 06 10 02 00 01 4F 00 B0 01 10 03 FF Edited by Ken Roach

Share this post


Link to post
Share on other sites
Ken, Yes, the message is fragmented then re-assembled at the target.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0