ascii right

jimcav

Member
Join Date
Dec 2004
Location
new jersey
Posts
229
I am using a allen bradley l32e and need to write out an ascii string that will have a value in it that changes from the touch screen.
Example: sp.value#1=40
40 is the value that needs to change how can i put the valve 40 in a string?

Jim Cav
 
There are two instructions in the ControlLogix specifically for this purpose.

DTOS is "DINT to String"
RTOS is "REAL to String"

You can also use the opposite instructions; STOD and STOR parse a DINT or a REAL out of a String tag.
 

Similar Topics

I have an L24ER-QB1B with a 1769-ASCII card in slot number 4. I'm looking to send data to this zebra printer after every completed sequence. I'm a...
Replies
2
Views
403
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
686
I am trying to import addresses and symbols from a PanelBuilder32 application into the RSLogix 5 Address/Symbol database - however each time I...
Replies
5
Views
504
Good day! I am working on a project at our campus to integrate fleet vehicle chargers with load management so we don't overwhelm our service. The...
Replies
37
Views
3,715
I have been using Real Time Automation for a long time. Does anyone have another recommendation for ASCII serial to Ethernet//IP? We have a scale...
Replies
5
Views
979
Back
Top Bottom