cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Industrial Connectivity: Create tag String

einsfele
14-Alexandrite

Industrial Connectivity: Create tag String

Hi all,

 

 

I am using the Industrial Connectivity with PLC Rockwell and I have some TAGs type REAL/FLOAT already communicate work it.

 

So when I try communicated a TAG type String (my addrees is data type string on my PLC) happens the follow error:

 

 

 

String 2.JPGstring.JPG

4 REPLIES 4

@einsfele 

 

Here is the page in the Driver's manual that covers addressing string values:

https://www.kepware.com/products/kepserverex/drivers/allen-bradley-controllogix-ethernet/documents/allen-bradley-controllogix-ethernet-manual/#page=59

 

Hope this helps, thanks

 

Thanks,

Vibhuti

vangne
16-Pearl
(To:vangne)

@einsfele 

I just wanted to follow up to see if previous response was helpful for your question?

 

If so, please indicate the appropriate response as the Accepted Solution for the benefit of other Community members who have the same question. If you are still experiencing issues, please do let us know your questions or concerns.

 

Thanks,

Vibhuti

einsfele
14-Alexandrite
(To:vangne)

Hi @vangne 

 

That manual did not help me.

 

I need bind a tag (type: string) because I want show in my dashboard one operator name that is into my PLC. I was able of bind others tag's type (e.g float, interger) but type string I could not.

 

Regards,

Leonardo

@einsfele What version of ThingWorx Industrial Connectivity are you using?

 

Are you trying to read Strings as an array?

Please note that you cannot read Strings as an array, then address an individual element. Strings can only be read one at a time as in the Allen-Bradley Logix addressing scheme a string, by definition, is a 'Null terminated character array'. It is not possible to read an array of arrays by the driver.

 

Previously attached manual's link was broken hence attaching it again: 

https://www.kepware.com/getattachment/c7cd42b2-e3a8-403e-ac5b-ddff9cb03985/allen-bradley-controllogix-ethernet-manual.pdf

 

Also, take a look at this article and community post for more info:

https://www.ptc.com/en/support/article?n=CS277918

 

Community Post 1

Announcements


Top Tags