GPIO. Purchaser’s remedies are expressly limited to Printronix’ obligations as stated above, and in no event shall Printronix be held liable for any incidental or consequential damages or loss of use, or other commercial loss, however occasioned.
Printronix, Inc. All non-Printronix registered and/or unregistered trademarks used throughout this manual are the sole property of their respective owners.
Overview This document describes the Printronix General Purpose Input/Output (GPIO) function available for the Printronix T5000 series Thermal printers and the P5000 series Line Matrix printers. GPIO is both hardware and software. The hardware is the I/O board to be mounted in the printer the Printronix Remote Management Software Advanced Tool Kit.
Page 8
SPDT relays are used as isolated outputs. Each of these outputs can be activated as an action in response to some event. The board is connected into the printing system through the printer’s expansion port. None of the inputs or outputs is connected to any voltage source; it is the user’s responsibility to make those connections.
The GPIO Manager Overview The GPIO Manager is part of the Advanced Tool Kit (ATK) version of the Printronix Remote Management Software (RMS). To access the GPIO Manager, click the icon in the RMS/ATK toolbar or select Applications GPIO Manager. The screen in Figure 2 displays. The fields on this screen is described in detail in the following pages.
The File menu allows you to create, open, or save a new or existing I/O configuration. The Print option is currently disabled. The Properties option allows you to select the type of printer, Thermal or Impact, that the I/O configuration is to be created for. Password allows you to attach a password to a mapping table.
Description field allows you can enter a descriptive name to indicate the use of the event and its related action. NOTE: The window header indicates which printer the mapping table is created. The Event field allows you to select the event on which some action is to be taken.
A password can be attached to the mapping table (also called the GPIO Configuration file). This password will be stored, in the GPIO configuration file, in the printer’s flash memory. Uploading of a password-protected file is possible, but before any operation can be performed on or with this file, you...
Table 1 lists the available events and the related parameters. Each of the events will be described separately. Parameters on events are valid for the Input Opto-Couplers, Panel Key Pressed events, ODV events, Printer Error and Warning events, and PAA events.
• Printer Offline When the printer goes offline by pressing the Pause key or the menu key, or if there is any other reason that causes the printer to switch offline, the action related to this event is taken. •...
Page 15
If the labels print as a single job without any wait time, the event will be a short pulse. If the printer is placed in local mode and the labels are printed using the print next label action, the event will happen once for each label.
Page 16
Chapter Overview • End Paper Move This event is only available in the Impact Printer mode of the GPIO Manager. It indicates the end of the paper motion. • Printer Error/Printer Warning These events signal printer errors and warnings. They allow selection of the error or warning that is seen as the event.
Page 17
• Panel Key Event This is an event in which the operator panel keys are parameters. The event allows you to change the function of some of the keys or to disable selective keys. For example, if the panel key event with JOB SELECT/ DECREMENT(-) results in the action “Do Nothing,”...
Page 18
Table 2 lists all possible actions and related parameters. Table 2. Event Actions and Parameters Printer Actions Type Output Opto-Coupler Output Relay Printer Online Printer Offline On/Offline Switch Clear Buffer Pulse Printing Start Printing Print Next Label Thermal...
Page 19
Table 2. Event Actions and Parameters Printer Actions Type Form Feed Move Paper Cut Once Thermal Delete Page Lock Operator Panel Unlock Operator Panel Keyhandling Disable GPIO Events Enable GPIO Events Reply to Host Wait PAA Control: Reset CST Select Mapping Table...
Page 20
Chapter Overview Action Descriptions • Output Opto-Couplers The opto-coupler number to activate can be specified as well as the level (or state) required for this output. You can select the state by clicking the opto-coupler symbol. If the Pulse parameter is selected, the pulse duration can be set in increments of 50 msec between 50 and 2,147,483,647 msec.
Page 21
These two actions switch the printer offline or online. • On/Offline Switch This action allows the printer to be switched offline if it is online, and to be switched online if it is offline. The switch works as a toggle. •...
Page 22
Once executed, the front panel will be locked or unlocked. When locked, the panel can still be accessed through the virtual front panel of the Printronix Remote Management Software Advanced Tool Kit. If the Disable Event Parser has been executed, the front panel will be unlocked.
This action transmits a report to either the host computer through a selected interface or to the printer front panel LCD. For the LCD the user can select the upper or lower display line and the time the message will be visible.
Chapter Entry Control Buttons Multiple Actions If required, GPIO can execute a number of actions on a single event. Multiple actions specified for a single event will be executed in the order they are entered in the mapping table. Figure 18 shows a mapping table where the first action is to enable GPIO events by making the Input Opto-coupler event active.
The ON Flag The ON Flag You can use the On flag to temporarily disable entries in the GPIO mapping table. This is useful if an extensive mapping table is generated with many events leading to the same action. The On flag allows you to test each event reaction separately without confusion.
For example, if the data field contains a label count of 10,000 and that after printing 1,200 forms the printer is turned off due to error, with Non Volatile selected, the printer prints another 8,800 forms when the printer goes online again.
An example is provided to better understand how Data Field Actions work in correlation to Data Field Events. For this example, we have a printer with a forms count defined in a data field in which after each form prints, the count is updated to reflect the correct number of forms still to be printed.
Page 28
Chapter Data Fields To decrement the label count by one each time a form prints, specify this event to happen in the Data Field parameter block when a label printing occurs. Operator Data Field Settings are defined in Table 3. Operator D = S D = D + S...
Data Field Events To have a message sent to the front panel display when the printer count reaches zero, we need to keep track of the forms count. For this we use the Data Field Changed event. Each time the data field changes, a specific event generates.
Page 30
Chapter Data Fields The Source drop down menu is the data field for which the event is active. The Value field allows you to specify the number you want the Source to be compared. The Condition field indicates when exactly the related action takes place.
Defining Reports Reports are messages that can be sent to a number of destinations in the printer. A report is created by specifying one or more sections and by indicating the sequence in which these sections should be combined to form the report.
Page 32
2. Click the Sections tab (Figure 30). We will use this tab to define all sections needed to make the full report. The printer front panel LCD is has a maximum of 16 characters available per line to display the message.
Sections In continuing with the example, let us define the message as ‘ALL DONE [xxxxx] where xxxxx represents the remaining count. This divides the report in three sections: • ALL DONE [ is the header section • xxxxx is the forms counter data field content •...
Page 34
Chapter Defining Reports Figure 32. Creating a Sections Item List 9. Click the New button and type End in the Name field to define a third section. 10. Select Static String in the Type drop down menu. 11. Type ] in the data pane. 12.
Reports Reports Figure 33. Adding Sections to a Report 1. Click the Report tab. 2. Type All Done Report in the Name field. 3. Click the Header section under Available. 4. Click the < button to add the Header section. 5.
Chapter Defining Reports Using Reports To make sure the correct report is transmitted to the front panel LCD, add the following entry to the mapping table. Figure 34. Defining Entries in the GPIO Manager Once the report has been defined and the Send Report action has been selected, the parameter block allows you to specify what is to be done with this report.
They can also be compatible with all the features available on other manufacturers’ external I/O interfaces. This allows easy migration of Printronix T5000e printers to new or existing systems. Field interface is accomplished through an industry...
GPIO has been designed to allow the use of our equipment in any customer environment, including those that, up until now did not, or could not, use the Printronix Thermal or Line Matrix printers. The following tables and cable descriptions show how to configure GPIO to emulate various software and printer types.
Spare Table 5 indicates that 4 inputs and 6 outputs are required to generate the same effects as the PPI-1 emulated printer equipped with an applicator interface. All input and output is through opto-couplers, and no galvanic isolation is used.
Page 40
Chapter Mapping Examples Input and output circuits are shown in Figure 36. Input, Active Low Figure 36: PPI-1 Input and Output Circuits To use the inputs and outputs as described, the cable should have the connections as indicated in Figure 37. Figure 37: PPI-1 Cable Connections Output, Active Low...
To emulate this interface using the Printronix GPIO board and the specified cable, use the Event-to-Action Mapping table in Figure 38. Figure 38. PPI-1 Event to Action Mapping Table Using the Printronix GPIO Board The entry for pin 11 (done printing) may need modification because there are 4 modes for this output (mode 3 is the default), and for each mode the output reacts differently.
Page 42
Table 6 indicates that 6 inputs and 7 outputs are required to generate the same effects as the PPI-2 emulated printer equipped with an applicator interface. All input and output is through opto-couplers, and absolute galvanic isolation is used.
Page 43
To emulate this interface using the Printronix GPIO board and the specified cable, use the Event-to-Action Mapping table in Figure 41. Figure 41. PPI-2 Event to Action Mapping Table Using the Printronix GPIO Board NOTE: Pins with no lines are not connected...
+5v Return Table 7 indicates that 2 inputs and 6 outputs are required to generate the same effect as the Printronix T3000 or equivalent printers equipped with an applicator interface. All input and output is through opto-couplers, and no galvanic isolation is used.
Page 45
Input and output circuits are shown in Figure 42. Input, Active Low Figure 42. Printronix T3000 and Equivalent Printers Input and Output Circuits To use the inputs and outputs as described, the cable should have the connections as indicated in Figure 43.
Chapter Mapping Examples To emulate this interface using the Printronix GPIO board and the specified cable, use the Event-to-Action Mapping table in Figure 44. Figure 44. T3000 and Equivalent Mapping Table Using the Printronix GPIO Board Other Competitors Intermec Intermec does not use a fixed signal definition for its Industrial Interface, which is available in two versions.
Page 47
Intermec, Cable 1 NOTE: Pins with no lines are not connected. Figure 45. Cable 1...
To show a diagram of this cable with a 50-pin connector on one side and a 44-pin connector on the other would be extremely complex. Therefore we have described the cable in Table 8. GPIO is the Printronix 50-pin GPIO connector and IIC is the 44-pin Industrial Interface connector.
Page 49
Figure 46 shows all the data you would need to input for the example above. The actual hardware interface is the user’s responsibility. Figure 46. Required Data For Indicator Lights The connections to be made on the printer’s I/O connector are given in Figure 47. 34: R1 cm...
Mapping Examples Simple Applicator Example Imagine a printer connected to an applicator. Whenever the printer has a label ready for the applicator to handle, it signals this event by activating one of the outputs. As soon as the applicator takes the label, the signal to the applicator is removed until the next label is present.
Online and Feed buttons and disable all other buttons (Figure 49). If the GPIO board is installed in the printer, these functions are disabled by disabling the event parser using a special connector. If the connector is installed, the event parser is disabled and the panel functions normally to allow service engineers access to all printer configurations.
For this application, you must first store the three labels (PGL files) in the printer. The three labels sit in the printer waiting for the ~EXECUTE command and are named label_1, label_2, and label_3. Next, the mapping table in Figure 51 should be created. This table disables the Menu and Enter keys, re-assigns the Feed function to the Down key, and makes the –...
Page 53
When port switching is enabled, the serial port is the only port with which the printer can talk to itself. To make the printer talk to itself, a special serial connector is required that connects the transmit data output to the receive data input.
Page 54
Panel with GPIO Enabled Figure 53. Panels with GPIO Disabled and Enabled This works without the GPIO board installed in the printer; all it requires is the specially wired connector at the serial port. As indicated, it could also be combined with the Protected Printer example (see page 51).
Technical Information Opto-couplers The opto-couplers are NEC PS2501-4 or equivalent with the following basic specifications: NOTE: Please check the NEC PS2501-1/-2/-4 datasheet for electrical specifications. GaAs Light Emitting Diode Reverse Voltage (Vr) Forward Current (DC) Peak Forward Current (Ifp) NPN Silicon Phototransistor Isolation Voltage Collector to Emitter voltage (Vceo) Collector current...
GPIO interface, use a separate power source for the equipment the printer is connected to and make sure the I/O connector housing on the printer side is not connected to ground.
Page 57
Table 9 : Connector Wiring 1: IP1A 2: IP2A 3: IP3A 4: IP4A 5: IP5A 6: IP6A 7: IP7A 8: IP8A 9: IP1C 10: IP2C 11: IP3C 12: IP4C 13: IP5C 14: IP6C 15: IP7C 16: IP8C (*) Pin 17 is connected to a number of through holes on the GPIO printed circuit board.
For technical assistance, contact your Distributor/VAR/Reseller for service. For further assistance, contact the Printronix Customer Support Center. Printronix Customer Support Center Americas Europe, Middle East, and Africa Asia Pacific Web site: http://www.printronix.com/public/servicessupport/default.aspx Americas Europe, Middle East, and Africa Asia Pacific Web site: http://www.printronix.com/public/supplies/default.aspx...
Need help?
Do you have a question about the P5000 Series and is the answer not in the manual?
Questions and answers