ASCII to Panelview

firebrd10

Member
Join Date
Sep 2003
Location
Kentucky
Posts
61
I am receiving some ASCII values into my PLC via a barcode scanner.
Does anyone know how I can get these strings to display on a panelview? We are receiving both letters and numbers in the same sting so a standard numeric display just can't do the job.

System
SLC 5/04
PV600c running on DH+

Thanks,

Tim
 
One way that works

Make a text object and use the embedded character option to insert a ST file of your choice and length is one way. You can use an A (ascii) file too!
 
I think I can give you the basics...
To display a string, you need to set up a Character Array tag on the PanelView. Array size of the tag should be set to however many characters are in the string.
The tag should be assigned to an "A" or "N" file address. Note that each PLC address holds two characters (each ASCII character is 8 bits, thus two per word). I don't believe that the Panelview can read the String filetype, so if your data is in an ST file, you'll have to copy it to an A or N location--use the COP command and note that the first word of the destination is reserved for the length of the string. Example result of COP:

datafile.jpg


The Panelview will start reading characters at the tag address and continue reading consecutive addresses until it reaches the number of characters specified in the tag size.
To display the tag on the screen, I usually use a Text Object with an embedded character variable.
Hope this helps.

-John

Revision: Panelview may in fact read ST files directly but I don't have experience with this.
 
Last edited:

Similar Topics

Hi, I have a Panelview 800 HMI connected to a CompactLogix 5370 PLC. I have a ASCII string data tag within the PLC which I want to display on...
Replies
0
Views
1,455
Hi, I've imported a Panelview project for use in a new Panelview Plus (using RSView Studio) and I'm having trouble getting the Panelview Plus to...
Replies
6
Views
14,428
I would like to send a simple ASCII string from a PanelView 550 Printer port with a button press. String Sample: ABCDF 1 Any Ideas?
Replies
3
Views
3,623
I've followed all the steps from Rockwell to use the KepWare UCONN driver to transmit ascii data out of the serial port on this PV+. No matter...
Replies
2
Views
4,119
I am trying to capture ASCII from a keyboard attached to a PanelView Plus 1000 with RSView ME. Anyone ever done this or know how?
Replies
0
Views
2,634
Back
Top Bottom