Writing 2 or more ascii strings with 1 AWT

commerce

Member
Join Date
Dec 2009
Location
Texas
Posts
1
Hello All,

Is there a way to send several ascii stings to a display using one AWT command? I am using one AWT for every error message, if there are 2 or more messages, only the last one displays. Any help is GREATLY appreciated.

Thanks
 
Can the display actually show more than one message at one time (multiple lines?)

Otherwise you may have to set up a timed write in the PLC. Write one error message ... time ... write the other error message ... time ... repeat.
 
You have to use ACN and put the carriage return command that you store in a different string on the end of your first string and store that. Then use ACN again to put your second string you desire written on the end of what you just assembled. Use one AWT command to write that and you're good.

I wrote a program for a parts marker that uses a ton of ACN to do just that and it only uses one AWT command. After it's all assembled the ASCII string looks like this

12/19/09 05:12
1 23 123456

Yeah, there is a lot of lines of code to pull the month, slash, day, slash, 2 digit year, space, hour, colon, minute, carriage return, shift, space, pallet number, space, 6 digit part number.... and then put that all in one string to be written. It works though :)
 
whoa, my bad. After getting to work and double checking I forgot to mention that I needed a line feed function after the carriage return....
so the first ACN will need to tack on ^M^J
Well, at least I had to do this to properly write the mentioned string out to a Columbia Micro Tools PM Mircro A marker.
 

Similar Topics

Has anyone ever used an input device like this? I looking for an option for an operator to hand write info on a trend to be printed. any help...
Replies
0
Views
2,773
Hi, I'm having an issue in crimson 3.0 when I create a programme using a case statement referencing a fault word that each bit needs to change the...
Replies
5
Views
253
Hello all, I'm currently working on a servo motor linear positioning system (ball screw). I'm all set up regarding communication between my HMI...
Replies
1
Views
92
Hello All: I have a Windows 10 PC running a FTView ME Station 10.00. I have a .mer file version 6.00. It has been running well on it for a long...
Replies
1
Views
171
My R55 Ingersollrand is tripping on motor overload and im falling to see the trip history it is writing Acquarring texts
Replies
0
Views
134
Back
Top Bottom