String to Ascii

RobWad

Member
Join Date
Jun 2012
Location
Muskegon
Posts
27
Anyone have an idea how to convert a string to ascii using a ControlLogix and a RTA 435 NBX? I got the messaging from Ascii to string(PC to ControlLogix through the RTA) but having issues responding to the PC using the RTA. Any help appreciated.
 
We use this device often. The gateway uses two separate strings within the ControlLogix PLC to communicate.

When the gateway receives a message on its serial port it sends the message to a string within the ControlLogix. The internal program should, on recognizing that the string tag now has content, transfers that content (COPy ?) to another tag (or use the string in whatever appropriate way) then clears the string tag. I find copying an empty string into the string tag is the easiest way to clear it.

Similarly, when the PLC wishes to send a message it copies a message to the second string. The gateway, on seeing that the string has content, will send the content out its serial port and clear the internal string tag. The tag being cleared is evidence that the gateway has sent the string.

Actually it is the easiest form of handshaking I have used.

Exactly what problem are you having?
 
Last edited:

Similar Topics

I have a Horner PLC that is reading Ascii string from a device. When the device responds, it responds with the hex value in Ascii. I need to...
Replies
8
Views
2,380
HI Guys So i am trying to write a real SINt or DINT value into a string tag. If in string browser I write it manually, no problem. But how can I...
Replies
8
Views
5,953
Have an unusual one here, guys... I have a remote machine that is sending my 1769-L33ER five 16-bit integers that represent 10 ASCII characters...
Replies
4
Views
2,225
Hello gentlemen, A few days ago I was tasked with converting an old panelview 1400e to a panelview plus 7 application. Everything went well except...
Replies
1
Views
1,310
hi, i try to capture barcode data using UDT with SINT ascii array. i have all the data i need but it in array format, how can i convert to 1...
Replies
5
Views
3,053
Back
Top Bottom