ASCII Instructions in RSLogix500/SLC5/04

Rube

Member
Join Date
Sep 2003
Location
Fort Worth, Texas
Posts
958
Before I begin what is sure to be a labor-intensive trial and error session on a running production line, I thought I might seek the advice/experience of my distinguished colleagues on the forum.

I am using Channel 0 (User mode) in a 5/04 which is RS232'd to a Microscan 860 barcode reader. I currently use the ARL instruction to capture the characters from the scanner. We are only asking to see one character at a time and the scanner is set up to send it's data with no terminating characters. I currently cycle the ARL from 0 to .50 seconds on a cycling timer set at .75 seconds. The rest of the timer is used for ASCII data manipulation; string matches, etc. The program is currently running fine....but...

I am curious how fast I can trigger the ARL instruction RELIABLY. I'm investigating a faster line speed, which means every thing must be faster. I know I'll reach a limiting factor and I'm hoping it won't be the ARL or the FIFO stacking done later in the same program.

Hopefully, each of you will enjoy this holiday season at home. Thanks in advance for any advice
 
I haven't actually used this instruction, this is just my take on it from reading the RSLogix500 help:

Once the scanner sends its data it's all sitting in the PLC's buffer just waiting to be picked up. Since the ARL uses a Register to control its operation, you can conceivably trigger it as fast as every scan.

R6:x/EN
------------------------(U)---

TRIGGER (ACB > 0?)
-----| |-------------+- ARL ----+
| R6:x |
| |
~ ~


If you'd decide to do this, I'd incorporate the ACB (ASCII Characters in Buffer) instruction to make sure there's really something there to be read.
 

Similar Topics

Hello Guys\Gals, I am trying to write to a simple display from my Micrologix 1500 processor's serial port. (LRP, so I have 2 channels, the...
Replies
4
Views
3,092
I have a program that is used to read basic ascii characters in to turn on outputs on the plc. The program works fine with the exception of...
Replies
1
Views
4,446
I'm having trouble writing to the processor. I followed Rockwell's knowledgebase #A16898 and the processor will write to the hyperterminal just...
Replies
11
Views
4,748
Hi, We couldn’t find anything specific, so am starting a new thread. I’m trying to migrate a config from a ML1400 to a micro820 & am experiencing...
Replies
1
Views
109
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
461
Back
Top Bottom