RS5000 ascii problems

khalstead

Member
Join Date
May 2010
Location
michigan
Posts
6
I have a machine running rs5000, and one of the functions is to send an ascii string to a laser scriber to mark a tag. It seems to run fine random amounts of time, and then it doesn't send the ascii information. The program has 3 rungs of AWT's, one is start transmission, then the string, then end transmission. When i check the ladder, the first AWT rung is true (STX) and the enable bit is lit, but never sends a done bit. Any ideas why?
 
It really depends on what your target is expecting. I was thinking you were sending 02h then the string then 03h but you know best what you are sending and what is expected.

If you are sending three AWTs then there are no appended characters.

If you have the string with just 02h and another with just 03h as well as the actual message string then two ACNs will concatenate them into a final combined string. Unless the end device requires some sort of time delay between the control characters and the message string then the single concatenated string would be easier to deal with as far as sending is concerned.

The knowledgebase has a lot of good examples as well as troubleshooting information.
 
Last edited:
I've tried it both ways, with the same result. It will run and send the string correctly for awhile, then it will just sit there and never turn on the done bit. The rung is very simple, just one bit that makes the rung true. I normally just pulse the bit for 1 second, but have tried latching the bit on until the done bit comes on but it doesn't make any difference. I don't know what would prevent the AWT instruction from working all of a sudden. The enable is lit, but no done bit.
 

Similar Topics

I have recently made a career change after 25 years of being an electrician. I am officially a junior automation controls programmer. I recently...
Replies
11
Views
366
Hi Guys, Hoping that someone could please confirm if the 1756-IF16/B is/isn't compatible with the 1756-L1 5550 processor(13.24). I'm sure I...
Replies
2
Views
103
Hello, I need help making a logic modification to a RS Logix 5000 program. I can email the program and give plenty of insight to it plus I have...
Replies
4
Views
2,201
Hey folks I was wondering how one puts shortcuts on the logic display for instructions. A few weeks back another programmer added them for me...
Replies
2
Views
971
Hello, I'm struggling with getting an email to send using an eweb module on a controllogix system. Any chance I could get someone here to help?
Replies
4
Views
1,856
Back
Top Bottom