Contrologix Message read of SLC 5/04

yam785

Lifetime Supporting Member
Join Date
Jul 2004
Location
pa.
Posts
153
I am trying to set up MSG Read in RS5000 to read SLC 5/04 through 1756-DHRIO in slot 5. It seems I have tried everything, but I'm sure I'm missing something. I have steady green lights on CH B on my DHRIO card and SLC 5/04 DH+. Maybe by looking at the pictures below, someone can spot the error of my ways. Any help would be appreciated.

MSG_CONFIG.JPG


MSG_COMMUNICATION.JPG


MSG_TAG.JPG


LINX_ROUTING.JPG


LINX_CHANNELCONFIG.JPG


SLC5_04CHANNELCONFIG.JPG
 
What is the configuration of your SLC_Read tag?


How did you come about using DHRIO as your comm path?
 
Thanks for response Oakley. This is why I love this site. I prefer not to get answers, just questions that will jog my thinking. As soon as I got your reply, it made me think. Changed SLC_READ tag from 'DINT' to 'SINT' and the problem was resolved. Thanks again.
 
Originally posted by yam785:

Changed SLC_READ tag from 'DINT' to 'SINT' and the problem was resolved.


I'm confused. Why would that have made a difference, especially considering the error code? Neither data type is native to the 5/04. Even if it was the PCCC request format should have been related to the file type requested (integer in this case). Why would the SLC care about the data type of the ControlLogix container? And if it did care the only data type it should have been happy with is an INT.

Anyone know how this really works?

Keith
 
kamenges said:
I'm confused. Why would that have made a difference, especially considering the error code? Neither data type is native to the 5/04. Even if it was the PCCC request format should have been related to the file type requested (integer in this case). Why would the SLC care about the data type of the ControlLogix container? And if it did care the only data type it should have been happy with is an INT.

Anyone know how this really works?

Keith

You are right. I have made this mistake many a time. All that happens is byte alignment is messed up, but the DH+ read still occurs without errors
 
You guys are very sharp, and very correct!

I had all ready been looking into things, and noticed realized I only had 8 bits in my tags. Changed it Tag Type to Int.

It's funny how it allowed me to use Sint, and Dint, but only allowed me to use a certain number of elements for each.

I can't thank everyone on this site enough for the information. I am trying to learn at a 'Ludicrous' pace on this project, and with everyone's help, so far so good.

Thank you!
 
Originally posted by yam785:

It's funny how it allowed me to use Sint, and Dint, but only allowed me to use a certain number of elements for each.

It's all about byte count. The N file type in an SLC is implied as an integer. Your message set-up was requesting a 10 element read, which is 10 integers. This is 20 bytes, which are also 5 DINTs or 20 SINTs. As long as the total byte count was right the instruction would probably be happy.

Keith
 
Don't you have to have two tags? one is the message and one is where you dump it to? (an INT with an array of 10)

Since I've only done this once (last week) I may be way off

Clint
 

Similar Topics

I have an application where I am doing a MSG read from "PLC_A" reading "DINT_1" in "PLC_B". What happens if PLC_B faults? Will the MSG read still...
Replies
2
Views
2,629
Can anyone confirm that using contrologix 5580 controller is not possible to work with powerflex 527? It's been a couple of days now that i am...
Replies
8
Views
1,188
Hello, I have a flow control PID that keeps locking up. It seems to control fine but after a while the output no longer moves. For instance...
Replies
4
Views
964
Hi everyone, I can't add any modules to the Controllogix backplane and it doesn't matter online or offline. Both is not working. Please see the...
Replies
13
Views
2,988
Hello, I have a question regarding the possibility of using messages instructions to communicate between: PLC5/80E Series D - CE Water Mark...
Replies
12
Views
3,062
Back
Top Bottom