info from barcode reader to PLC

realolman said:
...The verify rung always complains about the XIO which I picked from the list just as it shows in your picture: "MSGControl.EN" .... but it doesn't complain about the XIC, which I also picked as MSGControl which is as you said type "MESSAGE" Also, If I look MSGControl.EN in the Controller tags, it is type BOOL...

Note: Tags of data type MESSAGE are known as object-backed tags. The MESSAGE data type is made up of many predefined tag members of varying base data types, such as BOOL, SINT, INT, etc. The. EN (Enable) bit is one of the predefined BOOL members, so it will always be of BOOL data type when you go check it in the Controller Tags.

I have never assigned a tag of MESSAGE data type to a bit level instruction, such as an XIC, and I'm not in a position to do so right now. So I cannot say exactly how RSLogix 5000 will react to doing so, but it should not like it? I'd imagine you "should" be getting the same or similar verify rung error?

That aside - what is the purpose of the XIC instruction and why are you assigning a tag of MESSAGE data type to it? Are you just experimenting? A tag of MESSAGE data type should only be assigned to a MSG (Message) instruction.

Have you tried with just the XIO MSGControl.EN and MSG MSGControl and no XIC MSGControl? There is no XIC used in the PDF. I'm not sure what your trying to add that for?

Regards,
George
 

Similar Topics

Good Afternoon , I am looking for Industrial Ink Jet Printers that mark cases of product with Bar Codes , Lot Numbers , etc. I'm looking to...
Replies
6
Views
2,032
Anyone know what these statistics mean or if there is a page that explains it more? I couldn't find anything on Rockwell's website or literature...
Replies
0
Views
67
I have a program that I've used 100 times. SQO settings: File N7:0, Mask 0FFFFh, Dest B3:1, Control R6:0, Length 8, Pos 2. Length & Position...
Replies
48
Views
979
Hello, When I go to Instruction Help for a GSV instruction in Studio 5000, and then scroll down to the bottom of the webpage it directs me to...
Replies
1
Views
227
Hello everyone, I am trying to upload some parameters from a powerflex 523, and download them to a new powerflex 4. First problem is I’m not...
Replies
4
Views
597
Back
Top Bottom