Get the Real Time Automation 435-NBX
Use the RTA Web Server Setup to point at a ST (string) in your ML1400
Then just start loading ZPL ASCII Strings into that ST location in the ML1400.
The RTA will poll that string location and vacuum out the ASCII contents. The RTA will read your strings via Ethernet, then compose the ASCII Serial string to send to the printer via RS-232. Once the RTA processes the string in the PLC, the RTA will clear the string for your next use.
Use PLC ladder code to monitor the string length = to zero.
When the ladder sees a zero string length, then just move in the next string.
Use the Zebra ZPL programming manual to create your application specific label
^XA (Use this as your first string to start the label)
(then use other ZPL codes to create your label content)
^XZ (use this as you last line to end label and print)
Start with simple labels like “Test”, then keep expanding, it is a coordinate based system in pixels. Then add barcodes, and dynamic data using PLC data to String conversions, and PLC Concantenations to build dynamic human readable text, and barcodes.
Make your STATIC SAMPLE LABEL first… then use PLC programming to add the dynamic content.