Home
        PMDX-122 Rev D User`s Manual
         Contents
1.               pin12    JP1 JP3 MB not EStop fault  pin13  n   5V Lll Outputs Enabled  Ploin29coM LEl cp ok  amp  not EStop fault    pints Flo                   GND    pin2 ping COM pin4 pins COM pin   pin  COM                            is NA Se AN  4 co   DU DU O  a a   lt  gt  gt  6 2256   o 0 Hh 0   m m m m    gt  c  gt  oc  OPTICAL OPTICAL  ENCODER ENCODER       Figure 11   Configuration with Daisy C hained PMDX  122 Boards and Encoder Inputs    PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 29 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    8 0 Mechanical Specifications    lt  4 500     D                   OQ  Y        a 4 150   gt                    p      0 175   2 650        000 E    4 each 0 150  dia holes   for  6 screw     0 175                             A    Figure 12   PMDX 122 Dimensions and Mounting Holes    WARNING  The PMDX 122 should be protected from liquids  dirt  or chips   especially metal chips which can cause shorts  coming in contact    with the board        PMDX 122_Manual_112 doc   2005 2013  Practical Micro D esign  Inc  Page 30 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    9 0 Electrical and Environmental Specifications    Main Power   7 to  12 VDC or 9 VAC input  200 mA  input via J11 or J5 or J8     OR    Regula
2.       4 4 Relay Contact Connector  J7     The PMDX  122 provides a relay with both a    normally open  and  normally closed  contact  See section  3 24 for more information       Pin Number   Label  Description                N ormally O pen relay contact  i e  open when relay is not energized     RLY    Te    N ormally Closed relay contact  i e  closed when relay is not energized     Table 16   Relay Contact Output Connector Pin Out  J7        4 5 Control Output Connector  J8       Pin Number   Label  Description Cd     x  p ww o  Auxiliary  5V output for external sensor power  OR regulated  5V DC input  see section 3 6     2    Pinl4   Controloutputfrom PC parallel portpinl4                 Control output from PC parallel port pin 17 or logic level indicating  Pin 17 whether the buffer is enabled or disabled  depending on the setting of  jumper JP4  see section 3 2 3     Alternate power input terminal  also acts as a  daisy chain unregulated  5 PWR Altin   power output  when the board is powered via the coax power  connector J11      6   GND  Ground connection        Table 17   Control Output Connector Pin Out  J8        NOTE   Dueto logic inside the PC  some control outputs are inverted  This means that that  writing a    1    to a bit in the control register may result in a logic    low    at the 25 pin       D    connector  Please refer to technical documentation on the PC parallel port or  your control software for more information        PMDX 122_Manual_112 doc   2005 
3.      Just make sure that your wiring between the PMD X  122 and the stepper drivers  matches your Mach3 configuration        PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 5 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    WARNING  Do not use this configuration with non isolated stepper drivers  Doing so  may damage the stepper drivers and the PM DX 122  For non isolated  drivers see section 2 2           l     Ses     e  I    a Ie    E  l       J9    GND normal bo  JP4 ps out Jjpo  a  always  pin17out DIR LE pin 2 9 enable   Ok   t LN ok                        E Stop switch O   pinte   normally closed  ies JP1     Bom  j i pn LEE   m  utputs Enable   or jumper wire Q    ME Q pints   COM MEN cp ok  amp  not EStop fault  O  eno    pin2 ping COM pin4 pins COM pin6 pin  COM             OQAS  10  NONWINCO    OQAS  10  NOWWOO          OdASt 10  NOWINOO    GECKODRIVE GECKODRIVE       GECKODRIVE       GECKODRIVE    Figure 1   Configuration w Mach3  charge pump and Gecko stepper motor drivers    2 2 Example with Mach3  Charge Pump and PMDX 150 Stepper Drivers    Figure 2 shows a standard configuration using Mach3 software on the PC driving the PMDX 122  The  PMDX 122 is in turn connected PMD X 150 stepper drivers  which have opto couplers that require a  ground reference on their  common  terminal  Not all opto isolated stepper drivers require a ground  refe
4.    J12  the USB connector  see section 4 8   Regulated Regulated  5V DC    5    J5 screw terminal connector pins 1 and 6   5V DC  see section 4 2 and note below        or      J8 screw terminal connector pins 1 and 6   see section 4 5 and note below     Table 8   Summary of PMDX 122 Power Sources       PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 18 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    If using either connector J5 or J8 as an input for regulated  5V D C power to the   PMD X 122  the other connector may still be used as a  5V DC output  provided that  your regulated power supply can supply sufficient current for the PM DX 122  and any other devices you connect  For example  if you connect a regulated  5V    DC power source to J8 pins 1 and 6  you can still use J5 pins 1 and 6 as a  5V DC  power source for sensors  etc  In this case your regulated DC power supply must be  capable of supplying 200 mA plus the current required by your devices        4 0 Summary of Connector Pinouts    The PMDX 122 contains several connectors  as listed in Table 9 below  Refer to the following tables for  details on the pin outs for each connector  For all connectors  pin  1  is the pin closest to the reference  designator  i e  J1 pin 1 is the pin closest to the    J1    text on the circuit board   In addition  all connectors  have square pads on pin 1  loo
5.    PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 17 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    PMD X 122  see Figure 8 and Figure 9   The signal is not inverted on by the PMDX 122  A logic high on  the E Stop input is output as a logic high onto parallel port pin 10  W hen the E Stop is used as a general   purpose input  the Fault input can be set to default to either  active  or  inactive   See section 3 4 1 for  more information     3 4 2 3   E Stop  LED  DS10     The  E Stop  LED is located next to connector J6  and is labeled  E Stop active   The LED indicates the  state of PC parallel port pin 10  which is driven by the E Stop input and optionally by the Fault input  The  LED is  on  when the E Stop input is high  active   If jumper JP6 is configured as  normal   then the LED  will also be  on  when the Fault input is low  active   See sections 3 4 2  E Stop Input  and 3 4 1  Fault Input   for more information on these signals     3 5 Charge Pump  watchdog     The charge pump circuit  also called a watchdog circuit  is designed to disable the PMD X 122 control  outputs  and optionally the data bus outputs  when the software running on the PC stops working  properly  It does this by monitoring pin 17 on the PC parallel port  W hen this signal is toggling between  high and low  the charge pump is  O K   W hen pin 17 stops toggling  the char
6.    your control software for more information  Mach3 and other CN C programs  should automatically co mpensate for this        PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 14 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above       PC Connector    45V    pin 11  Buffer   E pin 12    pin 13          pin 15   D   GND                      All four signals each have their  own LED and pull up resistor        lt  EStop   from E Stop and Fault circuit     Figure 6   Block diagram of Status Input Circuitry       3 4 Fault and E Stop Inputs    The PMDX  122 provides both E Stop  emergency stop  and Fault inputs  The operation of each input is  described in the following sections  The function of the E Stop and Fault inputs depends on the  configuration of jumper JP6  as shown in Table 7 and the block diagrams below       Setting   Label  Description 0      The E Stop input is an emergency stop signal  The Fault input has a 100K pull up  resistor so that its default state is  no fault   The E Stop and Fault inputs combine  to drive pin 10 into the PC parallel port and to optionally disable buffers on the  PMDX 122     The E Stop input is a general purpose input and directly drives pin 10 into the PC  parallel port without affecting the data bus and control outputs on the  PMDX 122 board  The Fault input has a 10K pull down resistor and a 100K pull   up resistor 
7.   be used with motor drivers or general purpose logic signals that have non isolated   TTL or CMOS logic style inputs        Table 2    Pin 2 9 Common  Jumper Settings  JP1     The PMDX 122 has a protection diode between its  5V supply and the common terminals  see Figure 4    This prevents any voltages that are accidentally applied to the common terminals from damaging the  PMDX 122  A side effect of this diode is that the     5V    that appears on the common terminals is less  than 45V  The actual voltage depends on the PMD X 122 s power source  For AC or DC power viaJ11   the voltage is approximately 4 2V  W hen using the USB connector for power  the voltage may be slightly  lower than 4 2V  depending on several factors  including length of the U SB cable and total load on the USB  hub  see sections 4 8 and 9 0 for USB hub requirements   These voltages are sufficient to drive external  opto isolators     WARNING  When connecting to non isolated motor driver inputs you must use the   ground  setting on jumper JP1  Do not connect the PM DX 122 s     5V     reference to ground on the motor driver module  Doing so may damage the  buffers on the PM DX 122 and the inputs to the motor drivers        3 1 3 Data Bus Buffer Enable    The PMD X 122 allows the E Stop  Fault and charge pump circuits to disable the data bus buffers  Jumpers  JP2 and JP3  determine if and when the data bus buffers will be disabled  Section 3 1 1  Data Bus Signals   describes behavior of the data bus sign
8.  Data Bus Connectors  J1  J2  J3  and JA                sese tnnt nnns 19  4 2 Status Input Connector  J5                 sse tnnt iia inniti testen 20  43 Fault and E Stop Connector  J6  w ccsscsssscssssssssssssscssscssesssessscsssssnsssnssssssucssncssessssssusesussseessesssesseessesssessnssss 21  44 Relay Contact Connector  J7  essent tnnt niti n 21  4 5 Control O utput Connector  J8            ssseeseeeen nennen nennen trennen tres tnis testet titii ttes 21  4 6 PC Parallel Port Connectors  J10  amp  J9                sse rnnt nnt ttnn tantas anttnnt antt 22  4 4   Power Supply Connector  J11           ssseeseeeeee nennt ntn ttt tte nitent ttt ttt tenia 23  4 8 USB Connector  I12  5  5 2  72i condit cn tt iret th ii idera rb ca cis nere dr ce ra dr ee en e in Dna rea e a da 23  5 0 Summary of Jumper Configurations                           eene eise nne ne tnan nnn nana anna amata aS naa suam nua nn 24  6 0 Summary Of LEDS              27  7 0 Advanced Configurations     s  essessssennunnnnnnennunnnnununnnnnnnnnnnnunnnnunnnnnnnnn nnn nnnnnunnnnnn nnne nnmnnn nnana 28  71 Configuring a PMDX  122 to Emulate a PMD X 121    sse tnn 28  7 2 Example Daisy C hain PMDX 122 with Encoder Inputs    sse 28  8 0 Mechanical Specifications                            eee eeeene riens sees en anna nnen nunnunum nam n uana mnnn sna usn nananana 30  9 0 Electrical and Environmental Specifications                                  ce ener seen eene rnne nnn nn nana 31  Appendix R41            
9.  Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    PC Connector TON       pin 1 AL m 45V  Buffer    pin 14 pin 14  pin 16  gt  pin 16  pin 17 pin 17   see    note below     10K          Pwr Alt  In  GND                  All four signals from the PC   have their own pull down resistor       Serial number 24242 and   above have 10K pull up on the OK    pin 17  signal  older boards have  from EStop Fault Charge Pump   a 10K pull down resistor        All four signals  have their own LED   All except   Strobe   have their own pull   down resistor       To charge pump    Figure 5   Block diagram of Control Output Circuitry    The control inputs from the PC have pull down resistors  except for the    pin 17    signal on newer boards  as noted in Figure 5  This ensures a known output level on the screw terminal connector  logic low   should the parallel port cable become unplugged     Connector J8 also provides an auxiliary  5V output  which can also be a regulated  5V input  see section  3 6   ground reference  and an alternate power supply input  The  5V output can be used to power  external opto couplers  The  PW R Alt In  terminal provides a screw terminal alternative to J11 for  connecting an AC or DC power source  It also can be a  daisy chain power output  to a second   PMD X 122 when power is supplied on J11  See section 7 2 for an example     WARNING  When using the  Aux  Power In  on J8 pin 5  make sure that no power  source is conn
10.  See section 3 1 1   BREED utputs Enabled This LED is  on  when the control output buffers are enabled   See section 3 2 1     REP un Input 4 each LEDs  one for each status input signals on connector J5   Each LED is  on  when the corresponding status terminal is  grounded or driven to a logic low  See section 3 3      pin 1  This LED is  on  when the relay is energized  See section 3 2 4   NE status LED      pin 14    pin 16  and   3 each LEDs  one for each control signal on connector J8  Each  qu 17  LED in  on  when the corresponding control output terminal is     control output LEDs    driven high  See section 32     D S10 E Stop active This LED is  on  when the E Stop input is driven or floating high   N ote that this LED may also indicate the state of the Fault input   depending on the setting of jumper JP6  See section 3 4 2     Table 27   Summary of LEDs and functions       PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 27 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    7 0 Advanced Configurations    7 1 Configuring a PMDX 122 to Emulate a PMDX 121  To make the PMD X  122 function the same as the older PMD X  121  set the following jumpers     JP1 Same as PMD X 121 JP4 Same as PMDX 121  JP2 Same as PMDX 121 JP5 Jumper pins 1 and 2  data bus is    output     see section 3 1 4   JP3 Same as PMDX 121 JP6 Jumper pins 1 and 2     normal    mode  
11.  always input  will cause drive  conflict with PC s parallel port until PC runsthe application that makes the  parallel port an input  This may cause erratic behavior on the daisy   chained PM DX 122 until the PC s parallel port is changed to an input port        PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 28 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above       Board  1 must be powered  x    via J11 or the  PWR Alt In                                                  erminal on J8  See note   cR  E  Board  1 m m  signal only LO Ji 2   a piae fault pwn  E Stop J9 ae             Q  2  n  W    olo   lar   i Y     oQOO    GND normal lal JP4 Jpsiout p gt  lg  always O  pin17out  DIR Pl pin 2 9 enable pint    oe n H5   pint4 Q    9 ev  AUX 45V AUX OUT Q                   c OUT  E Stop switch Q uni J8   normally closed  Q imis  x 7 pin  or jumper wire JP1 JP3  a  not EStop fault Mic  Q pin13 B  Fl Outputs Enabled O    Bil Pin 2 9COM RLM CP OK  amp  not EStop fault RLY  O pins a GND COM O    N O  ND   pin2 pin    COM pin4 pins COM pin   pin7 COM pin8 ping COM J7    meme a OO ooo   poo   ooo      stepper drivers                   N                                           E Stop ns Board  2 J11 GND  signal only RL J1 2  d     Ol es  E Stop is a P if O 2    general purpose  digital input                               5v  AUX 45V AUX OUT Q    OUT J8    pin11 
12.  is configured to any other setting  the E Stop input does not affect the  control outputs    e And optionally  when the charge pump circuit is    OK    and jumper JP3 is configured in  CP OK and  not EStop Fault  mode  If jumper JP3 is configured to  not EStop Fault  then the charge pump is  ignored and has no effect on the control outputs       Setting   Label  Description     S    Control outputs are enabled  and the    O K    signal is asserted  when the Fault  signal is NOT asserted  and optionally when the E Stop signal is NOT asserted    Estop fautt  depends on jumper JP6  see section 3 4 2   The charge pump circuit is ignored     CP OK Control outputs are enabled  and the  O K  signal is asserted  when the charge   amp  not pump circuit is OK and Fault signal is NOT asserted  and optionally when the  EStop fault   E Stop signal is NOT asserted  depends on jumper JP6  see section 3 4 2         Table 5   Outputs Enabled  Jumper Settings  JP3     3 2 2 General Purpose Outputs and LEDs    Three ofthe control signals are available as general purpose outputs  pins 14  16 and 17  note that pin 17  is a special case with additional functionality  see section 3 2 3   The  Control O utput  LEDs are located  next to connector J8  just above each of the pin number labels   pin 14    pin 16   and  pin 17    Each  LED is  on  when the corresponding output signal is driven high     Each control output has a 10K ohm pull down resistor  This provides a logic low level whenever the  co
13.  s outputs and  signal the fault to the PC via pin 10     NOTE   This configuration should also be used for stepper drivers that have logic level step  and direction inputs  also called  TTL  or    CMOS    inputs   The  Fault  input may or  may not be used  depending on the features of the stepper drivers        J10  JP6       E Stop B  signal only Lo   J6    fault  E Stop            E Stop switch   normally closed  5 R JP3 not Stofan    j i   Pl Outputs Enable  or jumper wire    TR pin2 9 COM I M cp ok  amp  not EStop fault    LI GND            pin2 pin3 COM pin4 pins COM pin6 pin  COM             NOMWINCO       NOWINOO       PMDX 150       PMDX 150 PMDX 150       PMDX 150             Figure 2   Configuration w Mach3  charge pump and PMDX  150 stepper drivers    2 3 Example with Logic Level Stepper Drivers    Stepper drivers with logic level inputs  also called  TTL  or    CMOS    inputs  connect to the PMD X 122 in  the same manner as the PMDX 150  See section 2 2  Example with M ach3  Charge Pump and PM DX 150  Stepper D rivers     2 4 Example Limit Switch Wiring    Mechanical switches  in either  normally open  or  normally closed  configurations  or optical interrupter  switches can be used to provide input signals to the PMDX 122  These switches can act as limit switches   home indicators or other status information  Since the PMDX 122 provides pull up resistors on the  status inputs  see section 3 3   mechanical switches can be wired directly to the signal pins on J5 a
14.  the load that is connected to the PMDX 122 data outputs     D ata Inputs  Min  input  high   2 0V  see note 3   Max  input  low   0 8V  see note 3  external source must sink at least 3mA  per input   Max  data rate  1 0 MHz  Note 3  Referenced to the  COM  term when JP1 is set to    GND    and JP5 is set for   input    Control O utputs  Min  output  high   3 7V  referenced to the    Gnd    terminal   sourcing up to 6 mA per output   Max  output  low   0 4V  referenced to the  Gnd  terminal     sinking up to 6 mA per output     Relay Contact Ratings  10 amperes at 24 VDC   10 amperes at 120 VAC   10 amperes at 240 VAC    Charge Pump  Min  Frequency  100 Hz minimum square wave on pin 17   Environmental  Temperature  0  to 455  C  Relative H umidity  20  to 80  relative humidity  non condensing  PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 31 of 32    20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    Appendix A     Warrant y    Statement    Practical Micro D esign  Inc   PMD  warrants that this hardware product is in good working  condition  according to its specifications at the time of shipment  for a period of 90 days  from the date it was shipped from PMD  Should the product  in PMD s opinion  malfunction  within the warranty period  PMD will repair or replace the product without charge  Any  replaced parts become the property of PMD  This warranty does 
15.  to the common terminals  See section 3 1 2 for  more information     Table 21   Summary of  Pin 2 9 Common  Jumper Settings  JP1       Setting   Label  Description                               The data bus ia are always enabled  i e  ignore the E Stop  Fault and charge  2t03 OK D ata bus buffers are enabled as long as the  O utputs Enabled  LED is  on   Note  that this setting uses the    O K    signal from jumper JP3     Table 22      Pin 2 9 Enable  Jumper Settings  JP2          Setting   Label   Description     OK    signal asserted when      Control outputs are enabled  and the    O K    signal is asserted  when the Fault  not signal is NOT asserted  and optionally when the E Stop signal is NOT asserted  EStop fault    depends on jumper JP6  see section 3 4 2   The charge pump circuit is ignored   See section 3 2 1     Control outputs are enabled  and the    O K    signal is asserted  when the charge  pump circuit is OK and Fault signal is NOT asserted  and optionally when the  E Stop signal is NOT asserted  depends on jumper JP6  see section 3 4 2   See  section 3 2 1     CP OK   amp  not  EStop fault       Table 23    Outputs Enabled  Jumper Settings  JP3       Setting   Label  Description 0    Pin 17 from the PC parallel port drives the  pin 17    control output on J8 as well  lto2 normal   as the charge pump circuitry and possibly the data bus direction control   depending on the setting of jumper JP5  see section 3 1 4         Pin 17 from the PC parallel port drive
16. 2013  Practical Micro Design  Inc  Page 21 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    4 6  PCParallel Port Connectors  J10  amp  J9     The PMDX  122 provides a 25 pin  D  connector  J10  for connections to a PC s parallel port  This  allows the use of a standard 25 pin male to male PC printer cable  ex  PMDX DB25MtoM   The board  also provides a 26 pin ribbon cable header  J9   This header allows the use of a  ribbon cable to 25 pin   D  connector  adapter cable  This adapter cable could be used to go from the to PMDX 122 to the  cabinet wall  and then use a standard 25 pin male to male printer cable from the cabinet to the PC     Pin siari Direction  J10  relative  PMDX 122   note 2  E 3   to the PC  Signal Comment  Relay rs w logic high at the PC pin  see                        Data bus D ata bus signals are buffered and then connected   6   11    utin  output input to the PMDX  122 s data bus connectors  see   9 p p section 4 1       8    15   ouf     9   1   ouin        Driven high when E Stop or  optionally  Fault      n f 21   jin Jgsauinpt PT    12   23   in  gtausInut      13   25   in  gtausInpt    o    14   2   ow  ConroOupt      15   4   in  gSttusipu    o  MM Eua    Pen a el  Can act as charge pump or data bus direction  a    Table 18  PC Parallel Port Connectors  J10 and J9        NOTE 1  J10 is the 25 pin  D  connector on the PMD X 122 and these pin num
17. 32  PMDX 122 Manual 112 doc     02005 2013  Practical Micro Design  Inc  Page 2 of 32    20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    1 0 Overview    This document describes the configuration and operation of the PMD X  122 Revision  D  Bi Directional  Break O ut Board  The PMDX 122 provides an interface between a PC and a multi axis stepper motor  system or other user equipment  This document pertains to the following versions of the PMD X  122     Circuit Board Revision  PCB 450D  marked on the bottom of the board   Serial N umber Range  30100 and above    1 4 Important Safety Information    The PMDX 122 is intended for integration by the purchaser into industrial control systems  It is solely  the purchaser s responsibility to assure that the system is configured in a manner consistent with  applicable safety requirements  Practical Micro Design  Inc  does not control how this board is integrated  into the purchaser s system and cannot be responsible for guaranteeing the safety of your system     The PMDX 122 is not guaranteed to be fail safe  The system into which the PMD X  122 is installed should  provide fail safe protection and emergency stop capability     The PMDX  122 contains circuitry that may be connected to dangerous voltages  Care must be taken that  user cannot come in contact with these voltages  An enclosure that allows for modest ventilation  but  prevents 
18. 320  G 320X   G340 and   Geckodrive   Mach3 ArtSoft Software Inc   http   www machsupport com   PMDX 121  PMDX 122  PMDX 150 PMDX Practical Micro Design  Inc   http   www pmdx com   PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 3 of 32    20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    1 4 Features  The PMD X  122 has the following features                 PC Parallel Port  Power Supply Input    e Buffers signals to from the PC parallel port e  7to  12 VDC or9 VAC input via 2 1mm   e Allows use of all 8 data bits  4 control coaxial jack  outputs and 5 status inputs e Or alternate  5V DC via USB connector   e 25 pin  D  connector uses standard PC e Oralternate  7 to  12 VDC or 9 VAC  printer cable  D B25 male to male  input via J8 screw terminal connector   e All output signals go low when PC is e Or alternate Regulated  5V DC     5  via  disconnected J5 or J8 screw terminal connectors   Status Inputs  Data Bus  Step D irection signals     e 5 each status inputs w pull up resistors e 4axes of step and direction or 8 general   e Status signals are filtered and buffered purpose signals   e LED indicators for each input e Data bus signals are buffered   Relay Contact O utputs  e Supports signals up to 1 MHz   e Isolated relay with N O and N C terminals e Bi directional data bus  outputs or inputs    e LED indicator for relay state e Can supply  5V to motor dr
19. MDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 19 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    Description     Eum e eet Mu TU Gr GGTUEPC Gad pte GU Gear  Pin 6 Buffered signal from pin 6 of the PC parallel port s 25 pin  D  connector   parallel port signal name  D 4      GEHT Ud Buffered signal from pin 7 of the PC parallel port s 25 pin  D  connector   parallel port signal name  D 5    EE NEN Common voltage reference  same for all four connectors  see section  3 1 2 for reference source     Table 12   Data Bus Connector Pin Out  J3          Pin Number   Label  Description            Buffered signal from pin 8 of the PC parallel port s 25 pin  D  connector  1 Pin 8   uper   parallel port signal name  D 6    Buffered signal from pin 9 of the PC parallel port s 25 pin  D  connector  2 Pin 9   upy n   parallel port signal name  D 7    3 COM Common voltage reference  same for all four connectors  see section  3 1 2 for reference source     Table 13   Data Bus Connector Pin Out  J4        4 2 Status Input Connector  J5   Connector J5 provides access to four of the five status input signals  The fifth status input on the PC    parallel port is connected to the Fault and E Stop circuitry  See section 3 4 2  E Stop Input  for more  information on this signal       Pin Number       Label   Description            1  5V Auxiliary  5V output for external sen
20. PMDX  122 Revision D  Bi Directional Break O ut Board  User s Manual    ww PMUX com en   et  PMDX 122 rev D       Document Revision  1 12  Date  20 March 2013  PCB Revision  PCB 450D  Serial N umbers  30100 and above    PMDX W eb  http   www pmdx com   9704 D Gunston Cove Rd Phone   1  703  372 2975   Lorton  VA 22079 2366 USA FAX   1  703  372 2977   PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 1 of 32    20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D       Document Revision  1 12 Serial N umbers  30100 and above  Table of Contents  LO L0   7                        3  11 Important Safety Information    sse ttn tnnt tentis tenti ttti 3  12   Miarranty SUMMALY 2e cri endet dp ae npe none n HER p OR Fa e le E dt 3  L3  Trademarks  eb om eedem aequa Dale dn ee aa ne eiim ae 3  DEI A A A E A T 4  15 Differences Between the PMD X  122 and the PMDX 121 sss 4  1 6      Updates to this Manual  cn rece rct nein enean n nd nre td icto 4  2 0 QUICK Setup Guide                             aon anai eene raan ara aea paaa aaa A Aaaa aE au E Naadan kda aada aaa uis 5  21 Example with Mach3  Charge Pump and Gecko Drivers    5  2 2 Example with Mach3  Charge Pump and PMD X 150 Stepper Drivers    6  2 3 Example with Logic Level Stepper Drivers    ssi 7  24 Example Limit Switch W iring          ssssssseeenennntte tnter tnnt treten ttes 7  3 0 Functional Description and Block Diagrams                              1  creen nee seee e
21. a bus direction control  see section 3 1 4   The  pin 17  control  output on J8 is driven  high  or floats low based on the state of the E Stop and   2to3 OK Fault inputs  the  charge pump  circuit and jumpers JP3 and JP6  See sections  3 4 2  3 4 1 and 3 5 for more information  This setting allows the charge pump  circuit to disable external drivers via opto isolated relays and also allows daisy   chaining the fault E Stop charge pump status to a second PMD X  122  see section  7 2 for an example of daisy chaining boards      Table 6    Pin 17 Output Source  Jumper Settings  JP4     3 2 4 Relay Control and LED  pin 1     The  pin 1  control signal is dedicated to the on board relay  The  pin 1  LED is located next to the  relay contacts connector and indicates the state of the relay  The LED is  on  when the relay is energized   connecting the    N  O   terminal with the    RLY CO M  terminal   The LED is  off  when the relay is de   energized  connecting the  N  C  terminal with the  RLY CO M  terminal   A logic high on the pin 1 input  from the PC energizes the relay  Table 16 on page 21 shows the pin out for the relay connector  J7      NOTE   Dueto logic inside the PC  the voltage on pin 1 is inverted  This means that writing a     1    to the bit in the control register results in a logic  low  at the 25 pin  D   connector  In order to energize the relay  a  0  must be written to the parallel port    control register  Please refer to technical documentation on the PC pa
22. al N umbers  30100 and above    3  When the data bus direction is set to  input   i e  to the PC   the pull up resistors provide a  default logic  high  input voltage to the PMD X  122 s data bus buffer when there is no signal  source driving that data signal from the connectors     Note that the voltage present on J1 through J4 when the buffer is tri stated is approximately 3 2V  This is  due to the voltage drop across the protection diode and the LED     3 1 2 Data Bus Common    The PMDX 122 provides a common reference signal on the four data bus connectors  J1  J2  J3 and J4    This common signal is the same for all four connectors and is jumper selectable between a nominal  5V  or ground  Jumper JP1  labeled  pin 2 9 COM  on the circuit board  determines this voltage reference as  follows       Setting   Label   Description                                 Supplies an nominal  5V to the common terminals on J1  J2  J3 and J4  This  configuration is commonly used when the motor drivers have optically isolated   45V   inputs that expect a voltage source on their  common  terminal  such as some of  the Geckodrive modules   In this case  the PMDX 122 supplies the  5V power to  the opto couplers  See the note and warning below     Connects the PMD X  122 s ground to the common terminals  This setting would  typically be used with motor drivers that have optically isolated inputs that expect a   GND   ground reference on their  common  terminal  such as the PMDX 150   It can also
23. als when they are disabled  See section 3 2 1 for information on  configuring jumper JP3  Jumper JP2 is labeled    pin 2 9 enable    on the circuit board  and can be configured  as follows     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 10 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above      Setting   Label   Description                          The data bus MS are always enabled  i e  ignore the E Stop  Fault and charge       D ata bus buffers are enabled as long as the  O utputs Enabled  LED is  on   Note  2 to 3 OK that this setting uses the    O K    signal from jumper JP3  see section 3 2 1  Control  Outputs Enabled Jumper and LED for more information      Table 3    Pin 2 9 Enable  Jumper Settings  JP2     3 1 4 Data Bus Buffer Direction    Jumper JP5 determines the direction of the PMDX 122 s data bus buffer  The data bus is configured as  input or output for the entire data bus  The direction of individual bits cannot be controlled       Setting   Label  Description 00    1to 2 The data buffers are configured as  output  buffers  from the PC out through the  PMDX 122      The data buffer direction is dynamically controlled by pin 17 from the PC s  parallel port as follows   Logic High Data buffers are    output     from the PC   2 to 3 Logic Low Data buffers are    input     to the PC   Note that pin 17 also drives the    charge pump    func
24. bers correspond  to the PC parallel port pin numbers     NOTE 2  J9 is the 26 pin ribbon cable header on the PMD X  122     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 22 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    The following web sites provide information regarding the PC s parallel port  including pin outs  signal  names and useful data for software control of the parallel port     e IBM PC Parallel Port FAQ and tutorial  http   www pmdx co m Resources parallel port html  and  http   et nmsu edu  etti fall96 co mputer printer printer html    e General information and lots of links  http   www lvr com parport htm    e If the previous links do not work  go to http   www pmdx com  our main web page   click on the     handy CNC information    link and then look for the links to parallel port information pages    N ote that these web links were accurate as of the printing date of this manual  W hile we expect that  these non PMD X sites will remain available at these addresses  it is possible that they will move or  disappear     4 7 Power Supply Connector  J11     Connector J11 is used to provide  7 to  12 VDC or 6 to 9 VAC power to the PMDX 122  This  connector is a standard 2 1mm diameter coaxial power connector that is compatible with many wall   mounted power packs     WARNING  When using J11  make sure that no power source is connected t
25. ccept either  5V or GND  And the G203V  requires GND on its COMMON terminal  Verify the required COMMON   connection on your motor drivers and set jumper JP1 accordingly        This configuration takes advantage of Mach3 s  charge pump  facility so that the PMD X  122 disables all of  its outputs if the PC stops  behaving properly   i e  servicing the charge pump   Mach3 must be set to  provide the step and direction signals to the data port pins that match your wiring configuration  W e  recommend the connections as shown in Figure 1  and listed in Table 1  Mach3 must also be set to run  the charge pump signal on pin 17  If you do not wish to use the charge pump feature  change jumper JP3  to the  not EStop Fault  position     The significant jumpers for this configuration are JP1  JP2  JP3 and JP5  The other jumpers  JP4 and JP6   may be changed to suit your application  As configured in Figure 1  the Fault input defaults to  no fault   and may be left unconnected if not used  To activate the Fault input  connect it to ground  not shown        PC Parallel Port Pin    Function               PY axis Direction      Cd Z axis Direction      BC A axis Direction    Pp A axis Step      Table 1   Mach3 Step and Direction Configuration       The pin mapping shown above used to be the default setting in Mach3  But newer  versions of Mach3 changed its defaults to used even pin numbers for step signals and  odd numbers for direction  You may use either configuration with the PMD X  122
26. consequential  special or otherwise and whether  such damages are incurred by the person to whom this warranty extends or a third party        PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 32 of 32  20 March 2013 All Rights Reserved    
27. d hubs do not have an external power supply        PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 23 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    5 0 Summary of Jumper Configurations    The PMDX  122 contains six 3 pin jumpers that determine various aspects of its functionality  Each  jumper has silk screen labels that describe the function of the jumper and each possible setting  Each  jumper can have a shorting block installed either between pins 1 and 2  or between pins 2 and 3  Some  jumpers may also be configured with no shorting block installed       Jumper  Description                Pin 2 9  Data Bus  Common Jumper  Pin 2 9  Data Bus  Enable Jumper    Pin 17 O utput Source Jumper  Pin 2 9  Data Bus  Direction Jumper  E Stop Mode Jumper    Table 20   Summary of PMDX  122 Jumpers       JP6 JP4 JP5  JP2          1    Ge    NS    me  EE  cim     e mW  51    a       z       JP I JP3    Figure 10   Jumper Locations    PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 24 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above      Setting   Label   Description    Bos e Supplies an nominal  5V to the common terminals on J1  J2  J3 and J4   0 t  See the note and warning in section 3 1 2        2t03 GND Connects the PMD X  122 s ground
28. eans that the external emergency stop circuit must  be capable of sinking 2 7 mA of current when the switch contacts are  closed      In this configuration  the E Stop and Fault inputs are combined  logic  O R   to drive status signal to pin 10  the PC s parallel port and to enable or disable the data bus and control output buffers     NOTE   W ith jumper JP6 set to the  normal  setting  pins 1 2   the E Stop signal must be    grounded  or driven low  in order for the data bus and control output buffers to be  enabled  and for the status signal to pin 10 of the PC parallel port to go low        W hen either  or both  the E Stop  active high  or Fault  active low  inputs are asserted  the following   actions take place    e Pin 100n the PC parallel port reads as a logic    1      e TheLED labeled  E Stop active     reference designator D S10  near J6  is  on     e  TheLED labeled    O utputs Enabled when lit   reference designator D S1  near the center of the  board  is  off    e Thecontrol outputs are tri stated with a weak  10K ohm  pull down   e The relay is de energized   e The data bus outputs may be tri stated with a 2 2K ohm pull up  depending on the setting of jumpers  JP2  see section 3 1 3  and JP5  see section 3 1 4     3 4 2 2  E Stop Input as General Purpose Input    W hen jumper JP6 set to  signal only  or  open   the E Stop input acts as a general purpose input that  drives pin 10 on the PC parallel port without affecting the data bus and control outputs on the 
29. ected to J11  the coax power input connector   J5  status  inputs  J8  control outputs  or the USB connector     NOTE   Dueto logic inside the PC  some control outputs are inverted  This means that that  writing a  1  to a bit in the control register may result in a logic  low  at the 25 pin   D  connector  Please refer to technical documentation on the PC parallel port or  your control software for more information        3 2 1 Control Outputs Enabled Jumper and LED    Jumper JP3 is labeled    O utputs Enabled  and is located just below and to the left of the serial number  block  It selects the source for the  OK  signal  which is used to enable and disable the control outputs    as well as a signal source the  OK  signal used by jumper JP2 to determine when the data bus outputs are  enabled     LED DS1  labeled    O utputs enabled when lit   indicates when the control outputs are enabled  The LED  is located just above the serial number block  The LED is  on   and the control outputs are enabled   under the following circumstances     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 12 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    e TheFault input is driven  or allowed to float  high  inactive   see section 3 4 1   e And optionally  if the E Stop input is driven low and jumper JP6 is configured in  normal  mode  see  section 3 4 2   If jumper JP6
30. ei nnen nen nananana mnnn 8  SM Data HERE ai Em 8  311 Data BUS  Signals sci  teet ee i ole e le dod erre en erdt 9  3 1 2 D ata Bus Commons iuis eoriec non tcr rbd a ha ferae debant ta or i 10  3 1 3 D ata Bus  Buffer Enable  iie o ten o te nO a 10  3 1 4 Data  Bus  Buffer D irection    e eee a e eats 11  32    Control O Utp  te eee ee viewed ee nee ode ane gat deed eras 11  3 2 1 Control Outputs Enabled Jumper and LED              sssssseeetenttn ttes 12  3 2 2 General Purpose O utputs and LED s    sse tentent tnnt ttti 13  3 2 3 Pinel PSO  UEDUES   m omis dat em ced a tenga Dodo fe Oh wea Boo b attain on pera doa d 13  324 Relay Control and LED  pin 1  wc  cssssssssssssssssessscsssssnsssnssssssessusssesssessuessusssussnsssussseesessnesseessess 14  3 3    Status INPUTS an in taedio ota t tela td ofa afl to nd cen 14  3 4 Fault arid E Stop Inputs    ere eterne enr papeterie 15  341 i e                         17  3 42 asc rd aaa aaa M 17  3 4 2 1   E Stop Input as    E Stop    Signal    reete bn tee ae ei iras 17  3 4 2 2  E Stop Input as General Purpose Input                sssseeeente tentent tnnt nnns 17  342 3   E StOD LED   D SIQ   esie tre ny whale avin cage ace epa tnt ch eps 18  35    Charge Pump   watchdog     teet eed teh ite noni eet ip aa 18  36 Power Supply Connections               ssssesseeee neenon tetti ttt tti ttt tenista 18  4 0 Summary of Connector Pinouts                      Leeeeeiesernee nen aa anna an a auram aa nunnunum a ama aua nnmnnn nanna 19  41
31. ge pump is  not OK    Depending on the configuration of jumpers JP3 and JP2  the charge pump may cause the PMD X  122 to  disable the output buffers when it is  not OK   Jumper JP3 determines whether the output from the  charge pump is used to enable and disable the control output buffers  see section 3 2 1   Jumper JP2  determines whether the step and direction outputs are ever disabled  see section 3 1 3   See also the  block diagrams in section 3 4     This charge pump circuit is designed to work with the Mach3 CNC software  However  any software  that can toggle pin 17 on the PC parallel port can make use of this feature  If your software does not  support this feature  configure the jumpers to disable the charge pump circuit     NOTE   The state of the charge pump signal is not reflected in the E Stop and Fault status that  is output on pin 10 to the PC parallel port  This is to prevent  lock up  ofthe    software  Mach3 CNC software requires that the Emergency Stop signal  pin 10  not  be asserted before it will start generating the  charge pump  signal        3 6 Power Supply Connections  The PMDX 122 may be powered from several different power sources     WARNING  Only one of these power sources can be used at a time  Connecting a  power source to more than one of these power inputs may damage the  PM DX 122     Unregulated 9 VAC or  7 to  12 VDC J11  a 2 1mm coaxial jack  see section 4 7   AC or DC    or     J8 screw terminal connector pins 5 and 6   see section 4 5 
32. hat its default state is    no fault     The E Stop and Fault inputs combine  to drive pin 10 into the PC parallel port and to optionally disable buffers on the  PMDX 122     The E Stop input is a general purpose input and directly drives pin 10 on the PC  parallel port without affecting the data bus and control outputs on the   2to3   signal only   PMDX 122 board  The Fault input has a 10K pull down resistor and a 100K pull   up resistor so that its default state is  fault   This jumper setting is used for  daisy chaining two PMD X  122 boards  see 7 2     The E Stop input is a general purpose input and directly drives pin 10 into the PC  Open parallel port without affecting the data bus and control outputs on the   PMD X 122 board  The Fault input has a 100K pull up resistor so that its default   state is  no fault     i e  the Fault input can be left unconnected if not used      Table26  E Stop Mode Jumper Settings  JP6        PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 26 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    6 0 Summary of LEDs    The PMDX 122 provides LEDs to show the state of the data  status and control signals  These LEDs are  described in the following table     Ecc  Designator   LED Name   pin 2  to  pin 9  8 each LEDs  one for each data bus signal  Each LED is  on    data bus LED s  when the corresponding data signal is low 
33. hd  PC parallel port  Ack  pin 10  signal             AND OK     to control buffer enable and      OE  Ch 5 JP3 data bus enable jumper JP3   arge  Pin 17 2   343 9     from PC parallel port  Pump                      Figure 8   Fault  E Stop and Charge Pump when JP6 set to  pins 2 3     DS10  Ma  EStop Active        Fault     pin 10 E Stop EStop  GND  to status input circuit and then to the  PC parallel port  Ack  pin 10  signal                Charge 2  to control buffer enable and    Pin 17  gt     data bus enable jumper JP3      from PC parallel port     Pump                Figure 9   Fault  E Stop and Charge Pump when JP6 set to    open       PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 16 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    3 4 1 Fault Input    The Fault input provides an interface for external fault detection circuits  such as the fault signals from the  PMD X 150 stepper motor drivers  This signal is  active low   meaning that a logic  low  indicates a fault  condition  and a logic high means  all is OK   Figure 7  Figure 8 and Figure 9 on page 16 shows block  diagrams of the Fault input circuitry for the various configurations of jumper JP6     The Fault input can be connected to an external  wired or  configuration of open collector status signals  or mechanical switches to ground  switch closed means  fault    All of the exter
34. intrusion by operator s hands and foreign objects  especially conductive byproducts of machining  operations  should be utilized with this board  Interlock switches on power circuits should remove  power when the enclosure is opened     Automated machine tools  into which the PMD X 122 may be integrated  can cause injury  Precautions  should be taken to assure that operators are trained in their proper operation and safety procedures  and  that they are protected from moving parts that may be under remote control and may move  unexpectedly     This product may not be used in life support or other critical safety applications     1 2 Warranty Summary    The PMD X  122 is warranted against failure due to defective parts or workmanship for 90 days from the  date of sale  Refer to Appendix A for complete warranty details     If you have an item requiring service  please see the support page on the PMDX web site   http   www pmdx com  for return instructions     The purchaser must pay shipping to return the unit to PMD X  W e will ship the repaired unit back to you  via ground transportation at our expense  Repairs are normally completed within 10 business days  See  Appendix A for our complete warranty details     1 3 Trademarks    The following product names used in this manual are the trademark  tradename or registered mark of the  respective companies              Product Names Company   G201  G201X   G202  G203V  G210  G eckodrive  Inc   http   ww w geckodrive com    G 212  G
35. iver opto    General Purpose O utputs  couplers or a ground reference for logic   e 3 each general purpose digital outputs inputs   e Outputs are buffered Sp  cial Featir  s     e Wire clamp screw terminals for all  connections to data bus signals  relay and  control outputs  and status inputs    e Auxiliary  5 volt supply output    e LED indicator for each output    1 5 Differences Between the PMDX 122 and the PMDX 121    The PMDX  122 is a replacement  and upgrade  to the PMDX 121 board  For directions on configuring  the PMDX 122 to function like a PMD X  121  see section 7 1  The differences between the PMDX 121  and PMDX 122 are     e ThePMDX 122 supports bi directional data on J1  J2  J3 and J4  the PC parallel port s data bus   The  PMDX 121 only supported  output from the PC      e ThePMDX 122 s data outputs  on J1  J2  J3 and J4  always have pull up resistors  The PMDX 121 s  data outputs could have pull up or pull down resistors depending on the how JP1 was configured       The PMDX 122 supports using the E Stop input as a general purpose input without affecting the data  and control outputs  see section 3 4 2 2   On the PMDX 121  the E Stop input always affected the  data and control outputs       The PMDX 122 supports daisy chaining from another PMDX 122 or a PMDX 121  with the  charge  pump  on the first board able to disable the data and control outputs on the daisy chained  PMD X 122 board  see section 7 2 for an example   The PDMX 121 did not support this feat
36. k on the bottom ofthe circuit board      Connector  J1  J2  J3 J4   Data Bus Signals  can be step and direction   J5  J6  J7  J8  J9    J10 25 pin    D    connector for PC Parallel Port  J11 DC Power via a 2 1mm coax connector    USB Connector  used for power only   Table 9   Summary of PMDX 122 Connectors       4 1 Data Bus Connectors  J1  J2  J3  and J4     The data bus connectors are labeled to denote which pin on the PC s parallel port that is associated with  each connector pin   Pin 2  is data bus bit  DO   the least significant bit  and  Pin 9  is data bus bit  D 7    the most significant bit        Pin Number   Label  Description              1 Pin2 Buffered signal from pin 2 of the PC parallel port s 25 pin  D  connector   parallel port signal name  D 0    Buffered signal from pin 3 of the PC parallel port s 25 pin  D  connector  2 Pin 3   upy 1    parallel port signal name  D 1    3 COM Common voltage reference  same for all four connectors  see section  3 12 for reference source     Table 10   Data Bus Connector Pin Out  J1          Pin Number   Label  Description      amp             Buffered signal from pin 4 of the PC parallel port s 25 pin  D  connector  1 Pin 4 upon   parallel port signal name  D 2      Buffered signal from pin 5 of the PC parallel port s 25 pin  D  connector   parallel port signal name  D 3     Common voltage reference  same for all four connectors  see section  3 1 2 for reference source     Table 11   Data Bus Connector Pin Out  J2        P
37. l port contains an 8 bit data bus  O n older PCs  this data bus was  output only   On  newer PCs  the data bus is bi directional and can switch from  output  to  input  under software control   The PMD X  122 buffers the data bus signals between the PC and the PMD X  122 s connectors J1 through  J4  The PMD X 122 supports the bi directional data bus  where the PMD X  122 s data direction is jumper  selectable to  output only    input only  or  controlled by pin17   See section 4 1 for more information  on the data bus connectors     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 8 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    PC Connector JP1 To  pin 9 Equipment       in 8 COM  i pns   J4  pin 8  f    2 2K  X OM   ED  pins 7A ont LIO gg    in 6      D    pin 7             pin 4  pin 3 COM   pin 5 J2  pin 2 LD             45V COM   2 2  Out  pin 3  1 2    Out 1JP5 Sina   Open     In  2    2 3    Auto     O  3 Always On  pin 17 10 1 JP2  2     Slct In     O  High   Output  from PC     Low   Input  to PC  OK      13   from EStop Fault Charge Pump     Direction                Figure 4   Block diagram of Data Bus Circuitry    3 1 1 Data Bus Signals    Connectors J1 through J4 contain buffered versions of the PC parallel port    data bus  signals  These  connectors are labeled to denote which pin on the PC s parallel port 25 pin  D  connector is associa
38. nal fault signals should be  tied together and connected to the PMD X 122 s Fault input  Depending on the configuration of jumper  JP6  the Fault input has either a 100K ohm pull up resistor or a 10K ohm pull down resistor  See Table 7  on page 15     W hen jumper JP6 is set to the  normal  setting  the E Stop and Fault inputs are combined  logic  O R   to  drive pin 10 to the PC s parallel port  Refer to section 3 4 2 1  E Stop Input as  E Stop  Signal  for a list of  actions that take place when the Fault input is driven low     3 4 2 E Stop Input    The E Stop input has different functionality depending on the setting of jumper JP6  as described in the  following sections  Figure 7  Figure 8 and Figure 9 on page 16 shows block diagrams of the E Stop input  circuitry for the various configurations of jumper JP6     3 4 2 1  E Stop Input as    E Stop    Signal    W hen jumper JP6 set to the  normal  setting  the E Stop input provides an interface for external   emergency stop  circuits  see Figure 7   This signal is  active high   meaning that a logic  high  tells the  System to stop  and alogic low means  all is OK      The E Stop input is designed to be connected to an external  normally closed    switch  or group of  switches all wired in series   The external switch es  should be wired between the E Stop pin and ground   such that the switch contacts open to signal an emergency stop condition  The PMDX 122 provides a  2 2K ohm pull up resistor on the E Stop input  This m
39. nd  ground  Optical interrupter switches require a current limit resistor for the emitter LED  Note that the  examples below show the signals connected to  pin 11   The input signals may be connected to any of  the signal pins on J5  The input signals may also be connected to the  E Stop  input on J6 when the   E Stop  input is configured as a general purpose input  see section 3 4 2 2      Normally Closed Switches       PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 7 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    The left hand drawing in Figure 3 shows an example of  normally closed  mechanical switches  The  switches are wired in series so that the  normal  case is ground  logic low  going into pin 11 of the PC s  parallel port  W hen one or more of the switches open  the pull up resistor on the PMD X 122 provides a  logic high into pin 11 on the PC s parallel port  Any number of  normally closed  switches may be  connected in series to a single input terminal on the PMD X  122     Three  normally closed  Three  normally open     switches in series  switches in parallel  Opicakiniemupter       Fairchild H21A1  or equivalent    Figure 3   Example Switch and Optical Interruptor Configurations    Normally O pen Switches   The center drawing in Figure 3 shows an example of    normally open    mechanical switches  The switches  are wired in parallel 
40. not apply to the software  component of a product or to a product which has been damaged due to accident  misuse   abuse  improper installation  usage not in accordance with product specifications and  instructions  natural or personal disaster or unauthorized alterations  repairs or  modifications     Limitations    All warranties for this product  expressed or implied  are limited to 90 days from the date of  purchase and no warranties  expressed or implied  will apply after that period     All warranties for this product  expressed or implied  shall extend only to the original  purchaser     The liability of Practical Micro Design  Inc  in respect of any defective product will be limited  to the repair or replacement of such product  Practical Micro D esign  Inc  may use new or  equivalent to new replacement parts     Practical Micro D esign  Inc  makes no other representations or warranties as to fitness for  purpose  merchantability or otherwise in respect of the product  No other representations   warranties or conditions  shall be implied by statute or otherwise     In no event shall Practical Micro Design  Inc  be responsible or liable for any damages arising   a  from the use of the product    b  from the loss of use of the product    c  from the loss of revenue or profit resulting from the use of the product  or   d  as a result of any event  circumstance  action or abuse beyond the control of Practical  Micro Design  Inc   whether such damages be direct  indirect  
41. ntrol output buffer is disabled  N ote that this is a fairly weak pull down  and can be overridden  externally with a stronger pull up resistor if required     3 2 3 Pin 17 Output    In addition to being available as a general purpose output  the  pin 17  signal serves several additional  and  optional  functions     e Drives the charge pump circuit  see section 3 5   W hile pin 17 always drives the charge pump  the  output of the charge pump may be ignored  depending on the setting of jumper JP3  see section 3 2 1     e Optionally  determines the direction of the data bus  depends on jumper JP5  see section 3 1 4     e Optionally acts as a daisy chain output of the fault E Stop charge pump status  depending on the  configuration of jumper JP4  see the table below      Jumper JP4 is labeled    pin 17 out    and selects the source for the    pin 17    signal on connector J8     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 13 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above     Setting  Label  Description                        Pin 17 from the PC parallel port drives the  pin 17  control output on J8 as well  lto2 normal   as the charge pump circuitry and possibly the data bus direction control   depending on the setting of jumper JP5  see section 3 1 4         Pin 17 from the PC parallel port drives only the charge pump circuitry  and  possibly the dat
42. o J8 pin 5   Aux  Power In   J5 pin 1  status inputs     5V     or J8 pin 1  control outputs     45V    See sections 3 2 and 3 6 for more information  Also  the USB  connector should not be connected       Pin  Description            Positive voltage  or AC voltage     Table 19   Power Supply Connector Pin Out  J11        4 8 USB Connector  J12     The USB connector can be used as an alternate power source for the PMDX 122  The PMDX 122 draws  a maximum of 200 mA from this connector  See section 9 0  Electrical and Environmental Specifications  for  information regarding U SB hub requirements  When using the USB asa power source  do not  connect any power source to J11 or to J8 pin 5  The PMD X 122 has series diode protection on the  USB power supply lines  so no damage to the USB host or the PMDX 122 should occur if another power  source is connected along with the USB  It is better to avoid this situation in the first place  however     NOTE   The PMDX 122 is not a USB device  It does not send or receive data or control  information to the PC  There are no device drivers that need to be installed on the  PC  The PMDX 122 uses the USB connector solely as an alternate power source     WARNING  Connect the PM DX 122 to self powered USB hubs or directly to the PC s  USB connectors  Do not attempt to power a PMDX 122 from a  bus   powered  USB hub as they may not provide sufficient power  Self powered  hubs us an external power supply  typically a  wall wart  style  Bus   powere
43. rallel port or  your control software for more information  Mach3 and other CN C programs  automatically compensate for this        3 3 Status Inputs    Four of the status signals are available as general purpose inputs  pins 11  12  13 and 15  The fifth status  input on the PC parallel port  pin 10  is connected to the Fault and E Stop circuitry  See sections 3 4 2  E   Stop Input and 3 4 1  Fault Input  for more information on this signal  Figure 6 on page 15 shows a block  diagram of the status input circuitry     The  Status Input  LEDs are located next to connector J5  just above each of the pin number labels    pin 11    pin 12    pin 13  and  pin 15    Each LED is  on  when the corresponding input signal is  driven low     Each status input has a 10K ohm pull up resistor and an RC low pass filter  to remove high frequency  noise from the inputs   The pull up resistor provides a logic high input level whenever the input terminal  is not driven by an external source  The inputs may be driven by open collector drivers or mechanical  switches to ground  or to be left unconnected when not used  Note that this is a fairly weak pull up  and  can be overridden externally with a stronger pull down resistor if required     NOTE   Dueto logic inside the PC  some status inputs are inverted  This means that a logic   high  output from the PMD X 122 to the PC s parallel port is read as a  0  in the  status register  Please refer to technical documentation on the PC parallel port or 
44. rence on their    common    terminal  Verify they style of opto couplers on your stepper drivers  before connecting them to the PM DX 122     This configuration takes advantage of Mach3   s  charge pump  facility so that the PMD X  122 disables all of  its outputs if the PC stops  behaving properly   i e  servicing the charge pump   Mach3 must be set to  provide the step and direction signals to the data port pins that match your wiring configuration  W e  recommend the connections as shown in Figure 2  and listed in Table 1  on page 5   Mach3 must also be  set to run the charge pump signal on pin 17  If you do not wish to use the charge pump feature  change  jumper JP3 to the  not EStop Fault  position     The significant jumpers for this configuration are JP1  JP2  JP3 and JP5  The other jumpers  JP4 and JP6   may be changed to suit your application     As configured in Figure 2  the Fault input defaults to  no fault  and may be left unconnected if not used   To activate the Fault input  connect it to ground  W hen using PMD X 150 stepper drivers  connect their   Fault  outputs together and connect that to the PMD X 122 s Fault input as shown  This allows the fault    PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 6 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    output of any PMDX 150 to disable the other PMD X  150 drivers  disable the PMD X 122
45. s only the charge pump circuitry  The  pin  17  control output on J8 is driven  high  or floats low based on the state of the   2t03 OK E Stop and Fault inputs  the  charge pump  circuit and jumpers JP3 and JP6  See  sections 3 4 2  3 4 1 and 3 5 for more information  This setting allows the charge  pump circuit to disable external drivers via opto isolated relays  or can be used  to daisy chain two PMDX 122 boards  see section 7 2      Table 24      Pin 17 Output Source  Jumper Settings  JP4     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 25 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above      Setting   Label  Description                          1to 2 jut The data buffers are configured as    output    buffers  from the PC out through the  PMD X 122      The data buffer direction is dynamically controlled by the pin 17 from the PC s  2 to 3 parallel port  See section 3 1 4  Data Bus Buffer Direction  for more information     See the note and warning in section 3 1 4   O pen   jumper The data buffers are configured as  input  buffers  through the PMDX 122 into  not the PC   See the note and warning in section 3 1 4   installed        Table 25   Data Bus Direction Jumper Settings  JP5       Setting   Label  Description                          The E Stop input is an emergency stop signal  The Fault input has a 100K pull up   1to2 jorma resistor so t
46. see section 3 4     NOTE   This configuration is not a perfect emulation of the PMDX 121  Refer to section 1 5   Differences Between the PM DX 122 and the PM DX 121  specifically for the difference in    data bus output pull up pull down resistors        7 2   Example Daisy Chain PMDX 122 with Encoder Inputs    Figure 11 on page 29 shows two PMD X 122 boards daisy chained to each other  using two parallel ports  on the PC  Note that  daisy chaining  refers only to the charge pump  E Stop and Fault functions  This  configuration allows both boards to respond in the same manner to and any fault condition  You must  connect the second board to a second parallel port on your PC in order to use the data bus  control  outputs and status inputs     The first board acts as the  master  and implements the E Stop  Fault and  charge pump  functions and  connects to the stepper driver modules  The second board is the  slave   and configures the data bus for   input to the PC  for use with optical encoder inputs  for example   The Fault input on the second board  is connected to the  Pin 17  output on the first board so that both boards disable their outputs on any  fault or E Stop condition or charge pump failure     NOTE   When powering the second PMD X  122 from the first  as shown in Figure 11   board   1 must be powered via J11 or the    PWR Alt  In  terminal on J8  Power from a USB  hub cannot be daisy chained to the second board     WARNING  Configuring the data bus on board  2 as 
47. so that its default state is  fault   This jumper setting can be used for  daisy chaining two PMD X  122 boards  see section 7 2     1to 2     Figure 7  normal    2 to 3   Figure 8     The E Stop input is a general purpose input and directly drives pin 10 into the PC  Open parallel port without affecting the data bus and control outputs on the   Figure 9  PMD X 122 board  The Fault input has a 100K pull up resistor so that its default  state is  no fault     i e  the Fault input can be left unconnected if not used         Table 7   E Stop Mode Jumper Settings  JP6     NOTE   When jumper JP6 is set to the    normal    setting  the Fault input must be allowed to  float high  or be driven high  in order for the output buffers to be enabled and for the       status signal to pin 10 of the PC parallel port to go low     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 15 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    35V    2 2K    DS10  Ma  EStop Active     Fault   pin 10 E Stop     gt  EStop   to status input circuit and then to    GND the PC parallel port  Ack  pin 10   signal                    AND       O   to control Cher enable       Oo     Charge and data bus enable jumper  Pump JP3     Pin 17  gt       from PC parallel port              2 2K    DS10  Ma  EStop Active        Fault     pin 10 E Stop EStop  GND  to status input circuit and then to t
48. so that the  normal  case is  5V  logic high  going into pin 11 of the PC s parallel  port  due to the pull up resistor on the PMDX 122   W hen one or more ofthe switches close  a logic  low appears on pin 11 on the PC s parallel port  Any number of  normally open  switches may be  paralleled onto a single input terminal on the PMD X 122        Optical Interrupter   The right hand drawing in Figure 3 shows an example of an optical interrupter  This example uses the      5V  from the PMDX 122 to power the emitter LED  Choose a resistor value to provide the desired  LED current  refer to the data sheet for the optical interrupter   The output transistor is connected as  an  open collector  output between the PMD X  122 input pin and ground  W hen light from the LED  strikes the sensor transistor  the transistor conducts giving a logic low on pin 11 of the PC s parallel port   Then the LED is  interrupted   the transistor stops conducting and the PMD X  122 s pull up resistor gives  alogic high on pin 11        Proximity Sensors   The PMDX  122 will operate with N PN  style proximity sensors but will not work with PNP style  sensors Connect the N PN  style sensors as shown for the optical interrupter example above except  that you may need to power the sensor from an external power source it they require more the  5V  power or   they require more then a few 10 s of milli   mps worth of current        3 0 Functional Description and Block Diagrams    3 1 Data Bus    The PC paralle
49. sor power   ee RI OR regulated  5V DC input  see section 3 6      4   Pin 13___  Status input  buffered  to PC parallel portpin13          Status input  buffered  to PC parallel port pin 15    6       GND X jGroundconnection     O    Table 14   Status Input Connector Pin Out  J5           NOTE   Dueto logic inside the PC  some status inputs are inverted  This means that a logic   high  output from the PMD X 122 to the PC s parallel port is read as a  0  in the    status register  Please refer to technical documentation on the PC parallel port or  your control software for more information     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 20 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    4 3 Fault and E Stop Connector  J6     J6 provides the Fault and E Stop input signals to the PMD X 122  Refer to sections 3 4 2  E Stop Input and  3 4 1  Fault Input  for more information on using these signals       Pin Number   Label  Description                Fault input  the         means active low  i e   ground  to signal a fault     2 E Stop   Emergency Stop input  active high  i e     open    to signal E Stop   You must  provide a ground via the E Stop switch chain or a direct jumper in order to  prevent an  E Stop  condition  which may disable the data bus and control  outputs on the PMD X 122 board     Table 15   E Stop and Fault Connector Pin O ut  J6  
50. ted  5V DC     5  input  200 mA  input via J5 or J8  see section 3 6     USB Power   5V DC  200 mA  optional power source as alternate to the main power     Note 1  According to the USB specification  a USB hub supplies only 100mA to an un   initialized device  which is how the PMD X 122 appears to the hub    However  most self powered USB hubs  including those built into PCs   provide sufficient current to power the PMD X  122     Note 2  Self powered USB hubs use some sort of external power supply  such as a   wall wart  supply  whereas bus powered hubs do not  Only connect the  PMDX 122 to self powered USB hubs or directly to a PC s USB port  Do not  attempt to power the PM DX 122 from a bus powered USB hub  Do not  daisy chain PM DX 122 boards when powered from a USB port     Status Inputs  Min  input  high   2 0V  referenced to the  Gnd  terminal   Max  input  low   0 8V  referenced to the  Gnd  terminal    Data O utputs  Min  output  high   3 8V sourcing up to 16mA per output  see note 2   Max  output  low   0 8V sinking up to 16mA per output  see note 2   Max  data rate  1 0 MHz    Note 2  The output current specification is valid only when the outputs are enabled   Voltages are referenced to the  CO M  term when JP1 is set to  GN D  and  JP5 is set for  output   The output  high  voltage may be lower if the outputs  are disabled and the PMD X  122 s pull up resistor is providing the output  voltage  W hen the outputs are disabled  the actual output voltage depends on 
51. ted  with each terminal   Pin 2    is data bus bit  DO   the least significant bit  and  Pin 9  is data bus bit  D 7    the most significant bit      The data bus signals are normally used for step and direction outputs  However  they can also be used as  general purpose output or input signals  The data bus signals must be either all outputs  or all inputs  It is  not possible to have some as outputs and some as inputs     Each data bus signal has a pull up resistor and an LED that is  on  when the signal is driven low  The  signals can be driven low by the PC when the data bus is in  output  mode  or by the external equipment  when the data bus is in  input  mode  see section 3 1 4      The pull up resistors serve several purposes     1  When the data bus direction is set to    output     i e  from the PC   and the buffer has been  disabled via the E Stop input  Fault input or a  charge pump  failure  the pull up resistors provide  a default logic  high  voltage level at the connectors  see note below regarding the actual voltage  present when then outputs are disabled      2  When the data bus direction is set to  input   i e  to the PC   the data inputs to the PMDX 122  can be driven by mechanical switches to ground or by encoders or other devices with open   collector outputs     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 9 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Seri
52. tion  If you are using pin 17  for direction control  make sure to disable the charge pump function  see section  3 2 1   See the note and warning below     O pen   jumper The data buffers are configured as  input  buffers  through the PMD X  122 into    not the PC   See the note and warning below   installed        Table 4   Data Bus Direction Jumper Settings  JP5            WARNING        When jumper JP5 is configured so that the data bus direction is either   input  or  pin 17  controlled  jumper JP2 should be set to  always  enabled   There are no pull up or pull down resistors on the PC side of the  data bus buffers  If the data buffers are configured as  input to PC  and    then disabled  the PC s parallel port will have floating inputs which could  result in erratic readings     NOTE   n order to use the data lines as inputs to a PC  the PC s BIO S must be set so that the  parallel port is configured as either  bi directional    EPP  or  ECP   Please consult       your PC s documentation for instructions on how to change your BIO S settings     3 2 Control Outputs    The PMDX  122 supports three general purpose control outputs  as shown in Table 17 on page 21  The  fourth PC parallel port control signal  pin 1  is dedicated to the PMD X  122 s on board relay  see section  3 2 4   Figure 5 shows a block diagram of the control outputs     PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 11 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s
53. ure     1 6 Updates to this Manual    Check the PMDX web site for revisions or updates to this manual  http   www pmdx com   The latest  revision of this manual is available on the PMD X  122 page  follow the links from the main page      PMDX 122 Manual 112 doc   2005 2013  Practical Micro Design  Inc  Page 4 of 32  20 March 2013 All Rights Reserved    PMDX  122 User s Manual PCB Revision  PC B 450D  Document Revision  1 12 Serial N umbers  30100 and above    2 0 Quick Setup Guide    See section 3 6 for information on power sources and power connections for the PMDX 122     2 1 Example with Mach3  Charge Pump and Gecko Drivers    Figure 1 on page 6 shows a standard configuration using Mach3 software on the PC driving the  PMDX 122  The PMDX 122 is in turn connected to opto isolated stepper drivers  such as the  Geckodrive units  that require a voltage source on their  common  terminal  see note below   Not all  opto isolated stepper drivers require a voltage source on their  common  terminal  Verify they  style of opto couplers on your stepper drivers before connecting them to the PM DX 122  The  PMD X 150  for example  requires a ground on the    common    terminal  see section 2 2      NOTE   Some older Geckodrive models require the use of  5V on their  common  terminal   G 201  G202 and G 320  for example   while other models provide a jumper to select  either  5V or ground as the  common  reference  G210  G212  G 340  for example      Newer models  G201X and G320X  can a
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Harbor Freight Tools 44506 User's Manual  LG NE-1027 User's Manual  Cart User`s Manual 1 Brochure  DiaSorin Ireland Ltd. Unit 13/14 Holly Avenue, Stillorgan Industrial  Title: SMOS L2 OS Prototype Processor Software User Manual Doc  Notice - Castorama  Hama Regular R-98  - Frank`s Hospital Workshop    Copyright © All rights reserved. 
   Failed to retrieve file