You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old February 2nd, 2023, 11:54 AM   #1
plc1
Member
United States

plc1 is offline
 
Join Date: Feb 2021
Location: MI
Posts: 1
Printing over ethernet with Guardlogix 5380?

Looking to Print over ethernet with a 5069-L320ERMS3 Compact GuardLogix 5380 Safety Controller.

Printer model yet to be provided. But a few questions before I get started

Can A PLC print a .PDF file ?
Would it be able to populate fields in that file ?
Would it be able to just spit out data csv or otherwise to a blank sheet of paper

Desired end result: Print a pass fail forum with serial and lot number of part tested. Part number entered by HMI, Test result via peripheral/modbus adapter

Great, thanks in advance !
  Reply With Quote
Old February 2nd, 2023, 01:19 PM   #2
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 7,007
Quote:
Originally Posted by plc1 View Post
Can A PLC print a .PDF file ?
Short direct answer: yes.

Long correct answer: no; you do not want to even try.
__________________
_
Brian T. Carcich
i) Take care of the bits, and the bytes will take care of themselves.
ii) There is no software problem that cannot be solved with another layer of indirection.
iii) Measurement is hard.
iv) I solemnly swear that I am up to no good
v) I probably have the highest ratio of forum posts to actual applications in the field (but no longer ∞ ).
vi) Hakuna matata.
vii) Bookkeeping.
  Reply With Quote
Old February 4th, 2023, 10:22 AM   #3
JeremyM
Lifetime Supporting Member
United States

JeremyM is offline
 
JeremyM's Avatar
 
Join Date: May 2014
Location: Dallas, Texas
Posts: 1,169
Quote:
Originally Posted by drbitboy View Post
Short direct answer: yes.

Long correct answer: no; you do not want to even try.
Well now you've got my curiosity.
__________________
LogixLibraries
  Reply With Quote
Old February 4th, 2023, 05:35 PM   #4
TheWaterboy
Lifetime Supporting Member + Moderator
United States

TheWaterboy is offline
 
TheWaterboy's Avatar
 
Join Date: May 2006
Location: State of Denial
Posts: 1,715
Excel can pull the data through RSLinx (FTLinx) if you want to go that way.

Export a PDF ?? ... wow I can't even imagine how much effort it would take to pull that off from within the PLC.

If you used a serial receipt printer you could do a simple pass fail sheet as you describe pretty easily with the 5069-serial module.
__________________
There are 2 kinds of people in the world... (1) Those that can derive answers from incomplete Data
  Reply With Quote
Old February 4th, 2023, 05:45 PM   #5
Steve Bailey
Lifetime Supporting Member + Moderator
United States

Steve Bailey is offline
 
Steve Bailey's Avatar
 
Join Date: Apr 2002
Location: The boondocks of Western Massachusetts USA
Posts: 8,243
Quote:
Desired end result: Print a pass fail forum with serial and lot number of part tested. Part number entered by HMI, Test result via peripheral/modbus adapter
In my opinion this is a task better suited to the HMI. I've done it using a GE Quick Panel HMI using a "Page Print" command in a VB Script. Script execution triggered by an operator action.
  Reply With Quote
Old February 4th, 2023, 10:40 PM   #6
DaDaDadeo
Member
United States

DaDaDadeo is offline
 
Join Date: Feb 2018
Location: New York State
Posts: 75
Ethernet Printing to PDF

All of it is possible.

Since all ABs no longer have serial ports by default, TCP Socket communication is standard with later model PLCs and PACs (CompactLogix & ControlLogix). Rockwell has a sample code to transmit text using Raw Telnet protocol. Customizing the code requires a little time and effort. Standard office printers work fine with these controllers. If kiosk serial printers are required, a standard off the shelf device server will work fine to convert the telnet to serial. These are much less expensive than an expansion serial card.

A PC, imbedded computer, or server can capture the TCP Socket data, store the text in a file, and print it to PDF using Libharu. The key is to set it up.

Check out these well used and tested applications: https://github.com/DaDaDadeo/Cycle-Print-To-PDF
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
GE Ethernet LAN Internal Status (LIS) bits Issues BSkyler LIVE PLC Questions And Answers 5 June 14th, 2013 12:50 PM
Omron Ethernet communications Endactam LIVE PLC Questions And Answers 0 April 11th, 2013 09:04 AM
5/05 ethernet driver, cannot connect stuman LIVE PLC Questions And Answers 5 April 6th, 2008 07:12 PM
Using a SLC505 to control remote Ethernet components Control Freak LIVE PLC Questions And Answers 11 January 15th, 2008 08:50 AM
Using a RADES9300 and serial ethernet to connect to plc...Works over eth but not dial bdoub1eu LIVE PLC Questions And Answers 5 July 28th, 2006 09:30 PM


All times are GMT -4. The time now is 05:55 AM.


.