Serial Port Programming Compact Logix

BMLLER6758

Member
Join Date
Aug 2006
Location
Kiel
Posts
93
I got a String from the seriell port: "134r200r2r1r250r"

I want to put each number into a different DINT-Tag.

I did that by a very long Ladder program with finds and mids.

Do you know a easier (shorter) way to do that ???

Regards

Bernd
 
Dont use DINT use SINT Make an single dimensional array of length equal to the string length then use Cop instruction you get the corresponding ASCII value
 

Similar Topics

Dear all, I have these 2 problems. 1. siemens s7 200 programming cable 6ES7 901-3CB30-0XA0 (both ends serial ports). My laptop does not have a...
Replies
2
Views
3,782
Hi guys, I've a strange request here; 1) Can the ethernet port of the L20E CPU use as programming port? How can this 15 pins connector be...
Replies
7
Views
6,024
Dear All Hope that Every thing is going well with you all. I need to Program serial port with Turbo C, Borland C , to read serial port and write...
Replies
0
Views
5,215
Does anyone know of an AOI using the user ASCII protocol select on the L6x controllers that will talk Modbus RTU using RS-485? Thanks, Trevor...
Replies
1
Views
152
I have lm9030 program on my toughbook CF-29 cannot get my program to hook up with the serial port.
Replies
2
Views
74
Back
Top Bottom