RS232 ASCII String - How to put in a register?

donl517

Member
Join Date
Dec 2005
Location
Michigan
Posts
127
I am receiving an ASCII string via RS232; is it possible to send that data to an N7 register directly? (i.e. ASCII String = N7:0,01)
Will a Micrologix 1500 know what to do with this or do I have to handle it another way?

Thanks,
Don
 
No, usually you will have to read the string from the buffer(ARD,ARL), extract the number which will still be stored as a string(AEX), then convert it to an integer (ACI)

What is sending the string?
 
It is coming from an SMAC test unit. They can send anything I want; So I can read it into the ST register and do a string compare as well. I was just curious if there was a way to code it to go directly into a register other than the ST register.

Thanks,
Don
 
Yes & No, They have I/O on the unit but we have used it all. So we are looking at other avenues of sending a ready signal. I think I will program a first pass to clear the ASCII string at startup and then clear it again at cycle start. That should get me what I need.

Thanks,
Don
 
Don,

There is an ASCII to PLC Gateway from Real Time Automation that works great. It will take your string data and send it right to a string register in your Micrologix. The part is 435NBS. They have din rail or panel mounting. Very little logic is needed.
http://www.rtaautomation.com/ethernetip/435nba/
They show the 435NBA for the Contrologix family. They only difference really is that the 435NBA sends data to a tag and the 435NBS will be sending to a register.

Rick
 
ASCII to Allen Bradley

I have several customers who have successfully implemented our DeviceMaster UP products to assist with getting this ASCII data into Micrologix PLCs via Ethernet/IP. Feel free to contact me directly, and I would be happy to extend the invitation to evaluate free of charge.
 

Similar Topics

Does any one knows if micrologix 1100 would be a good choice to receive ascii string characters by Ethernet port and forward it using rs232 port...
Replies
1
Views
5,470
Hi to everybody. I need to read the first 12 characters of the message that a barcode reader sends to the ascii card (1734-rs232 ascii) and I...
Replies
8
Views
685
Hello, I have a linear actuator set up (2 Ewellix linear actuators with hall effect sensor encoders) and an SCU control unit with RS232...
Replies
4
Views
2,082
Hi, I'm new into AB controllers and I'm trying to find how to handle rs232 communication on slc 05/4. I know that I need to configure channel 0...
Replies
5
Views
3,035
Hi, Guys I'm trying to upgrade a device witch comms is thru a RS232. The PLC is a Compactlogix L16ER to a remote PIO 1734-AENT then on this PIO a...
Replies
22
Views
8,157
Back
Top Bottom