Previous in Forum: Labview   Next in Forum: RAID for automation control application
Close
Close
Close
3 comments
Rate Comments: Nested
Member

Join Date: Oct 2006
Posts: 8

ASCII code reading at PLC

10/27/2006 10:50 AM

am using Allen Bradley Micro logic 1200 PLC. It is dual port PLC. We r sending ASCII code from PC to PLC having string length of 15. I wish to read each digit separately from received 15 digits. As the each digit & its position has meaning. I cannot send the separate data for each digit.

May I hv software solution with details of instructions I should use to read the each data/ digit separately? I am using RSlogix software of AB.

Pl. inform at the earliest.

Dhananjay

Pune

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: Jul 2006
Location: Silicon Valley
Posts: 5356
Good Answers: 50
#1

Re: ASCII code reading at PLC

10/27/2006 11:44 PM

Can't your Allen Bradley store each 8-bit digit into a table, then just translate them against another table that has the ASCII set as its offset?

__________________
"Perplexity is the beginning of dementia" - Professor Coriolus
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#2

Re: ASCII code reading at PLC

10/28/2006 5:33 AM

I suggest you use AEX - string extract - to isolate each digit in the string, then ACI - string to integer - on each digit. You could do this in a loop, putting the results into successive locations in an integer file.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Member

Join Date: Oct 2006
Posts: 8
#3
In reply to #2

Re: ASCII code reading at PLC

10/29/2006 4:37 AM

Thanks! I did the same & work out. Hope further I can do that.

Regards

Dhananjay

Register to Reply
Register to Reply 3 comments
Copy to Clipboard

Users who posted comments:

JohnDG (1); ksmotaghare (1); vermin (1)

Previous in Forum: Labview   Next in Forum: RAID for automation control application
You might be interested in: Bar Code Scanners, Bar Code Cards, Bar Code Software

Advertisement