Message MSG Instruction - Rockwell

CSKA

Member
Join Date
Dec 2022
Location
Minnesota
Posts
3
Studio5000, V31

I'm Messaging a MassFlow Meter, specifically to pull the Engineering Units (units of measure) for 6 instances.

Basically, do I need to have 6 MSG instructions using CIP Generic, Get Attribute Single? Or can I just use 1 MSG instruction to pull all the values I need?

Attached files are the values I am pulling:

Mass Flow > Engineering Units
Volume Flow > Engineering Units
Density > Engineering Units
Temperature > Engineering Units
Totalizer 1 > Engineering Units
Totalizer 2 > Engineering Units


I am getting the data I need correctly using 6 MSG, but this seems inefficient to have 6 different MSG instructions using Get Attribute Single, especially for just 1 Mass Flow meter.

Can I do this with just 1 MSG instruction?

Thank you so much

Capture10.JPG Capture11.JPG Capture12.JPG
 
Welcome to the PLCTalk forum community !

Because the object definition doesn't say it supports Get Attribute All or some kind of vendor-specific "Scattered Parameter Read", I think that setting up one MSG per Attribute is the most straightforward method.

Try using the Get Attribute All (0x01) service, or the Get Instance Attribute List service (0x55) and see if the device responds. The most likely initial outcome is either "service not supported" or a "response too big" so you have to expand the receiving tag array.
 
Would the Get Generic service code work as well? The data would have to be re-cast from a uint8 array, of course.
 

Similar Topics

I'm trying get information from another same PLC PLC1: CompactLogix 1769-L16ER-BB1B (192.168.0.133) PLC1: CompactLogix 1769-L16ER-BB1B...
Replies
17
Views
1,586
Hello everyone Usually i poll each comm message 1 by 1 but in a particular project, i would like to have 2 different refreshing speed Does it...
Replies
4
Views
2,910
Dear AB Experts, I am very much in the beginning stage...we use SLC 5/02 and DTAM 1471 is connected to it. The system contains a conveyor and...
Replies
6
Views
2,046
I have been working with InView P42C Message Displays communicating with SLC 5/05 through 1761-Net-AIC RS485 multidrop. I have 46 messages and 59...
Replies
2
Views
2,772
hi everyone, i have problem regarding Audit in FTV ver 12,In audit message "service disruption:<HMI server name>:<SERVICE NAME>" message logged,i...
Replies
1
Views
45
Back
Top Bottom