Writing to a STRING in Logix5571

SeanRewards

Member
Join Date
Jul 2013
Location
Lousiana
Posts
2
Hi,
I'm trying to write from an external application to a UDT of type STRING in the Logix5571.
I get general error 0xFF and Extended Error 0x2107: Tag type used n request does not match the target tag’s data type.

Any ideas? Please help. No problem writing to other data types.
 
Welcome to the Forum !

I'm not familiar with all the datatypes at a low level, but my first question is: Is this a single default ControlLogix STRING datatype, a custom ControlLogix STRING datatype, or a UDT that contains a STRING datatype as one of its elements ?

I know that in controller-to-controller communications, the UDT datatypes are critical; you must have identical datatypes on both sides.

For example, you can't create a UDT with a DINT called LEN and a SINT[82] called DATA and treat it like a STRING, even though the subelements are the same size and name.
 
Welcome to the Forum !

I'm not familiar with all the datatypes at a low level, but my first question is: Is this a single default ControlLogix STRING datatype, a custom ControlLogix STRING datatype, or a UDT that contains a STRING datatype as one of its elements ?

I know that in controller-to-controller communications, the UDT datatypes are critical; you must have identical datatypes on both sides.

For example, you can't create a UDT with a DINT called LEN and a SINT[82] called DATA and treat it like a STRING, even though the subelements are the same size and name.
Thanks.
I've created a UDT with an element of type STRING and referring to it like 'Tag.Element' and attempting to write a STRING value.
 
Can you write to an ordinary Tag of STRING datatype, that isn't part of a UDT ?

Are the other tags you are successfully writing to standalone tags, or part of a UDT as well ?

I'm not a driver developer and probably won't be able to help on this.
 

Similar Topics

How can i write aHint or dialog Text box when runtime manger already running .
Replies
0
Views
1,645
Using FTV 9 SE Local Windows 10 Trying to use a little VB to write to a string. Keep getting an error. 'Taggroup\Tagname is a string Dim Note...
Replies
1
Views
2,010
Could somebody please point me in the right direction? I'm trying to incorporate a table into each motor's faceplate. It's a simple, two...
Replies
2
Views
3,201
PLC Gurus, I need a little bit help here.. A little background, we're working on a project using PlantPAx from Rockwell.. We use some of their...
Replies
4
Views
3,380
Hello All This is my first Transaction Manager project. I have a working configuration in Transaction Manager 10.20 that successfully writes...
Replies
3
Views
7,631
Back
Top Bottom