Jump to content



- - - - -

Communication between PLC & Printer

  • Please log in to reply
3 replies to this topic

#1 Guest_Aldo_*

Guest_Aldo_*
  • Guest

Posted 20 November 2003 - 04:58 AM

Hi Mr. Jay / anybody,

can we make communication directly printer to OMRON PLC? In my system i need printout of data in some DM ( just printing the data in some DM once in hr ).How we can arrange layout of the printout ? and what we need to make directly communication between PLC & Printer? have we to use CX protocol?
:shrug:

thank's b4

#2 Jay Anthony

Jay Anthony

    Omron Expert

  • MrPLC Admin
  • 2951 posts
  • Gender:Male
  • Location:Dallas, TX
  • Interests:Omron Tech guy
    Sound and Stage Lighting,
    Computers Rock!
  • Country:United States
    United States

Posted 20 November 2003 - 08:37 AM

You must use a serial printer to communicate to the PLC. Some third parties do make serial to parallel convertors so that you can use a parallel printer interface.

If this is not possible, then you will have to use a computer with a printer to print from the PLC.
Posted Image
Jay in Dallas

#3 OmronFAQ

OmronFAQ

    Sparky

  • MrPLC Member
  • PipPipPip
  • 28 posts
  • Country:Afghanistan
    Afghanistan

Posted 28 November 2003 - 06:28 AM

Aldo, you certainly can do this! One good option is to use a serial printer ie. label printer that has internal memory.

This allows you to program the printer with various borders and fixed text. ie. company logo or name and then fill in the blanks via fields.

The field data is then TX'd to the printer. Depending on your PLC type you may be able to use the standard serial RS232 port.

You will however still need the protocol from the printer supplier. This will need to be coded into your PLC program.

This method then allows good looking labels to be printed which look good when passed on to your customer.

:shrug:

#4 Guest_Gili_*

Guest_Gili_*
  • Guest

Posted 28 November 2003 - 08:42 AM

Just a small addition.
1-You can do it with ladder TXD and/or protocol macro. Protocol macro is more powerfull but requires more lerning.
2-You need to use the ascii table and control characters ("0D0A"=CR+LF, "37h"=7 for example).

Gili




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users