Step-by-Step Guide to Connect a Generic Printer to Controllogix L62 Using Allen-Bradley Ethernet Module

Question:

**Connecting a Generic Printer to Controllogix L62 via an Allen-Bradley Generic Ethernet Module** Hello everyone, I am looking for guidance on how to connect a generic printer to the Controllogix L62 using an Allen-Bradley Generic Ethernet Module. In my scenario, I need to transmit a command to the printer using the following format: `Insert printing data here`. This command will facilitate the printing of messages, which can either be strings or DINT data types. The information to be printed is sourced from our SCADA system, and it needs to be sent to the printer through Ethernet communication. Could anyone provide specific advice on configuring the Generic Ethernet Module and instructions for sending this command to the printer via the module? Your timely assistance would be greatly appreciated. Thank you all in advance!

Top Replies

What kind of printer is this? In my experience with printers, I've found that nearly all of them require socket communication for optimal functionality.

Jeev inquired, "What kind of printer is this?" In my experience, nearly all printers require socket communications. For further details, please refer to the attached PDF document about the Alphajet Printer, which features both RS-232 and Ethernet communication ports. You can find the brochure here: https://www.controlprint.com/wp/wp-content/uploads/neo-brochure.pdf. Thank you for your prompt reply!

Can printing through RS232 be utilized for this application?

I am connecting Ethernet/IP printers directly to my ControlLogix or CompactLogix PLC without the need for sockets. Specifically, I use the Zebra ZT410 printer for printing QR labels. To enable this setup, it is essential to update the printer's firmware, switching the Ethernet port settings from TCP/IP to Ethernet/IP (EIP).

The brochure lacks information on EIP (Ethernet/IP), so you'll need to delve into socket programming. To learn more about socket communication, please explore the Knowledgebase. If you have an EWEB card, the process will be simpler, but you can still successfully achieve it with other Ethernet cards.

Hey there! To get your generic printer connected to the ControlLogix L62 via the Generic Ethernet Module, you'll first want to ensure that your module is correctly configured for your printer's IP address and port settings. In RSLogix 5000, set up a new connection using the "TCP/IP" protocol and ensure you define your message format in the MSG instruction. You'll need to package your command strings into the appropriate MSG format so that the data you reference from SCADA can be embedded within the `` tag properly. Test the communication by sending simple strings first to confirm that everything is working before scaling up to DINT data. If you're still facing issues, checking for any firewall or network configurations that might block traffic could be useful. Good luck, and let us know how it goes!

Connecting a printer to a ControlLogix L62 through a Generic Ethernet Module can definitely be a bit tricky, but it sounds like you're on the right track! First, make sure you’ve configured the Generic Ethernet Module in your Studio 5000 project with the correct I/O parameters - you'll want to set it up as a "Produced/Consumed" connection if it supports that. For sending your command, you can use a CIP MESSAGE instruction to format and send your command string. Make sure to define the correct size and data type for the message - since you're including DINT values, you may need to convert them to STRING format before sending. Keep an eye on the data length and ensure your printer is set up to receive the exact communication protocol you’re using. If all your configurations align properly, you should be able to transmit data from SCADA to the printer successfully. Good luck!

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

You must be a registered user to add a comment. If you've already registered,
sign in. Otherwise, register and sign in.

Frequently Asked Questions (FAQ)

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  →