Home
Advanced GPIO User`s Manual
Contents
1. Figure 59 Prt Locked Mapping Table If it is the third try the event generator timer starts and the Prt Locked mapping table is selected In this table we ll inform the user that the printer is locked by displaying the Printer Locked message on the LCD We ll inform the host by sending a message through the interface and disable the printer front panel making it useless until a power cycle has been done The program could be easier to enter by using the new subroutine function The seven entries related to the pressing of the keys to generate the PIN code could be made a subroutine This would improve printer memory usage and save time on typing 65 Chapter 3 Pin Code Protected Printer 66 A Technical Information Opto couplers The opto couplers are Vishay SFH6916 or equivalent with the following basic specifications NOTE Please check the Vishay SFH6916 datasheet for electrical specifications GaAs Light Emitting Diode Reverse Voltage Vr 6V Forward Current DC 50 mA Peak Forward Current Ifp 2 5A NPN Silicon Phototransistor Isolation Voltage Vr 3750 V r m s Collector to Emitter voltage Vceo 70V Collector current 50 mA High switching speed UL approved The inputs of the GPIO board the LEDs of 8 opto couplers are protected against overcurrent by the inclusion of a 4700 Ohm resistor in the anode connection This allows for an input voltage range between 5 and 24 VDC The opto coupler out
2. 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 Description GPIO Not Active C Uninterrupted uw Event Input Opto coupler mi Parameters Add Action Disable GPIO Events v Update On 5 Description Event Action vi GPIO Active Input Opto coupler 1 Active Enable GPIO Events vi Clean Sheet Input Opto c oupler 1 Inactive Form Feed I GPIO Not Active Input Opto coupler 1 Inactive Disable GPIO Events Figure 25 Using the On Flag to Enable or Disable an Action The Status Line The status line displays information related to GPIO The tabs marked Table 1 and Table 2 allow selection of different event to action mappings With the Advanced Features enabled it is possible to select up to 64 tables With the Advanced Features disabled only a single table is available fH Table 1 Wed Nov 09 08 27 23 PST 2005 Rino o jn sur Figure 26 Viewing Status Line Information The status line displays the date and time as well as the type of GPIO features used in the table The A indicates that at least one advanced feature is present To run the mapping table in the printer the Advanced Features need to be enabled by the security key Tables using only basic features do n
3. lt Smaller Than or Equal To action taken if Source is smaller than or equal to Value gt Larger Than action taken if Source is larger than Value gt Larger Than or Equal To action taken if Source is larger than or equal to Value To set a forms counter create two programmed entries Update LCD Printing and Update LCD Done e Update LCD Printing In the event that there is an unconditional change to the forms count Label Countdown displays in the second line of the LCD e Update LCD Done In the event that the forms count reaches zero the message Label Printing Done displays in the second line of the LCD e Ready Signal In the event that the forms count reaches zero the printer will beep five Times New Roman NOTE When it is necessary to check validate the value of a data field on a certain event the user has to map a Data Field action to the event and check the Evaluate option This will generate a Data Field Changed event similar to when the data field actually changes 38 Event to Action Mapping Thermal Data Field Events The resulting mapping table in Figure 33 allows you to keep track of printed labels Description Ready Signal 7 Uninterrupted ET Event Data Field Changed Parameters Add Action Beep Y Parameters Update On z Description gt Event te Action vi Decrement Forms
4. Action vj Get Pause Key Value Key PAUSE pressed g Field new pin pause key Get Minus Key Value Key JOB SELECT DECREMENT pressed Pa Field new Din minus key Get Up Key Value Key FEED UP pressed Pa Field new Din up key Get Plus Key Value Key TEST PRINT INCREMENT pressed Pa Field new pin plus key Get Menu Key Value Key MENU pressed Pa Field new pin menu ke Get Down Key Value Key CANCEL 60 DOWN pressed Pa Field mem pin down ke Get Enter Key Value Key ENTER pressed Pa Field new pin enter ke Display Pin Correct Message Field new_pin changed and value pin number 4 Send pin accepted to LCD Line 2 time is s Display PIN Incorrect Message 6 Field new pin changed and value pin number amp Send incorrect pin to LCD Line 2 time is 2 s Do Field new pin changed and value pin number Disable GPIO Events As Field new pin changed and value pin number 4 Beep times Da Field new pin changed and value pin number D Field pin entry count 1 Aa Field pin entry count changed and value 3 Pa Select Mapping Table Printer Locked Da Field pin entry count changed and value Pa Field new pin s 0 Pa Field pin entry count changed and value 3 Send Din empty to LCD Line 2 time is infinite Field pin entry count changed and value 3 Select
5. Daily Status New Name Daily Status Repeat e Edit Mode Options Insert Delay Time pd di M Hr Update e Daily h 2 Sas 0 EE Weekly Hour Minute Second Remove Clear List OK Cancel 48 Figure 43 Setting a Daily Timer Weekly Timer Mode Weekly Timer Mode To generate an event on a specific time and day use the Weekly timer mode In continuing with the previous example if you want the printer to generate a report to the host printer on certain days of the week at the same time do the following 1 Select Edit Define Timers 2 Type Weekly Status in the Name field 3 Select Weekly as the mode 4 Enter 12 in the Hour field and 45 in the Minute field 5 Checkmark Monday and Friday This specifies that an event will occur at 12 45 p m on Mondays and Fridays each week If you want to specify a certain amount of weeks for the printer to send a status report uncheck the Repeat box and enter a value in the Occurances field For instance to have the printer send a status report for only five weeks uncheck the Repeat box and enter 5 in the Occurances field For this example the printer sends a status report to the host printer on Mondays and Fridays at 12 45 p m for the next five weeks 6 Click Add The Weekly Status timer is added to the Timer Li
6. Input Function Notes 1 Reprint Requires 16 Mbyte Printer Memory Option 2 Start Print Polarity programmable via printer menu 3 Feed 4 Pause 5 8 Not Used Output Function Notes k Ribbon Low Ribbon Out Media Out Error Service Required End Print 8 modes selectable via printer menu Data Ready On Line Selectable via printer menu Not Used Dill OO AJIJ OJN Power On 54 Indicator Lights Example Mapping Examples Indicator Lights Example Imagine a factory floor with a number of printers Over each printer are mounted lights that are controlled by the GPIO interface The lights indicate the printer s status with the following conditions Green RN Qe Orange 7 Yellow Red Light Conditions Green Printer online waiting for a print job or is currently printing no warnings Green and Orange Ribbon low warning printing continues Green and Yellow Label waiting for operator remove printing stopped Red Printer offline no errors Red and Orange Printer offline ribbon out Red and Yellow Printer offline paper out The following table shows all input required for printer control hardware interface and connection Event to Action Mapping Thermal GEN e 3 New Description Ribbon Loaded _ Uninterrupted Event Printer Error Saf Paramet
7. 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 This allows pulses up to 24 8 days in duration If Repeated Pulse is selected the pulse will repeat with a 50 duty cycle until deactivated Description Event PAA v Parameters Action Output Opto coupler E Add Update rOpto coupler Settings On a Description gt Event Action Number 1 8 e ai esae FE e Pulse Pulse Duration ms Repeated Pulse E Ok Cancel Ten Ty Figure 18 Setting Ouput Opto coupler Action Parameters Output Relay The relay 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 relay symbol Pulsed behavior for the relays is equivalent to the pulsed behavior of the opto coupled outputs NOTE The Advanced Features enabled in the printer allow handling all eight 26 opto coupler outputs as well as the relays through a Data Field See Data Fields on page 33 This gives the single outputs a large number of output combinations that can be used to initialize external actions x r Relay Settings Action Number 1 4 aj state Jo e Pulse Pulse Duration ms Repeated Pulse Lal Figure 19 Output Relay Settings IMP
8. 5 GPIO Print Setup PRINTROND ENKE Freet t Bad N DEd Mia RENE Ce ren MOMOM Fee taata ET 000 E RITE ETE E Figure 5 The GPIO Print Setup Dialog Box 11 Chapter 2 Overview When you select File GPIO Configuration the GPIO Configuration dialog box opens This allows you to define the GPIO properties and power up settings GPIO Configuration x Properties PowerUp Settings Printer Model Thermal her Security Password vert OOO Figure 6 The GPIO Configuration Dialog Box The Properties tab allows you to select the type of printer either Thermal or Impact for which the mapping table will be designed For security the password field allows you to password protect a mapping table NOTE Password protected files can be uploaded to the GPIO manager but cannot be edited or downloaded to a printer without the password The Menus xi Properties Power Up Settings Properties Power Un Settings GPIO Control 10 GPIO Control 10 Use Printer Configuration Use Printer Configuration C Use Predefined Use Predefined GPIO GPIO Monitor GPIO GPIO Monitor C2 Enable On Disable e Off Power up Table UCP Power up Table UCP Table 1 v _ Enable Port Number ES E v _ Enable PAA control 3007 wi Figure 7 Power Up Settings GPIO Control Tab Within the Power Up Settings tab are two tabs GPIO Control and I
9. Counter Label Printed Ag Field Forms Count 1 vi Update LCD Printing Ra Field Forms Count changed Da Send Label Countdown to LCD Line 2 time is infinite vi Update LCD Done Pa Field Forms Count changed and value 07 Aa Send Label Printing Done to LCD Line 2 time is infinite vi Ready Signal Pa Field Forms Count changed and value 0 Beep 5 times Figure 33 Creating a Forms Counter Entry 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 Depending on the destination it may be required to indicate how long the report will be active Define Reports E Report Sections Added Available Remove Clear Preview Item List New Edit Insert Update Remove Clear List Move Up Move Down OK Cancel Figure 34 The Define Reports Dialog Box 39 Chapter 2 Reports Defining Reports Continuing with the previous example we want to receive a message on the printer s front panel LCD that all forms have been printed To define a report do the following 1 Select Edit Define Reports The Define Reports dialog box opens with the Report tab active Figure 34 Two tabs are ava
10. Lp 39 Defining Reports AAA 40 Creating Sections nennen 41 Creating Reports remm ete rele 43 Using Reports sees ee Re ee Re ee Re ee RA TE IRATA 45 ESE ERE DET 46 Delay Timer Mode kk 46 Daily Timer Mode AAA 48 Weekly Timer Mode AAA 49 E Lut DNR TE 50 Table of Contents WE tee e VE 53 Download Mapping Tables es n 53 Preloaded Tabie einer EE e eec edenda 54 Mapping Examples AAA 55 Indicator Lights Example AAA 55 Applicator Example seen 56 Protected Printer Example esee 57 Panel Selected Label Printing sees AR ee 58 Pin Code Protected Pinter 60 A Technical Intormmaton esse ee ee EE ee 67 Opto couplers ee ee AA ee AA Re ee ke Re ee ek ee 67 BE RE N N 68 Me IE Vel RE RE EE 68 VO Connector RE EE EE EE geass 68 Basic GPIO Schematic Diagram 71 C Electrical Inputs And Outputs 73 GPIO Opto coupled Input Circuit ese ee AA RA ee 73 GPIO Opto coupled Output Circuit ee ke Re RA ee 73 D Contact Information EE ee 75 Printronix Customer Support Center 75 Printronix Supplies Department 76 Corporate Offlces A 76 l Overview Introduction This manual covers both the Basic and the Advanced General Purpose Input Output GPIO Manager The Basic GPIO Manager is available with the Advanced Tool Kit software package The Advanced GPIO Manager is available as a
11. Mapping Table pin part 1 Figure 58 Pin Part 3 Mapping Table The Pin Part 3 mapping table starts with the same seven entries The value is added to new pin but this time we do not multiply the value by 10 we now have the complete PIN code The message displayed depends on the result of the comparison beween the new pin data field and the pin number data field If the two values are the same the message pin accepted will display and GPIO will be disabled allowing the printer to function as a normal printer Configuration changes can be made and saved A power cycle is required to reactivate GPIO and its printer protection function If the two numbers do not match the pin incorrect message displays on the LCD The printer will beep three Times New Roman and the pin error count increments This value is tested to see if this was the third trial If not the user is given another try Event to Action Mapping Thermal Panel Selected Label Printing Description Render Printer Useless _ Uninterrupted Mes Event Table Entered v rameters Add Action Lock Panel hd Parameters paar On 5 Description Event amp Action vj Show Printer Locked As Table Entered Pa Send locked to LCD Line 2 time is infinite v Inform Host Printer Locked Da Table Entered Pa Send locked to Ethernet Adapter Back Channel vi Render Printer Useless Pa Table Entered Lock Panel
12. Wait For Menu Key Key MENU pressed Pa Send Pin Empty to LCD Line 2 time is infinite v Wait For Menu Key Key MENU pressed Pa Select Mapping Table pin part 1 Table 5 does not show all entries in a power on table just those that are important for the PIN number application The first four entries disable the important keys by consuming the key function that is the action that normally would result from pressing the key will not execute The Pause and Feed key are left unchanged but as soon as the menu key is pressed the specified actions execute First the original function is consumed then the pin empty message displays in Line 2 of the LCD and the pin part 1 mapping table is selected Panel Selected Label Printing Event to Action Mapping Thermal Description Get Next Pin Digit C Uninterrupted Event Data Field Changed Parameters Action Select Mapping Table Parameters Add d Update onl z Description ie Event Action vi Get Pause Key Value Key PAUSE pressed Pa Field new_pin pause key vi Get Minus Key Value Key JOB SELECT DECREMENT pressed Field new_pin minus key vi Get Up Key Value key FEED UP pressed Field new pin up key vi Get Plus Key Value Key TEST PRINT INCREMENT pressed 94 Field new_pin plus key vi Get Menu Key Value Key MENU pressed Pa Fie
13. action follows the GPIO disable command A form feed cannot happen when all GPIO events are disabled first Event to Action Mapping Thermal e New Description Clean Sheet _ Uninterrupted Event Input Opto coupler v Parameters Add Action Form Feed G Parameters quae On 5 Description o gt Event Ec Action v GPIO Active Input Opto coupler 1 Active Enable GPIO Events v GPIO Not Active Input Opto coupler 1 Inactive Disable GPIO Events vi Clean Sheet Input Opto coupler 1 Inactive Form Feed Figure 23 Incorrect Setup of Multiple Actions Figure 24 shows a correct mapping table a form feed is executed before the actual disabling of GPIO Event to Action Mapping Thermal Description Clean Sheet _ Uninterrupted wen Event Input Opto coupler Parameters Action Form Feed v Parameter Update On 5 Description Event amp Action vi GPIO Active Input Opto coupler 1 Active Enable GPIO Events vi Clean Sheet Input Opto coupler 1 Inactive Form Feed vi GPIO Not Active Input Opto coupler 1 Inactive Disable GPIO Events Figure 24 Correct Setup of Multiple Actions To change the sequence in which the entries appear in the table click and drag the entry to a different location in the table 31 Chapter 2 32 r Event to Action Mapping Thermal Entry Control Buttons The ON Flag
14. e Printer Buffers Empty This event takes place as soon as the print buffers are emptied e Single Form Printing Invoked This event happens on the Enter Single Label Mode action It indicates that this mode has been entered Chapter 2 20 Overview Continuous Form Printing Invoked This event indicates that the Single Form Mode is terminated and that normal continuous printing is active Label Pending This event generates when the printer is in Local mode i e the print engine is temporarily stopped and all incoming data has been processed Start Printing This event happens when the printer starts printing The printer starts printing when all data processing is done there is actual data to print and the printer is no longer in local mode The event will not happen on paper moves without print End Printing This event indicates the end of actual printing The paper may still be moving as printing does not always stop at top of form Start Paper Move This event indicates the beginning of the paper motion Label Printed This event occurs when a number of labels stored in the printer have finished printing 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 Label Present In label peel off applications this event happens when the
15. event when the problem is solved TOF Detect Fault happens if the T5000 does not find a Top of Form indicator or a gap within a specified amount of time after printing starts It can be used to prevent the feeding of blank labels in print and apply applications Panel Key This is an event in which the operator panel keys are parameters The event allows you to change the function of the keys or to disable selective keys For example if the panel key event Menu results in the action Consume or do nothing the menu key has been disabled NOTE When the Advanced Features are enabled in the printer this allows an event to be generated when multiple keys are pressed simultaneously Many additional key combinations can be used to trigger an action 21 Chapter 2 Overview r Event to Action Mapping Thermal Description _ Uninterrupted Event Panel Key x Key Event Parameters Action Output Opto coupler Key s onl s Description I gt Event PAUSE v MENU _ ENTER 7 JOB SELECT DECREMENT 7 TEST PRINT INCREMENT FEED UP 7 CANCEL X DOWN Figure 16 Setting Panel Key Event Parameters e ODV Status This selection allows you to react to output from the Online Data Validator The parameters allow you to program GPIO to act if there is no barcode if there is any or a specific error in the barcode or when all ODV errors hav
16. not available The mapping table is selected by its name or by selecting previous Selecting previous allows you to quickly return to the table previously active The nesting of returns is allowed Data Field This action allows you to modify the data field on a given event Several logical or arithmetical functions can be applied to the data in the data field See Data Fields on page 33 Send Report 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 See Reports on page 39 Timer This action allows the start and stop of timers This can either be for a single delay time or be based on the Real Time Clock battery backed up or CPU See Timers on page 46 NOTE The actions Select Mapping Table Data Field Send Report Beep and Blink and Timer is only available with the Advanced Features enabled in the printer 29 Chapter 2 Entry Control Buttons Entry Control Buttons Description Event Action 30 Event to Action Mapping Thermal The mapping table control buttons are used as follows e New Clears the Name field and sets the Event Action and related parameters to default e Add Adds a new Event to Action mapping to the current GPIO program e Update Re enters an Event to Action mapping after editing Click t
17. the Name field Select Static String in the Type drop down menu Type OF LABELS in the data pane Click Add The Header section is added to the Item List pane Figure 36 Click the New button and type Header When Done Printing in the Name field to define a second section Select Static String in the Type drop down menu Type ALL DONE in the data pane 41 Chapter 2 42 Reports 8 Click Add The Header When Done Printing section is added to the Item List pane 9 Click the New button and type Forms Count in the Name field to define a third section 10 Select Data Field in the Type drop down menu 11 Select Value as the Format 12 Click Add The Forms Count section is added to the Item List pane x Report Sections Name End Type Static String e 5D Format Printf Sample E Preview j Remi Header While Printing New FlHeader When Done Printing FiLahel Count Add Insert Update Remove Clear List Move Up Move Down OK Cancel Figure 37 Creating a Sections Item List 13 Click the New button and type End in the Name field to define a fourth section 14 Select Static String in the Type drop down menu 15 Type in the data pane 16 Click Add The End section is added to the Item List pane Figure 37 Creating Reports Creating Reports We want to generate two reports using the sections just c
18. want to happen to this data field The Source field sets the value in which we want the data field count to decrement by For this example use D D entry as seen in Figure 31 Set Action Parameters x Data Field Changed Settings Destination Forms Count D D S _ Evaluate Source S Figure 30 which results in the mapping table Operator Type I Fired e Figure 30 Setting Operator Parameters for a Data Field Event to Action Mapping Thermal Data Field Events On 5 Description Event Fa Action vj Decrement Forms Counter Label Printed Field Forms Co unt 1 S New Description Decrement Forms Counter _ Uninterrupted Event Label Printed w Parameters Add Action Data Field FREE dat Figure 31 Generating a Mapping Table Entry Now each time a label or form prints the value in the data field forms count decrements by one Next make sure that when the last form prints a message is sent to the front panel display as defined by setting a data field event Data Field Events To have a message sent to the front panel display indicating the number of forms still to be printed you will need to keep track of the forms count For this example create a new entry in the table named Update LCD Printing Use Data Field Changed as the event Each time the data field changes a spec
19. you to select an event and apply an action to the selected event Table 1 on page 17 lists the events currently available in the software 15 Chapter 2 Overview The Parameters button allows you to select additional conditions related to the event Figure 12 Set Event Parame x pto coupler Settings State Number 1 8 o JS a comet Figure 12 Setting Event Parameters The action field allows you to select the action that is to be taken on the specified event Table 2 on page 24 lists the actions currently available in the software The parameter button allows you to select additional conditions related to the action Figure 13 displays parameters for the Output Opto coupler and Output Relay actions Set Action Parameters x rOpto coupler Settings Action Number 1 8 swe FC IS Pulse Pulse Duration ms Lal Lv Repeated Pulse I _o Figure 13 Setting Action Parameters Cancel Events and Actions Events and Actions The Events Table 1 lists the available events and the related parameters Events parameters are available for the Input Opto Couplers Panel Key Pressed events Printer Error and Warning events including RFID and ODV related errors and PAA events related to Data fields and Timers Table 1 Events And Parameters Events Printer Type Parameters Input Opto Coupler T
20. N New Pin Pin Number 635 61 Chapter 3 Next to the data fields are status reports and information sent to the host if Pin Code Protected Printer there is an error The six reports listed in Table 5 need to be generated Each report only has a single section that may have the same name as the report Table 5 Report Names Sections and Content Report Name Section Name Content pin empty pin empty PINumber one pin pin 1 PINumber two pin pin 2 PInumber pin accepted pin ok PIN accepted incorrect pin pin error PIN incorrect locked locked Printer Locked The PIN number appliction is described by reviewing each of the mapping tables and explaining each entry in that table 62 Figure 55 Power On Mapping Table Tables r Event to Action Mapping Thermal Description Wait For Menu Key _ Uninterrupted SR Event Panel Key w Parameters Add Action Select Mapping Table al Parameters On a Description gt Event Action v Disable Enter Key Key ENTER pressed Key Handling Consume true v Disable Cancel Key Key CANCEL X DOWN pressed Key Handling Consume true v Disable Job Select Key Key JOB SELECT DECREMENT pressed Key Handling Consume true v Disable Test Print Key Key TEST PRINT INCREMENT pressed Key Handling Consume true vj
21. Name field Select the Data Field Type and enter the Initial Value The data field type can be signed or unsigned bytes 128 127 and 0 255 signed and unsigned words 32768 32767 signed and unsigned long words 2147483648 2147483647 and ASCII strings 4 Click Add to add the data field to the item list 34 Data Field Events And Actions Once the data field is defined and added to the list make sure that the count decrements by one each time a form prints To set the parameters use the Label Printed event and the Data Field action In the Data Field parameter block specify what you want to happen when the event Label Printed occurs r Event to Action Mapping Thermal Description Decrement Forms Counter Uninterrupted Event Label Printed X Add Action Data Field X Parameters Update On 9z Description gt Event LE Action vi Decrement Forms Counter Label Printed Pa Field Forms Count 1 x Data Field Changed Settings Destination Operator Forms Count se D S m _ Evaluate Source Type 1 js Fea sl Ok Cancel Figure 29 Setting Action Parameters There may be an instance where you want to indicate an exact operation to perform on the Data Field 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 The value in t
22. O NOTE Settings made GPIO Control and IO predefining the output levels of GPIO will only be functional when the Advanced GPIO features are enabled in the printer The GPIO Control tab allows the specification of the GPIO power on configuration This can be either the printer configuration or a predefined one If Use Printer Configuration is selected initial GPIO settings will be as specified in the Printer Power On Configuration See Figure 7 If Use Predefined is selected you can specify the following options GPIO Enable or disable the GPIO at power on GPIO Monitor Switches the GPIO monitor on or off The GPIO monitor is the reflection of the opto coupler inputs in the lower line of the LCD Power Up Table specifies the mapping table to use following power on UCP Universal Control Port is an offline available TCP port To enable the UCP port checkmark the Enable option NOTE Enabling the UCP port disables the PXML port Enable PAA Control When enabled PAA control matches from the active CST table is reported to GPIO by the Data Field Changed event The predefined data field PAA State is used to generate the event GPIO can check this data field for changes See Data Field Events on page 37 PAA delays further data processing until GPIO acknowledges the event GPIO acknowledges the event by setting the PAA State field to either NACK or ACK When GPIO replies with NACK PAA ignores the match and se
23. ORTANT Events and Actions Printer Offline Printer Online 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 Clear Buffer A host or application controlled memory clear Pause Printing This action results in the print engine going offline with the interface to the host still active This allows receiving and pre processing of host data until the buffer is full Start Printing If there is data in the buffer the printer starts printing until either it is switched offline or paused through the Pause Printing action Print Next Label This action can have different functions If GPIO Print amp Apply is enabled the action is Print Next RFID Label In Single Label Printing Mode the action is Print Next Label If the user switches the printer to Pause mode without going into Single Label Printing Mode the Print Next Label also functions similar to the previous version of GPIO Do not place the printer in Pause mode and select the Single Label Printing Mode this stops the engine and prevents the printer from printing Reprint Last Printed Label Reprints the last page printed Form Feed Performs a form feed Move Paper This action allows the movement of paper either to the next top of form the gap or if required for specific applicator functions a specifie
24. PRINIRONIX General Purpose Input Output GPIO Configuration Manager User s Manual Product Warranty Printronix warrants that the Products furnished under this Agreement shall be free from defects in material and workmanship for a period of one year from the date of shipment from the Printronix facility This warranty is applicable only if the products have had normal utilization within the published specifications as modified from time to time have been maintained in accordance with recommended procedures with Printronix approved parts and have not been modified or altered in a manner not approved by Printronix For printers sold within the area in which Purchaser normally provides field service For all printers the Purchaser will provide the end user with a 90 day on site warranty Any printer or part therein found defective within one year of original shipping date from a Printronix facility shall be returned to Printronix and be repaired or replaced at the option and expense of Printronix Purchaser shall pay shipping cost to the Printronix facility and Printronix will return the item s at its expense For printers sold outside the area within the Continental United States in which Purchaser normally provides field service Any printer found defective within 90 days from the date of shipment to the end user will be repaired at the end user s location If the end user is located within 100 miles of an Authorized Servic
25. Protected Printer Example 57 R Relays 68 Reports 39 create 43 define 40 sections 41 use 45 Sections 41 create 41 Status Line 32 Supplies Department 76 T Table preloaded 54 Technical Information VO connector 68 opto couplers 67 relays 68 voltages 68 Timers 46 daily timer mode 48 delay timer mode 46 usage 50 weekly timer mode 49 U Using Reports 45 Using Timers 50 V Voltages 68 78 Weekly Timer Mode 49 W 250424 001D
26. ame Reloading Ribbon Error La Repeat V Occurrences Edit Mode rOptions Insert amp Delay Delay m a aj P Update i Daily 0 wi ES 10 vi Q kK HH MM sS Remove P MONA ne v Initial Delay Clear List Ee al Aj ES b E EL ci Figure 42 Setting a Delay Timer 47 Chapter 2 x Timer List Timers Daily Timer Mode To generate an event at a specific time each day use the Daily timer mode For example you may want the printer to send a status report to the host system everyday at 12 45 p m The status report can include a number of datafields that keep track of paper ribbon or number of labels printed etc To program the timer to generate the status report do the following 1 c0 RON Select Edit gt Define Timers Type Daily Status in the Name field Select Daily as the mode Enter 12 in the Hour field and 45 in the Minute field Make sure the Repeat box is checkmarked This ensures that a status report will be sent everyday at 12 45 p m If you want to specify a certain amount of days for the printer to send a status report uncheck the Repeat box and enter a value in the Occurances field For instance to have the printer send a status report for only five days uncheck the Repeat box and enter 5 in the Occurances field Click Add The Daily Status timer is added to the Timer List See Figure 43 Click OK Common
27. bel Thermal n a Enter Single Form Printing Thermal Line Matrix n a Enter Cont Form Printing Thermal Line Matrix n a RFID Program Next Label Thermal n a Lock Panel Thermal Line Matrix n a Unlock Panel Thermal Line Matrix n a Key Handling Thermal Line Matrix Consume Beep Thermal Line Matrix Beep Count 24 Events and Actions Table 2 Event Actions and Parameters Actions Printer Type Parameters Blink 1 Thermal Line Matrix On Off Blink Disable GPIO Events Thermal Line Matrix n a Enable GPIO Events Thermal Line Matrix n a Reply to Host Thermal Line Matrix Data to be Transmitted Interface to use Wait Thermal Line Matrix Time to Wait in mSeconds PAA Control Reset CST Thermal Line Matrix n a Select Mapping Table Thermal Line Matrix Name of Table to switch to Previous Table Data Field 1 Thermal Line Matrix Destination Operator Evaluate Source Type Send Report Thermal Line Matrix Name Destination Duration Timers RTC Thermal Line Matrix Name Duration Repeat 1 Only functional with the Advanced features enabled in the printer 25 Chapter 2 Overview Action Descriptions rEvent to Action Mapping Thermal Output Opto Couplers The opto coupler number to activate can be specified as well as the level or state required for this output
28. check box specifies that if a value in the data field has changed during the operation of the printer and the printer is powered down the lastest value of the data field will be the initial value when the printer is powered on 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 If Non Volatile is not selected the printer will print another 10 000 forms 33 Chapter 2 DataFields Data Field Events And Actions Data Field Actions are used to modify the content of the Data Field which results in an event 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 Once the count reaches zero we want a message to display in the second line of the front panel To do this we need to define a Data Field and enter the total forms count Figure 28 Data Field Actions x Name Forms Count Initial Value Type U16 0 65535 v 10000 E _ Non Volatile Item List Forms Count New Edit Figure 28 Defining Data Fields 1 Select Edit Define Data Fields Enter a descriptive name in the
29. connector If the connector is installed the event parser is disabled and the panel functions as a panel on a printer This allows service engineers access to all printer configurations Once the connector is removed the panel remains protected Event Input Opto coupler Sl Parameters Add Action Disable GPIO Events EET Update On 5 Description Event Action vi Disable Menu Key Key MENU pressed Key Handling Consume true vi Disable Enter Key Key ENTER pressed Key Handling Consume true vj Disable Job Select Key Key JOB SELECT DECREMENT pressed Key Handling Consume true vj Disable Test Print Key Key TEST PRINT INCREMENT pressed Key Handling Consume true v Disable Cancel Key Key CANCEL GO DOWN pressed Key Handling Consume true v Limited Front Panel Functions Input Opto coupler 1 Inactive Enable GPIO Events v Normal Front Panel Functions Input Opto coupler 1 Active Disable GPIO Events Figure 50 Setting Events and Actions to Disable Front Panel Keys If the two last entries in the mapping are entered the following connector wiring results in a tool that can be used to enable or disable the normal front panel functions BY ed IP1A sM IP1C 9 5v Ret 8 Figure 51 Connector Wiring for Protected Printers 57 Chapter 3 Mapping Examples Panel Selected Lab
30. d 4 Field new pin plus key vi Get Menu Key Value Key MENU pressed 8 Field new pin menu key vi Get Down Key Value Key CANCEL X DOWN pressed Field new pin down key vi Get Enter Key Value _ Key ENTER pressed 4 Field new pin erter key vj Create Pin Number 94 Field new pin changed Pa Field new pin 10 vi Show Second Entry Done P3Field new pin changed Aa Send one pin to LCD Line 2 time is infinite vi Get Next Pin Digit a Field new pin changed Pa Select Mapping Table pin part 3 Figure 57 Pin Part 2 Mapping Table The Pin Part 2 mapping table is similar to the Pin Part 1 mapping table If a key is pressed for the first 7 entries the value of the related data field is added to the new pin data field which is multiplied by 10 The message two pin will display to indicate that two numbers of the PIN code have been entered and to select the pin part 3 table 63 Chapter 3 Pin Code Protected Printer Event to Action Mapping Thermal Switch Off GPIO PIN Error Sound Track PIN Errors Last Error Allowed Next Try Clear New PIN Display Empty PIN Try The Next One RIR KITS SS DS SIST DS 64 Description Try The Next One _ Uninterrupted ES Event Data Field Changed v Parameters Add Action Select Mapping Table Y Parameters Update On 9z Description Event
31. d distance forward or backward See Figure 20 x Move Paper Settings Distance Direction _ To TOF Forward 100 00 Backward Ok Cancel Figure 20 Setting Move Paper Action Parameters 27 Chapter 2 28 Overview Cut Once Cuts the media in the current position Flush Next Label This action removes a single form the one that is ready to be printed from the queue in the printer It can be used in Secure Printing configurations where two printers are interconnected through GPIO and one printer is ready to take over printing if the first printer develops a problem Enter Single Label Printing This action prints one label at a time Enter Continuous Label Printing This action continuously prints the jobs in the entire buffer RFID Program Next Label This action is specifically designed for RFID Print and Apply applications where the programming of the RFID tag in the label does not have to occur simultaneously with the printing of the actual text on the label Lock Operator Panel Unlock Operator Panel 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 Key Handling This action allows the user to specify how the actual Key Event should be handled Selecting Consume
32. e Provider s location warranty service will be performed at no charge If the end user is located more than 100 miles from an Authorized Service Provider s location travel time and expenses in excess of 100 miles will be billed to the end user at current rates or the printer may be shipped to the nearest Authorized Service Center for repair If the end user elects to ship the printer for warranty repair the end user shall pay the shipping cost to the Authorized Service Center and the printer will be returned at Printronix expense The Products may be equipped with a general purpose input output circuit board and corresponding pin connection GPIO which allow the Purchaser s or end user s printer to function as a controller in a computer system Printronix publishes the specifications associated with GPIO and the pin connection and warrants that the printer s input and output parameters at the pin connection conform to those specifications Except as expressly warranted GPIO is sold on an as is basis There are no other warranties whatsoever express or implied concerning 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 The warranties set forth in this article and the obligations and liabilities thereunder are in lieu or and the purchaser he
33. e been cleared Set Event Parameters x ODV Settings Unscannable Code Check Media QualityError Any Poor Scanning Check Head amp Heat e All Errors Cleared Ok Cancel Figure 17 Setting ODV Parameters e PAA PAA generates an event on a user specified input string A large number 32000 or more of PAA events can be generated through the use of an identifier 22 Events and Actions Data Field Changed This event happens if the value in a given data field changes Certain conditions are applicable see Data Fields on page 33 Timer Expired This event happens when a user defined timer expires or when a user defined time is reached See Timers on page 46 Table Entered This event happens when a new mapping table is entered The event can be used to execute actions regarding new tables For example when you want to check the content of a datafield and no other events are available Table Exited This event generates before going to a new table This event can also be used to execute last minute actions For instance if we want to go from table 1 to either table 2 or 3 and if a variable needs to be initialized we could use the table exited event This way we only have to specify the initial value once UCP Data In This event generates when the data received on the Universal Control Port UCP matches the data defined with the parameters of this event This event require
34. el Printing Imagine that the requirement is to print one of three labels without host intervention To do this the operator needs to have a selection mechanism at the printer For this application store the three labels PGL files in the printer The three labels named label 1 label 2 and label 3 sit in the printer waiting for the EXECUTE command The mapping table in Figure 52 disables the Menu and Enter keys reassigns the Feed function to the Down key and the key as the original Feed key The key sends the following data streams to the host via the serial port e the key sends EXECUTE Label_1 1 lt T gt lt T gt NORMAL lt T gt e the Feed key sends EXECUTE Label_2 1 lt T gt lt T gt NORMAL lt T gt e the key sends EXECUTE Label_3 1 lt T gt lt T gt NORMAL lt T gt For more information refer to the PGL Programmer s Reference Manual The mapping also creates the possibility of changing this modified printer into a normal one by plugging in the special connector from the Protected Printer example on page 57 Event to Action Mapping Thermal Description Special Panel J Uninterrupted ota Event Input Opto coupler a Parameters Add Action Enable GPIO Events M Update On 3 Description Event Action vi Label 1 Selection Key JOB SELECT DECREMENT pressed Reply EXECUTE LABEL 1 1 CR LF CR LF to Serial vi Label 2 Select
35. erforms a form feed when the Down key is pressed The Menu and Enter keys are non functional Panel with GPIO Disabled Panel with GPIO Enabled LU LU ONLINE Rbn 350m ONLINE Rbn 350m POWER SAVER MODE POWER SAVER MODE 9H LABEL1 LABEL2 LABEL 3 Figure 54 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 57 A connector placed at the GPIO port could disable all this and allow a service engineer to work on the printer without restrictions 59 Chapter 3 Pin Code Protected Printer Pin Code Protected Printer The printer configuration protection described in the example on page 57 requires a special connector to disable GPIO so a service or application engineer can work on the printer without restrictions The special connector requires one of the inputs to be specifically saved for protection purposes You can use software to protect the printer using a PIN code that can be entered through the front panel Imagine that the panel is partly disabled and the Online key the Feed key and the Menu key are the only keys active The Pause and Feed keys are operational because they are required for daily printer operation The Menu key does not allow the user to open the configuration menu instead it will ask for a PIN code before allowi
36. ers Add Action Output Relay m Parameters On z Description gt Event E Action vi Testing Input Opto coupler 1 Active Output Opto coupler 1 Activate vi On Ribbon Low Printer Warning Ribbon Low Set Output Relay Activate vi Slow Operator Label Present Output Relay 3 Activate vi Responsive Operator Label Taken Output Relay 3 Deactivate vi Printer Not Available Printer Offline Output Relay 77 Deactivate vi Out of Ribbon Printer Error Ribbon Out Set Output Relay 2 Activate vi Out of Media Printer Error Paper Out Set Output Relay 3 Activate vi Printer Status Clear Printer Online Output Relay 1 Activate v Media Loaded Printer Error Paper Out Cleared Output Relay Deactivate vi Ribbon Loaded Printer Error Ribbon Out Cleared Output Relay 2 Deactivate Figure 47 Setting Events and Actions for Printer Control 55 Chapter 3 Mapping Examples The connections made on the printer s I O connector are displayed in the diagram below Figure 48 VO Connections Applicator Example Imagine that a printer is connected to an applicator When 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 will be removed until the next label is present This way a simple interface connection between an applicator and printer is established If any printer err
37. fic one list all ODV errors cleared PAA Event Thermal Line Matrix Event identifier Data Field Changed Thermal Line Matrix Data Field Condition Type Value Timer Expired 1 Thermal Line Matrix Timer Identifier Table Entered Thermal Line Matrix n a Table Exited 1 Thermal Line Matrix n a UCP Data In Thermal Value Only functional with the Advanced Features enabled in the printer Event Descriptions Input Opto Couplers For external input signals you can specify the number of the opto coupler to view and the level in which the event is seen as active Click the opto coupler symbol to select the active state Event to Action Mapping Thermal Description C Uninterrupted Event Input Opto coupler Site r Opto coupler Settings gt Action Output Opto coupler State Number 1 8 i 1 On s Description Event j L LEI Ok Cancel Events and Actions Figure 14 Setting the Opto coupler Number and State NOTE With the Advanced Features enabled in the printer it is possible to handle all eight opto coupler input as a special Data Field see Data Fields on page 33 This results in 248 different input combinations that can be used to trigger an action e Printer Powered Up This event is delayed until the moment the printer reaches the Powered up online or Powered up offline state The delay is req
38. fine Reports Define Timers Figure 9 The Edit Menu The Entry Fields Tools The Tools menu allows you upload a mapping table from the printer and to download a mapping table to the printer You also have the option to select the last selected upload printer or the last selected download printer This option allows you to quickly select a printer previously used for uploading or downloading without having to go to the RMS printer database for your selection Tools Help Upload Download Options gt 2 Use Last Selected Upload Printer i Use Last Selected Download Printer Figure 10 The Tools Menu Help The About option provides basic information about the GPIO Configuration Manager as seen in the startup splash screen The Entry Fields Event to Action Mapping Thermal Description C Uninterrupted Event Input Opto coupler sl Parameters Action Output Opto coupler sl Parameters Figure 11 The Event To Action Mapping Fields Setting the criteria for mapping tables takes place in the Event to Action Mapping section see Figure 11 The 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 type thermal or line matrix the mapping table is created for Figure 11 indicates a Thermal printer The Event and Action fields allow
39. for each label printed Paper Jams keeps track of the number of paper jams by incrementing the data field for each paper jam Daily at 12 45 we want to transmit the number of printed labels and paper jams to the host The format for this information should be Labels printed number Ribbons used number CR LF Based on a number of sections we create a report called Daily Status Report See Figure 46 Using Timers Once defined the timer needs to start at power up GPIO uses its own timer based on the Real Time Clock During the day the data fields are updated for each label printed and each paper jam occurrence As soon as the timer expires the daily status report transmits to the printer For a weekly status report set the timer setting to transmit the report weekly 51 Chapter 2 Timers 52 3 Mapping Download Mapping Tables Once the mapping table has been designed and tested using the GPIO testbox it must be downloaded to the printer This can be done in three ways Method 1 Using Normal Download Mode 1 Save the mapping table from within the GPIO manager using the default file name extension This creates a downloadable file Set the printer in download mode power on with Menu and Down key pressed Send the file to the printer in a DOS box also called Command Prompt type copy b filename ext Ipt1 Method 2 Using RMS PPM 1 Save the mapping table from within the GPIO Manager usin
40. g the default file name extension This creates a downloadable file Attach the saved file as a download file to a printer and use the upgrade utility Once downloaded the printer resident GPIO event parser detects the file and enables GPIO Method 3 Using the GPIO Download Facility 1 2 4 Click the Download cj button on the GPIO toolbar Enter the required passwords for the GPIO program file and or the communication sessions In the connection tab specify the access method and configure the network or serial modem if applicable Click OK to download the active mapping table s to the printer Once the mapping table is downloaded the printer resident GPIO event parser will detect the file and enable GPIO 53 Chapter 3 Preloaded Table Preloaded Table If a GPIO board is installed in the printer but no user defined mapping table has been loaded the printer will revert to a preloaded table Simple printer menus allow for programming three of the 11 seven outputs four inputs pre defined interface signals to a particular polarity or logic function that meets all typical print and apply requirements They can also be compatible with all the features available on other manufacturers external I O interfaces This allows easy migration of Printronix T5000e or T5000r printers to new or existing systems Field interface is accomplished through an industry standard 50 pin D type connector
41. gi South Industrial Estate Singapore 486763 Phone 65 6542 0110 Fax 65 6546 1588 Printronix Commercial Shanghai Co Ltd 22F Eton Building East No 555 Pudong Av Shanghai City 200120 P R China Phone 86 400 886 5598 Fax 86 21 5138 0564 Visit the Printronix web site at www printronix com Actions 8 17 24 descriptions 26 multiple 31 Applicator Example 56 B Basic GPIO Schematic Diagram 71 C Contact information 75 Customer Support Center 75 D Daily Timer Mode 48 Data Field Actions 34 Data Field Events 34 37 Data Fields 33 Delay Timer Mode 46 Diagram Basic GPIO Schematic 71 Download Mapping Tables 53 E Entry Control Buttons 30 Entry Fields 15 Events 8 17 descriptions 18 Fields data 33 Flag ON 32 Index GPIO entry fields 15 hardware 8 menus 10 Opto coupled Input Circuit 73 Opto coupled Output Circuit 73 overview 9 H Hardware 8 VO Connector 68 Indicator Light Example 55 Manual Overview 7 Mapping applicator example 56 examples 55 indicator light example 55 protected printer example 57 Mapping Tables download 53 Menus 10 Multiple Actions 31 O ON Flag 32 Opto coupled input circuit 73 Opto coupled output circuit 73 Opto couplers 67 Overview manual 7 77 P Panel Selected Label Printing 58 Pin Code Protected Printer 60 Preloaded Table 54 Printer pin code 60 Printing panel selected label 58
42. he GPIO Manager Overview To launch the Advanced GPIO Configuration Manager click the Start button and navigate to Programs Printronix GPIO Manager The screen in Figure 2 displays The fields on this screen are described in detail on the following pages GPIO Configuration Manager GPIOProgram1 gpf File Edit Tools Help els aa r Event to Action Mapping Thermal Description C Uninterrupted SE Event Input Opto coupler sl Parameters Add slal x Action Output Opto coupler x Parameters Update On 5 Description gt Event z Action Gre ue Oct 25 13 51 20 PDT 2005 0000000 00000000 0000 Sub Lenners Bison nonno zo Figure 2 The GPIO Configuration Manager Chapter 2 Overview The Menus The toolbars allow the handling of files and text File Edit Tools Help eles ala Figure 3 The GPIO Configuration Manager Toolbar File The File menu allows you to create open reopen save a new or existing GPIO program file or print GPIO configurations File Edit Tools Help New Ctrl N Open Ctri O Reopen b Save Ctrl 5 Save As Print Ctrl P GPIO Configuration Ctrl R Quit Figure 4 The File Menu The Menus The Print option allows the mapping table to be printed for later reference When you select File Print the GPIO Print Setup dialog box opens allowing you to specify the desired print job See Figure
43. he Source field will be used during the operation on the Data Field To decrement the forms count by one for each label printed set the Source value to 1 If more Data Fields are defined one of those could be used as the Source value To select the Source type click the Type drop down menu and select Fixed or another defined data field Operator Data Field Settings are defined in Table 3 Table 3 Operator Data Field Setting Operator Results D S Destination becomes Source D D S Destination plus Source D D S Destination minus Source D D S Destination Times New Roman Source D D S Destination divided by Source D D S Destination mod Source 35 Chapter 2 36 Data Fields Table 3 Operator Data Field Setting Operator Results D DIS Destination Logical OR with Source D D amp S Destination Logical AND with Source D D4S Destination Logical EXOR with Source D D amp S Destination Logical AND with Inverted Source D S Destination becomes Inverted Source D D 8S Destination Logical Shift Right Source Times New Roman D D lt lt S Destination Logical Shift Left Source Times New Roman First specify the data field itself in this case a single U16 Forms Count If there are numerous data fie apply Next we need to sett Ids select the one in which the action should he operators to indicate the event we
44. he buttons to copy an entry from the mapping table to the entry edit fields for subsequent modification Click the Update button to update the entry in the mapping table with the new data Test 1 Uninterrupted vi Input Opto coupler v Parameters Add Output Opto coupler v Parameters Update Figure 22 Event to Action Mapping Entry Control Buttons The Uninterrupted checkbox is used to allow GPIO to finish an action without being interrupted For instance if an event results in a timer action the timer may be required to expire completely before another action is performed Events happening during this uninterrupted time will be queued and reacted upon once the uninterruptable action is complete NOTE The queued events will be acted upon directly and in sequence Any timing will be lost Multiple Actions 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 23 shows a mapping table where the first action is to enable GPIO events by making the Input Opto coupler event active The second action is to disable GPIO events by making the Input Opto coupler event inactive The third action is to perform a form feed Since the GPIO Configuration Manager performs mappings in sequence this program will not produce a clean sheet because the Form Feed
45. hermal Line Matrix Opto Coupler Number 1 8 Active Inactive Printer Powered Up Thermal Line Matrix n a Printer Online Thermal Line Matrix n a Printer Offline Thermal Line Matrix n a Printer Paused Thermal n a Power Save Mode Active Thermal Line Matrix n a Power Save Mode Thermal Line Matrix n a Cleared Start Data Processing Thermal Line Matrix n a End Data Processing Thermal Line Matrix n a Printer Buffers Empty Thermal Line Matrix n a Single Form Printing Thermal Line Matrix n a Invoked Cont Form Printing Thermal Line Matrix n a Invoked Label Pending Thermal n a Start Printing Thermal Line Matrix n a End Printing Thermal Line Matrix n a Start Paper Move Thermal n a Line Matrix only when Single Page Printing is active Label Printed Thermal Line Matrix n a Label Present Thermal n a Label Taken Thermal n a Job Printed Thermal n a End Paper Move Line Matrix n a Chapter 2 Overview Table 1 Events And Parameters Printer Error Thermal Line Matrix Any Thermal Line Matrix Paper Out Thermal Line Matrix Paper Jam Thermal Ribbon Out Thermal TOF Detect Fault Thermal Head Open Thermal RFID Tag Failed Thermal RFID Max Retry Line Matrix Ribbon Stall Line Matrix Platen Open Line Matrix Stacker Fault Line Matrix Stacker Full Printer Warning Thermal Any Thermal Ribbon Low Panel Key Thermal Line Matrix Key Identifier ODV Status Thermal Unscanable Code Quality error Any or a speci
46. ific event generates Event to Action Mapping Thermal EE Description Update LCD Printing _ Uninterrupted ihn Event Data Field Changed Parameters Add Action Data Field Parameters Update On 3 Description Event E Action v Decrement Forms Counter Label Printed Da Field Forms Count 1 vj Update LCD Printing Da Field Forms Count changed xj Data Field Changed Settings Source Condition Forms Count Y NONE Value Type Figure 32 Creating a Event to Action Mapping Entry 1 Enter Update LCD Printing in the Description field to create a new table entry 2 Select Data Field Changed as the event The Set Event Parameters dialog box opens 37 Chapter 2 DataFields 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 The following conditions are available Table 4 Conditions and Actions Condition None No condition action taken on each change of Source data field Equal action taken if Source equals Value Iz Unequal action taken if Source and Value are different Smaller Than action taken if Source is smaller than Value
47. ilable the Report and Sections tabs Define Reports x t Sections Name Type static String x Format Value Sample v View Hex fiew Bina Preview Item List New Edit Insert Update Remove Clear List Move Up Move Down OK H Cancel Figure 35 The Sections Tab of the Define Reports Dialog Box 2 Click the Sections tab Figure 35 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 40 Creating Sections Creating 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 four sections e OF LABELS is the header section during printing e ALL DONE is the header used when all printing is done e xxxxx is the forms counter data field content e ends the section xi Sections Name Header while Printing Type Static String x O F LABELS 23 20 4F 46 20 4C 41 42 45 4C 53 Format Ie Sample Preview ZOFLABELS Item List El Header While Printing New Edit Insert Update Remove Clear List eu OK l Cancel MEE oc Figure 36 Defining a Header Section Type Header While Printing in
48. ion Key JOB SELECT DECREMENT pressed Reply EXECUTELABEL 2 1 CR LF CR LF to Serial vi Label 3 Selection Key JOB SELECT DECREMENT pressed Reply EXECUTELABEL 3 1 CR LF CR LF to Serial vi Disable Menu Key Key MENU pressed Key Handling Consume true vi New Feed Key Key CANCEL GO DOWN pressed Form Feed vi Normal Panel Input Opto coupler 1 Active Disable GPIO Events vi Special Panel Input Opto coupler 1 Inactive Enable GPIO Events 58 Figure 52 Panel Selected Label Printing Mapping Table When port switching is enabled the serial port is the only port with which the printer can communicate to itself To make the printer communicate to itself a special serial connector is required that connects the transmit data output to the receive data input When one of the three front panel buttons is pressed the printer receives a message through the serial port sent out of that serial port by the same printer The serial connector in 25 pin and 9 pin is displayed in Figure 53 Panel Selected Label Printing Figure 53 25 Pin and 9 Pin Serial Connectors Once the PGL files and GPIO mapping table have been downloaded and the special serial connector is installed on the printer the printer will print label 1 when the key is pressed label 2 when the Feed key is pressed and label 3 when the key is pressed The printer p
49. label present sensor detects a label in position ready for application It may be used to signal the availability of a label to an applicator system Label Taken This event generates when the label is taken from its ready to apply position It can be used to tell the host that a new label can be printed Job Printed This event generates if all print jobs in the buffer have printed End Paper Move It indicates the end of the paper motion Printer Error Printer Warning Events that signal printer errors and warnings They allow selection of the actual error or warning that is to be seen as the event r Event to Action Mapping Thermal Events and Actions Description _ Uninterrupted Now Event Printer Error xj Aa Error Settings Action Output Opto coupler Era State On a Description gt Event L Any Set Paper Jam v Cleared TOF Detect Fault Print Head Open RFID Tag Failed RFID Max Retry Figure 15 Setting Event Parameters To select the Printer Error event click the Event drop down menu and select Printer Error as the event parameter The Set Event Parameters dialog box opens Click the Any box to uncheck the setting A list of errors or warnings is now available for selection From the Error drop down menu select the required parameter The Set state identifies the event when the problem happens The Cleared state specifies the
50. ld new Din menu key vi Get Down Key Value key CANCEL CO DOWN pressed Ag Field new pin down ke vi Get Enter Key Value Key ENTER pressed 94 Field new_pin erter key v Create Pin Number Field men pin changed 94 Field men pin z LO vj Show First Entry Done Ia Field new pin changed D Send one pin to LCD Line 2 time is infinite vi Get Next Pin Digit Pa Field new pin changed Pa Select Mapping Table pin part 2 Figure 56 Pin Part 1 Mapping Table If a key is pressed for the first 7 entries the value of the related data field is added to the new pin data field which is multiplied by 10 to shift the content one decimal place over Since we now have the first part of the PIN number in a data field we ll display the one pin message on the LCD and switch to the pin part 2 table Event to Action Mapping Thermal Description Get Next Pin Digit C Uninterrupted Event Data Field Changed gt Parameters Action Select Mapping Table Parameters On 9z Description Event Action vi Get Pause Key Value Key PAUSE pressed Da Field new_pin pause key v Get Minus Key Value Key JOB SELECT DECREMENT C pressed Field new pin minus ker vj Get Up Key Value Key FEED UP pressed Pa Field new pin up key vi Get Plus Key Value Key TEST PRINT INCREMENT presse
51. le for reloading ribbon when the printer runs out of ribbon The operator normally requires approximately 1 5 minutes to replace the ribbon but if it takes more than 2 minutes we want the printer to prompt an action 1 Select Edit gt Define Timers The Define Timers dialog box opens with the Delay mode selected by default Type Ribbon Reloading Error in the Name field Checkmark the Initial Delay checkbox to enable the initial delay parameters Delay Timer Mode 4 Enter2 in the MM field under Initial Delay This specifies a two minute initial delay in which the operator has two minutes to reload ribbon If the operator is able to change the ribbon and place the printer online within two minutes the delay timer stops If the operator is unable to change the ribbon within the two minutes then the delay timer starts and the printer gives a warning The delay timer will repeat for a specified amount of time until the error is cleared 5 Enter 10 in the SS field under Delay If the operator is unable to change the ribbon within two minutes as specified in the previous step then the delay timer starts in 10 seconds In 10 seconds the printer will give a warning The warning will repeat every 10 seconds until the error is cleared 6 Click Add The Ribbon Reloading Error delay timer is added to the Timer list See Figure 42 7 Click OK xl Timer List Common Reloading Ribbon Error New N
52. nds the data to the emulation it is bound to When GPIO replies with ACK PAA executes the match as defined in the CST 13 Chapter 2 Overview NOTE GPIO does not always acknowledge the PAA trigger If you use this feature make sure the event is always acknowledged SPIO Configuration Q x Properties Power Up Settings GPIO Control 10 Opto coupler In Initial State lH I M EIE Opto coupler Out Initial State TU EO TE TESTE Ee TI TE e Ae Ae 4 4 3 2 1 Cancel Figure 8 Power Up Configuration IO Tab The Power Up Settings IO tab allows you to indicate what input conditions can be expected and what output condition should be available at power on By clicking the symbols the opto coupler inputs or outputs can be activated and the relays can be made to switch to the other position Edit The Edit menu allows you to define delete and rename mapping tables You can also define data fields and reports to customize a mapping table New mapping tables can be added to the tables that will be downloaded to the printer and existing mapping tables can be deleted or renamed NOTE Definitions for New Mapping Table Delete Mapping Table Define Data Fields Define Reports and Define Timers will only be functional when the Advanced GPIO features are enabled in the printer Edit Tools Help New Mapping Table Delete Mapping Table Rename Mapping Table Define Data Fields De
53. ne Sections Added Available Header When Done Print Header While Printing em Lahel Count Header When Done Printi End Remove Label Count EE Clear Preview Ai DONE 007 Item List Label Count New Label Printing Done Edit Insert Update Remove Clear List Move Up MoveDown ok cancer 10 11 12 13 14 Figure 39 Adding Sections to a Report Click the New button Type Label Printing Done in the Name field Click Header When Done Printing under Available Hold the Control key and click Label Count and End under Available Click the button to add the Header When Done Printing Label Count and End sections Click the Add button Label Printing Done is added to the item list See Figure 39 Click OK to close the dialog box Using Reports Using Reports To make sure the correct report is transmitted to the front panel LCD add the following entry to the mapping table Event to Action Mapping Thermal Description Forms Counter Tracking Uninterrupted E Event Data Field Changed v Parameters Add Action Send Report X Parameters Update On 5 Description Event f Action vi Decrement Forms Counter Label Printed Pa Field Forms Counter 1 vj Forms Counter Tracking Pa Field Forms Counter changed and value Da Send Label Count to LCD Line 2 time is 5 x Send Report Setti
54. ng the user to change the configuration For this application the front panel keys get a value between 1 through 7 assigned to them using a datafield A three digit PIN code allows any value between 111 through 777 to be used For example the assignment list include Panel Key Number Assigned k Pause Minus Feed Plus Menu Down NI OOP OJN Enter We ll use three more data fields named new pin pin number and pin entry count The pin number data field contains the actual PIN number required to enable the configuration The final result of entering code will be compared with this data field If the codes and data fields match the configuration will be enabled If they do not match the user is allowed two more chances After that a message is sent to the host and the printer locks up Use the new pin data field to create the PIN number On each entry we ll send a message to line 2 of the LCD For this example we ll use three messages with the following content e message one pin contains e message two pin contains e message three is either PIN accepted or PIN incorrect 60 Panel Selected Label Printing When a key is pressed the value of the corresponding data field is added to the value in new pin which initially contains O If the down key is pressed new pin now contains 6 If this is not the last third entry the content of new pin is m
55. ngs Source Destination Label Count v LCDLie2 _ fe Table 1 Figure 40 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 5 Ok Cancel IW The Source drop down menu allows you to select a report previously created The Destination options tell the system where to transmit the report The Seconds field sets the time the report will be visible applicable only to the front panel LCD See Figure 40 45 Chapter 2 Timers Timers The Advanced GPIO Manager allows timers to be used for different purposes A timer can be programmed to create a delay between an event and an action or it can be programmed to generate an event at a specific time each day or even at a specific day and time each week xi Timer List Common New Name HH Repeat v Mode Options Delay Delay z PS Sew EE SP Weekly HH MM ss ms _ Initial Delay 46 Figure 41 The Define Timers Dialog Box Three modes are available Delay Daily and Weekly which is discussed in the following sections Delay Timer Mode The Delay mode allows you to delay an action by a specified amount of time For example a printer is used on a production line and the operator is responsib
56. nnector Wiring IP1A 18 OP1C 34 R1CM IP2A 19 OP2C 35 R2CM IPSA 20 OP3C 36 R3CM IP4A 21 OP4C 37 R4CM IP5A 22 OP5C 38 R1NC IP6A 23 OPEC 39 R2NC IP7A 24 OP7C 40 R3NC IP8A 25 OP8C 41 R4NC IP1C 26 OP1E 42 R1NO GAEREN IP2C 27 OP2E 43 R2NO IP3C 28 OP3E 44 R3NO E N IP4C 29 OP4E 45 R4NO 13 IP5C 30 OP5E 46 N C 14 IP6C 31 OP6E 47 5V 15 IP7C 32 OP7E 48 5Vret 16 IP8C 33 OP8E 49 24V 17 5 50 24Vret Pin 17 is connected to a number of through holes on the GPIO printed circuit board It can be used to supply power via a user installed resistor to the collectors of the output transistors See the diagram of the outputs in Appendix C 69 Appendix A VO Connector 70 Basic GPIO Schematic Diagram SuluO MZ VY Be sJojsiseJ UONDa1oid epoue Iv AH GAH LAH 0AH AS IM Eer EA Io AS CH SUE Jj8dO SL z cAd Ke CN O8dO 9 Ge LAH vy ZLYT al 2440 et A v CNL SIVN SA oN oe es MED A 6v vc Suo EE BR EE 99dO A n dy c Joao 4940 I 9 Sr 9v ke Ordo ZN DNH S Ce oedo 2940 e
57. onds if the ribbon error is still there the alarm sounds again This will continue until the ribbon error is cleared at which time we will stop the On Ribbon Error timer and will deactivate relay 1 Da Start Ribbon Reloading Error timer On Ribbon Error Initial Delay Expired Start Alarm Pa Timer Ribbon Reloading Error expired Output Relay 1 Activate On Ribbon Error Initial Delay Expired Start 1 Second Timer Timer Ribbon Reloading Error expired Pa Start 1 Second Timer timer After 1 Second of Alarm On Ribbon Error Cleared Stop Timer On Ribbon Error Cleared Stop Deactivate Alarm 50 Description Transmit Daily Status Report 1 Uninterrupted Now Ir Add Event Timer Expired m Parameters Action Send Report Y Parameters Update On 5 Description Event amp Action v Start Daily Status Timer Printer Powered Up Pa Start Daily Status timer vi Track Labels Printed Label Printed Field Labels Printed 1 vi Track Paper Jams _ Printer Error Paper Jam Set Pa Field Paper Jams 1 vi Transmit Daily Status Report Pa Timer Daily Status expired Pa Send Send Daily Status Report to Ethernet Adapter Back Channel Figure 46 Using Daily Timers To set a daily status timer we define two data fields Labels Printed keeps track of the number of labels printed by incrementing the data field
58. or occurs relay 1 will activate and result in additional action Once the problem is solved placing the printer online clears the error report and printing can start again 56 r Event to Action Mapping Thermal Description General Printer Error _ Uninterrupted n Event Printer Error v Parameters Add Action Output Relay M Parameters Update Onl s Description gt Event te Action v Printer Status Clear Printer Online Output Opto coupler 1 Deactivate v Printer Status Clear Printer Online Output Relay 1 Deactivate vi Label Ready to Apply Label Present Output Opto coupler 1 Activate vi Label Taken by Applicator Label Taken Output Opto coupler 1 Deactivate vj General Printer Error Printer Error Any Set Output Relay 1 Activate Figure 49 Setting Events and Actions for Print and Apply Event to Action Mapping Thermal Description Normal Front Panel Functions _ Uninterrupted SEN Protected Printer Example Protected Printer Example To protect the printer s configuration from being overwritten disable the front panel buttons that are not used daily The Online and Feed buttons should remain active while the rest disabled The mapping table listed in Figure 50 shows this function If the GPIO board is installed in the printer these functions may be rendered inactive by deactivating the event parser using a special
59. ort Center e Model number e Serial number located on the back of the printer e Installed options e interface and host type if applicable to the problem e Configuration printout Thermal Printer See Printing A Configuration in the Quick Setup Guide Line Matrix Printer Press PRT CONFIG on the control panel then press Enter e sthe problem with a new install or an existing printer e Description of the problem be specific e Good and bad samples that clearly show the problem faxing or emailing of these samples may be required Americas 714 368 2686 Europe Middle East and Africa 31 24 6489 311 Asia Pacific 65 6548 4114 China 86 800 999 6836 http www printronix com support aspx 75 Appendix D _ Printronix Supplies Department Printronix Supplies Department Contact the Printronix Supplies Department for genuine Printronix supplies Americas 800 733 1900 Europe Middle East and Africa 33 0 1 46 25 19 07 Asia Pacific 65 6548 4116 or 65 6548 4182 China 86 400 886 5598 India 800 102 7869 http www printronix com supplies parts aspx Corporate Offices 76 Printronix Inc 15345 Barranca Parkway Irvine CA 92618 U S A Phone 714 368 2300 Fax 714 368 2600 Printronix Inc c o Printronix Nederland BV Bijsterhuizen 11 38 6546 AS Nijmegen The Netherlands Phone 31 24 6489489 Fax 31 24 6489499 Printronix Schweiz GmbH 42 Changi South Street 1 Chan
60. ot require the security key to be loaded to the printer The series of zeros or ones are a reflection of the initial input and output states defined during the GPIO configuration The first set of eight zeros represent the initial input opto coupler state the second set of eight zeros represent the initial output opto coupler state and the last set of four zeros represent the relays The Sub checkbox needs to be checked if a GPIO mapping table is to be used as a subroutine A table marked Sub will put the name of the table from which the selection is done on the stack This name is used when the select previous table action is done to select the correct table to return to Data Fields The Status Line x Name Initial Value Type U08 0 255 sl lo al _ Non Volatile S List E New OK l Cancel Figure 27 The Define Data Fields Dialog Box Data fields are storage locations in the printer s resident memory To define a data field select Edit gt Define Data Fields The Define Data Fields dialog box opens Figure 27 The Name field allows the user to create a data field descriptive to the user s needs The Type drop down menu allows you to choose one of seven different types of data including 8 16 or 32 bit signed or unsigned values and a string value The Initial Value field allows you to set an initial value for the data type specified Checking the Non Volatile
61. puts are open collector transistors By design the output current available is set at 3 ma max This value is based on an opto coupler current transfer ratio of 10096 at an ambient temperature of 50 degrees C Load currents greater than 3 ma will cause the transistor to come out of saturation resulting in a rise in the output voltage and possible damage to the transistor WARNING For safety purposes a volate no greater than 42 volts DC should be applied to the GPIO board The GPIO board has a provision for mounting resistors either in the connection between the actual output pin and the collector of the output transistor or from a common connector pin 17 to the collector of the output resistor See the drawing in Appendix C 67 Appendix A Relays Relays WARNING Voltages Relays are the NAiS TX type and are 2 Amp high capacity relays with the following basic specifications NOTE Please check the NAiS TX type relay datasheet for complete electrical specifications Surge withstand between coil and contacts 2500 V Breakdown voltage between coil and contact 2000 V Nominal switching capacity 2A Q 30V Maximum switching voltage 220 V DC Maximum switching current 2A Contact settling time 4 mS max The relays are type DPDT of which a single SPDT contact is made available on the I O connector For safety purposes do not apply a voltage greater than 42 volts DC to the GPIO board even though the relay is rated at 220
62. reated One report to generate during printing and the other to generate after printing is complete The first report Label Count is created with two sections Header While Printing and Forms Count This will give the following text on the LCD of Labels xxxx where xxxx is the remaining label count The second report Label Printing Done is created with three sections Header When Done Printing Forms Count and End This will give the following text on the LCD ALL DONE xxxx where xxxx is the remaining label count x Report Sections Name Label Count Sections Added Available Header While Printing lt Header While Printing Label Count Header When Done Print d Label Count End m H REI Preview OFLABELSO0 Item List E apei Count New Edit Insert Update Remove Clear List ok cane Figure 38 Adding Available Sections Click the Report tab Type Label Count in the Name field Click the Header While Printing section under Available Click the button to add the Header section Click the Label section under Available Click the button to add the Label Count section Click the Add button Label Count is added to the item list Figure 38 ND Qv mco mmo 43 Chapter 2 44 Repo rts x Report Sections Name Label Printing Do
63. reby waives all implied guarantees and warrantees including without limitation any warranty of merchantibility or fitness for a particular purpose In no event shall Printronix be held liable for any incidental or consequential damages or loss of use or other commercial loss however occasioned Notice of Copyright This document contains proprietary information protected by copyright No part of this document may be reproduced copied translated or incorporated in any other material in any form or by any means whether manual graphic electronic mechanical or otherwise without the written consent of Printronix Inc All non Printronix registered and or unregistered trademarks used throughout this manual are the sole property of their respective owners COPYRIGHT 2003 2013 PRINTRONIX INC All rights reserved Table of Contents edel ee EE 7 eM RR EK OE cdo N EE V 7 Events and ede EE EE RO N 8 The Hardware ett E SEER ERE HR ass 8 The GPIO Manager 9 OVEIVIOW e 9 I II 10 aid Se mnnn EO ER ORE ER 15 Events and Actions ie ee ee ee ee RR AA ee ee ee ee RR Re ee ee 17 Entry Control Buttons 30 Multiple AGOFIS cii oi erm d beet oec re Po siue 31 aie ER HR 32 The Statis LINE ett elect eem eter KE a tiene eo ees 32 Data Fields 5 2 EEN eT eg ede 33 Data Field Events And Achons iese ees see es ee ee ee ee ee ee ee 34 Data Field Events 37 REPOS
64. results in the original key function not being executed it is consumed by GPIO Beep and Blink These actions allow the beeper to beep a specified number of Times New Roman The Online lamp on the printer switches on off or blinks at the normal printer controlled rate Enable GPIO Events Disable GPIO Events These actions allow you to switch on or off the event parsing of GPIO When disabled the only action GPIO will execute is the enable event parser action Reply to Host The Reply to Host action allows the user to specify a data stream that will transmit to the host when the selected event takes place and to select the interface that should be used for this data transmission Data entry can be in ASCII or in hexadecimal The entry mode can be selected with the arrow keys up arrow for ASCII entry mode and down arrow for Hex entry mode See Figure 21 Events and Actions Action Repirto Host x l9 Description Sg Interface Network m ol Cancel Figure 21 Setting Reply to Host Action Parameters Wait The parameter for this action specifies the time in 1 1000 seconds that GPIO will wait until the next action executes PAA Control CST Reset This action resets the Use Once flags of the currently active PAA CST Select Mapping Table This action allows you to select one out of 64 mapping tables on a given event If only a single mapping table has been defined this selection is
65. s that the UCP port be enabled a warning dialog will be shown if this option is not enabled This message displays only once for each GPF editing sesion NOTE The events Datafield Changed Timer Expired Table Entered and Table Exited and UPC Data In are only functional with the Advanced Features enabled in the printer 23 Overview Chapter 2 Actions The Action field allows you to specify which action should be linked or mapped to the selected event Table 2 lists all possible actions and related parameters Table 2 Event Actions and Parameters Actions Printer Type Parameters Output Opto Coupler Thermal Line Matrix Opto Coupler Number 1 8 Activate Deactivate Pulse Once Pulse Repeat Output Relay Thermal Line Matrix Relay Number 1 4 Activate Deactivate Pulse Once Pulse Repeat Printer Online Thermal Line Matrix n a Printer Offline Thermal Line Matrix n a On Offline Switch Thermal Line Matrix n a Clear Buffer Thermal Line Matrix n a Pause Printing Thermal n a Start Printing Thermal n a Print Next Label Thermal Line Matrix n a Reprint Last Label Thermal n a Form Feed Thermal Line Matrix n a Move Paper Thermal Line Matrix TOF Specified Distance Forward Backward Cut Once Thermal n a NOTE When an Online Data Validator is installed the Cut Once action is not executed Flush Next La
66. st See Figure 44 7 Click OK x Timer List Common weekly Stati New Name Weekly Status Add Repeat vi Edit Mode Options Insert CO Delay Time Update Daily h Bu BE E E Weekly Hour Minute Second vi Monday Tuesday S _ Wednesday Thursday vi Friday Saturday _ Sunday OK Cancel Figure 44 Setting a Weekly Timer 49 Chapter 2 r Event to Action Mapping Thermal Description Event Action Timers Using Timers On Ribbon Error Cleared Stop Deactivate Alarm C Uninterrupted New Parameters Add v Parameters Update o n 93 Description Event Action III INI ST ST IS On Ribbon Error r Event to Action Mapping Thermal Printer Error Ribbon Out Set Pa Timer Second Timer expired Output Relay 1 Deactivate Printer Error Ribbon Out Set Da Stop Ribbon Reloading Error timer Printer Error Ribbon Out Cleared Output Relay 1 Deactivate Figure 45 Using Timers to Activate an Alarm When there is a ribbon error the On Ribbon Error timer starts Figure 45 First there is a two minute initial delay for the operator to change the ribbon If the initial delay expires it generates a timer expired event in which relay 1 activates Relay 1 is set to sound an alarm With a one second delay we make sure the relay is activated for only a short time After 10 sec
67. stand alone software package It has all the functionality of the Basic GPIO Manager with additional features NOTE This manual describes all functionality of the Advanced GPIO Manager Items that are not supported in the Basic GPIO Manager are grayed out not selectable in the software This manual describes the Printronix GPIO function available for the Printronix T5000 series Thermal printers NOTE Only limited GPIO support is available for Line Matrix printers Please contact the Customer Support Center for information before ordering Line Matrix printers with GPIO GPIO is both hardware and software The hardware is the VO board to be mounted in the printer and the software is the GPIO Manager The GPIO hardware is a printed circuit board containing optically isolated inputs and outputs as well as relays The GPIO software is both a printer resident GPIO event parser and a PC based GPIO manager that allows the user to define how the general purpose VO hardware should behave for the given application The GPIO configuration manager is available as Basic GPIO Configuration Manager BGM and Advanced GPIO Configuration Manager AGM This user s manual discusses both versions NOTE AGM features in the printer can only be enabled by a special security key Chapter 1 Events and Actions Events and Actions GPIO operation is based on Events and Actions Events can be either printer internal such as paper out or print comple
68. t ml wee 1 9 Se Zv AL WOO H ONLY IP gi JSdO 6 SE 8 ONrH Ov SL O8dl 0 ONEH ONEH 6 vL o4di 9940 0 n ONGH ge el e E de el do St Ord e ol am ES 5 D zs GE OL Wooeu ooeu ve e Seal OrdO 94 WOOLY ce sg Oral J8dO c z m ONZH 3LdO le 9 E JEdO A J9dO oe s 4SdO ez r vSdl OEdO vi 2M ONZH dPdO SC T dA dO VEdI WOOeH dedo Z g vaar 3690 1 A dido 90 Vidi OedO c G ONIH didO 6 g LN ONIH 7 WO Sido Ol 7 91601 03002 sng uoisuedx3 XIUONUUd leu AS et z O8dl n d V8dl El v OZdl We S Vid H 9 O9dl S S v9dl 6 8 OSdl S vSdl sh z Opel d j Ydi Er r o dl ri E vedl H 9 Oedl i s vadl 6 8 OLdl ot 7 Vidi 71 Appendix B 72 C Electrical Inputs And Outputs GPIO Opto coupled Input Circuit Opto coupler geseet GPIO Opto coupled Output Circuit Pin 17 T Opto coupler i We Active Low Output l Ge ENR CRT i Yu i Current Limited Output Load Factory Default Configuration User Selectable Configurations 73 Appendix C GPIO Opto coupled Output Circuit 74 D Contact Information Printronix Customer Support Center IMPORTANT Please have the following information available prior to calling the Printronix Customer Supp
69. te or they can be printer external such as opto coupler 1 active Actions are the result of an event and can be printer internal such as paper feed or printer external such as relay 1 active or reply to host where data is transmitted over the serial parallel or network interface You can also define a number of events to be acted upon without the GPIO card installed in the printer and allow the printer to be adapted for the application in use The Hardware The GPIO hardware Figure 1 consists of 16 opto couplers 4 SPDT relays and the logic required to connect this hardware into the printing system Eight of the 16 opto couplers are used as isolated inputs these are the connections on which the external events happen The remaining eight opto couplers and the four SPDT relays are used as isolated outputs Each of these outputs can be designated as an action in response to some event The board is connected into the printing system through the printer s PCI bus None of the inputs or outputs is connected to any voltage source it is the user s responsibility to make those connections A separately fused 5 volt and a separately fused 24 volt are available on the 50 pin connector in which all inputs and outputs are terminated SZ ma Logic Outputs 1 8 rale System Interface Inputs 1 8 l Figure 1 GPIO Hardware D T
70. uired so the printer can finish its power on reset cycle before any reaction to an event generates NOTE With the advanced features enabled in the printer GPIO will either start up using the printer configuration or a predefined configuration Select File GPIO Configuration then select the Power Up Settings GPIO Control tab to set the power up option e Printer Online When the printer goes online by pressing the Pause key the action related to this event is accepted e 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 accepted e Printer Paused This event happens when the printer pauses because of the pause printer action The printer will accept data from the host and parse this data until its buffers are full No printing will take place The print engine is offline but the printer s data processing unit is still online e Power Save Mode Active This event signals the moment when the printer enters Power Save Mode e Power Save Mode Cleared This event signals when the printer becomes active again e Start Data Processing This event signals the start of the processing of received data This is not the same as the Start Printing event e End Data Processing This event signals the end of the data processing cycle This is not the same as the end printing event
71. ultiplied by 10 effectively shifting it over 1 decimal place The message one pin is sent to the LCD that now shows PIN number If the Feed key is pressed next the value in the related data field 3 is added to new pin which now contains 63 Again it is not the last entry so new pin is multiplied by 10 the content changes to 630 and the message two pin is sent to the LCD to show PIN number If the Menu key is the third and last key pressed the value 5 is added to new pin The content is now 635 Since this is the last key the number will not be multiplied by 10 Instead we will send a message to the LCD We now have the complete PIN code entered compare it with the PIN code stored in the printer This is done by a simple comparison of two data fields new pin and pin number If the values match we ll make all keys available to the user If the values don t match we ll increase the Gin entry count by one and start over If the pin entry count reaches three some message will be transmitted to the host and the complete panel will be blocked Data Fields Reports and Timers The following U16 data fields need to be created for this application where the content of the pin number data field can be any value between 111 and 777 Data Field Name Initial Value Pause Key Minus Key Up Key Plus Key Menu Key Down Key Enter Key Pin Entry Count O ON OO AJ OJ
72. volts DC Two voltages available on the I O connector are 5 and 24 volts DC Using self healing fuses both voltages are separately fused at 500 mA for 5 volts and 250 mA for 24 volts These voltages share the same ground To guarantee complete galvanic isolation between the printer and the equipment that is connected through the 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 NOTE Be aware that the 24 volts require a special connection inside the printer and that this voltage is not available when a cutter is installed in the Thermal printer VO Connector 68 The VO connector is a 3 row 50 pin D type connector Inputs and outputs of opto couplers and relays are wired to this connector so that creating inputs using common anodes or cathodes or outputs using common emitters or collectors is fairly simple The two voltages and their respective returns are also wired to this connector Table 6 specifies the connector wiring where IPxA represents the anode connection of the Input Opto Coupler diode and IPxC represents the cathode connection of the diode OPxC represents the collector of the output transistor and OPxE represents the emitter of the transistor RXCM represents the common connection of the SPDT relay contact RxNC represents the Normally Closed and RxNO the Normally Open contact Table 6 Co
Download Pdf Manuals
Related Search
Related Contents
MANUAL DEL USUARIO この商品のマニュアルをダウンロード Danby DAC120EB2GDB User's Manual Copyright © All rights reserved.
Failed to retrieve file