Printing From A SLC 5/03

D

Thread Starter

dmcreynolds

Need to find out what's the best way to connect a printer to a SLC 5/03. What cards needed, etc.. Has anyone succesfully done this? I've done some DH-485 networking, and ASCII read/write. Just need to know how to go to a printer. Can you directly do an ASCII write on CH 0?
Thanks
Dan
 
You don't need any extra card. You can use the serial port of the CPU card. To print you can use AWA instruction. But remember that you will need a printer with a serial port or you will need to convert from serial to parallel to use "standard" printers.

Hope this helps,

R. Dutra
 
R

Ranjan Acharya

You can go with CH 0, I would imagine, but I have always done it with a BASIC module. Keeps CH 0 free for other purposes. A few simple lines of code to a printer with a serial port and you can get quite nice output.

Even PCL-5 or PCL-6 is possible if you want on an HP Laser Printer (e.g., for a nice looking batch summary).

RA
 
M

Marc Sinclair

The easiest way to print from these primitive plcs is to use the BASIC module. I wrote programs to print to two barcode printers, the printers had RS232 interfaces and the code sent graphics and text, it actually worked OK, the interface between the PLC and the Basic module is a bit clunky, but who needs elegance, this is industry :-(

Marc Sinclair
 
Top