Forums.MrPLC.com: Communication between PLC & Printer - Forums.MrPLC.com

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Communication between PLC & Printer How to communicate PLC & Printer Rate Topic: -----

#1
Guest_Aldo_*

  • Group: Guest
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
0

#2
User is offline   Jay Anthony 

  • Omron Expert
  • Group: MrPLC Admin
  • Posts: 2,935
  • Joined: 12-January 02
  • Gender:Male
  • Location:Dallas, TX
  • Interests:Omron Tech guy
    Sound and Stage Lighting,
    Computers Rock!
  • Country:United States
    United States
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
0

#3
User is offline   OmronFAQ 

  • Sparky
  • PipPipPip
  • Group: MrPLC Member
  • Posts: 28
  • Joined: 19-November 03
  • Country:Afghanistan
    Afghanistan
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:
0

#4
Guest_Gili_*

  • Group: Guest
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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users