Home
        MELSEC-L High-Speed Counter Module User`s Manual
         Contents
1.                             b  User devices       Device Description       D20 to D35 Interrupt enable flag storage for IMASK instruction          106    CHAPTER 10 PROGRAMMING     3  Program example    Before using an interrupt pointer  enable an interrupt with the IMASK instruction       Enabling interrupt of 1507           DI    SM402       MOV H4 D23        IMASK D20              El       Program for high speed counter module              FEND        lt Interrupt program      150       Interrupt program                 IRET        END                Point          When the program above is executed  the 150 interrupt program is enabled  and all other interrupt programs are disabled   To execute any interrupt program other than the 150 interrupt program  set the bit that corresponds to the target interrupt  pointer to  1  enabled       For details on the IMASK instruction  refer to the following     J  MELSEC Q L Programming Manual  Common Instruction        uonoun  1dnujeju  uonoejeq eouepiouio2 eui YM ejduiex3 urejBoug FOL       107    CHAPTER 11 TROUBLESHOOTING    This chapter describes errors that may occur while using the high speed counter module  and those troubleshooting     Point           The high speed counter module does not support the following functions performed in the system monitor     Display of the  H W Information  window    Display of errors and the corresponding actions in the  Module s Detailed Information  window    Module error collection function
2.                       Count down pulse input  Encoder  B                          c  2 phase pulse input  The count method can be selected from 1 multiple  2 multiples  and 4 multiples   The phase difference between the A phase pulse and B phase pulse determines whether the pulses are  counted up or down   The following figure shows the relationship between A phase pulse input and B phase pulse input        High speed counter module       sepow ndui esjnd jo sed    p yg    spo Bununo  pue sepoyy 1ndu  easing 4 8       Phase A pulse input       oA    Encoder    Phase B pulse input       eB                         61    8 1 2    Set a counting method by switch setting   For details on the setting method  refer to the following       Switch Setting  7 s Page 54  Section 7 2     8 1 3    Setting a counting method    Reading the present value    This section describes the details on the present value stored in the buffer memory and the count values selected from  the counter function selection  and their reading method      1  Storage location of the count value    The present value is always stored in CHO Present value  Un G2  Un G3  Un G34  Un G35  regardless of the  counter function used    When the latch counter  sampling counter  or periodic pulse counter function is performed  the count value is  stored in the corresponding buffer memory areas listed in the table below                 Counter function selection count value  TE p Periodic pulse   Periodic pulse  Description P
3.                 Terminal input voltage Operating  0 4 current  EY Internal circuit number Signal name Operation    guaranteed  classification  guaranteed  CH1   CH2 value  value     A20   A14   Phase A pulse input EIA Standard RS 422 A Line receiver     AM26C32  manufactured by Texas  Digital L Instruments Incorporated  or equivalent   j B20   B14   Phase A pulse input    The line receiver specifications are as follows     VIT   Differential input on voltage      H level threshold volt 0 2V  s   A MOW ATKO A19   A13   Phase B pulse input   ate idi i dis age   NA   VIT   Differential input off voltage  i laesi a  L level threshold voltage    0 2V  isolator 1 2W 2  i f B19 B13     Vhys hysteresis voltage  VIT    VIT    60mV  Line K47kK0    V receiver Um on jo B19 BIS  Phase B pulse input  Current type line driver cannot be used    i 140W  On 21 6 to 26 4V   2 to 5mA  A18   A12   Preset input 24V  off 5V or less 0 1mA or less  A18 A12  On 10 8 to 13 2V   2 to 5mA  Input 1kQ B18   B12   Preset input 12V  1 10W Off 4V or less 0 1mA or less  B18 B12    On 2 5 to 5 5V 2 to 5mA    rY   A17   A11   Preset input 5V  E A17 A11 Off 1V or less 0 1mA or less  Response   Offto on On to off  817 811   B17   B11   PRSTCOM    time 0 5ms or less 1ms or less  On 21 6 to 26 4AV   2 to 5mA  A16   A10   Function start input 24V  10K Off 5V or less 0 1mA or less  A16 A10  On 10 8 to 13 2V   2 to 5mA  1kQ B16  B10   Function start input 12V  1 10W Off 4V or less 0 1mA or less  B16 B10  On 2 5 to 5 5V
4.                Counter function  Counter function selection    Set the special counter function     D Count Disabling Function 0 Count Disabling Function       Sampling periodic time setting D x10ms 0 xi  ms    This area is used to set the values that are preset in the counter    2147483648 to 2147483647                            Item Description Setting value  Preset value Enter a preset value  2500  Coincidence output point u     No 1 Enter a value for the coincidence output point No 1  1000  Coincidence output point  pus TERM Not used x  No 2  Ring counter upper limit 5000  Enter these values when using the ring counter function   Ring counter lower limit  5000       Counter function selection    Select the counter function to be used   Select any function when a counter function is not used     Depends on the function  used        Sampling periodic time  setting   unit  10ms     Enter a value when using the sampling counter function     1000          Enter a value when using the periodic pulse counter function        500       102    CHAPTER 10 PROGRAMMING    6  Open the  Auto Refresh  window for the high speed counter module and set parameters as  shown below     X Project window     Intelligent Function Module       LD62    gt    Auto Refresh            0000 LD62   Auto  Refresh    Display Filter  Display All  j    Item  Transfer to CPU                   Present value    Latch count value  Sampling count value  Periodic pulse count  previous    value    wW1000  wW1002 
5.           CHAPTER 8 FUNCTIONS    8 5 Counter Function Selection    The count disable function  the latch counter function  the sampling counter function  or the periodic pulse counter  function can be used by selecting each item in  Counter function selection   The selected counter function is performed  by the counter function selection start command  A voltage is applied to the function start input terminal or CHO  Counter function selection start command  Y6  YE  is turned on by a program     The counter function selection permits using only one function of the four counter functions      1  Setting method    Select a counter function in  Counter function selection      X   Project window     Intelligent Function Module     Model name      Parameter      zi Counter function Set the special counter function   Counter function selection 0 Count Disabling Function z   0 Count Disabling Function    Sampling periodic time setting 0 Count Disabling Function  1 Latch Counter Function    2 Sampling Counter Function  3 Periodic Pulse Counter Function                   Item Description Reference  Count Disabling Function Stops counting while CHO Count enable command  Y4  YC  is on  Page 78  Section 8 6  Latch Counter Function Latches the present counter value when a signal is input  Page 79  Section 8 7  Sampling Counter Function Counts pulses input during the specified sampling period  T   Page 80  Section 8 8       Stores the present and previous counter values to CHO Periodic  pu
6.          Coincidence output       Flash ROM setting    Current value  display       Make text file                Stop monitor    Details  Monitoring    Cannot execute test          APPENDICES    125          uoneJedo 19 10 e1n juon X9 Z S xipueddy    L9 JoyeunByuoD X9 pue 1edojeA eg x9 Bulsp ueuM g xipueddy    Appendix 6 External Dimensions    The following figures show the external dimensions of the high speed counter module      1  LD62  LD62D    LD62 CH1 oA CH2        6B          DEC       FUNC    45       DIN rail center     45                           Unit  mm     126    APPENDICES       Memo    Appendix 6 External Dimensions       127    INDEX       0to9  1 phase multiple of 1                   005  59  1 phase multiple of 2                  005  59  2 phase multiple of 1                 0 0005 59  2 phase multiple of 2                000005 60  2 phase multiple of 4                 000005 60  A  Adding a module              020000000 00 53  Auto refresh            lees 57  C  CH1  CH2 Coincidence output point No 1   Un G4  Un G5  Un G36  Un G37              116  CH1  CH2 Coincidence output point No 2   Un G6  Un G7  Un G38  Un G39              116  CH1  CH2 Coincidence signal enable command   Y2 YA  usd Ba eG esc cen e des 114  CH1  CH2 Coincidence signal No 1 reset command   Y0  Y8    s cues dui eme ste ea Eee 114  CH1  CH2 Coincidence signal No 2 reset command   YT YE  os ncc es tts ce RU au RARUS e nU 115  CH1  CH2 Count enable command  Y4  YC       114  CH1  CH2 
7.        1 1 1 Error Information     1  Checking errors in the system monitor    mS  Diagnostics    gt   System Monitor                 Monitor Status          Main Block      Main block       An icon showing a moderate error is  displayed if an overflow error is detected                 Operation to Selected Module    Main block Slot cpu f   26CPU ST       Block Information List                      Block      Sot    ter YO Network No  Number Of  begins  Es Type Point Address Station No  Module Occupied    Power Series  Supply Modules Occupations    Block Module  Block               16Point_ Intell    16Point   0030    L6EC        END Cover                          lO Error    Major Error  A Minor Error   Assignment Error    ect  Stop Monitor Print       Product Information List System Error History Close                           2  Error information that the high speed counter module detects       Description and cause Where to check the error information Action       Module status display in the system monitor window    No display  No overflow detected  no error     Module error  Overflow detected       Overflow error    Overflow detection flag    The following value is stored in CHO Overflow  detection  Un G8  Un G40      0  No overflow detected      In linear counter  an up pulse has  been counted from the present  value 2147483647      In linear counter  a down pulse has    been counted from the present  value  2147483648  Module error status bit of the module informatio
8.        93    94     7  Program example when intelligent function module parameters are not used      Initial setting    X30 Y34 M10                                                                                                                      i A t  DMOV K2500 G0  U3  pp           HipMOV K1000 G4  Mig c MEC DIS Oe ee al UA        i DMOV K 5000 G20  1 UA  1 DMOV K5000 G22   SET M10    Start of counting    X30 X40 X  LSET Y34   lt Stop of counting gt   X30 X44 M  LRST Y34   lt Storing the present value gt   X30 X41 U3    DMOV G2 DO    Setting for external output of the counter value coincidence signal gt   X30 X42   DELTAP DY30  Y32    Processing for counter value coincidence    X30 Y32 X32 Y30  VI AF Y50  X32 X45 B    SET Y30  X32 Y30      RST Y30    Preset execution  by program     X30 X43 E       DELTAP DY31  H B  Overflowdelection     o A i oe  X30 U3        MOV G8 D10    D10 K1   Y51        4 Set these values when using the ring counter    2 Set this value when using the linear counter                CH1 Preset value is set     CH1 Coincidence output point No 1 is  set to 1000     J Initial setting completion flag is set       The present value is stored in DO and D1       CH1 Coincidence signal No 1 reset    command  Y30  is set or reset     The LED indicating a match is turned on      CH1 Coincidence signal No 1 reset    command  Y30  is set       CH1 Coincidence signal No 1 reset    command  Y30  is reset       CH1 Preset command  Y31  is set or    reset     J  Ov
9.      1  Mitsubishi shall accept onerous product repairs for seven  7  years after production of the product is discontinued   Discontinuation of production shall be notified with Mitsubishi Technical Bulletins  etc    2  Product supply  including repair parts  is not available after production is discontinued       Overseas service    Overseas  repairs shall be accepted by Mitsubishi s local overseas FA Center  Note that the repair conditions at each FA  Center may differ       Exclusion of loss in opportunity and secondary loss from warranty liability    Regardless of the gratis warranty term  Mitsubishi shall not be liable for compensation of damages caused by any cause  found not to be the responsibility of Mitsubishi  loss in opportunity  lost profits incurred to the user by Failures of  Mitsubishi products  special damages and secondary damages whether foreseeable or not  compensation for accidents   and compensation for damages to products other than Mitsubishi products  replacement by the user  maintenance of  on site equipment  start up test run and other tasks       Changes in product specifications    The specifications given in the catalogs  manuals or technical documents are subject to change without prior notice     131    TRADEMARKS    Microsoft  Windows  Windows Vista  Windows NT  Windows XP  Windows Server  Visio  Excel  PowerPoint  Visual Basic   Visual C    and Access are either registered trademarks or trademarks of Microsoft Corporation in the United State
10.      45    6 2 4 Connectable encoders    Encoders that can be connected to the high speed counter module are as follows      1  To the LD62      Open collector output type encoder    CMOS level voltage output type encoder   Check that the encoder output voltage meets the specifications of the LD62       2  To the LD62D      Line driver output type encoder   Check that the encoder output voltage meets the specifications of the LD62D         Point        The following encoder cannot be used with the high speed counter module         TTL level voltage output type encoder       46    CHAPTER 6 INSTALLATION AND WIRING    6 3 Examples of Wiring Between the High Speed Counter  Module and an Encoder     1  Example of wiring with an open collector output type encoder  24VDC                        roe a Shielded twisted pair cable ae EO nse  f   A GOUT  4     Phase A oar f ED Ay2av  le  E                         PhaseB        1     M  Yee SO  E           eu                                     ayc                   QN      External power supply      OV                   In parentheses  terminal numbers of channel 2 are shown     Point    For the wiring between the RD62 and an encoder  separate the power supply cables and the signal cables  The following  figures show its examples            Example of correct wiring                                 d twisted pair cable  LD62 24v    Ap   MM OUT  PhaseA  ABCOM ae wi  Shield           External 24VDC         j  power supply 0V Oy        Exam
11.     lt SH 080890ENG  13JZ36 gt     Specifications of the CPU modules  power supply modules  display  unit  branch module  extension module  SD memory cards  and  batteries  information on how to establish a system  maintenance  and inspection  and troubleshooting       MELSEC L CPU Module User s Manual  Function Explanation   Program Fundamentals    lt SH 080889ENG  13JZ35 gt        Functions and devices of the CPU module  and programming        2  Head module user s manual       Manual name   lt manual number  model code  gt     Description       MELSEC L CC Link IE Field Network Head Module User s Manual   lt SH 080919ENG  13JZ48 gt        Specifications  procedures before operation  system configuration   installation  wiring  settings  and troubleshooting of the head module        3  Operating manual       Manual name   lt manual number  model code  gt     Description       GX Works2 Version 1 Operating Manual  Common    lt SH 080779ENG  13JU63 gt     System configuration  parameter settings  and online operations of  GX Works2  which are common to Simple projects and Structured  projects       GX Developer Version 8 Operating Manual   lt SH 080373E  13JU41 gt        Operating methods of GX Developer  such as programming   printing  monitoring  and debugging       Memo       10    CONTENTS                         SAFETY PRECAUTIONS 9 Ce saa ere gee kore fr rar a ca Oa CA ae Sp mo a ce 1  CONDITIONS ORUSEIEOR MHE  PRODUCT a eee eet a ee eee renee ree yeeros 5  INTRODUCTION
12.    Preset       Function start    5 12 24VDC 2 to 5mA   EIA Standard RS 422 A differential line driver can be connected         External output       Coincidence output    Transistor  sink type  output  2 points channel  12 24VDC 0 5A point  2A common       Internal current consumption  5VDC     0 36A       Weight       0 13kg       22    CHAPTER 3 SPECIFICATIONS     4 The value can be configured in intelligent function module switch setting     2 The counting speed is affected by the pulse rise fall time   The number of pulses that can be counted depending on the counting speed is as follows  Note that the count may be  incorrect when pulses with long rise fall time are counted                                            Counting speed switch  setting 500k 200k 100k 10k   Rise fall time Both 1  and 2 phase inputs   t   0 5us or less 500kPPS 200kPPS 100kPPS 10kPPS  t  1 25us or less 200kPPS 200kPPS 100kPPS 10kPPS  t  2 5us or less   100kPPS 100kPPS 10kPPS  t   25us or less       10kPPS 10kPPS  t  500us             500PPS   aleae  t t  3 2 1 Number of parameters that can be set    Configure the parameters of the initial setting and the auto refresh of the high speed counter module within the number  of parameters that can be set to the CPU module or head module  including the number of parameters set for other  intelligent function modules  For the number of parameters that can be set to the CPU module and head module  refer  to the following    MELSEC L CPU Module User s Manua
13.    Ring counter  function    risa ccc CIR eh haeo d DA EAM Sau 65   8 3 Coincidence Output Function            llle n 68   64     Preset  Function  cp Loita die PN ERU OEC pe Soa pu 73   8 5 Counter Function Selection          sssusa cette teeta 75   8 5 1 Reading the counter function selection count value            llle sss 76   8 50 24  COUDEOlTOE  oce Ios as  8 tected etate Pid ctn ath  raum aucto Re tt sas eL ee ara 77   8 6 Count Disable Function           0 0 00 00 mr 78   8 7  Latch Counter Function a eeneioe eire E E EE EE rh rs 79   8 8 Sampling Counter Function               00000 ee 80   8 9 Periodic Pulse Counter Function         0 0    eee ee 81  CHAPTER 9 DISPLAY UNIT 83  9 1 FOQtUneS snc Tr PEE 83   9 2   Menu  Transition massor en dee PEEL oe lp UI ede eels 83   9 3 List of Setting Value Change Screens             0 0 cee eens 85  CHAPTER 10 PROGRAMMING 88  10 1 Using the Module in Standard System Configuration             iilii lesse 88   10 2 Connecting the Module to the Head Module                0 0000 eee 96   10 3 Program Example with the Coincidence Detection Interrupt Function                   106  CHAPTER 11 TROUBLESHOOTING 108  11 4 Error Information          llle mre rn 108   11 2 The Module Does Not Start Counting Operation              0 0 0 ccc eee 109   11 3 The Module Does Not Correctly Count Pulses            illii 109   11 4 Coincidence Output Function Does Not Correctly Operate               0 0000 e eee ee 110   11 5 Coincidence Detection
14.   CHO Coincidence output point No 2  Un G6  Un G7  Un G38  Un G39      sjeuBis yndu y   xipueddy    sjeuBls O I Jo sirejeqg   xipueddy       113    Appendix 1 2 Output signals     1  CHO Coincidence signal No 1 reset command  YO  Y8     This signal is turned on to reset CHO Counter value coincidence  point No 1   X2  X9       a  Operating timing    The command is valid as long as the signal is on      2  CHO Preset command  Y1  Y9     This signal is turned on to perform the preset function      a  Operating timing    The command is valid on the rising edge  from off to on  of the signal      3  CHO Coincidence signal enable command  Y2  YA     This signal is turned on to output the status of CHO Counter value coincidence  point No 1   X2  X9  and CHO  Counter value coincidence  point No 2   X6  XD  to the external terminal      a  Operating timing    The command is valid as long as the signal is on      4  CHO Down count command  Y3  YB       This signal is turned on to count down pulses in 1 phase pulse input mode     The module counts down pulses when the phase B pulse input or this signal is turned on     For counting up  check that the phase B pulse input and this signal are off      a  Operating timing    The command is valid as long as the signal is on      5  CHO Count enable command  Y4  YC     This signal is turned on to count pulses      a  Operating timing    The command is valid as long as the signal is on      6  CHO External preset detection reset command  Y5  Y
15.   Latch count value D2    Sampling count value  Periodic pulse count  previous    value    Periodic pulse count  present value  Sampling periodic counter flag       Overflow detection    Transfer Direction  Intelligent Function Module   gt  PLC   Buffer Memory Address  8  8h    Transfer Word Counts 1     Device Comment       4 counter overflow occurrence status is stored when the counter format is linear counter                                Item Description Setting value  Present value Enter the device where the present value is stored  DO  Latch count value Enter the device where the latch count value is stored  D2    Enter the device where the sampling count value is stored when using the  Sampling count value i   D4  sampling counter function   Periodic pulse count previous   Enter the device where the previous periodic pulse count value is stored D6  value when using the periodic pulse counter function   Periodic pulse count present   Enter the device where the present periodic pulse count value is stored D8  value when using the periodic pulse counter function   Sampling periodic counter  eee Not used    flag  Enter the device where the overflow detection result is stored when usin  Overflow detection 3   D10       the linear counter function            c  Writing intelligent function module parameters    Write the set parameters to the CPU module  and reset the CPU module or power off and then on the  programmable controller          Online   gt   Write to PLC        
16.   SS  CHO Count enable command ON   Y4  YC  OFF  i  lu  CHLI Coincidence signal enable ON  command  Y2  YA  OFF          m I RR  RRRRRUL    CH     Un G4  Un G5  Un G36  Un 37     CH     point No 1   X3  XA     CH     point No 1   X2  X9     CH    command  YO  Y8     CH   X1    O Coincidence output point No 1       O Counter value small    O Counter value coincidence       Coincidence signal No 1 reset                O Counter value large  point No 1     X8  OFF             r                   CHO Present value 0   14 2   to   98  99   100  101  102  103   Un G2  Un G3  Un G34  Un X35   No  Description  1  Write a coincidence output point setting value to CHO Coincidence output point No 1  Un G4  Un G5  Un G36   Un G37  of the high speed counter module in 32 bit signed binary   2  When the count value matches with the coincidence output point setting value  CHO Counter value small  point  No 1   X3  XA  turns off and CHO Counter value coincidence  point No 1   X2  X9  turns on   Turn on CHO Coincidence signal No 1 reset command  YO  Y8  to reset CHO Counter value coincidence  point  3   No 1   X2  X9    If CHO Counter value coincidence  point No 1   X2  X9  remains on  the next coincidence signal cannot be output   4  When the counter value exceeds the coincidence output point setting value  CHO Counter value large  point No 1         X1  X8  turns on        CHAPTER 8 FUNCTIONS       Point        Perform the following before turning on CHO Coincidence signal enable command  Y2
17.   Y30 to Y3F   signal  X1000 Module READY  CH1 Counter value coincidence  point  X1002  No 1   CH1 Coincidence signal No 1 reset  Y1000  command  LD62  X Y1000 to X Y100F   Y1001 CH1 Preset command  Y1002 CH1 Coincidence signal enable command  Y1004 CH1 Count enable command  CH1 Counter function selection start  Y1006  command  SB49 Data link status of the own station  SWBO0 0 Data link status of each station  station No 1   NO Nesting  station No 1   MO Communication ready flag  station No 1   T1 to T5 Interlock between the own and other stations          97       e npojw peeH eui oi ejnpoy 2y  Bunoeuuo  Z O         5  Setting parameters for the master station    1  Create a project on GX Works2   Select  QCPU Q mode   for  PLC Series  and  Q10UDH  for  PLC Type      XC  Project   gt   New        New Project E3           RN    QCPU  Q mode        2  Open the network parameter setting window and set parameters as shown below         Project window  gt  gt   Parameter    gt   Network Parameter   gt  gt    Ethernet CC IE MELSECNET     1 Network Parameter Setting the Number of MELSECNET CC IE Ethernet Cards     cures esas  eee e    i   i    ee i       d  Open the Network Configuration Setting window and set parameters as shown below     D Project window  gt  gt   Parameter    gt   Network Parameter    gt      Ethernet CC IE MELSECNET   gt  button      1inteligent Device Station   0000 ooFF   256  0000  ODFF     98    CHAPTER 10 PROGRAMMING    4  Open the Refresh Parameter window
18.   YA        Set different values between CHO Coincidence output point No 1  Un G4  Un G5  Un G36  Un G37  and CHO Present  value  Un G2  Un G3  Un G34  Un G35  by any of the following ways     Changing the coincidence output point setting    Changing the present value using the preset function    Changing the present value by inputting a pulse        Turn off  on  and then off CHO Coincidence signal No 1 reset command  YO  Y8    When CHLI Coincidence signal enable command  Y2  YA  is turned on before counting operation or while the  coincidence output point setting value matches with the present value  coincidence output is performed         CHO Counter value coincidence  point No 1   X2  X9  is on immediately after the CPU module is powered on or is reset  because both CHO Present value  Un G2  Un G3  Un G34  Un G35  and CHO Coincidence output point No 1  Un G4   Un G5  Un G36  Un G37  are set to  0          2  Setting method    Set values for  Coincidence output point No 1  and  Coincidence output point No 2          Project window     Intelligent Function Module    gt  Model name  gt  gt   Parameter                          V  0010 LD62   Parameter mA   Display Filter   Display All     Item CHI   CH2   H Basic setting  Set the processing present value    Preset value 0 0   Coincidence output point No  1 1000 1000   Coincidence output point No  2 2000 2000   Ring counter upper limit o i   Ring counter lower limit o   Item Setting range       Coincidence output point No 1   
19.  2     o        2   a   x   A   g   T   2   I   2   o   E   o   Ww   a   o   D   2       n   D   3    o   o   m   2   a    o   n   D   3   o   o       o   2   E        n       119    Appendix 5 When Using GX Developer and GX  Configurator CT    This chapter describes how to operate GX Developer and GX Configurator CT    1  Applicable software versions    For the applicable software versions  refer to the following   MELSEC L CPU Module User s Manual  Hardware Design  Maintenance and Inspection     Appendix 5 1 GX Developer operation    When using GX Developer  configure settings in the following screens              Screen Application Reference  I O assignment Set the type and the I O signal range of the module to be connected  Page 120  Appendix 5 1  1   Intelligent function module Set an output mode if a CPU stop error occurs and CPU module operation                Page 121  Appendix 5 1  2   detailed setting mode if a high speed counter module error is detected        Switch setting for I O and          Set a pulse input mode  counting speed  and counter type  Page 122  Appendix 5 1  3   intelligent function module              1  I O assignment  Open the  I O assignment  tab     D Parameter 2    PLC parameter    gt   I O assignment        L parameter setting    PLE name   PLC system   PLC file      PLCRAS 1    PLCRAS 2    Device Program Boot file SFC    140 assignment  Buitin Ethernet port   Built in 1 0 function setting     1 0 Assignment          Switch setting  Detaile
20.  2 to 5mA  zy A15   A09   Function start input 5V  a A15 A09 Off 1V or less 0 1mA or less  Response   Offto on On to off  B15 B09  B15   BO9   FUNCCOM i    time 0 5ms or less 1ms or less                                                                                                                                                                   44    CHAPTER 6 INSTALLATION AND WIRING                                        Terminal Operating  Input voltage  y o panes number       current  COMM Internal circuit Signal name Operation    guaranteed  classification Salue   guaranteed  CH1   CH2 value   EQU1   Operating voltage  10 2 to 30V  A06   A05    coincidence output   Maximum load current  0 5A point   A06 A05      point No 1  2A common 2    Maximum voltage drop at on  1 5V  EQU2   Response time  dust 806805   B06   BOS    coincidence output Off to on  0 1ms or less  utpu  P point No 2  On to off  0 1ms or less  rated load  resistive    lt   B02 B01 load   B02  B01 12 24V   Input voltage  10 2 to 30V  A02 A01   Current consumption  43mA  A02  A01 OV  TYP   24VDC and all points on common     Common to all channels                    4 The terminals A03  A04  A07  A08  B03  B04  B07  and B08 are not assigned    2 Coincidence output derating  on ratio  is as follows     100  90  80  70  60  50    40  30                   ON ratio                                               0 10 20 30 40   5055  Ambient temperature    c     BuulM 779    SODIASP  EU19 X9 YIIM eoenejul e z 9  
21.  49   Connect an external device to the high speed counter module  J Section 6 4        Adding the model name of the intelligent function module     L gt  Page 53  Section 7 1   Add the model name of the high speed counter module        Switch setting  LF Page 54  Section 7 2   Set a pulse input mode  counting speed  and counter type        Intelligent function module detailed setting  Set an output mode if a CPU stop error occurs and CPU module  L5 Page 55  Section 7 3   operation mode if a high speed counter module error is detected             NO  Use intelligent function module parameters        Parameter setting and auto refresh setting        Page 56  Section 7 4  Page 57  Section 7 5   Configure the parameter and auto refresh settings           Programming and debugging  Create and check a program     3    Page 88  CHAPTER 10           29    Memo    30    CHAPTER 5 SYSTEM CONFIGURATION    CHAPTER 5 SYSTEM CONFIGURATION          This chapter describes the overall configuration  number of connectable modules  and compatible software versions of  the high speed counter module     5 1 Overall Configuration    The following figures show examples of system configuration using the high speed counter module      1  When connected to the CPU module       Display unit   optional           Power supply module E CPU module High speed counter module END cover                                                                         e           e    uoneinByuod J  amp J9AQ  S       Co
22.  A voltage is being applied to the function start input terminal   6  DIN rail hook A hook used to mount the module to a DIN rail  7  nien id jua A connector for I O signal cables of external devices  7 3 Page 41  Section 6 2 3   devices  40 pins   8  Serial number display Displays the serial number printed on the rating plate              18    CHAPTER 2 PART NAMES    Memo          19    CHAPTER 3 SPECIFICATIONS    This chapter describes general specifications  performance specifications  functions  I O signals  and buffer memory  areas     3 1 General Specifications    For the general specifications of the high speed counter module  refer to the following   Safety Guidelines  provided with the CPU module or head module    20    3 2    Performance Specifications    CHAPTER 3 SPECIFICATIONS    The following table describes the performance specifications of the high speed counter module      1  LD62  DC input sink output type        Item    Specifications       Counting speed switch setting      200k  100k to 200kPPS        100k  10k to 100kPPS        10k  10kPPS or less        Number of occupied l O points    16 points  I O assignment  Intelligent  16 points        Number of channels    2 channels       1 phase input  1 multiple 2 multiples   2 phase input  1 multiple 2 multiples 4 multiples            Phase    CW CCW input  Count input signal  Signal level  5 12 24 VDC 2 to 5mA    oA  9B   Counting speed    2 200kPPS 100kPPS 10kPPS   maximum              Counting range    32
23.  Detailed Setting  button     Assigning the 1 0 address is not necessary as the CPU does it automatically   Leaving this setting blank wil not cause an error to occur    Base Model Name  Power Model Name  Extension Cable T sots     EI       Read PLC Data                      Pork Wn  Wen Preven mE       3  Select  Clear  or  Hold  for  Error Time Output    Intelligent Function Module Detailed Setting  Mode        PLC Operation  Error Time  1jO Response  Type Model Name output Mode EE    z   4  Select  Stop  or  Continue  for  PLC Operation     Built in 1 0 Function    pem   Mode at H W Error      5  Clickthe End button to complete the settings    of  Error Time Output Mode  and  PLC Operation  Mode at H W Error                                             ho  o fas fo  en  a fos      o                                           alafelalalalala       5             Item Description Setting value Remarks         Clear  If a CPU stop error occurs  all  external outputs of coincidence    Dumes pejrejeg ainpoyy uonounJ jue8ieiu  e 7    signals turn off      Hold  If a CPU stop error occurs   external outputs of coincidence  signals are held in the status before  the CPU module stops     Error Time Output Select whether to clear or hold module   Clear  default   Mode output if a CPU stop error occurs    Hold         Stop  If a high speed counter module      Select whether to stop or continue the    error is detected  the CPU module    CPU module operation if a high speed    stops     
24.  Interrupt Does Not Occur    n s    saasaa cee 110   11 6 Present Value Cannot be Replaced with the Preset Value            0 000000 cee eee ee 110   11 7 Pulse Waveform Shaping Method             0 0 00 111  APPENDICES 112  Appendix 1 Details of I O Signals             0 00 00 teens 112    11       Appendix 1 1    Input signals    ice eagles e ehe 9 Rae dena I erre ae 112          Appendix 1 2 Output signals     2 0 0 0    RR ee 114   Appendix 2 Details of Buffer Memory Areas             00000 cece teens 116  Appendix 3 Checking Serial Number and Function Version              000000 ee sels 118  Appendix 4 Differences Between L Series and Q Series Modules               2 20000000 119  Appendix 5 When Using GX Developer and GX Configurator CT            lisi eese  120  Appendix 5 1 GX Developer operation              00 0c 120   Appendix 5 2 GX Configurator CT operation          lisse ee 123   Appendix 6 External Dimensions           sasaaa saaran nrnna en 126  INDEX 128  REVISIONS te cR ru Geile We Mee bay bee eae el ee eae Ga ie ER 130  WARRANTY 33 5 o23814 bei beh  geld ed beats BIS MEUS bee bot eed bed 131  TRADEMARKS    RESnzxerGlemubebilegusepiakcebeqgXedu gaius ee 132    12       is used for  Screen names and items     1  shows operating  procedures     XC   shows mouse  operations            is used for items  in the menu bar and  the project window     shows setting or  operating examples     LL  shows reference  manuals     L7 shows  reference pages     MANUAL PAGE 
25.  Sampling  count count current  value count value    previous value value  CH1 Un G2  Un G12  Un G14  Un G16  Un G18   Un G3 Un G13 Un G15 Un G17 Un G19  Buffer memory address  CH2 Un G34  Un G44  Un G46  Un G48  Un G50   Un G35 Un G45 Un G47 Un G49 Un G51                         The present value and the counter function selection count values are stored in the buffer memory areas in 32 bit  signed binary    The buffer memory data is automatically updated by counting operation  The latest count value can be read from the  buffer memory        Point          Read the present value and counter function selection count values by two words at a time  If the values are read by one  word at a time  the lower word data and the higher word data will be inconsistent when the count value is updated during  reading  and an incorrect count value may be read      Program example  DO    Inappropriate program example  The present value may change while CH1 Present value  L   UnXG2  and CH1 Present value  H   Un G3  are  read       xo UO    E  DMOV G2       UO      o       MOV G2 DO          UO  G3 D1           MOV      Although the storage addresses differ between the latch count value and periodic pulse count current value  the stored  values are always the same  updated simultaneously   Therefore  when the latch counter function or periodic pulse  counter function is executed  the latch count value and periodic pulse count current value do not hold their previous  values        76    CHA
26.  User defined Linear Counter   1 Leave unused channels with the default values    4  Initial setting  Contents  Item  CH1 CH2    Preset value 2500 0  Coincidence output point No 1 1000 0  Coincidence output point No 2 0 0  Ring counter upper limit   5000 0  Ring counter lower limit   5000 0  Counter function selection User defined Count Disabling Function  Sampling time setting   10000ms 0  Periodic time setting 4 5000ms 0              1 Leave unused channels with the default values     2 Set these items when using the ring counter function     3 Set this item when using the sampling counter function     4 Set this item when using the periodic pulse counter function     89       uogeunBijuo  uejs  g pJuepuejs u  einpoy ey  Burst LOL       90     5  User devices                                                                                                                               Device Description  DO and D1 Present value  D2 and D3 Latch count value  D4 and D5 Sampling count value  D6 and D7 Periodic pulse count previous value  D8 and D9 Periodic pulse count present value  D10 Overflow status storage  M10 Initial setting completion signal  X40 Count start signal  X41 Present value read signal  X42 Coincidence output data setting signal  X43 Preset command signal  X44 Count stop signal  X45 Coincidence LED clear signal  X46 Counter function start signal  X47 Counter function stop signal i M  X48 Latch count data read signal  X49 Latch execution signal  X4A Sampling coun
27.  and set parameters as shown below     X Project window  gt  gt   Parameter       Network Parameter    gt      Ethernet CC IE MELSECNET   gt   mE  button           Network Parameter CC IE Field Refresh Parameter Module No  1       o00  oir    0000 OFF        0000  QDFF     000  oorr      0000  OFF      LLL       5  write the set parameters to the CPU module on the master station  and reset the CPU module or  power off and then on the programmable controller          Online   gt   Write to PLC          Or powering off     on the programmble controller       e npojy peaH eui 0  ejnpoy eu  Bunoeuuo  z OL       99     6  Setting parameters for the intelligent device station    1  Create a project on GX Works2   Select  LCPU  for  PLC Series  and  LJ72GF15 T2  for  PLC Type      XC  Project   gt   New        New Project    Project Type     Dmeme                Use Label    Language     ham 7       2  Open the PLC parameter setting window and set parameters as shown below     X Project window  gt  gt   Parameter    gt   PLC Parameter    gt   Communication Head Setting     CC Link IE Field Communication Head Parameter Setting       100    CHAPTER 10 PROGRAMMING    3  Add the high speed counter module  LD62  to the GX Works2 project     D Project window  gt  gt   Intelligent Function Module    Right click   gt    New Module        New Module          r  Module Selection    Module Type  Counter Module v      Module Name          m Mount Position  Base No       Mounted Slot No    0 zi 
28.  bit signed binary   2147483648 to 2147483647        Counter    Type    UP DOWN preset counter   Ring counter functions       Minimum count pulse  width   duty ratio 5096     pe  BSS   unit us      Minimum phase difference  in 2 phase input 1 25us        10  KELE  Unit  us      Minimum phase difference  in 2 phase input 2 5us        100  ELES  uni us      Minimum phase difference  in 2 phase input 25us        Coincidence  output    Comparison range    32 bit signed binary       Comparison result    Setting value    Count value  Setting value   Count value  Setting value    Count value       External input    Preset       Function start    5 12 24VDC  2 to 5mA       External output       Coincidence output    Transistor  sink type  output  2 points channel  12 24VDC 0 5A point  2A common       Internal current consumption  5VDC     0 31A       Weight       0 13kg       21       suoneoyioeds eoueuuoped z            1 The value can be configured in intelligent function module switch setting     2 The counting speed is affected by the pulse rise fall time   The number of pulses that can be counted depending on the counting speed is as follows  Note that the count may be  incorrect when pulses with long rise fall time are counted                       Counting speed switch    200k 100k 10k  setting  Rise fall time Both 1  and 2 phase inputs  t   1 25us or less 200kPPS 100kPPS 10kPPS  t   2 5us or less 100kPPS 100kPPS 10kPPS  t   25us or less     10kPPS 10kPPS  t  500us       500PP
29.  counter lower limit value   Ring counter upper limit    uonouni J9junoo buly z z 8  ed     Jejuno  Bunoeles 7g    value   When this condition is established  the count range will be the full range   2147483648 to 2147483647  which    can be expressed in 32 bit signed binary regardless of the present value        Point            While CHO Count enable command  Y4  YC  is on  even if a value is written to CHO Ring counter lower limit  Un G20   Un G21  Un G52  Un G53  or CHO Ring counter upper limit  Un G22  Un G23  Un G54  Un G55   the stored value does    not change   Turn off CHO Count enable command  Y4  YC  before changing the ring counter upper lower limit value         Turn off CHO Count enable command  Y4  YC  before changing the count range by the preset function           67    8 3    68    Coincidence Output Function    This function compares the present counter value with the preset coincidence output point setting value and outputs a    signal when they match     Up to two coincidence outputs can be set for each channel     When using external output of the coincidence signal  turn on CHO Coincidence signal enable command  Y2  YA     beforehand      1  Operation of the coincidence output    The I O numbers  X Y  and the buffer memory addresses in  1  are for coincidence output point No 1     For those of coincidence output point No 2  refer to the following     List of I O Signals  Page 26  Section 3 4     List of Buffer Memory Areas  Page 27  Section 3 5         
30.  i   Y4  YC  OFF i    2  3  17    9          ON      CHLI Counter function selection i 1  start command  Y6  YE  OFF   J l          E i 4    5         ON bod i    Counter function selection start tot      command  function start input  OFF         d         Pulses actually input   2  1 1 1 1 D 1 Ue p odi  AE   i i V  E i     i 2 i  EN     QE M a  2 l di    CHO Present value T   AN   Un G2  Un G3  Un G34  Un G35  i uer d  jen D ue j i i  Count value stored in    EM  2   i    CHO Present value i  0 i oe i i    Un G2  Un G3  Un G34  Un G35   Count Count Count  stop     stop     Stop   i Count stop i  a c n n r  No  Description       1  Counting starts when CHO Count enable command  Y4  YC  is turned on        2  Counting stops when CHO Counter function selection start command  Y6  YE  is turned on        3  Counting restarts when CHO Counter function selection start command  Y6  YE  is turned off        4  Counting stops when the counter function selection start command  function start input  is turned on        5  Counting restarts when the counter function selection start command  function start input  is turned off        6  Counting stops when CHO Count enable command  Y4  YC  is turned off        Counting stops regardless of the on off status of CHO Counter function selection start command  Y6  YE  because    7    CHO Count enable command  Y4  YC  is off        Even though CHO Count enable command  Y4  YC  is turned on  counting remains stopped because CHO Counter    8    f
31.  ites ra ere pr DOR HUP cee ERO Aa EDO cr TRUE Cr COME CUR S E Fe ULCUS MUR 6  COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES              sssesel elles  7  REGEVANTRMANUWAIES ice mate ak SPA TE E ome ed e RUM E SE UM NE EC CRISP EM ener oe Meee ae 8  MANUARPAGE ORGANIZATION eC CT Tr Ecce pense e er 13  MERMS PA ETE   met A AIN RI EP eae ESI B mr UD UP dede o eh ca e S Our tone EI UB LR MS ee ARE EE 14  BAGKINGAEISIHESS fo credo erm tert mede reed Le de MUS recs Sp ete M rc UM Ri Mrs 14  CHAPTER 1 HIGH SPEED COUNTER MODULE 15  11 Application  det ttcta e US E peruenerit ceti eed eee 15   127    Reatures  imeem sith CP e IpRRePeIls ee apie pe PB CM 16  CHAPTER 2 PART NAMES 18  CHAPTER 3 SPECIFICATIONS 20  39 1  General Specifications    sioneseseisgleisiduu ibd eres eX ET Aa a iw db EFE 20   3 2 Performance Specifications               liiillleeeee hn 21   3 2 1   Number of parameters that can beset           liliis 23   3 3 Function LisE    emus ez be RIO Se REG cl Ne RUE RE 25   344    alisto NO Signals  ed rre PE REIN IUE a IER SRM eese Xe 26   3 5 List of Buffer Memory Areas    1 00    hh 27  CHAPTER 4 PROCEDURES BEFORE OPERATION 29  CHAPTER 5 SYSTEM CONFIGURATION 31  5 1 Overall Configuration             lleleeeeleee m m eens 31   52 Applicable  System  ois cokes e at eden e ea sch PER b pate LR MUR E RR M au andes 33   5 2 1 Restrictions when the high speed counter module is connected to the head module         33   CHAPTER 6 INSTALLATION AND WIRING 34  6 1 Installation 
32.  linear counter is used    MCR NO     END          104    CHAPTER 10 PROGRAMMING    To use each function  insert the following program into the position  A  in the program above     Using the count disable function         X1000 X26 i  Nj  SET  Y1006    X27                    RST   Y1006         Using the latch counter function      x1000 x20  iT        SET Y1006    Y1006 X29 K10   h  T3                    RST   Y1006      Using the sampling counter function            X1000 X2B       SET Y1006  Y1006  X2B K10  ME  T4  T4   RST _ Y1006                  Using the periodic pulse counter function            X1000 X2D       SET  Y1006  Y1006  X2D K10  ME  T5  T5   RST  Y1006                e npoj peeH eui 0  ejnpoiw eu  Bunoeuuo  Z O        105    10 3 Program Example with the Coincidence Detection  Interrupt Function    This section describes a program example to start an interrupt program at coincidence detection in CH1 Coincidence  detection point No 1      1  System configuration    The system configuration is the same as the following     System configuration  Page 88  Section 10 1  1       2  Programming condition   a  Interrupt pointer setting        Project window  gt  gt   Parameter      PLC Parameter    gt   PLC System    gt      Intelligent Function Module Setting    gt  Interrupt Pointer Setting   button    Intelligent Function Module Interrupt Pointer Setting     Intelligent Module Side      Interrupt Pointer   Interrupt Pointer PEIN  Start No  Count Start SI        
33.  signed binary     The number of channels is two      2  Switching the maximum counting speed  For the LD62D  500k 200k 100k 10k can be switched and for the LD62  200k 100k 10k can be switched  thereby  achieving an error free count even if a pulse has a gradual rising falling edge      3  Allowing selection of pulse input  The pulse input mode can be selected from the following  1 phase multiple of 1  1 phase multiple of 2  2 phase  multiple of 1  2 phase multiple of 2  2 phase multiple of 4  and CW CCW      4  Allowing selection of counter types    Either one of the following counter types can be selected      a  Linear counter type  This type is capable of counting pulses ranging from  2147483648 to 2147483647 and detects an overflow if  this range is exceeded      b  Ring counter type  This type counts pulses repeatedly under the range of the ring counter upper limit value and the ring counter  lower limit value      5  Permitting coincidence output  Outputting on off signals or initiating an interrupt program is possible at the timing when a coincidence output  point  which is set arbitrarily beforehand  matches the current value in comparison with each other      6  Allowing selection from the four counter functions    One of the following functions can be selected for use      a  Count disable function  This function makes the pulse count stop by inputting a signal while CHO Count enable command  Y4  YC  is  on      b  Latch counter function    This function latches th
34.  the auto refresh target device     st 0010 LD62   Auto  Refresh    Display Filter   Display All  j       Present value   Latch count value   Sampling count value   Periodic pulse count  previous   value 7    Periodic pulse count  present value  Sampling periodic counter Flag  Overflow detection       The data of the buffer memory is transmitted to the specified device        yseyoy Ony G7       57    CHAPTER 8 Functions    This chapter describes the details of the functions that can be achieved through the high speed counter module and  their setting methods   For details on I O signals and buffer memory  refer to the following       Details of I O signals  7 s Page 112  Appendix 1   e Details of Buffer Memory Areas  7 s   Page 116  Appendix 2     58    8 1    CHAPTER 8 FUNCTIONS    Pulse Input Modes and Counting Methods    This section describes the pulse input modes and the counting methods     8 1 1    Types of pulse input modes    The following six pulse input modes are prepared  1 phase pulse input  1 multiple 2 multiples   CW CCW pulse input   and 2 phase pulse input  1 multiple 2 multiples 4 multiples       1  Pulse input modes and count timing       Pulse input mode    Count timing       1 phase multiple of 1    At up count    on  i     B and   CHO Down  count command   Y3  YB                    Counts on the rising edge  7  of oA   9B and CHO Down count command  Y3  YB  are off        At down count    oA       B or    CHO Down    count command   Y3  YB     Counts on
35.  the falling edge  V  of oA   9B or CHO Down count command  Y3  YB  is on        1 phase multiple of 2    At up count    oA   q     B and   CHO Down  count command   Y3  YB                 Counts on the rising edge  T  and the falling edge  4   of oA   9B and CHO Down count command  Y3  YB  are off        At down count    oA       B or  CHO Down     L    count command   Y3  YB        Counts on the rising edge      and the falling edge  JL   of oA   9B or CHO Down count command  Y3  YB  is on        oa f 1    Counts on the rising edge  7  of oA                          At t   pii B is off     B  CW CCW  pA oA is off   At down count      Counts on the rising edge  1  of  B    eB  11  oa f1 1    2 phase multiple of 1    At up count              B    Counts on the rising edge  T  of oA while  B is off           At down count       oA       B                        Counts on the falling edge  4  of pA while  B is off        99    sepoui 1ndui esjnd jo sed    yg    spouje N Bununo    pue sepoy ndul esing 4 8             Pulse input mode Count timing       dA f   f   Counts on the rising edge  T  of oA while  B is off     At up count        Counts on the falling edge  4  of pA while  B is on               B           2 phase multiple of 2       pA i   Counts on the rising edge  T  of  A while  B is on   Counts on the falling edge  4  of pA while  B is off    B    At down count       Counts on the rising edge  T  of pA while  B is off     oA f   1   Counts on the falling edge  1  of 
36.  the program  the previous value and present value may match     If the previous value and present value match  read the values again       Page 95  Section 10 1  7   b         CHAPTER 9 DISPLAY UNIT    CHAPTER 9 pisPLaY UNIT    This chapter describes display unit functions that can be used for the high speed counter module   For details on operations  functions  and menu structure of the display unit  refer to the following     MELSEC L CPU Module User s Manual  Function Explanation  Program Fundamentals     9 i 1 Features       The display unit is a liquid crystal display that can be connected to the CPU module  Connecting it to the CPU module    allows checking the system status and changing the system setting value even without using software packages   9 2 Menu Transition     1  Menu structure  The following diagram shows the  MOD MON TEST  menu and the  MOD SETTINGS  menu structures     m    CPU MON TEST                            m   CPU SETTINGS  m  MOD MON TEST       1         SPECIFY I O No     7          BUF MEM MON TES       MODULE LIST         m   MOD SETTINGS         _  SPECIFY I O No        L         INIT CHANGE   CH1   PRESET VALUE   CH2   COINCIDENCE NO1          MODULE LIST        m   COINCIDENCE NO2       USER MESSAGE I             RING COUNT MAX  m   RING COUNT MIN            OPTIONS m    COUNTER FUNC            SAMPLING PERIOD    seunjeeJ  6       83     2  Screen transition to the initial setting change screen  The following figure shows screen transitio
37.  value  lt  Present value  lt  Ring counter upper limit value       a  When the count range is Ring counter lower limit value  lt  Present value  lt  Ring  counter upper limit value  normally used     For up count  When the present value reaches the ring counter upper limit value  the ring counter lower limit value is  automatically stored in CHO Present value  Un G2  Un G3  Un G34  Un G35      For down count  Even when the present value reaches the ring counter lower limit value  the ring counter lower limit value  is held as the lower limit  and  Ring counter upper limit value   1  is stored in CHO Present value  Un G2   Un G3  Un G34  Un G35  at the next count down pulse input   Both in up count and in down count  the ring counter upper limit value is not stored in CHO Present value   Un G2  Un G3  Un G34  Un G35    For example  when the count enable command is valid while the ring counter lower limit value is 0  the ring  counter upper limit value is 2000  and the present value is 500  the count range and the present value will  change as follows     Ring counter Ring counter  lower limit value upper limit value    0 Present value 2000    500   2147483648 2147483647        C NER    Ring counter    upper limit value Ring counter    Present value lower limit value     7  Y  2000 7  500 501 to 1998 1999 0 1 P to 498 499       The ring counter upper limit value   2000  is not stored in CH OPresent  value  Un G2  Un G3  Un G34   Un G35               CHAPTER 8 FUNCTIONS     b  
38.  voltage not applied to the function start input  terminal     If the count disable function has been selected  turn off CHO Counter function  selection start command  Y6  YE  or the function start input terminal        Is there an overflow error        Execute a preset to clear the overflow error        11 3 The Module Does Not Correctly Count Pulses       Check item    Action       Is the external wiring for   A and B correct     Check the external wiring and make necessary corrections        Even in 1 phase input  connecting an ABCOM terminal to a pulse signal can  result in an incorrect count   Reconnect the ABCOM terminal to the external power supply  5V 12V 24V  or    the GND terminal    7  Page 47  Section 6 3  Page 49  Section 6 4        Is the maximum speed of the input pulses within the  counting speed range specified in the intelligent function  module switch setting     Correct the counting speed configured in the intelligent function module switch  setting according to the maximum speed of the input pulses        Does the input pulse waveform meet the performance  specifications     Observe and check the pulse waveform with a synchroscope  If the input  pulse does not meet the performance specifications  input pulses which meet  the performance specifications        Are the count value data handled in 32 bit signed binary in  the program     Correct the program so that the count value data are handled in 32 bit signed  binary        Are shielded twisted pair cabl
39.  voltage of 12VDC    LD62 Controller  24V E i 7          Preset                                        E  CTRLCOM  A15 A08    i  Function start  SM Shielded twisted pair cable    quoc racemes Tm NOUR  i       i a a nene 3                                                                                  pe  amp    Shield    E   Q l T   aj   H    12VDC             o  In parentheses  terminal numbers of channel 2 are shown   m  X  w  LD62D Controller 3  24V   7 7              o  Preset 3     9   Shielded twisted pair cable OUT s  SS T a     ae  NT  i Q  pa lui NR   w  zyj A bes Shield  OS 3  PRSTCOM   E      Q  o    2  E     sj  Function start 3  Shielded twisted pair cable       oyt m  Fj Ea        4     4 A E  kw DTE RUNGNA  12V D   3st     A Shield     o  E  amp       L 2  T 3     2  v  n   1        i 12VDC  In parentheses  terminal numbers of channel 2 are shown        49     2  When the controller  source load type  has a voltage of 5VDC    LD62 Controller           Preset                                  Shielded twisted pair cable                           5VDC             In parentheses  terminal numbers of channel 2 are shown     LD62D Controller             Preset     5s   4 ee Ueto ae                            Function start    Shielded twisted pair cable                        5VDC             In parentheses  terminal numbers of channel 2 are shown     50    CHAPTER 6 INSTALLATION AND WIRING     3  When the controller is a line driver type    LD62D             A18 A1
40.  wW1004    W1006    Periodic pulse count  present value   w1008    Sampling periodic counter Flag  Overflow detection    wW1010       The data of the buffer memory is transmitted to the specified device                                Item Description Setting value   Present value Enter the device where the present value is stored  W1000   Latch count value Enter the device where the latch count value is stored  W1002  Enter the device where the sampling count value is stored when using the   Sampling count value f   iio 9 W1004  sampling counter function    Periodic pulse count previous   Enter the device where the previous periodic pulse count value is stored W1006   value when using the periodic pulse counter function    Periodic pulse count present   Enter the device where the present periodic pulse count value is stored W 1008   value when using the periodic pulse counter function    Sampling periodic counter   Re Not used     flag  Enter the device where the overflow detection result is stored when usin   Overflow detection    l 9  w1010  the linear counter function              7  Write the set parameters to the head module  and reset the head module or power off and then on    the programmable controller     W  Online   gt   Write to PLC        m ay Or powering off     on the programmble controller    103       e npojy peeH eui 0  ainpoyy au  Bunoeuuo  Z O      7  Program example    The following figure shows a program example  Write the program to the CPU module on th
41. 2             B18 B12              A17 A11           PRSTCOM  B17 B11            Shield        A16 A10                  Function start  12V    E B16 B10            A15 A09     B15 B09                                 Shield          In parentheses  terminal numbers of channel 2 are shown     SjeuiuJe   1nduj JeuJ9 x3 pue Jej ojuo  e uee eg BuulM Jo sejduex3 r9       51    6 5 Examples of Wiring with External Output Terminals    To use the coincidence output terminal  EQU   an external power supply of 10 2 to 30VDC is required to drive the  internal photocoupler  The following figure shows the wiring example      1  For the high speed counter module  sink output type     LD62  LD62D    EQU1    A06 A05   d  Y  gt  m  ad EQU2 Fuse   Load      x   12 24V    Ki B02  B01     oV T        L  102to    A02  A01   BONDE     Fuse   Load                                                                         In parentheses  terminal numbers of channel 2 are shown      1 Install a fuse for each external terminal to prevent the external devices or module from being burnt out or damaged if a  load shorts in an output circuit     52    CHAPTER 7 SETTINGS    CHAPTER 7 SETTINGS    This chapter describes how to configure settings of the high speed counter module        Point    0 After writing the contents of the new module  parameter settings  and auto refresh settings into the CPU module  reset  the CPU module and switch its status as STOP     gt  RUN  gt  STOP  gt  RUN  or turn off and on the 
42. 2147483648 to 2147483647       Coincidence output point No 2           3  Output status setting at a CPU stop error    If a CPU stop error occurs  the output status  clear hold  of external output signals can be set   The output status setting can be set in the intelligent function module detailed setting     uonouny  nd no eoueprioulo    g     a  Setting method  Set  Clear  or  Hold  for  Error Time Output Mode          Project window  gt  gt   Parameter    gt   PLC Parameter    gt   I O Assignment       gt  Detailed Setting  button    Intelligent Function Module Detailed Setting      PLC Operation i  Error Time I O Response    Loc     eee een   NENNEN    e      Li fc Buit intoFunction       0        v       v      v   L2 otto  intelligent fez EM   5           0    SS a ce   o    B               69     4  Coincidence detection interrupt function    This function outputs an interrupt request to the CPU module and starts an interrupt program when the present  counter value matches with the preset coincidence output point setting value      a  Interrupt factors  SI     One intelligent function module can have interrupt factors  SI  up to 16 points   The high speed counter module has interrupt factors of 4 points for each coincidence output point as shown                      below   SI No  Interrupt factor  0 Channel 1  Coincidence detection of coincidence output  point No 1  4 Channel 1  Coincidence detection of coincidence output  point No 2  2 Channel 2  Coincidence detectio
43. 48 to 2147483647  32 bit signed binary      2     o        2   2   x   N   je        pa   2    o   o   S   W   S   D   E            3   o   3   lt     gt    Ea   e   t   o       117    Appendix 3 Checking Serial Number and Function  Version    For how to check the serial number and the function version  refer to the following   MELSEC L CPU Module User s Manual  Hardware Design  Maintenance and Inspection   MELSEC L CC Link IE Field Network Head Module User s Manual    118    APPENDICES    Appendix 4 Differences Between L Series and Q Series  Modules       The following table describes the differences between the L series modules and the Q series modules in                specifications   Item LD62 LD62D QD62 QD62D  Coincidence output derating  on ratio    Limited   No limitations       Coincidence output external auxiliary        43mA  TYP   24VDC and all points on common    8mA  TYP   24VDC point   power supply and current consumption       Not supported   Supported  Blown fuse detection No FUSE LED is equipped  The FUSE LED is equipped   XF  Use prohibited XF  Blown fuse detection flag              1 Coincidence output derating  on ratio  has been set to the high speed counter module          Page 41  Section 6 2 3    2 The high speed counter module does not have a built in fuse for blown fuse detection  Install a fuse for each external    terminal to prevent the external devices or module from being burnt out or damaged if a load shorts   7     Page 35   Section 6 2 1    
44. 63T T005 H N  www fcl fujitsu com en             For how to wire the connector and how to use the crimping tool  contact the manufacturer     39       SODIABP  eulajXo JO  SJojoeuuo  Z Z 9    BuulM 779       40     3  Wiring method  For wiring method  refer to the following   MELSEC L CPU Module User s Manual  Hardware Design  Maintenance and Inspection      4  Connection procedure  T  Plugging the connector  Plug the connector into the slot on the high speed       Connector screw counter module     2  Tightening the connector screws  Tighten the two connector screws  M2 6      1  Removing the connector  Loosen the two connector screws and pull out the  connector from the module     CHAPTER 6 INSTALLATION AND WIRING    6 2 3 Interface with external devices    This section lists the interface of the high speed counter module with external devices      1  Terminal layout and terminal numbers of the connector for external devices    The following figure shows the terminal layout and numbers on the connector for external devices                                fies  B20   0 0   A20  B19  0 0  A19  B18  0 0  A18  B17  0 0  A17  B16   0 0  A16  B15  0 0  A15  B14  0 0  A14  B13   0 0   A13  B12  0 0  A12  B14  0 9   A11  B10  o 0  A10  B09   0 0   A09  Bos   0 0   A08  Bo7  o 0  A07  Bo6   0 0   A06  B05   0 0   A05  B04   0 0   A04  B03   0 0   A03  B02  0 0  A02  B01  0 0  A01  q       BULIM 779    SOOIASP  EUJ81X8 YIM eoenejul       7 9       41     2  LD62  DC input sink output 
45. 7  CH1  CH2 Ring counter upper limit    Un G22  Un G23  Un G54  Un G55            117  CH1  CH2 Sampling count value    Un G14  Un G15  Un G46  Un G47            117  CH1  CH2 Sampling periodic counter flag    Un G11  UN G43  uch os oe ede sty erated stag tates 117  CH1  CH2 Sampling periodic time setting    Un G10  UN G42    dnt ord sth ie opt 116  Coincidence detection interrupt function          70  Coincidence output function                4  68  Connector for external devices            ss  41  Count disable function                000005 78  Counteror      coles cese p Rh n 77  Counter function selection                  5 75  CWC OW ond ick aie eile bak eee ADR DS kee 59  External dimensions              00000000s 126  F  sesc  Satis ML Sha tn ANDE P OL 35  VO assignment          llllllssss sess 120  Intelligent function module detailed setting         55 121  Interrupt factors  SI            2  ee eee 70  Latch counter function             000 cease 79  Linear counter function              0000 eee 64  Module READY  X0        sss 112  Output status setting at a CPU stoperror         69  Overflow error         2l  64  Parameter settings            222i less  56    Performing the preset function using a program     73  Performing the preset function using an external control    SIGMA    Ao eee ise zd tus Hos ab bd 74  Periodic pulse counter function             LL  81  Preset UNCON 43 da Gad stu er me RR EAM 73  Pulse input modes            llle less  59    R    Readin
46. 8  Un G19  Un G50   Un G51   is then stored in CHO Periodic pulse count  previous value  Un G16  Un G17  Un G48  Un G49         4     The present counter value  100  is stored in CHO Periodic pulse count  present value  Un G18  Un G19  Un G50   Un G51     The value 20  which has been stored in CHLI Periodic pulse count  present value  Un G18  Un G19  Un G50   Un G51   is then stored in CHO Periodic pulse count  previous value  Un G16  Un G17  Un G48  Un G49         5     The present counter value  80  is stored in CHO Periodic pulse count  present value  Un G18  Un G19  Un G50   Un G51     The value 100  which has been stored in CHO Periodic pulse count  present value  Un G18  Un G19  Un G50   Un G51   is then stored in CHO Periodic pulse count  previous value  Un G16  Un G17  Un G48  Un G49         6     The periodic pulse counter function is performed regardless the on off status of CHO Count enable command  Y4   YC         7        While the periodic pulse counter function is performed   1  is stored in CHO Sampling periodic counter flag  Un G11   Un G43         Point           Read CHO Periodic pulse count  previous value  Un G16  Un G17  Un G48  Un G49  and CHO Periodic pulse count   present value  Un G18  Un G19  Un G50  Un G51  by two words at a time      Ex  Program example         xo 7 UO     DMOV G16 D6   E UO   DMOV G18 D8             Depending on the relationship between the update timing of the previous value or present value in the module and its read  timing in
47. 9 MITSUBISHI  ELECTRIC  Mitsubishi Programmable Controller    MELSEC L       MELSEC L High Speed Counter Module  User s Manual     LD62   LD62D        SAFETY PRECAUTIONS O     Read these precautions before using this product      Before using this product  please read this manual and the relevant manuals carefully and pay full attention  to safety to handle the product correctly    The precautions given in this manual are concerned with this product only  For the safety precautions of the  programmable controller system  refer to the user s manual for the CPU module used     In this manual  the safety precautions are classified into two levels    N WARNING  and    N CAUTION       NWARNING Indicates that incorrect handling may cause hazardous conditions   resulting in death or severe injury     Indicates that incorrect handling may cause hazardous conditions    NCAUTION resulting in minor or moderate injury or property damage     Under some circumstances  failure to observe the precautions given under    NCAUTION  may lead to  serious consequences   Observe the precautions of both levels because they are important for personal and system safety        Make sure that the end users read this manual and then keep the manual in a safe place for future  reference      Design Precautions      NWARNING       n an output circuit  when a load current exceeding the rated current or an overcurrent caused by a  load short circuit flows for a long time  it may cause smoke and fire  To prev
48. 92      mui       Or powering off     on the programmble controller    CHAPTER 10 PROGRAMMING     d  Program example     lt Start of counting gt        X30 X40   2  LSET Y34 J   lt Stop of counting gt   X30 X44   7  LRST Y34           lt Setting for external output of the counter value coincidence signal gt   X30 X42                       DELTAPDY30    CH1 Coincidence signal No 1 reset  command  Y30  is set or reset                             Y32   lt Processing for counter value coincidence gt   X30 Y32 X32 Y30  i ME Y50 The LED indicating a match is turned on   X32 X45   7   SET Y30 J  CH1 Coincidence signal No 1 reset  command  Y30  is set   X32  Y30 g f   RST Y30    CH1 Coincidence signal No 1 reset   lt Preset execution  by program  gt  command  Y30  is reset   X30 x43 7 jJ  i  DELTAPDY31 J  CH1 Preset command  Y31  is set                or reset       lt Overflow detection  i  i   This program is set only when linear  L    HH   D10 K1   Y51 i     INSEL EE  PUN ta UR a OT EN EN Pn A ES   counter is used                          To use each function  insert the following program into the position  A  in the program above     Using the count disable function          SET _  Y36          RST Y36               Using the latch counter function    X30 X49  i      PLS Y36         Using the sampling counter function       uoneunBijuo  uejs  s pJepueis ui ainpoyy y  Bulsy LOL         x30 aB 1           PLS  Y36    Using the periodic pulse counter function  X30     X4D    It  Y36
49. Acknowledge I O Assignment      IV Specify start XY address   0000  H  1 Module Occupy  16 points           m Title Setting    Title    cme                  4  Open the switch setting window for the high speed counter module and set parameters as shown  below     D Project window  gt  gt   Intelligent Function Module    gt   LD62    gt   Switch Setting     Switch Setting 0000 LD62    Item CH2  Pulse input mode i 1 Phase Multiple of 1  Counting speed setting 200kpps 10kpps  Counter format Linear Counter Linear Counter                  This dialog setting is linked to the Switch Setting of the PLC parameter   Default value will be shown in the dialog  if the Switch Setting of the PLC parameter contains an out of range value                 9 npo y peaH eui 0  ejnpoy eu  Bunoeuuo  Z O           Contents  Item    CH1 cH2   Pulse input mode 2 Phase Multiple of 1 1 Phase Multiple of 1  Counting speed setting 200kpps 10kpps  Counter format User defined Linear Counter              1 Leave unused channels with the default values        101    oh Open the initial setting window for the high speed counter module and set parameters as shown    below     X   Project window     Intelligent Function Module      LD62   gt   Parameter     V  0000 LD62   Parameter    Display Filter   Display All      Item                   Basic setting    Preset value E    Coincidence output point No  1 1000    Coincidence output point No  2       Ring counter upper limit 5000  Ring counter lower limit  5000 
50. CPU  module is powered on or is reset     Pulses are not counted while this signal is off      2  CHO Counter value large  point No 1   X1  X8   e This signal turns on when CHO Present value  Un G2  Un G3  Un G34  Un G35  is larger than CHO  Coincidence output point No 1  Un G4  Un G5  Un G36  Un G37      This signal turns off when CHO Present value  Un G2  Un G3  Un G34  Un G35  is equal to or smaller than  CHO Coincidence output point No 1  Un G4  Un G5  Un G36  Un G37       3  CHO Counter value coincidence  point No 1   X2  X9     This signal turns on when CHO Present value  Un G2  Un G3  Un G34  Un G35  is equal to CHO  Coincidence output point No 1  Un G4  Un G5  Un G36  Un G37   And then  the on status will be latched   e This signal is turned off by CHO Coincidence signal No 1 reset command  YO  Y8      This signal is on immediately after the CPU module is powered on or is reset because both CHO Present  value  Un G2  Un G3  Un G34  Un G35  and CHO Coincidence output point No 1  Un G4  Un G5  Un G36   Un G37  are set to  0       4  CHO Counter value small  point No 1   X3  XA     This signal turns on when CHO Present value  Un G2  Un G3  Un G34  Un G35  is smaller than CHO  Coincidence output point No 1  Un G4  Un G5  Un G36  Un G37      This signal turns off when CHO Present value  Un G2  Un G3  Un G34  Un G35  is equal to or larger than  CHO Coincidence output point No 1  Un G4  Un G5  Un G36  Un G37       5  CHO External preset request detection  X4  XB       This s
51. Counter function selection   UmG9  Un1G41          lille elles  116  CH1  CH2 Counter function selection start command   YO YE  22 5  secet PRAET E 114  CH1  CH2 Counter value coincidence  point No 1    X2  X9  sers ede eer Nad 3 E 112  CH1  CH2 Counter value coincidence  point No 2    XG  XD    etm ne m Sp EA RE Saas 113  CH1  CH2 Counter value large  point No 1    X1  X8    ios SERES Oa ME REL 112  CH1  CH2 Counter value large  point No 2    XD  XQ  x se Ra de Ger d e EIEE XR 113  CH1  CH2 Counter value small  point No 1    X35 KAY cs seen em et eee acai Ug R 112  CH1  CH2 Counter value small  point No 2    XT KE  au urne uu AREE E 113  CH1  CH2 Down count command  Y3  YB        114  CH1  CH2 External preset detection reset command   Y5 Y D   oui de tte gar e ete Re MS 114  CH1  CH2 External preset request detection   X4 XB   24 ete eA eee ahead et a 112  CH1  CH2 Latch count value   Un G12  Un G13  Un G44  Un G45             117    CH1  CH2 Overflow detection  Un G8  Un G40     116  CH1  CH2 Periodic pulse count present value     Un G18  Un G19  Un G50  Un G51            117  CH1  CH2 Periodic pulse count previous value   Un G16  Un G17  Un G48  Un G49             117  CH1  CH2 Present value    Un G2  Un G3  Un G34  Un G35               116  CH1  CH2 Preset command  Y1  Y9            114  CH1  CH2 Preset value    Un GO  Un G1  Un G32  Un G33              116    128       E    L    O    P    CH1  CH2 Ring counter lower limit     Un G20  Un G21  Un 52  Un G53              11
52. D   This signal is turned on to reset CHO External preset request detection  X4  XB       a  Operating timing    The command is valid as long as the signal is on      7  CHO Counter function selection start command  Y6  YE     This signal is turned on to perform the selected counter function      a  Operating timing    The command is valid on the rising edge  from off to on  of the signal   latch counter function and sampling  counter function     The command is valid as long as the signal is on   count disable function and periodic pulse counter  function     114    APPENDICES     8  CHO Coincidence signal No 2 reset command  Y7  YF     This signal is turned on to reset CHO Counter value coincidence  point No 2   X6  XD          a  Operating timing    The command is valid as long as the signal is on     sjeuBis yndjno Z   xipueddy  sjeuBbls O I Jo siiejeg   xipueddy       115    Appendix 2 Details of Buffer Memory Areas     1  CHO Preset value  Un GO  Un G1  Un G32  Un G33       A preset value is stored in this area     The setting range is from  2147483648 to 2147483647  32 bit signed binary       2  CHO Present value  Un G2  Un G3  Un G34  Un G35     The present counter value is stored in this area     The stored value is between  2147483648 and 2147483647  32 bit signed binary       3  CHO Coincidence output point No 1  Un1G4  Un G5  Un G36  Un G37   CHO  Coincidence output point No 2  Un G6  Un G7  Un G38  Un G39       The coincidence output point setting value for compa
53. Environment and Installation Position               lllleeeeeen 34   0 2    JMVIFIIgeune enters dao us pulos Los aet Ma eA sop Ra edits dn tai la abe 35   0 2 1    Wiring precautions    icc  dente ded Rhe Se rc eR Re EA tei NA eg 35   6 2 2 Connectors for external devices       0 0 0    es 39   6 2 3 Interface with external devices           liil 41   0 2 4   Connectable encoders sasih eso cease hie nan bee LA 4 ees eT hie P ERR RR Ra hrs 46   6 3 Examples of Wiring Between the High Speed Counter Module and an Encoder            47   6 4 Examples of Wiring Between a Controller and External Input Terminals                   49   6 5 Examples of Wiring with External Output Terminals             lisse 52  CHAPTER 7 SETTINGS 53  7 1  Addinga Mod  le     i iis nck ede b RD and ee eee eek eee eet tae C   a xad 53   7 2 Switch Setting           r eet mt 54                   7 3 Intelligent Function Module Detailed Setting             llli 55   TA  Parameter Settings ierde mare ani vae p UR xe neo qe Roe ecc eon 56   7 5   Auto Refresh  ict bite wd be bet etui ies p eder bete e EE 57  CHAPTER 8 FUNCTIONS 58  8 1 Pulse Input Modes and Counting Methods                 0000 esse 59   8 1 1 Types of pulse input modes           illsilslsssllseeel en 59   8 1 2 Setting a counting method              0 00 eee eee ee 62   8 1 3 Reading the present value              000  en 62   8 2 Selecting Counter Type     0 0    rs 63   8 2 1 Linear counter function         s   sssusa eects 64      2 2  
54. ORGANIZATION    In this manual  pages are organized and the symbols are used as shown below   The following illustration is for explanation purpose only  and should not be referred to as an actual documentation                                                                                                                 Reference  Tye    Select the type ofthe connected module Page 74  Section 7 12  Model Name Sees the model name ofthe connected module Page 74  Section 7 13  Ponts Set he numberof points assigned io each siot Page 74  Section 7 14  Sat xY Specfy a star VO number for each siot Page 74  Section 7 15  Saca satiro   Configure the switch seting of the buit in UO or inteligent functon modules  Page Ts  Secon 718 ff  27  Sethe folowing of    Error Time Output Mode E  sata serna  be Pere RE Paes seeinza7    8  JO Response Tene  SE  ag  Setting  Start X Y  enables modification on the start VO numbers assigned to connected modules  z  Ex  1000  is specified in  Start X Y  to the slot where a 16 point module is connected  the assignment  Tange of an input module is changed to X1000 to X100F   gr details  refer to the following   LSEC L CPU Module User s Manual  Function Explanation  Program Fundamentals   Point   Set the type ofthe connected module in  Type   Setting a diferent type results in  SPUNIT LAY ERR  intelligent function module  the I O points must also be the same in addition to the I O assignment setting   Sar               When an intelligent module is conne
55. PTER 8 FUNCTIONS    8 5 2 Count error    A count error may occur when the selected counter function is performed by external input  A voltage is applied to the  function start input terminal   or by a program  CHO Counter function selection start command  Y6  YE  is turned on    The following describes how to calculate the count error      1  Count error  maximum  due to a delay of response to an external input       1    DS ug X Pulse input speed  PPS  x Multiplication  count    2  Count error  maximum  when the selected counter function is performed by a  program         1 scan time  ms      688 Jis x Pulse input speed  PPS  x Multiplication  count      3  Count error  maximum  due to an internal clock delay when the sampling  counter function or the periodic pulse counter function is performed                eee time setting value x 10 msl  E Error in design  100  ppm   S  1000 1000000   X Pulse input speed  PPS  X Multiplication  count     N   Sampling periodic time setting value e  B  unit  10ms   x Pulse input speed  PPS  x Multiplication  count  E  1000000 3    uonoejes UOHOUN 19juno2 G g       Tf    8 6 Count Disable Function    This function stops counting pulses while CHO Count enable command  Y4  YC  is on   The following figure shows the relationship among CHO Count enable command  Y4  YC   the counter function  selection start command  and the present counter value                                                               1  6  8   CHO Count enable command ON
56. Periodic pulse count previous value  L    0 R  17 11H CH1 Periodic pulse count previous value  H    0 R  18 124 CH1 Periodic pulse count present value  L   0 R  19 134 CH1 Periodic pulse count present value  H    0 R  20 144 CH1 Ring counter lower limit  L    0 R W  21 154 CH1 Ring counter lower limit  H    0 R W  22 164 CH1 Ring counter upper limit  L  0 R W  23 174 CH1 Ring counter upper limit  H    0 R W  24 184  to to System area        31 1Fy  32 204 CH2 Preset value  L   0 R W  33 21H CH2 Preset value  H    0 R W  34 224 CH2 Present value  L    0 R  35 234 CH2 Present value  H     0 R  36 244 CH2 Coincidence output point No 1  L    0 R W  37 254 CH2 Coincidence output point No 1  H    0 R W  38 26H CH2 Coincidence output point No 2  L   0 R W  39 274 CH2 Coincidence output point No 2  H    0 R W                      27       seeJy Howay Jejng Jo 1S1 S E                                                                   Address Address 5 a   accion exe dac ift Name Initial value    Read write    40 28H CH2 Overflow detection 0 R  41 294 CH2 Counter function selection 0 R W  42 2Ay CH2 Sampling periodic time setting 0 R W  43 2By CH2 Sampling periodic counter flag 0 R  44 2Cy CH2 Latch count value  L   0 R  45 2Du CH2 Latch count value  H   0 R  46 2E  CH2 Sampling count value  L    0 R  47 2Fy CH2 Sampling count value  H   0 R  48 304 CH2 Periodic pulse count previous value  L    0 R  49 314 CH2 Periodic pulse count previous value  H     0 R  50 324 CH2 Periodic pulse cou
57. Pulse input mode B i 1 Phase Multiple of 1  Counting speed setting 10kpps 10kpps  Counter format Linear Counter Linear Counter                  This dialog setting is linked to the Switch Setting of the PLC parameter     Default value will be shown in the dialog  if the Switch Setting of the PLC parameter contains an out of range value  Cancel            Item Description Setting value         1 Phase Multiple of 1  default     1 Phase Multiple of 2     CW CCW     2 Phase Multiple of 1     2 Phase Multiple of 2     2 Phase Multiple of 4    Pulse input mode Select a pulse input mode for each channel          10kpps  default  Select a counting speed for each channel  pps   uo             100kpps  Counting speed settin 500kpps can be selected for the LD62D  SPARE  m ei RP   200kpps  i   500kpps    Linear Counter  default  Counter format Select a counter type for each channel      Mn            Ring Counter       54    CHAPTER 7 SETTINGS    7 3 Intelligent Function Module Detailed Setting    Perform an output mode setting for an error and CPU module operation mode setting for a hardware error      1  Setting method    Open the  I O Assignment  tab     j 1  Open  I O Assignment  of the PLC parameter         PLC Name n  PLCFie  PLCRAS  Boot Fie         m  SFC Device Wo Assignment  Built in Ethernet Port Setting   Built in 1 0 Function Setting         X Project window     Parameter      PLC  A Model Name a Switch Setting    pente Ll   Parameter      I O Assignment        2  Click the
58. S                ale se     2  LD62D  differential input sink output type        Item    Specifications       Counting speed switch setting        500k  200k to  500kPPS     200k  100k to 100k  10k to    10k  10kPPS or less   200kPPS  100kPPS                 Number of occupied I O points    16 points  I O assignment  Intelligent  16 points        Number of channels    2 channels       1 phase input  1 multiple 2 multiples   2 phase input  1 multiple 2 multiples 4 multiples         Count input signal    Phase i  CW CCW input    EIA Standard RS 422 A  Signal level   aud i  Differential line driver level   oA   B      AM26LS31  manufactured by Texas Instruments Incorporated  or equivalent        Counting speed     maximum  2    500kPPS 200kPPS 100kPPS 10kPPS                Counting range    32 bit signed binary   2147483648 to 2147483647                          Type UP DOWN preset counter   Ring counter functions  Counter Ld EN 10      100  Minimum count pulse                                  width LALA tunit  us  25225   unit  us  LELE cunt us  25129   unit  us    duty ratio 50   a 2    Minimum phase  Minimum phase  Minimum phase  Minimum phase  difference in 2 phase   difference in 2 phase   difference in 2 phase   difference in 2 phase  input 0 5us  input 1 25us  input 2 5us  input 25us   Comparison range 32 bit signed binary  Coincidence Setting value    Count value  output Comparison result Setting value   Count value    Setting value  gt  Count value       External input 
59. When the count range is  Present value  lt  Ring counter lower limit value or ring    counter upper limit value  lt  Present value     For up count  Even when the present value reaches the ring counter lower limit value  the ring counter lower limit value  is held as the lower limit  and  Ring counter upper limit value   1  is stored in CHO Present value  Un G2   Un G3  Un G34  Un G35  at the next count up pulse input       For down count  When the present value reaches the ring counter upper limit value  the ring counter lower limit value is    automatically stored in CHO Present value  Un G2  Un G3  Un G34  Un G35    Both in up count and in down count  the ring counter upper limit value is not stored in CHO Present value   Un G2  Un G3  Un G34  Un G35    For example  when the count enable command is valid while the ring counter lower limit value is 0  the ring  counter upper limit value is 2000  and the present value is 3000  the count range and the present value will    change as follows     Ring counter Ring counter  lower limit value upper limit value  E 2000 Present value  3000   2147483648 2147483647       n a a    Ring counter Ring counter  Present value upper limit value lower limit value      B  2001 2002 to 2998 2999    3000 3001 to 2147483647  2147483648 to  2      SULT UUU UL FU    N The ring counter upper limit value    2000  is not stored in CHO  Present value  Un G2  Un G3   Un G34  Un G35                        TE              c  When the count range is  Ring
60. ange shall be limited to normal use within the usage state  usage methods and usage environment  etc   which  follow the conditions and precautions  etc   given in the instruction manual  user s manual and caution labels on the  product     2  Even within the gratis warranty term  repairs shall be charged for in the following cases    1  Failure occurring from inappropriate storage or handling  carelessness or negligence by the user  Failure caused  by the user s hardware or software design    2  Failure caused by unapproved modifications  etc   to the product by the user    3  When the Mitsubishi product is assembled into a user s device  Failure that could have been avoided if functions  or structures  judged as necessary in the legal safety measures the user s device is subject to or as necessary by  industry standards  had been provided    4  Failure that could have been avoided if consumable parts  battery  backlight  fuse  etc   designated in the  instruction manual had been correctly serviced or replaced    5  Failure caused by external irresistible forces such as fires or abnormal voltages  and Failure caused by force  majeure such as earthquakes  lightning  wind and water damage    6  Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi    7  Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user       Onerous repair term after discontinuation of production
61. art command signal is input     function   2        Section 8 7  This function is performed by a program or an external control signal  function input    Counter function This function counts pulses input during the specified sampling period after the  selection Sampling counter function selection start command is input and stores the counter value to the Page 80   counter function   buffer memory  Section 8 8  This function is performed by a program or an external control signal  function input     ne This function stores the present and previous counter values to the corresponding  Periodic pulse       Page 81     buffer memory areas at the preset cycle while the counter function selection start    counter function Section 8 9          command signal is input           Point             These functions can be used together   However  select either the linear counter function or the ring counter function and any one of the counter functions from  counter function selection       The preset function and the function selected from counter function selection can also be performed by the following    external inputs       To use the preset function  apply a voltage to the preset input terminal     To use any function of the counter function selection  apply a voltage to the function start input terminal        25          e  w  T  c  2  o     o  2  t  o  4    3 4 List of I O Signals    The following table lists the I O signals of the high speed counter module   For details on th
62. ation  stops  and the present value does not change from  2147483648 or 2147483647 even if pulses are input      An overflow error can be cleared by performing the preset function      When the preset function is performed   0  is stored in CHO Overflow detection  Un G8  Un G40  and the  counting operation can be restarted    e Overflow error status can be checked in the system monitor window       Page 108  Section 11 1  1      64    CHAPTER 8 FUNCTIONS    8 2 2 Ring counter function     1  Operation of the ring counter  This function repeatedly counts pulses between the values stored in CHO Ring counter lower limit  Un G20   Un G21  Un G52  Un G53  and CHO Ring counter upper limit  Un G22  Un G23  Un G54  Un G55    In ring counter  an overflow error does not occur   The preset function and the coincidence output function can be used together     Present counter value           2147483647  CHO Ring counter upper limit  Un G22  Un G23  Un G54  Un G55              Counting up  CHO Ring counter lower limit  Un G20  Un G21  Un G52  Un G53    2147483648             uonouny Jejunoo Bury Z  Z  8  ed     Jejuno  Bunoeles zg       65    66     2  Count range of the ring counter  The count range is determined by the relationship between CHO Present value  Un G2  Un G3  Un G34   Un G35  and the ring counter lower limit upper limit values when CHO Count enable command  Y4  YC  is turned  on or when the preset function is performed   Normally  the count range is  Ring counter lower limit
63. c counter flag  Un G11  Un G43       When the sampling counter function or the periodic pulse counter function is selected  the operating status of       the selected function is stored in this area     Either of the following values is stored based on the operating status              Operating status Stored value  Function stopped 0  Function being performed 1           8  CHO Latch count value  Un G12  Un G13  Un G44  Un G45     The latch count value is stored in this area during execution of the latch counter function     The stored value ranges from  2147483648 to 2147483647  32 bit signed binary       9  CHO Sampling count value  Un G14  Un G15  Un G46  Un G47       The sampling count value is stored in this area during execution of the sampling counter function     The stored value ranges from  2147483648 to 2147483647  32 bit signed binary       10 CHLI Periodic pulse count previous value  Un G16  Un G17  Un G48  Un G49    CHO Periodic pulse count present value  Un G18  Un G19  Un G50  Un G51       The previous and present periodic pulse count values are stored in this area during execution of the periodic  pulse counter function     The stored value ranges from  2147483648 to 2147483647  32 bit signed binary       11 CHO Ring counter lower limit  Un G20  Un G21  Un 52  Un G53   CHO Ring  counter upper limit  Un G22  Un G23  Un G54  Un G55       When the counter type is set to ring counter  the count range is stored in this area     The setting range is from  21474836
64. ccident    and   ii  where the backup and fail safe function are systematically or automatically provided outside of the PRODUCT for the   case of any problem  fault or failure occurring in the PRODUCT     2  The PRODUCT has been designed and manufactured for the purpose of being used in general industries    MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY  INCLUDING  BUT NOT LIMITED TO ANY AND ALL   RESPONSIBILITY OR LIABILITY BASED ON CONTRACT  WARRANTY  TORT  PRODUCT LIABILITY  FOR ANY   INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE   OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS  PRECAUTIONS  OR   WARNING CONTAINED IN MITSUBISHI S USER  INSTRUCTION AND OR SAFETY MANUALS  TECHNICAL   BULLETINS AND GUIDELINES FOR the PRODUCT      Prohibited Application     Prohibited Applications include  but not limited to  the use of the PRODUCT in      Nuclear Power Plants and any other power plants operated by Power companies  and or any other cases in which the  public could be affected if any problem or fault occurs in the PRODUCT      Railway companies or Public service purposes  and or any other cases in which establishment of a special quality  assurance system is required by the Purchaser or End User      Aircraft or Aerospace  Medical applications  Train equipment  transport equipment such as Elevator and Escalator   Incineration and Fuel devices  Vehicles  Manned transportation  Equipment for Recreation an
65. count previous value  Un G16  Un G17  Un G48  Un G49      respectively  at the preset cycle  T    The following figure shows the relationship between the signals and the buffer memory areas     CHO Count enable command ON   Y4  YC  OFF 6                       200    100    CHO Present value   Un G2  Un G3  Un G34  Un G35              CHO Counter function selection start ON  command  Y6  YE    Counter function selection start command   function start input           200    100  CHLI Periodic pulse count  present value     Un G18  Un G19  UnG50  Un G51        200    uolouny Jejuno  asind oipoueg 6 8    100  CHO Periodic pulse count  previous value     Un G16  Un G17  Un G48  Un G49                    CHO Sampling periodic counter flag 1   Un G11  Un G43  0             81    82       No     Description       1     The present counter value  0  is stored in CHO Periodic pulse count  present value  Un G18  Un G19  Un G50   Un G51         2     The present counter value  200  is stored in CHO Periodic pulse count  present value  Un G18  Un G19  Un G50   Un G51     The value 0  which has been stored in CHO Periodic pulse count  present value  Un G18  Un G19  Un G50   Un G51   is then stored in CHO Periodic pulse count  previous value  Un G16  Un G17  Un G48  Un G49         3     The present counter value  20  is stored in CHO Periodic pulse count  present value  Un G18  Un G19  Un G50   Un G51     The value 200  which has been stored in CHO Periodic pulse count  present value  Un G1
66. counter module error  SP UNIT DOWN  P j      PLC Operation Mode isdetected   Stop  default    Continue  Even if a high speed  i A  at H W Error   Continue counter module error is detected  the      The error  SP UNIT DOWN  is detected  if the module READY flag is not in ready  due to module hardware failure     CPU module continues running a  program for modules other than the  faulty one                    55    7 4 Parameter Settings    Set parameters for each channel     Setting parameters here eliminates the need to program them      1  Setting method    Open the  Parameter  window     1  Open the  Parameter  window from the project window         Project window     Intelligent Function Module    gt  Model name   gt   Parameter          0010 LD62   Parameter DER   Display Filter  Display All BA       Item to be input in a text box       Item       Basic setting  Preset value    Coincidence output point No  2  Ring counter upper limit  Ring counter lower limit       Counter function Set the special counter function   Counter function selection 0 Count Disabling Function      0 Count Disabling Function  Item to be selected Sampling periodic time setting _  ite Siac 0 x10ms    from the pull down list    1 Latch Counter Function  2 5ampling Counter Function  A3 Periodic Pulse Counter Function    This area is used to select the counter function        2  Double click the text box of the setting target item and select or enter a value        tems to be set by selecting a value 
67. cted  I O assignment can be omitted by selecting connected modules from    Intelligent  Function Module  in the Project window      1 The mouse operation example  for GX Works2  is provided below     Menu bar    XZ   Online  2    Write to PLC        Select  Online  on the menu bar   and then select  Write to PLC         A window selected in the view selection area is displayed     Ex  Xt   Project window 5 gt   Parameter   G  PLC Parameter     View selection area    Select  Project  from the view selection   area to open the Project window    In the Project window  expand  Parameter  and  select  PLC Parameter          i Navigation      Parameter  Intelligent Function Module  Global Device Comment      Program Setting  Ej POU       D  Program  xe  MAIN   B3 Local Device Comment  Device Memory  Device Initial Value    dla Connection Destination   Destination          The chapter of  the current page is shown     The section of  the current page is shown     Point  shows notes that  requires attention      Remark  shows useful    information     ME MELSOFT Series GX Works2  Unset Project      PRG  MAIN     i Project Edit Find Replace Compile View Online Debug Diagno        Unlabeled    13    TERMS    Unless otherwise specified  this manual uses the following terms                          Term Description  High speed counter module Another term for the MELSEC L series high speed counter module  Head module Abbreviation for the LJ72GF15 T2 CC Link IE Field Network head module  D
68. d                   Point            The I O numbers  X Y  above apply when the start I O number of the high speed counter module is set to  0        The use prohibited signal above is used by the system and is not available for users  If used  turned on  by a user  the  performance of the high speed counter module is not guaranteed        26    3 5    List of Buffer Memory Areas    CHAPTER 3 SPECIFICATIONS    The following table lists the buffer memory areas of the high speed counter module     For details on the buffer memory areas  refer to the following     Details of Buffer Memory Areas      _  gt  Page 116  Appendix 2                                                                                                                    Address Address   5  TOTEM  ERE ah Name Initial value     Read write 2  0 UT CH1 Preset value  L   0 R W  1 1H CH1 Preset value  H    0 R W   2 24 CH1 Present value  L   0 R  3 3H CH1 Present value  H   0 R  4 4n CH1 Coincidence output point No 1  L    0 R W  5 5H CH1 Coincidence output point No 1  H    0 R W  6 6H CH1 Coincidence output point No 2  L    0 R W  TH CH1 Coincidence output point No 2  H    0 R W  8 8H CH1 Overflow detection 0 R  9 94 CH1 Counter function selection 0 R W  10 Ay CH1 Sampling periodic time setting 0 R W  11 Buy CH1 Sampling periodic counter flag 0 R  12 Cy CH1 Latch count value  L   0 R  13 Dy CH1 Latch count value  H   0 R  14 En CH1 Sampling count value  L   0 R  15 Fy CH1 Sampling count value  H  0 R  16 10  CH1 
69. d Amusement  and  Safety devices  handling of Nuclear or Hazardous Materials or Chemicals  Mining and Drilling  and or other  applications where there is a significant risk of injury to the public or property    Notwithstanding the above  restrictions Mitsubishi may in its sole discretion  authorize use of the PRODUCT in one or   more of the Prohibited Applications  provided that the usage of the PRODUCT is limited only for the specific   applications agreed to by Mitsubishi and provided further that no special quality assurance or fail safe  redundant or  other safety features which exceed the general specifications of the PRODUCTS are required  For details  please  contact the Mitsubishi representative in your region     INTRODUCTION       Thank you for purchasing the Mitsubishi MELSEC L series programmable controllers   This manual describes the functions and programming of a high speed counter module     Before using this product  please read this manual and the relevant manuals carefully and develop familiarity with the  functions and performance of the MELSEC L series programmable controller to handle the product correctly    When applying the program examples introduced in this manual to an actual system  ensure the applicability and  confirm that it will not cause system control problems     Relevant modules  LD62  LD62D    Remark ooo coco oor    Unless otherwise specified  this manual describes the program examples in which the I O numbers of X YOO to X YOF are  assi
70. d setting    Slot Type Starb   ojee  c       i  La  PLC  Buitini 0 function      16 point    0000   L2  oro   i 0010                       Assigning the 1 0 address is not necessary as the CPU does it automatically     Leaving this setting blank will not cause an error to occur                          Item Description  Type Select  Intelli     Model name Enter the model name of the module   Points Select  16point    Start XY Enter the start I O number of the high speed counter module if required        120    APPENDICES     2  Intelligent function module detailed setting  Open the  I O assignment  tab     X Parameter   gt   PLC parameter      I O assignment    gt  Detailed Setting  button    Intelligent function module detailed setting    Error time    m ow   HE 2     ii E    ofpe e     05    05 j  5 8 6  Li PLC  BwitiniO function     ww    agoen   nen D2 fclear  Stop       ee   ENN   NN                   Item Description Setting value Remarks         Clear  If a CPU stop error occurs  all  external outputs of coincidence  signals turn off      Hold  If a CPU stop error occurs   external outputs of coincidence  signals are held in the status before  the CPU module stops     Error time output Select whether to clear or hold module   Clear  default   mode output if a CPU stop error occurs    Hold         Stop  If a high speed counter module      Select whether to stop or continue the  is P a error is detected  the CPU module    CPU module operation if a high speed    stops   c
71. dA while  B is on   At up count x 5      Counts on the rising edge  T  of 9B while  A is on      B ffi Counts on the falling edge     of oB while 0A is off   2 phase multiple of 4       Counts on the rising edge  T  of 9A while  B is on     oA f l f   Counts on the falling edge     of oA while 6B is off   At down count ie        Counts on the rising edge  T  of 9B while A is off    B jfi  Counts on the falling edge  4   of pB while  A is on                                      Point    For the 1 phase pulse input  check that for up count  the phase B pulse input and CHO Down count command  Y3  YB  are  off before performing the phase A pulse input     If at least one of the B phase pulse input and CHO Down count command  Y3  YB  is on  pulses are counted down in the A  phase pulse input        60    CHAPTER 8 FUNCTIONS     a  1 phase pulse input  The count method can be selected from 1 multiple and 2 multiples   The following figure shows the relationship between phase A pulse input and phase B pulse input or CHO  Down count command  Y3  YB         High speed counter module          Pulse input    Encoder oA                   ue  B     B or CHO Down count command   Y3  YB               b  CW CCW pulse input  Pulses can be counted up with the A phase pulse input and counted down with the B phase pulse input   The following figure shows the relationship between A phase pulse input and B phase pulse input        High speed counter module          Count up pulse input  Encoder oA
72. e I O signals  refer to the following       Details of I O signals    gt  Page 112  Appendix 1                                                           Input signal Output signal  Device No  Signal name Device No  Signal name  CH1 Coincidence signal No 1 reset  X0 Module READY YO  command  X1 CH1 Counter value large  point No 1  Y1 CH1 Preset command  X2 CH1 Counter value coincidence  point No 1  Y2 CH1 Coincidence signal enable command  X3 CH1 Counter value small  point No 1  Y3 CH1 Down count command  X4 CH1 External preset request detection Y4 CH1 Count enable command    CH1 External preset detection reset  X5 CH1 Counter value large  point No 2  Y5  command  2    CH1 Counter function selection start  X6 CH1 Counter value coincidence  point No 2  Y6  command    CH1 Coincidence signal No 2 reset  XT CH1 Counter value small  point No 2  Y7  command    CH2 Coincidence signal No 1 reset  X8 CH2 Counter value large  point No 1  Y8  command  X9 CH2 Counter value coincidence  point No 1  Y9 CH2 Preset command  XA CH2 Counter value small  point No 1  YA CH2 Coincidence signal enable command  XB CH2 External preset request detection YB CH2 Down count command  XC CH2 Counter value large  point No 2  YC CH2 Count enable command      CH2 External preset detection reset  XD CH2 Counter value coincidence  point No 2  YD  command    CH2 Counter function selection start  XE CH2 Counter value small  point No 2  YE  command    CH2 Coincidence signal No 2 reset  XF Use prohibited YF  comman
73. e Side       Enter the start number of the interrupt factor  SI  of  Start SI No    0to 3  the high speed counter module                 uonouny  nd no eoueprouto  e g     Ex  Assigning SIO to SI3 of the high speed counter module  whose start I O number has been set to 20  to the  interrupt pointers 150 to 153    Intelligent Function Module Interrupt Pointer Setting    0020         Intelligent Module Side     4  PET  nu  Start No  di dul Start SI No          0              71    72     c  Using only a specific SI No      Setting in the intelligent function module interrupt pointer setting in the parameters  Interrupt factors are used starting from the start SI No  by the number of interrupt pointers set in the   Intelligent Function Module Interrupt Pointer Setting  dialog box   For example  when  1  is set for  Start SI No   and  2  is set for  Interrupt Pointer Count   only SI1 and SI2  are used   When these settings are not configured  the interrupt function will not be used      Using the IMASK instruction  Using the IMASK instruction allows enabling or disabling interrupt program execution  interrupt mask  for  each interrupt pointer   For details on the IMASK instruction  refer to the following     MELSEC Q L Programming Manual  Common Instruction        Point    A coincidence detection interrupt occurs on the rising edge of the counter value coincidence signal  off to on    Therefore  the next interrupt will not be requested unless the coincidence signal is reset and t
74. e current value of a counter at the time of input of a signal      c  Sampling counter function    Of input signals  this function counts pulses that are input during a time specified beforehand      d  Periodic pulse counter function  While signals are input  this function stores the current value and previous value of a counter at each pre   specified period     16    CHAPTER 1 HIGH SPEED COUNTER MODULE        7  Executing the preset function and the counter function selection via external    control signals    Applying a voltage to the preset input terminal allows the preset function to be performed     Applying a voltage to the function start input terminal allows the counter function selection to be performed      8  Easy settings with GX Works2  GX Works2 allows Initial settings and auto refresh settings to be configured on the window  resulting in the  reduction of programs and making it easier to check the status of module settings and operation     seymeeJ z          17    CHAPTER 2 PART NAMES    The following table lists the part names of the high speed counter module           EE  Em  eD                                                             O  Hl o      i UN  1   No  Name Description  1  Module joint levers Levers for connecting two modules  2  oA LED On  A voltage is being applied to the phase A pulse input terminal   3  B LED On  A voltage is being applied to the phase B pulse input terminal   4  DEC  LED On  Pulses are being counted down   5  FUNC  LED On 
75. e master station   Timers for interlock between the own and other stations  T1 to T5  are set to 100ms      lt Checking the data link status of station No 1  head module  gt   E ae                                            MC NO MO      Start of counting    X1000 X20 E J  LSET Y1004     lt Stop of counting gt   X1000 X24   E  LRST Y1004      lt Setting for output of the counter value coincidence signal gt   X1000 X22   l E     SET   v1000   CH1 Coincidence signal No 1  reset command  Y 1000  is set    SET  Y1002   CH1 Coincidence signal enable  command  Y 1002  is set   X1000 Y1000 X22 K10       3      m1  Ti   E  LRST Y1000 Jj  CH1 Coincidence signal No 1             reset command  Y1000  is reset      RST   Y1002   CH1 Coincidence signal enable    Processing for count value coincidence   command  Y1002  is reset  X1000 Y1002 di de Y1000   f       Y30 The LED indicating a match is  turned on              X1002 X25   d         SET   Y1000   CH1 Coincidence signal No 1    reset command  Y1000  is set    RST   Y1000   CH1 Coincidence signal No 1             X1002 aye                                                  lt Preset execution  by program  gt  reset command  Y1000  is reset   X1000 X23 E E  LSET Y1001 J  CH1 Preset command  Y1001   is set   X1000 Y1001 X23 K10  A  T2  T2     RST  Y1001   CH1 Preset command  Y1001   is reset   H A     Overflovdetections   00000000000 0 0 0 tt    i   W1010 K1    v31    This program is set only when  Dag da c CDL C M M HC ML MC RC RD EE  
76. e processing present value   Preset value 2500  Coincidence output point No  1 1000  Coincidence output point No  2 0  Ring counter upper limit  5000  Ring counter lower limit  E Counter function i  Counter Function selection  0 Count Disabling Function 0 Count Disabling Function  Sampling periodic time setting Ox10ms Ox10ms       Set the special counter function                                            Item Description Setting value  Preset value Enter a preset value  2500  Coincidence output point  No 1 RE Enter a value for the coincidence output point No 1  1000  Coincid tput point  incidence output poin Notused _  No 2  Ring counter upper limit 5000  Enter these values when using the ring counter function   Ring counter lower limit  5000      Select the counter function to be used  Depends on the function  Counter function selection   e  Select any function when a counter function is not used  used   Sampling periodic time Enter a value when using the sampling counter function  1000  setting    Enter a value when using the periodic pulse counter function  500   unit  10ms        uogeunBijuo  uejs  g pJuepuejs u  ejnpoy eui Burs  LOL       91     b  Auto refresh  Set auto refresh destination devices         Project window  gt  gt   Intelligent Function Module    gt   LD62    gt   Auto Refresh     it 0030 LD62   Auto_Refresh    Display Filter   Display All       Item    BEES       Present value    The data of the buffer memory is transmitted to the specified device   DO  
77. eed counter module  LD62   CPU module  L26CPU BT  Input module  LX40C6                 Output module  LYA1NT1P   ag  gt   d        Eis   Ix  a  z  aC    4 jal  ieu  S    E DB LR    Power supply module  L61P   v X Y00 XIY10 X Y30 X YAO X Y50  to to to to to  XIYOF XIY2F XIY3F XIYAF X Y6F                         END cover  L6EC           Point    When using the LO2CPU  assign X Y30 to X Y3F for the high speed counter module to set the same assignment as the  system above  For the LX40C6  assign X Y40 to X Y4F and for the LY41NT1P  assign X Y50 to X Y6F         2  Programming condition  The program counts pulses input to CH1 of the high speed counter module     88    CHAPTER 10 PROGRAMMING     3  Switch setting    Set a pulse input mode  counting speed  and counter type as follows         Project window     Intelligent Function Module    gt   LD62    gt   Switch Setting     Switch Setting 0030 LD62    Item   CH1 CH2  Pulse input mode oss Ss Phase Multiple OF mm 1 Phase Multiple of 1  Counting speed setting   200kpps 10kpps  Counter Format Linear Counter Linear Counter            This dialog setting is linked to the Switch Setting of the PLC parameter     Default value will be shown in the dialog  if the Switch Setting of the PLC parameter contains an out of range value  Cancel                                                             Description  Item  CH1 CH2    Pulse input mode 2 Phase Multiple of 1 1 Phase Multiple of 1  Counting speed setting 200kpps 10kpps  Counter format
78. ence signal No 2 reset command   Y7  YF  off     Turn off CHO Coincidence signal No 1 reset command  YO  Y8  and or CHO  Coincidence signal No 2 reset command  Y7  YF         Are the values in CHO Coincidence output point No 1   Un G4  Un G5  Un G36  Un G37  and CHO Coincidence  output point No 2  Un G6  Un G7  Un G38  Un G339  set  within the count range of the ring counter   for the ring  counter function only     Set the value s  in CHO Coincidence output point No 1  Un G4  Un G5   Un G36  Un G37  and or CHO Coincidence output point No 2  Un G6  Un G7   Un G38  Un G39  within the count range of the ring counter        Is CHO Coincidence signal enable command  Y2  YA   on     Turn on CHLI Coincidence signal enable command  Y2  YA         Is a voltage applied to the power supply terminal for  external coincidence output     Apply a voltage to the power supply terminal for external coincidence output        Is the external wiring for the coincidence output point No  1  terminal  EQU1  and the coincidence output point No 2  terminal  EQU2  correct        Check the external wiring and make necessary corrections        11 5 Coincidence Detect    ion Interrupt Does Not Occur       Check item    Action       Is the intelligent function module interrupt pointer setting  in the PLC parameter correct     Review the intelligent function module interrupt pointer setting        Are program execution control instructions  such as the  IMASK instruction  correctly used     Review the prog
79. ent this  configure an  external safety circuit  such as a fuse      Do not write any data to the  system area  of the buffer memory in the intelligent function module   Also  do not use any  use prohibited  signals as an input signal from the CPU module to the intelligent  function module    Doing so may cause malfunction of the programmable controller system        Outputs may remain on or off due to a failure of a transistor for external output  Configure an external   circuit for monitoring output signals that could cause a serious accident         Design Precautions      NCAUTION      Do not install the control lines or communication cables together with the main circuit lines or power    cables  Keep a distance of 150mm or more between them  Failure to do so may result in malfunction  due to noise         Installation Precautions      NWARNING      Shut off the external power supply  all phases  used in the system before mounting or removing a  module  Failure to do so may result in electric shock or cause the module to fail or malfunction         Installation Precautions      NCAUTION      Use the programmable controller in an environment that meets the general specifications in the Safety  Guidelines provided with the CPU module or head module  Failure to do so may result in electric  shock  fire  malfunction  or damage to or deterioration of the product      To interconnect modules  engage the respective connectors and securely lock the module joint levers  until the
80. erflow status data is stored in    i  D10     i     a  Using the sampling counter function or the periodic pulse counter function    To use the sampling counter function or the periodic pulse counter function  insert the following program into    the position  A  in the program above     Using the sampling counter function    U3    DMOV K1000 G10         Using the periodic pulse counter function    U3    DMOV K500 G10       Sampling time is set to 10000ms       Periodic pulse time is set to 5000ms      b  Using each function    CHAPTER 10 PROGRAMMING    To use each function  insert the following program into the position  B  in the program above       Using the count disable function                                                                                                    x30 X46 U3     TE  1    MOV KO G9 The count disable function is selected    sET Y36  X47   RST Y36    Using the latch counter function  X30 x48 U3     H  DMOV G12 D2 The latch count value is read   XAG Mov Ki Ge The latch counter function is  selected    PLS Y36    Using the sampling counter function  X30 X4A U3      I  DMOV G14 D4 The sampling count value is read   XE NOA    ke ten The sampling counter function is  selected    PLS Y36    Using the periodic pulse counter function  X30 X4C X U3  5  i   H  DMOV G16 D6   f mE  The present and previous periodic  R U3  _    pulse count values are read    DMOV G18 D8    E   U3  E  D  D6 D8    DMOV G16 D6    When the present value      U3      previous val
81. ernal devices to the connectors of the high speed counter module  S x  and securely tighten the two screws  z       When removing a cable from the high speed counter module  do not pull the cable by the cable part  se  Remove a cable supporting the connector part of the cable by hand  Pulling the cable being connected to the    high speed counter module can cause malfunction  In addition  a damage of the high speed counter module S  or cables can result  S       35     3  Measures against noise      The high speed counter module may count pulses incorrectly if pulse like noise is input     Forthe input of high speed pulses  take the following measures against noise        Measure 1       Use shielded twisted pair cables        Measure 2    Use the shortest possible shielded twisted pair cables  placing them not parallel with  noise generating power cables or I O cables and at a distance of 150mm or more                       Measure3       Ground the shield cable on the encoder side  relay box   Always ground the FG and LG terminals  to the protective ground conductor       The following figure shows a wiring example for noise reduction        Programmable High speed counter module  controller                                              Terminal  block             verter   Terminal  Avoid using a solenoid valve or inductive load together with the cable in a metallic pipe   If a sufficient distance from the power line cannot be ensured due to duct wiring     Install 1 0 cable
82. es used for the pulse input  lines     Use shielded twisted pair cables for the pulse input lines        Is the high speed counter module affected by noise  through the grounding area       Separate the grounding cable of the high speed counter module from the  grounded part     If the high speed counter module touches the grounded part  separate it        Are noise reduction measures taken in the control panel  or for noise emitting devices     Take noise reduction measures such as attaching a CR surge suppressor to  the magnet switch        Is there a sufficient distance between the high voltage  equipment and the pulse input cables     Wire the pulse input cables alone when placing them in a duct and keep a  distance of 150mm or more from the power cables in the control panel        Are the count values of CH1 and CH2 same when the  same number of pulses are input     If the count values differ  the cause is a hardware failure  Please consult your  local Mitsubishi representative  explaining a detailed description of the  problem        Was the preset function performed within the count range  of the ring counter   for the ring counter function only        Reset the preset value within the count range and perform the preset function  again        109       uoge1edo Bununo  LEIS JON seog einpow eur z LL       11 4 Coincidence Output Function Does Not Correctly    Operate       Check item    Action       Are CHO Coincidence signal No 1 reset command  YO   Y8  and CHO Coincid
83. from a pull down list    Double click the text box and select an option from the displayed pull down list        tems to be set by entering a value in a text box    Double click the text box and enter a value     3  When using CH2  perform the procedure 2        Item    Setting value Reference       Preset value     2147483648 to 2147483647  default  0  Page 73  Section 8 4       Coincidence output point  No 1     2147483648 to 2147483647  default  0        Basic setting Coincidence output point  No 2    Page 68  Section 8 3   2147483648 to 2147483647  default  0        Ring counter upper limit     2147483648 to 2147483647  default  0        Ring counter lower limit    Page 65  Section 8 2 2   2147483648 to 2147483647  default  0        Counter function selection  Counter function    0  Count Disable Function  default   1  Latch Counter Function  2  Sampling Counter Function    3  Periodic Pulse Counter Function Page y3  Section Oa       Sampling periodic time  setting          1 to 65535  unit  10ms   default  0           56    CHAPTER 7 SETTINGS    7 5 Auto Refresh    The function of auto refresh is to transfer buffer memory data to a specified device   This setting eliminates the need to read data with a program      1  Setting method  Open the  Auto_Refresh  window   1  Open the  Auto_Refresh  window from the project window   X Project window  gt   Intelligent Function Module     Model name   gt   Auto Refresh     2  Click the text box of the setting target item and enter
84. g       3 3    CHAPTER 3 SPECIFICATIONS    Function List    The following table lists the functions of the high speed counter module                                   Item Description Reference      This function counts pulses between  2147483648 and 2147483647 and detects an Page 64   Linear counter function       i  overflow if the count value is outside the range  Section 8 2 1      This function repeatedly counts pulses between the ring counter upper limit value Page 65   Ring counter function   aD    and the ring counter lower limit value  Section 8 2 2  This function compares the present counter value with the preset coincidence output  point setting value and outputs on or off signal when they match   Coincidence Coincidence Page 68       This function outputs an interrupt signal to the CPU module and starts an interrupt    output function detection Section 8 3  int   program when the present counter value matches with the preset coincidence output  interru    E point setting value   function    This function overwrites the present counter value with the preset value  Page 73   Preset function   or     j  This function is performed by a program or an external control signal  preset input   Section 8 4  Count disable This function stops counting pulses while CHO Count enable command  Y4  YC  is Page 78   function on  Section 8 6  This function stores the present counter value to the buffer memory when the  Latch counter N     2  Page 79     counter function selection st
85. g the counter function selection count value    76       Reading the present value                    62   Ring counter function                 20000  65  S   Sampling counter function                     80   Selecting countertype            llle sun  63   Switch setting           llle 54 122          129    REVISIONS        The manual number is given on the bottom left of the back cover     Print date  April 2010 SH NA  080920ENG A   First edition    December 2010 SH NA  080920ENG B       Partial correction             SAFETY PRECAUTIONS  Section 1 1  1 2  CHAPTER 2  CHAPTER 3  Section 3 2  3 2 1   3 3  3 4  3 5  CHAPTER 4  CHAPTER 5  Section 5 1  5 2  5 2 1  CHAPTER 6  Section 6 1   6 2  6 2 1  6 2 2  6 2 3  6 2 4  6 3  6 4  6 5  CHAPTER 7  Section 7 1  7 2  7 3  7 4  7 5   CHAPTER 8  Section 8 1  8 1 1  8 1 2  8 1 3  8 2  8 2 1  8 2 2  8 3  8 4  8 5  8 5 1  8 5 2   8 6  8 7  8 8  8 9  CHAPTER 9  Section 9 1  9 2  9 3  CHAPTER 10  Section 10 1  10 2   10 3  CHAPTER 11  Section 11 1  11 2  11 3  11 4  11 5  11 6  11 7  Appendix 1     1 1  1 2  2  3  4  5  5 1  5 2       February 2012 SH NA  080920ENG C          Partial correction    COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES  RELEVANT MANUALS   Section 7 2  8 2  10 1  10 2    October 2014 SH NA  080920ENG D    partial correction    SAFETY PRECAUTIONS  Section 5 1  6 2 1  6 2 2  Chapter 7          Japanese manual version SH 080912 D    This manual confers no industrial property rights or any rights of any other kind  no
86. gned for a high speed counter module   For I O number assignment  refer to the following      1  MELSEC L CPU Module User s Manual  Function Explanation  Program Fundamentals     Operating procedures are explained using GX Works2  When using GX Developer or GX Configurator CT  refer to the  following     When using GX Developer or GX Configurator CT     Page 120  Appendix 5        e   e0e 6006000   00090000000   00000000000000000000009   9000900000000090000090000000000909    COMPLIANCE WITH EMC AND LOW VOLTAGE  DIRECTIVES        1  Method of ensuring compliance   To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated  into other machinery or equipment  certain measures may be necessary  Please refer to one of the following  manuals      MELSEC L CPU Module User s Manual  Hardware Design  Maintenance and Inspection      MELSEC L CC Link IE Field Network Head Module User s Manual     Safety Guidelines  This manual is included with the CPU module or head module    The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage  Directives      2  Additional measures  To ensure that this product maintains EMC and Low Voltage Directives  please refer to Page 37  Section 6 2 1     4      RELEVANT MANUALS        1  CPU module user s manual       Manual name   lt manual number  model code  gt     Description       MELSEC L CPU Module User s Manual  Hardware Design   Maintenance and Inspection  
87. he counter value coincidence  signal is turned off        CHAPTER 8 FUNCTIONS    8 4 Preset Function    This function overwrites the present counter value with the set value    The set value is referred to as a preset value    This function can be used to start counting pulses from the preset value    The function can be performed using a program or an external control signal      1  Performing the preset function using a program  Perform the preset function by turning on CHO Preset command  Y1  Y9      CHO Count enable command ON   Y4  YC  OFF  Counter input pulse         MI                      CHO Preset value o        gt  lt  100                                                                 Un GO  Un G1  Un G32  Un G33     2        CHO Preset command ON     i i   Y1  Y9  OFF       S                            CHO Present value 9 42  to  6566 67    100   101   102 103   104   105     Un G2  Un G3  Un G34  Un G35  ad a ee dr 9a QU US ce ud       No  Description  1    Write a value to CHO Preset value  Un GO  Un G1  Un G32  Un G33  in 32 bit signed binary     On the rising edge  off to on  of CHO Preset command  Y1  Y9   the value stored in CHO Present value  Un G2   2  Un G3  Un G34  Un G35  is replaced with the value stored in CHO Preset value  Un GO  Un G1  Un G32  Un G33    The preset function is performed regardless of the on off status of CHO Count enable command  Y4  YC                     UONOUN 1eseJg pg       73     2  Performing the preset function using an exte
88. ignal is turned on by a preset command from an external input terminal  And then  the on status will be  latched     This signal is turned off by CHO External preset detection reset command  Y5  YD      112    APPENDICES     6  CHO Counter value large  point No 2   X5  XC     This signal turns on when CHO Present value  Un G2  Un G3  Un G34  Un1G35  is larger than CHO  Coincidence output point No 2  Un G6  Un G7  Un G38  Un G39      This signal turns off when CHO Present value  Un G2  Un G3  Un G34  Un G35  is equal to or smaller than  CHO Coincidence output point No 2  Un G6  Un G7  Un G38  UnG39          7  CHO Counter value coincidence  point No 2   X6  XD     This signal turns on when CHO Present value  Un G2  Un G3  Un G34  Un G35  is equal to CHO  Coincidence output point No 2  Un G6  Un G7  Un G38  Un G39   And then  the on status will be latched   e This signal is turned off by CHO Coincidence signal No 2 reset command  Y07  YF      This signal is on immediately after the CPU module is powered on or is reset because both CHO Present  value  Un G2  Un G3  Un G34  Un G35  and CHLI Coincidence output point No 2  Un G6  Un G7  Un G38   Un G39  are set to  0       8  CHO Counter value small  point No 2   X7  XE     This signal turns on when CHO Present value  Un G2  Un G3  Un G34  Un G35  is smaller than CHO  Coincidence output point No 2  Un G6  Un G7  Un G38  UnG39      This signal turns off when CHO Present value  Un G2  Un G3  Un G34  Un G35  is equal to or larger than
89. isplay unit A liquid crystal display to be attached to the CPU module  Programming tool Generic term for GX Works2 and GX Developer  GX Works2       The product name of the software package for the MELSEC programmable controllers  GX Developer       GX Configurator CT A setting and monitoring tool added in GX Developer  for high speed counter modules        A memory in an intelligent function module  where data  such as setting values and monitoring values     Buffer memo    exchanged with a CPU module are stored          PACKING LIST    The following items are included in the package of this product  Before use  check that all the items are included           High speed counter module                                     Module Before Using the Product       14    CHAPTER 1 HIGH SPEED COUNTER MODULE       CHAPTER 1 HIGH SPEED COUNTER MODULE    This chapter describes the application and the features of the high speed counter module     1 1 Application    The high speed counter module is capable of counting the number of inputs of a high speed pulse that cannot be    measured by a sequence using general purpose input modules     Temporarily stops the inverter   Coincidence output                                      T A    panem i  T Encoder  pulse generator   nnn Jun  CH2  Encoder   pulse generator   CH1    uoneoiddy          15    1 2 Features     1  Offering counting capability over the wide range from  2147483648 to  2147483647      The module stores a count value in 32 bit
90. l  Hardware Design  Maintenance and Inspection    MELSEC L CC Link IE Field Network Head Module User s Manual     1  Number of high speed counter module parameters    The following number of parameters can be set for one high speed counter module              Model Initial setting Auto refresh  LD62 8 14  maximum number of parameters   LD62D 8 14  maximum number of parameters              suoneoioeds eoueuuoped ZE    Jes eq ueo jeu sJejeuisejed Jo JOQUINN L Z           23    24     2  Checking the number of parameters    The number of parameters set for the intelligent function module and the maximum number of parameters can be  checked by the following operation     D Project window  gt  gt   Intelligent Function Module    gt  Right click       Intelligent Function Module  Parameter List     Intelligent Function Module Parameter List    Intelligent Function Module Parameter Setting Status    xY Address Module Name Initialization Count    Auto Refresh Count   0030 LD62 M Setting Exist 8  v Setting Exist 4                 Intelligent Function Module Parameter Setting Count Total    Initial  Max 4096  Auto Refresh  Max 2048   I Close                           1  2  3  4   No  Description  1  The total number of parameters that have been selected under  Initialization  Count    2  The maximum number of parameters for initial setting  3  The total number of parameters that have been selected under  Auto Refresh  Count    4  The maximum number of parameters for auto refresh settin
91. l hundred ohms    several watts  across the pulse input terminals   between 24V and ABCOM            Pulse shaping is effective as counter measures against the following situations      1  Wiring distance between the pulse generator and the LD62 is long    Pulse shaping removes waveform rounding and stabilizes pulse waveforms      2  Waveform is unstable due to a noise    The pulse waveform becomes stable by shaping the waveform  which has an effect on external noise reduction        Point    The following example describes how to evaluate the resistance constant and rated power of a dummy resister    For example  when approx  30mA load current is set  the corresponding dummy resistance rating is calculated in the  following formula    R  V       24V   30mA   8000   The power applied to the dummy resistance is calculated in the following formula    P Vx1 24V x 30mA   0 72W   Considering the design margin  select a dummy resistor with the rated power of 2W     poyan Buideus uuoje eM es ng 7L          111    APPENDICES    Appendix 1 Details of I O Signals    This section describes the details on the I O signals from the high speed counter module to the CPU module     Point        The I O numbers  X Y  in this section are shown on the assumption that the start I O number of the high speed counter  module is set to 0           Appendix 1 1 Input signals     1  Module READY  X0       This signal turns on when the high speed counter module is ready for counting operation after the 
92. lse count present value  Un G18  Un G19  Un G50  Un G51  and  CHO Periodic pulse count previous value  Un G16  Un G17   Un G48  Un G49   respectively  at the preset cycle  T      Periodic Pulse Counter Function Page 81  Section 8 9                Point        When changing the counter function  change the function with the off state of CHO Counter function selection start  command  Y6  YE        The selected counter function can be performed by turning on CHO Counter function selection start command  Y6  YE   or applying a voltage to the function start input terminal  A signal that is input first takes priority       Time for the sampling counter function or the periodic pulse counter function can be set by writing a value of 1 to 65535  to CHO Sampling periodic time setting  Un G10  Un G42   The unit of time is 10ms      Ex  setting  420  for CHO Sampling periodic time setting  Un G10  Un G42   420 x 10   4200 ms        15       uonoejes uornoun Jj Jejuno  G g       8 5 1    Reading the counter function selection count value    The counter function selection count value refers to the count value that is stored when the counter function selection  is performed    When the latch counter  sampling counter  or periodic pulse counter function is performed  the count value is stored in  the corresponding buffer memory areas listed in the table below                 Counter function selection count value  TD   Periodic pulse   Periodic pulse  Description Present value   Latch count
93. n    read by the UNIRD instruction    00  No overflow detected  no error     10  Overflow detected  moderate error     Execute a preset to clear the overflow error       1  Overflow detected                108    11 2    CHAPTER 11 TROUBLESHOOTING    The Module Does Not Start Counting Operation       Check item    Action       Is any LED of the CPU module indicating an error     If the LED indicates an error  refer to the troubleshooting in the manual for the  CPU module used and take corrective actions to restore normal operation of  the CPU module        Do the  A LED and  B LED turn on when a voltage is  directly applied to the pulse input terminals for   A and 9B     If the A LED and  B LED turn on  check the external wiring and the encoder   and make necessary corrections  If they do not turn on  the cause is a  hardware failure  Please consult your local Mitsubishi representative   explaining a detailed description of the problem        Is the external wiring for 6A and B correct     Check the external wiring and make necessary corrections        Is CHO Count enable command  Y4  YC  on     Turn on CHO Count enable command  Y4  YC  using a program        Is the pulse input method same as the pulse input mode  setting specified in the intelligent function module switch  setting     Set the pulse input method same as the pulse input mode specified in the  intelligent function module switch setting        Is CHO Counter function selection start command  Y6   YE  off or is a
94. n environment and installation position  refer to the following   MELSEC L CPU Module User s Manual  Hardware Design  Maintenance and Inspection   MELSEC L CC Link IE Field Network Head Module User s Manual    34    CHAPTER 6 INSTALLATION AND WIRING    6 2 Wiring    This section describes wiring of encoders and controllers to the high speed counter module     6 2 1 Wiring precautions    To obtain the maximum performance from the functions of the high speed counter module and improve the system  reliability  an external wiring with high durability against noise is required   Here are some precautions when wiring encoders and controllers      1  Wiring    Different terminals are prepared depending on the voltage of the signal to be input  Connecting to a terminal  with a different voltage may cause malfunction of the module or failure of the connected devices      n 1 phase input  always connect a pulse input cable on the A phase side     Install a fuse for each external terminal to prevent the external devices or module from being burnt out or       damaged if a load shorts in an output circuit  The following fuses have been tested by Mitsubishi              Fuse model name Rated current Contact  312 750 0 75A Littlefuse KK  216 800 0 8A www littelfuse com              2  Connectors for external devices      Connectors for external devices must be soldered or crimped properly  A poor soldering or crimping may  result in malfunction       Securely connect the connectors for ext
95. n of coincidence output  point No 1  3 Channel 2  Coincidence detection of coincidence output  point No 2  4 to 15 Reserved          Interrupt program execution timing             CHO Counter value coincidence  point No 1   X2  X9   CHO Counter value coincidence  point No 2   X6  XD    I O signals  CHO Coincidence signal No 1 reset command  YO  Y8   CHO Coincidence signal No 2 reset command  Y7  YF    Internal Interrupt request  processing  of  CPU module Interrupt request clear             Program in CPU module Interrupt program y       CHAPTER 8 FUNCTIONS     b  Setting interrupt pointers  Assign interrupt factors  SI  and the interrupt pointers of the CPU module in  Intelligent Function Module  Interrupt Pointer Setting  of  PLC Parameter    X   Project window  gt  gt   Parameter    gt   PLC Parameter    gt   PLC System     gt   Intelligent Function Module Setting    gt  interrupt Pointer setting   button    Intelligent Function Module Interrupt Pointer Setting    PLC Side    Interrupt Pointer   Interrupt Pointer  Start No  Count    as        Intelligent Module Side  lt      Start I O Mo    Start SI No           j          Item Description Setting range       Enter the start number of the interrupt pointer of the          Interrupt Pointer Start No  50 to 255  PLC Side j CPU module   Interrupt Pointer Count Enter the number of interrupt factors  SI   1to4  Enter the start   O number of the high speed counter  Start I O No  SUP 0000   to OFFO      module   Intelligent Modul
96. n selection COUNTER FUNC 4      user    Tn   Numeric  Sampling periodic time setting SAMPLING PERIOD 65535 1  value                   85       susei0g eDueu  enjeA Bumes Jo 1S1    amp  6        2  Preset value   PRESET VALUE  screen       Input item    1  Move the cursor using the 4 and jp   buttons     increase or decrease the cursor position value    using the A and Y buttons  and press the  button        Input item    Setting range       Upper limit value   Lower limit value       PRESET VALUE 2147483647          2147483648        3  Coincidence output point No 1   COINCIDENCE NO1  screen    Input item       1  Move the cursor using the   4 and    buttons     increase or decrease the cursor position value    using the A and W buttons  and press the  button        Setting range       Input item    Upper limit value Lower limit value       COINCIDENCE NO1 2147483647        2147483648           4  Coincidence output point No 2   COINCIDENCE NO2  screen    Input item    1  Move the cursor using the   4 and  gt  buttons     increase or decrease the cursor position value    using the A and W buttons  and press the  button        Setting range       Input item    Upper limit value Lower limit value       COINCIDENCE NO2 2147483647        2147483648          86    CHAPTER 9 DISPLAY UNIT     5  Ring counter upper limit value   RING COUNT MAX  screen 1  Move the cursor using the   4 and p buttons   increase or decrease the cursor position value       using the A and YW buttons  and 
97. n set        Switch 5             Point          in counting speed setting   500kPPS  can be selected for the LD62 only  Do not set  500kPPS  for the LD62  Doing so  will result in incorrect count       Switches 3 to 5 fields in  Switch setting for I O and intelligent function module  are used by the system and are not  available for users  Always leave these fields blank  If a value is set  the performance of the high speed counter module  is not guaranteed        122    APPENDICES    Appendix 5 2 GX Configurator CT operation       When using GX Developer  procedures for displaying parameter setting screens of GX Configurator CT differ from  those of GX Works2   The following figures show how to display GX Configurator CT screens using GX Developer     Note that the setting contents are the same as those of GX Works2   s Page 53  CHAPTER 7                    Screen Application  Initial setting Set values including a preset value   Auto refresh setting Transfer buffer memory data to the specified device   Monitor Test Test monitor the buffer memory and I O signals        uoneJedo 19 10 e1n juon X9 Z S xipueddy    19 10 21n  yuo9 XH pue sadojansq X9 Bulsp ueuM g xipueddy       123    GX Developer screen    Edit mode  MAIN 58 Step                   Confirm project memory size     Merge data       Transfer ROM  gt   Delete unused comments  Clear all parameters      IC memory card    Start ladder logic test       Set TEL data  gt   Start LCPU Logging Configuration Tool          I
98. n to the initial setting change screen     Preset value setting screen    Standby screen    ad    Function selection screen    RN       Coincidence output point  No 1 setting screen       Coincidence output point  No 2 setting screen       Module setting module Module setting start I O No     specification screen    specification screen Ring counter upper limit  setting screen       Ring counter lower limit  setting screen  Module setting module  selection screen    Initial setting change screen       Counter function  selection screen       Initial setting change screen    Sampling periodic time  Change item selection menu screen setting screen    Parameter valid drive  confirmation screen         Channel selection screen             84    9 3 List of Setting Value Change Screens    The following table lists setting value change screens      1  User interface language is English    CHAPTER 9 DISPLAY UNIT                                  Name Setting range  xem 1 Format Upper limit Lower limit  Setting item Screen display  value value  Numeric  Preset value PRESET VALUE 2147483647  2147483648  value  m   Numeric  Coincidence output point No 1 COINCIDENCE NO1 l 2147483647  2147483648  value   e   Numeric  Coincidence output point No 2 COINCIDENCE NO2 vals 2147483647  2147483648  f AE Numeric  Ring counter upper limit RING COUNT MAX i 2147483647  2147483648  value    E Numeric  Ring counter lower limit RING COUNT MIN 3l 2147483647  2147483648  value      Set by  Counter functio
99. nal lines may cause malfunction  due to static electricity   Cover the wires with  an insulating tape         Take a shield out from any of the shielded cables   and solder it to the FG wire     Cover the wires and conductive tape  with a heatshrinkable tube     38    CHAPTER 6 INSTALLATION AND WIRING    6 2 2 Connectors for external devices     1  Precautions      Tighten the connector screws within the specified torque range        Screw Tightening torque range          Connector screw  M2 6  0 20 to 0 29N m         Use copper wires having temperature rating of 75  C or more for the connectors     Use UL listed connectors if necessary for UL compliance      2  Applicable connectors    Connectors for external devices that are applicable to the high speed counter module need to be obtained by a  user   The following tables list the applicable connectors  and the reference product of a crimping tool      a  40 pin connectors                      Type Model Applicable wire size   Soldering type connector       A6CON1 0 3 mni  22 AWG   Stranded    straight out type   Crimping type connector         A6CON2 0 088 to 0 24mni  28 to 24 AWG   stranded wire    straight type   Soldering type connector z       A6CON4 0 3 mm  22 AWG   Stranded     dual purpose  straight oblique  type           Point        The A6CON3  IDC type connector  straight type   cannot be used         b  40 pin connector crimping tool       Type Model Contact       FUJITSU COMPONENT LIMITED    Crimping tool FCN 3
100. nnector       31    32     2  When connected to the head module    Power supply module Head module       High speed counter module       Connector    END cover    CHAPTER 5 SYSTEM CONFIGURATION    5 2 Applicable System     1  Number of connectable modules  For the number of connectable modules  refer to the following   LL  MELSEC L CPU Module User s Manual  Hardware Design  Maintenance and Inspection   LL  MELSEC L CC Link IE Field Network Head Module User s Manual     2  Compatible software versions  For compatible software versions  refer to the following   LL  MELSEC L CPU Module User s Manual  Hardware Design  Maintenance and Inspection   LL  MELSEC L CC Link IE Field Network Head Module User s Manual       5 2 1 Restrictions when the high speed counter module is  connected to the head module    The restrictions are as follows       The coincidence detection interrupt function cannot be used      Due to the link scan time  a delay occurs  This delay causes variations if the processing is carried out with  counter values that are input using a program  Thoroughly examine the system to make sure that it will not  cause controllability problem     uejs  s e qeoiddy Z S    e npou peeu eui oi pej  euuoo s   ejnpoui Jeyunoo peeds uBiu eui UUM suonouiseM L Z G       33    CHAPTER 6 INSTALLATION AND WIRING    This chapter describes installation and wiring of the high speed counter module     6 1 Installation Environment and Installation Position    For precautions for installatio
101. nt present value  L    0 R  51 334 CH2 Periodic pulse count present value  H   0 R  52 344 CH2 Ring counter lower limit  L    0 R W  53 354 CH2 Ring counter lower limit  H     0 R W  54 364 CH2 Ring counter upper limit  L  9 0 R W  55 374 CH2 Ring counter upper limit  H  3 0 R W  56 384   to to System area          63 3Fy                      28     4 This value is set when the high speed counter module is powered on or the CPU module is reset    2 Whether a value can be read from written to a program or not is indicated    R  Readable   W  Writable   3 Read or write values in 32 bit signed binary   Be sure to use two words at a time      Point      The system areas listed above and the areas not listed above are used by the system and are not available for users  If  data are written by a user  the performance of the high speed counter module is not guaranteed            Buffer memory data in the high speed counter module are initialized when the high speed counter module is powered on  or the CPU module is reset  To save the necessary data  read write the data by executing the FROM DFRO TO DTO  instructions in the program or performing auto refresh to the device data        CHAPTER 4 PROCEDURES BEFORE OPERATION    CHAPTER 4 PROCEDURES BEFORE OPERATION    This chapter lists the procedures before operation        Start    Module installation    Connect the high speed counter module   L7 Page 31  Section 5 1           Wiring     Page 35  Section 6 2  Page 47  Section 6 3  Page
102. ntelligent       Customize keys      Change display color      Options        Create start up setting file            Tools     Intelligent function utility     Start     Window for selecting the target intelligent  function module and setting parameters    2 Intelligent function module utility C MELSECYGPPWY0000 E       Enter  Start I O No    and select   Module type  and  Module model name         Initial setting   Auto refresh    Initial setting window Auto refresh setting window             Auto refresh setting       124    1           Online     Monitor Test     Select monitor test module dialog box    Select monitor test module    Select monitor test module  Start 1 0 No  Module type         0030    lodule model name  LD62             Module implementation status       Start 1 0 No   OO3O LD52       Module model name                   m                                  Monitor Test                   Select a module to be monitored tested     Monitor Test window    Monitor Test  Module information  Module type      Counter Module    Module model name  LD62    Start 1 0 No   0030       Setting item  CH1 Present value    Curent value Setting value             CH1 Overflow detection flag  CH1 Down count command       CH1 Count enable command       CH2 Present value       CH2 Overflow detection flag       CH2 Down count command       CH2 Count enable command       XZY Monitor Test    XZY Monitor Test       Preset function    Preset             Coincidence output function    
103. ounter module error  SP UNIT DOWN  H W error time PLC is detected       Stop  default    Continue  Even if a high speed  i    operation mode   Continue counter module error is detected  the      The error  SP UNIT DOWN  is detected  if the module READY flag is not in ready  due to module hardware failure     CPU module continues running a  program for modules other than the  faulty one                 121          uoneJedo Jadojaneq x9  g xipueddy    L9 JoyeunByuoD X9 pue JedojeA eg x9 Burs  ueuM g xipueddy     3  Switch setting  Open the  I O assignment  tab     X Parameter   gt   PLC parameter      I O assignment     Switch setting   button    Switch setting for I O and intelligent function module    Input format Select  HEX             Built in 1 0 function  Intelli                                                                          Conca          Item Setting item Description       Pulse input mode   0  1 phase multiple of 1   1  1 phase multiple of 2   O L        H 2  CW CCW Select a pulse input mode   3  2 phase multiple of 1  4  2 phase multiple of 2   5  2 phase multiple of 4       Counting speed setting  0  10kPPS   1  100kPPS Select a counting speed   2  200kPPS   3  500kPPS  LD62D only     Switch 1  for CH1           Counter type  0  Linear counter Select a counter type   1  Ring counter                   Switch 2  for CH2  The setting items are the same as those for Switch 1  for CH1    Switch 3     Blank  Switch 4    Leave the fields blank if values have bee
104. p  short circuit  fire  or  malfunction   When disconnecting the cable from the module  do not pull the cable by the cable part   For the cable with connector  hold the connector part of the cable   Pulling the cable connected to the module may result in malfunction or damage to the module or  cable   Prevent foreign matter such as dust or wire chips from entering the module  Such foreign matter can  cause a fire  failure  or malfunction   A protective film is attached to the top of the module to prevent foreign matter  such as wire chips   from entering the module during wiring  Do not remove the film during wiring  Remove it for heat  dissipation before system operation   Ground the shield cable on the encoder side  relay box   Always ground the FG and LG terminals to  the protective ground conductor  Failure to do so may cause malfunction   Mitsubishi programmable controllers must be installed in control panels  Connect the main power  supply to the power supply module in the control panel through a relay terminal block  Wiring and  replacement of a power supply module must be performed by qualified maintenance personnel with  knowledge of protection against electric shock  For wiring methods  refer to the MELSEC L CPU  Module User s Manual  Hardware Design  Maintenance and Inspection          Startup and Maintenance Precautions      NWARNING      Do not touch any terminal while power is on  Doing so will cause electric shock or malfunction       Shut off the external powe
105. ple of inappropriate wiring  Shielded twisted pair cable             LD62 24V       Because currents flow in  the same direction in the  shielded twisted pair cable   canceling effect will be lost  and electromagnetic  induction may occur           Phase A ABCOM          Jepoou3 ue pue e npo N Jejuno2 peeds ybiy ey  ueewjeg DBuulM Jo s  jdwexg g9          External 24VDC  power supply ov                      47     2  Example of wiring with a voltage output type encoder  5VDC        LD62 Encoder          24V  A20 A13        12V  B20 B13                    Shielded twisted pair cable                  B19 B12     24V    A18 A11     B18 B11                        5V  H A17 A10                                         svbc    External power supply      WO Ow    In parentheses  terminal numbers of channel 2 are shown                           3  Example of wiring with a line driver  equivalent to AM26LS31  encoder       LD62D Encoder             pee ea ae el eee eed       Phase Digital  A isolator  i B20 B14     L    i E                                     a            B  A19 A13           ee a ee aa      9       Phase Digital  B isolator                                                      B19 B13       l  vccQO VCC  External power supply  1 0v Qu                   In parentheses  terminal numbers of channel 2 are shown     CHAPTER 6 INSTALLATION AND WIRING    6 4 Examples of Wiring Between a Controller and External  Input Terminals     1  When the controller  sync load type  has a
106. power supply to activate    the settings     0 After writing the contents of the switch settings  reset the CPU module or turn off and on the power supply to activate the    settings        7 1 Adding a Module    Add the model name of the high speed counter module used for the project      1  How to add a module  Open  New Module      X   Project window  gt   Intelligent Function Module       Right click   gt   New Module        New Module    Module Selection       Module Type  Counter Module       Module Name L062    Mount Position    Ed    zl    Mounted Slot No   0   Acknowledge I O Assignment    IV Specify start XY address   0010  H  1 Module Occupy  16 points     Title Setting    Title          Item    Description       Module Type    Select  Counter Module         Module Selection  Module Name    Select the model name of the module to be connected        Mounted Slot No     Select the number of the slot where the module is mounted           Mount Position Specify start XY The start I O number  hexadecimal  of the module mounted on the slot set to  address  Mounted Slot No   is displayed  This item can be set by user   Title Setting Title Enter a title              53       ainpoy  e Buippy L Z       7 2 Switch Setting    Set a pulse input mode  counting speed  and counter type for each channel      1  Setting method  Open  Switch Setting      D Project window  gt   Intelligent Function Module    gt  Model name 7   Switch Setting     Switch Setting 0010 LD62    Item CH2  
107. press the  button        Input item         Setting range  Input item         Upper limit value Lower limit value       Ring counter upper limit value 2147483647    2147483648           6  Ring counter lower limit value    RING COUNT MIN  screen 1  Move the cursor using the 4 and  gt  buttons   increase or decrease the cursor position value  using the A and YW buttons  and press the  button        Input item       Setting range       Input item  Upper limit value Lower limit value    RING COUNT MIN 2147483647  2147483648                 7  Counter function selection   COUNTER FUNC  screen 1  Use the A and V buttons to select  COUNT  DISABLE    LATCH    SAMPLING   or  PERIODIC    PULSE  and press the button        sueeJog eBueu  enjeA Bumes Jo 1s     6     8  Sampling periodic time setting              SAMPLING PERIOD  screen 1  Move the cursor using the 4 and p gt  buttons   increase or decrease the cursor position value  using the A and WV buttons  and press the   D   DM n  Input item  inue Setting range  Upper limit value Lower limit value  SAMPLING PERIOD 65535 1                87    CHAPTER 10 PRocRAMMING    This chapter describes basic programs of the high speed counter module     10 1 Using the Module in Standard System Configuration    This section describes the system configuration and program examples based on conditions      1  System configuration  The following figure shows an example using the high speed counter module in standard system configuration     High sp
108. r does it confer any patent licenses     Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may  occur as a result of using the contents noted in this manual            2010 MITSUBISHI ELECTRIC CORPORATION    130    WARRANTY       Please confirm the following product warranty details before using this product     1      Gratis Warranty Term and Gratis Warranty Range    If any faults or defects  hereinafter  Failure   found to be the responsibility of Mitsubishi occurs during use of the product  within the gratis warranty term  the product shall be repaired at no cost via the sales representative or Mitsubishi Service  Company    However  if repairs are required onsite at domestic or overseas location  expenses to send an engineer will be solely at   the customer s discretion  Mitsubishi shall not be held responsible for any re commissioning  maintenance  or testing   on site that involves replacement of the failed module     Gratis Warranty Term    The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place    Note that after manufacture and shipment from Mitsubishi  the maximum distribution period shall be six  6  months  and   the longest gratis warranty term after manufacturing shall be eighteen  18  months  The gratis warranty term of repair   parts shall not exceed the gratis warranty term before repairs     Gratis Warranty Range     1  The r
109. r supply  all phases  used in the system before cleaning the module or  retightening the connector screws  Failure to do so may result in electric shock         Startup and Maintenance Precautions      NCAUTION        Do not disassemble or modify the module  Doing so may cause failure  malfunction  injury  or a fire   Shut off the external power supply  all phases  used in the system before mounting or removing a  module  Failure to do so may cause the module to fail or malfunction    After the first use of the product  module and display unit   do not connect disconnect the product  more than 50 times  in accordance with IEC 61131 2   Exceeding the limit may cause malfunction   Tighten the connector screws within the specified torque range  Undertightening can cause drop of  the component or wire  short circuit  or malfunction  Overtightening can damage the screw and or  module  resulting in drop  short circuit  or malfunction    Before handling the module  touch a conducting object such as a grounded metal to discharge the  static electricity from the human body  Failure to do so may cause the module to fail or malfunction         Disposal Precautions      NCAUTION           When disposing of this product  treat it as industrial waste      CONDITIONS OF USE FOR THE PRODUCT       1  Mitsubishi programmable controller   the PRODUCT   shall be used in conditions    i  where any problem  fault or failure occurring in the PRODUCT  if any  shall not lead to any major or serious a
110. ram        Are CHO Counter value coincidence  point No 1   X2  X9   and CHLI Counter value coincidence  point No 2   X6   XD  off        Reset  turn off  CHO Counter value coincidence  point No 1   X2  X9  and or  CHO Counter value coincidence  point No 2   X6  XD  using CHO  Coincidence signal No 1 reset command  YO  Y8  and or CHO Coincidence  signal No 2 reset command  Y7  YF         11 6    Present Value Cannot be Replaced with the Preset Value       Check item    Action       Is CHO External preset request detection  X4  XB  off     Reset  turn off  CHO External preset request detection  X4  XB  using CHO  External preset detection reset command  Y5  YD         Is the external wiring for the preset input terminal correct        Check the external wiring and make necessary corrections        110    CHAPTER 11 TROUBLESHOOTING    11 7 Pulse Waveform Shaping Method    An effective method for pulse shaping is to apply a dummy resistance of several hundreds ohms   several watts   across pulse input terminals connected to a pulse generator to increase a load current through the cables  This  method becomes more effective as the load current value increases    The following figure shows an example of dummy resistance connection when the signal level is at 24VDC      Dummy resistance connection example at 24VDC   LD62       Shielded twisted pair cable                              B19 B12     6 8kQ  1 3W                 A18 A11        Phase       Apply a dummy resistance of severa
111. resent value   Latch count Sampling  count count current  value count value s   previous value value   CH1 Un G2  Un G12  Un G14  Un G16  Un G18    Un G3 Un G13 Un G15 Un G17 Un G19   Buffer memory address  CH2 Un G34  Un G44  Un G46  Un G48  Un G50   Un G35 Un G45 Un G47 Un G49 Un G51                          2  Stored data    The present value and the counter function selection count values are stored in the buffer memory areas in 32 bit  signed binary     The buffer memory data is automatically updated by counting operation  The latest count value can be read from  the buffer memory     Point        Read the present value and counter function selection count values by two words at a time   If the values are read by one word at a time  the lower word data and the higher word data will be inconsistent when the  count value is updated during reading  and an incorrect count value may be read            Program example    xo   BE   E        Inappropriate program example  The present value may change while CH1 Present value  L   Un G2  and CH1 Present value  H   Un G3  are read        UO   DMOV G2      xo i UO      MOV G2 DO            UO    MOV G3 D1             CHAPTER 8 FUNCTIONS    8 2 Selecting Counter Type    Select a counting method in the switch setting      1  Setting method    1  Set  Counter format  to  Linear Counter  or  Ring Counter      pa Project window     Intelligent Function Module    gt  Model name     Switch Setting     Switch Setting 0010 LD62    Pulse inpu
112. rison with the present counter value is stored in this  area      Two coincidence detection output points  CHO Coincidence output point No 1  Un G4  Un G5  Un G36   Un G37  and CHO Coincidence output point No 2  Un G6  Un G7  Un G38  Un G39   can be set for each  channel      The setting range is from  2147483648 to 2147483647  32 bit signed binary       4  CHO Overflow detection  Un G8  Un G40       When the counter type is set to linear counter  overflow status is stored in this area     Either of the following values is stored based on overflow status              Status Stored value  No overflow detected 0  Overflow detected 1           5  CHO Counter function selection  Un G9  Un G41       A value to select the counter function is stored in this area     The following table shows the setting value for each function                    Counter function Setting value  Count disable function 0  Latch counter function 1  Sampling counter function 2  Periodic pulse counter function 3           6  CHO Sampling periodic time setting  Un G10  Un G42      A time value for the sampling counter function or the periodic pulse counter function is stored in this area       The setting range is from 1 to 65535  16 bit signed binary     The unit of time is 10  ms       14 To set a value between 32768 and 65535  store the value in hexadecimal   For example  store  F424   to set  62500       Ex Storing  420  in this area  420 x 10   4200 ms     116    APPENDICES     7  CHO Sampling periodi
113. rnal control signal    Perform the preset function by applying an ON voltage to the preset input terminal for external input     CHO Count enable command o Ei  ALATA METEN                 Counter input pulse                   P          CHLI Preset value   Un GO  Un G1  Un G32  Un G33        Preset command ON   preset input terminal  OFF             CHO External preset ON   request detection OFF    X4  XB    CHO External preset ON            detection reset command OFF B uA dd   Y5  YD  l    CHO Present value   Un G2  Un G3  Un G34  Un G35           100 1101  to 1123 124 100 101       No  Description       1    Write a value to CHO Preset value  Un GO  Un G1  Un G32  Un G33  in 32 bit signed binary        On the rising edge  off to on  of the preset command  A voltage is applied to the preset input terminal    the value  stored in CHO Present value  Un G2  Un G3  Un G34  Un G35  is replaced with the value stored in CHO Preset  value  Un GO  Un G1  Un G32  Un G33     The preset function is performed regardless of the on off status of CHO Count enable command  Y4  YC      2           Point        While CHO External preset request detection  X4  XB  is on  3    the preset function cannot be performed even if a voltage  is applied to the preset input terminal or CHO Preset command  Y1  Y9  is turned on    The preset function can be performed when CHLI External preset request detection  X4  XB  is turned off by turning on CHO  External preset detection reset command  Y5  YD   4   
114. s   Japan  and other countries    Intel  Pentium  and Celeron are either registered trademarks or trademarks of Intel Corporation in the United States and  other countries     Ethernet is a registered trademark of Xerox Corp   All other company names and product names used in this manual are trademarks or registered trademarks of their    respective companies   SPREAD  Copyright C  1996 FarPoint Technologies  Inc        1 32 SH NA  080920ENG D    SH NA  080920ENG D 1410 MEE  MODEL  LD62 D  U E  MODEL CODE  13JZ49    MITSUBISHI ELECTRIC CORPORATION    HEAD OFFICE   TOKYO BUILDING  2 7 3 MARUNOUCHI  CHIYODA KU  TOKYO 100 8310  JAPAN  NAGOYA WORKS   1 14   YADA MINAMI 5 CHOME   HIGASHI KU  NAGOYA   JAPAN          When exported from Japan  this manual does not require application to the       Ministry of Economy  Trade and Industry for service transaction permission     Specifications subject to change without notice     
115. s at least  d use shielded cables such as CVVS for the power line   150mm away from  high voltage equipment    such as a relay or  inverter     Pay attention to wiring in Relay box  the control panel as well               Provide the shortest possible distance between the encoder and          relay box         If the distance from the high speed counter to the encoder is long   SN Car SS a voltage drop may occur  Using a measuring instrument such as  a tester on the terminal block of the relay box  check if the voltages  in the encoder operation and stop status are within the rated    voltage range  If a voltage drop is too large  increase the cable size  Encoder or use a 24VDC encoder that will consume less current                   Ground the shielded twisted pair cable on the encoder side  relay box    Shown here is an example of  wiring to an open collector output type encoder  24VDC                          Y Current for encoder  To the encoder  To dA  To   B Connect the shielded cable of the encoder to the shielded    To the high speed    cable of the shielded twisted pair cable in the relay box   counter module    If the shielded wire of the encoder is not grounded   ground it to the relay box as shown by the dotted lines              36    CHAPTER 6 INSTALLATION AND WIRING     4  Requirements for compliance with the EMC and Low Voltage Directives    Take the following measures for compliance with the EMC and Low Voltage Directives     Install a DC power inside the con
116. t data read signal  X4B Sampling count start signal  X4C Periodic pulse count data read signal  X4D Periodic pulse count start signal  Y50 Coincidence confirmation LED signal  LY41NT1P  Y50 to Y6F   Y51 Overflow occurrence confirmation LED signal  X30 Module READY  X31 CH1 Counter value large  point No 1   X32 CH1 Counter value coincidence  point No 1   X33 CH1 Counter value small  point No 1   X34 CH1 External preset request detection  X35 CH1 Counter value large  point No 2   X36 CH1 Counter value coincidence  point No 2   X37 CH1 Counter value small  point No 2   Y30 CH1 Coincidence signal No 1 reset command   LD62  X Y30 to X Y3F   Y31 CH1 Preset command  Y32 CH1 Coincidence signal enable command  Y33 CH1 Down count command  Y34 CH1 Count enable command  Y35 CH1 External preset detection reset command  Y36 CH1 Counter function selection start  command  Y37 CH1 Coincidence signal No 2 reset command          Point           The input signal X3F is used by the system and is not available for users  If a user uses this signal  turning off and on   the    performance of the high speed counter module is not guaranteed        CHAPTER 10 PROGRAMMING     6  Program example when intelligent function module parameters are used     a  Setting parameters  Configure initial settings on the parameters            Project window     Intelligent Function Module      LD62   gt   Parameter     V  0030 LD62   Parameter    Display Filter   Display All m    Item   CH1  E Basic setting    Set th
117. t mode 1 Phase Multiple of 1 1 Phase Multiple of 1  Counting speed setting 10kpps    Counter Format Linear Counter            This dialog setting is linked to the Switch Setting of the PLC parameter     Default value will be shown in the dialog  if the Switch Setting of the PLC parameter contains an out of range value  Cancel      Item Description Reference  Pulses are counted between  2147483648  lower limit value  and  2147483647  upper limit value     Pulses are repeatedly counted between the values stored in CHO  Ring Counter Ring counter lower limit  Un G20  Un G21  Un G52  Un G53  and Page 65  Section 8 2 2  CHO Ring counter upper limit  Un G22  Un G23  Un G54  Un G55               Linear counter Page 64  Section 8 2 1                63       ed     Jejuno  Bunosjes 7g       8 2 1 Linear counter function     1  Operation of the linear counter    This function counts pulses between  2147483648  lower limit value  and 2147483647  upper limit value      The preset function and the coincidence output function can be used together         Present counter value   Overflow  Se ee ee  2147483647            gt   Counting up    a E 2147483648  Overflow            2  Overflow error     In linear counter  an overflow error occurs if the present counter value falls below  2147483648  lower limit  value  in counting down or exceeds 2147483647  upper limit value  in counting up      If an overflow error occurs   1  is stored in CHO Overflow detection  Un G8  Un G40   the counting oper
118. tion  Sampling time setting   10000ms 0  Periodic time setting   5000ms 0              1 Leave unused channels with the default values     2 Set these items when using the ring counter function     3 Set this item when using the sampling counter function     4 Set this item when using the periodic pulse counter function      4  User devices    CHAPTER 10 PROGRAMMING       Device    Description       W1000 and W1001    Device to which the present value is to be written at auto refresh       W1002 and W1003    Device to which the latch count value is to be written at auto refresh       W1004 to W1005    Device to which the sampling count value is to be written at auto refresh       W1006 and W1007    Device to which the periodic pulse count previous value is to be written at auto refresh       W1008 and W1009    Device to which the periodic pulse count present value is to be written at auto refresh                                                                                  W1010 Device to which the overflow status storage is to be written at auto refresh  X20 Count start signal  X22 Coincidence output data setting signal  X23 Preset command signal  X24 Count stop signal  X25 Coincidence LED clear signal  QX10  X20 to X2F   X26 Counter function start signal  X27 Counter function stop signal  X29 Latch execution signal  X2B Sampling count start signal  X2D Periodic pulse count start signal  Y30 Coincidence confirmation LED signal  ae Overflow occurrence confirmation LED QY10
119. to 5mA  i A14   A07   Function start input 12V  Off AV or less 0 1mA or less  B14 B07 On 4 5 to 5 5V 2 to 5mA  B14   BO7   Function start input 5V  Off 2V or less 0 1mA or less  _ u u Response   Offto on On to off  time 0 5ms or less 1ms or less                            42    CHAPTER 6 INSTALLATION AND WIRING                                                                   Terminal Operating  Input voltage  y o ce number   1 X current  ae er Internal circuit Signal name Operation    guaranteed  classification rn Walle   guaranteed  value   EQU1   Operating voltage  10 2 to 30V  A06 A05   A06   AOS  coincidence output   Maximum load current  0 5A point     point No 1  2A common        Maximum voltage drop at on  1 5V  T   B06 B05 EQU2   Response time  Output ER        B06   B05    coincidence output Off to on  0 1ms or less  Z Bon eat point No 2  On to off  0 1ms or less  rated load  resistive  load       A02 A01 B02  B01   12 24V   Input voltage  10 2 to 30V    Current consumption  43mA  A02  A01   OV  TYP   24VDC and all points on common                   Common to all channels        1 The terminals A03  A04  B03  and B04 are not assigned    2 Coincidence output derating  on ratio  is as follows     ON ratio        100  90       80       70       60       50       40                30                            0 10    20 30 40    Ambient temperature    c     43       BuulM 779    Se9lAep  EUJ8 XO YIM JEU       Z 9        3  LD62D  differential input sink output type    
120. trol panel     Usea shielded cable for the DC power when the cable is extended out of the control panel     Keep the length of the cables between the high speed counter module and the external devices to 30m or  less     Usea shielded twisted pair cable and ground the shielded part of the cable to the control panel with the  AD75CK type cable clamping  Mitsubishi      Inside of control panel         jnpow Jejunoo  peads uBip             20 to 30cm             Pd  iu   i    5CK                            For details on the AD75CK  refer to the following   AD75CK type Cable Clamping Instruction Manual    BuulM 779    suonneoaud BuulM L z 9       37      Take the following noise reduction measures when wiring a connector for external devices    Example of wiring using a shielded cable   The following figure shows an example of wiring for noise reduction using the AGCON1     Connector     A6CON1     From the controller Shielded  cable          X From the encoder    To the external device    ias Ground the shortest possible FG wire of 2mm  or more    Ground it to the panel on the high speed counter module  side      The length between the connector  and shielded cables should be the  shortest possible      Example of noise reduction measures taken to shielded cables               Take off the jacket of each shield and connect  Coat the connector pins with heatshrinkable insulation the shields of the cables with conductive tapes     tubes to protect signal lines     Exposure of sig
121. type                                                                                                                                                                    Terminal Operating  Input voltage  vO Fee number 4 E 3 current  mE Internal circuit Signal name Operation    guaranteed  classification Value   guaranteed  CH1   CH2 value   Phase A pulse input On 21 6 to 26 4V 2 to 5mA  6 8kQ A20   A13  1 3W 24V Off 5V or less 0 1mA or less  A20 A13  Phase A pulse input On 10 8 to 13 2V 2 to 5mA  B20   B13  12V Off 4V or less 0 1mA or less  B20 B13  On 4 5 to 5 5V 2 to 5mA  A19   A12   Phase A pulse input 5V  Off 2V or less 0 1mA or less  C  A19 412  B19 B12 B19   B12   ABCOM      aisat   A48    A41 Phase B pulse input On 21 6 to 26 4V 2 to 5mA  24V off 5V or less 0 1mA or less  B18B11 ES man Phase B pulse input On 10 8 to 13 2V 2 to 5mA  12V Off 4V or less 0 1mA or less  A17 A10 On 4 5 to 5 5V 2 to 5mA  A17   A10   Phase B pulse input 5V  Off 2V or less 0 1mA or less  Input On 21 6 to 26 4V 2 to 5mA  B17   B10   Preset input 24V  Off 5V or less 0 1mA or less  B17 B10  On 10 8 to 13 2V 2 to 5mA  A16   A09   Preset input 12V  A16 A09 Off 4V or less 0 1mA or less  On 4 5 to 5 5V 2to 5mA  B16   B09   Preset input 5V  B16 B09 Off 2V or less 0 1mA or less  Response   Off to on On to off  A15 A08   A15   A08   CTRLCOM    time 0 5ms or less 1ms or less  On 21 6 to 26 4V 2 to 5mA  B15 B08   B15   BO8   Function start input 24V  Off 5V or less 0 1mA or less  A14 A07 On 10 8 to 13 2V 2 
122. ue  data are read again    DMOV G18 D8    X4D F U3  E im PREET      MOV K3 G9 1 The periodic pulse counter function is  selected    Y36          95       uoneunBijuo  uiejs  s pJepueis ui   jnpow eui BuisN LOL       10 2 Connecting the Module to the Head Module    96    Master station  station No 0     This section describes the system configuration and program examples based on conditions      1  System configuration    The following figure shows a system configuration where the high speed counter module is connected to the    head module   Power supply module  Q62P  Power supply module  L61P   CPU module  Q10UDHCPU  Head module  LJ72GF15 T2   Master local module  QJ71GF11 T2  High speed counter module  LD62   Input module  QX10  Input module  LX40C6   Output module  QY10  Output module  LY10R2     END cover  L6EC     X Y00 XIY20  X Y30 X Y1000 X Y1010 X Y1020  to to to to to to  X Y1F XIY2F  X Y3F X Y100F X Y101F X Y102F  x ui M                  X Intelligent device station  station No 1              Ethernet cable  1000BASE T     Network No 1     2  Programming condition    The program counts pulses input to CH1 of the high speed counter module connected to a head module      3  Initial setting                                  Contents  Item  CH1 CH2   Preset value 2500 0  Coincidence output point No 1 1000 0  Coincidence output point No 2 0 0  Ring counter upper limit   5000 0  Ring counter lower limit   5000 0  Counter function selection User defined Count Disabling Func
123. unction selection start command  Y6  YE  is on           9  Counting restarts when CHO Counter function selection start command  Y6  YE  is turned off        78    CHAPTER 8 FUNCTIONS    8 7 Latch Counter Function    The function latches the present counter value when a signal is input   The following figure shows the relationship among the present counter value  the counter function selection start  command  and CHO Latch count value  Un G12  Un G13  Un G44  Un G45      CHO Count enable command ON   Y4  YC  OFF                150  100 i  50    CHO Present value i i   Un G2  Un G3  Un G34  Un G35  i i i  0 i  0 9    4    2  3  4   CHLI Counter function selection start ON             command  Y6  YE   Counter function selection start command OFF   function start input                             150 i      l 130    eo  i        100 5  100 i i 8  1 i    e   1 1 o  i S  i j 50 o  90     n  CHLI Latch count value i S   Un G12  Un G13  Un G44  Un G45  i i 2   NE   S  0            On the rising edge of CHO Counter function selection start command  Y6  YE  or the counter function selection start  command  function start input  of 1  to 4   the present counter value is stored in CHO Latch count value  Un G12   Un G13  Un G44  Un G45     The latch counter function is performed regardless the on off status of CHO Count enable command  Y4  YC         79    8 8    Sampling Counter Function    This function counts pulses input during the specified sampling period  T      The following fig
124. ure shows the relationship between the signals and the buffer memory areas     CHO                   200  100  CHO Present value   Un G2  Un G3  Un G34  Un G35   0    5        Count enable command ON   Y4  YC  OFF             CHO Counter function selection start ON  command  Y6  YE  OFF  Counter function selection start command     function start input     T   T T     gt        00     100 2   4      CHO Sampling count value i i   Un G14  Un G15  Un G46  Un G47  l i  0      100                      CHLI Sampling periodic counter flag 1       Un G11  Un G43  0       No  Description       Input pulses are counted from 0 on the rising edge of CHO Counter function selection start command  Y6  YE  or the  counter function selection start command  function start input      1        2  Counting stops when the specified sampling period has elapsed        While the sampling counter function is performed   1  is stored in CHO Sampling periodic counter flag  Un G11     3    lunca3         Even after the sampling counter function is performed  the value stored in CHO Sampling count value  Un G14     4    Un G15  Un G46  Un G47  is held        5    The sampling counter function is performed regardless the on off status of CHO Count enable command  Y4  YC            80    CHAPTER 8 FUNCTIONS    8 9 Periodic Pulse Counter Function    This function stores the present and previous counter values to CHO Periodic pulse count present value  Un G18   Un G19  Un G50  Un G51  and CHO Periodic pulse 
125. y click  Incorrect interconnection may cause malfunction  failure  or drop of the module        Do not directly touch any conductive parts and electronic components of the module  Doing so can  cause malfunction or failure of the module         Wiring Precautions      NWARNING      Shut off the external power supply  all phases  used in the system before wiring  Failure to do so may  result in electric shock or cause the module to fail or malfunction         Wiring Precautions      NCAUTION      Individually ground the FG and LG terminals of the programmable controller with a ground resistance  of 1009 or less  Failure to do so may result in electric shock or malfunction        Check the rated voltage and terminal layout before wiring to the module  and connect the cables  correctly  Connecting a power supply with a different voltage rating or incorrect wiring may cause a fire  or failure   Connectors for external devices must be crimped with the tool specified by the manufacturer or must  be correctly soldered   Incomplete connections may cause short circuit  fire  or malfunction   Place the cables in a duct or clamp them  If not  dangling cable may swing or inadvertently be pulled   resulting in damage to the module or cables or malfunction due to poor contact   Tighten the connector screws within the specified torque range   Undertightening can cause drop of the screw  short circuit  fire  or malfunction   Overtightening can damage the screw and or module  resulting in dro
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
L A B I B L E D A N S L E S F L A M M E S  Cables Direct HDHD-RA90  LSP バッグマスク レサシテーター 取扱説明書    Audiovox AV1410 Car Stereo System User Manual  はココがポイント!  Samsung TW-H5500 Hướng dẫn sử dụng  File istruzioni - Italiana Sensori Presenta  Supermicro SuperChassis 835TQ-R800B, Black    Copyright © All rights reserved. 
   Failed to retrieve file