Using Strings in Industrial Automation

Rob S.

Member
Join Date
Sep 2008
Location
Maryland
Posts
739
I was wondering if you could explain some examples of why strings are used in industrial automation. What kind of information would be read and written in most common string applications. I know I used strings to communicate with a Cognex camera and ControlLogix , but it has been a while.

Could you maybe show me some links that explain string for beginners.

Thanks in advance , and have a great weekend.
 
Rob,

You should define exactly what you mean by "strings". That word covers a lot of ground. My first impulse was to say that I used strings to hold my lunch box together after the latch broke. ;)

I assume that your questions is really about ASCII character strings, as opposed to data words or PLC tag strings.

Character strings are often used where two different devices need to communicate, but do have a common communications protocol that can be used to read and write character strings of data.
 
I have used strings in order to defeat "default" formatting. I.E., I want a date to be displayed in a certain way, as one piece of data. Format it into a string and the job is done. If the data to be displayed is actually comprised of many smaller pieces, the string is actually efficient and simple (compared to alternatives).
 
Strings can also be used to keep down the tag count on scada systems.
It is possible to combine many pieces of data into a string and use only 1 tag.
There is a bit more work to be done at the controller level in assembling and then disassembling at the other end.
 
Thanks , thats what I was somewhat looking for. Do you all have any sample ControlLogix code you can post?

Reason I am asking is, I had a interview , and there was some questions involving strings.

Thanks again,
 
Sorry, I do not use AB unless absolutely specified - have not had one that could not be changed for a long time to something else.
 

Similar Topics

I'm fairly new to View Studio SE. I'm trying to do a simple visibility animation, but I would like to do so with a string tag. The tag is one...
Replies
0
Views
1,210
Hi all, I am new here... I am hoping someone could help me figure out how to transfer strings from Allen Bradley to Mitsubishi using Red Lion...
Replies
15
Views
5,887
Hey everyone, I was getting tired of having to do a compile and download the application every time I needed to add a new alarm to a PanelView...
Replies
1
Views
2,108
I have a variable IDX that varies from 0-10, can I use the following: CONCAT ArrayStr[IDX] ArrayStr[5] Destination To write to a string...
Replies
1
Views
1,476
can anyone assit me in how to set up a data block to read a string? I know the item type is a string , but how do I define the address pointer?
Replies
1
Views
1,619
Back
Top Bottom