Home
        fx-1hc user manual
         Contents
1.              mm    number identification ete  aris           Extension cable  ARP       ane connector  Cr   d          poe Em        Attachment groove     for35 mm  1 38  27    Wide DIN rell     terminal screws oU T inus o    2  CONFIGURATION AND SPECIFICATIONS    Performance Specifications       The environmental specifications for the FX 1HC are the same as those for your base unit of the FX series     Limp   2mputs   1edgecoun   2edgecoun   edgecoum _         frequency   _ some _                      _    tt   Rise fall time is 34s or less  t2  ON OFF pulse duration 1048s or more    t3  Phase difference between phase    and  phase    is 3 5us      more    PRESET  Z phase  input 100s or more  DISABLE  count prohibit  input 1004s or more                    Input signal           Pulse shape            Automatic UP DOWN  however  when on 1 phase 1 input mode  UP DOWN is deter   mined by a programmable controller command or an input terminal     When 32 bit is specified   2 147 483 648 to  2 147 483 647   When 16 bit is specified  O to 65 535  upper limit can be user specified     Each output is set when the present value of the counter matches with the compare  value  which is transferred from the programmable controller   and is switched OFF  by a reset command from the programmable controller                        Counting  specification         Comparison  Type        YH  Direct output processed by hardware   YS  Software processed output with worst delay time of 3004s   
2.          US    ae MITS    PROGRAMMABLE CON                     ADVANCED AND EVER ADVANCING MITSUBISHI ELECTRIC    X 1HC  R   S MANUAL    FOREWORD    e This manual provides technical information on the use of  this special function block in connection with the FX  programmable controller     e Users should ensure that the details of this manual is  studied and understood before attempting to install or    use these units     CONTENTS                 MON DH B             fa    INTRODUCTION    CONFIGURATION AND SPECIFICATIONS   CONNECTION  WIRING   ASSIGNMENT OF BUFFER MEMORY   COUNTER MODES  BFM  0 to  3    COMMAND SETTINGS  BFM  4 to  15    CURRENT VALUE  STATUS INFORMATION  BFM  20 to  30   REQUIRED PROGRAMMING   OPERATION  ABNORMALITY CHECK   OUTLINE OF FROM TO INSTRUCTION    10  13  19  18    20    1  INTRODUCTION    The FX 1HC hardware high speed counter block is a 2 phase 50 kHz high speed counter  It is a spe   cial extension block for the FX series programmable controller  The FX 1HC counts at a higher speed  than the built in high speed counter of the programmable controller  2 phase 2 kHz  1 phase 10 kHz     and performs comparisons and outputs directly    1  Compatible PCs    Versions 2 0 or later of the FX series of program   mable controllers  those with serial nos  13XXXX  or larger  may be used with the FX 1HC  This is  because the FROM and TO commands are used  to transfer data between the programmable con   troller base unit and the FX 1HC      2  Unit Configur
3.        valus Sei vato  lt  cure aue    BFM  26 is only for reading only  Write commands from the  programmable controller are ignored              7  CURRENT VALUE  BFM  20 to  30     4  Terminal status  BFM  27                BFM 427    When o  OFF  _   When  1     ON     EINE 7 7 3L   LII E    vss D is OFF      Undefined    1  When BFM  4 b4   1  the contents of BFMs   11         10 are written into the current value  register of the counter immediately after the  PRESET terminal changes to ON     2  When BFM  4 bO   1  counting starts imme   diately after the DISABLE terminal changes to  OFF     3  Output occurs when the current value be   comes equal to the compare value but only if  b1 and b2 of BFM  4 are OFF  Once an output  is set  it remains ON until it is reset by b9 or  b10 of BFM  4  If b3 of BFM  4 is ON  how   ever  one of the outputs is reset when the  other is set          STATUS INFORMATION     5  BFM  29 Error status       Current value       Compare value    Coincidence output Coincidence output    Error status in the FX 1HC can be checked by  reading the contents of b0 to b7 of BFM  29 to  auxiliary relays of the programmable controller     M8000                             Special block No 2 BFM  29  b7 to b0    M107         100     16    7  CURRENT VALUE  STATUS INFORMATION  BFM  20 to  30    BFM 30      bo   Set when any of b1 to b7 is ON     Set when the value of the ring length is written incorrectly  The identification number for a Special Block is  
4.    14 Set the compare  value for YS output  not necessary if  only YH output is used     Note that counting only occurs if count pro     hibit is OFF  Also  outputs will not be set from  the counting process at all if the relevant out   pu prohibit are set in the command register    lease reset the error flags and YH YS output  before you start  The mutual reset and preset  initialization commands can be used as re   quired     7   M25 to M10   gt  BFM  4  b15 to b0  command    8000  i        ve   re      o 8     BFM   21   20   gt  Reads the current value to     data registers D3 and  2     9  OPERATION  ABNORMALITY CHECK          Preliminary Checks       Troubleshooting       1  Check that the I O wiring and extension The following LEDs on the main panel of the FX 1HC    cable of the FX 1HC are properly con   nected       5V TOmA power is supplied from the  base or extension units for the FX 1HC   Check that there is no power overload  from this and other extension blocks       The counter works correctly only when  data such as the counter mode  set with  a pulse command  the TO command  the  compare value  etc  are appropriately  specified  Remember to initialize the  count  BFM  4 b0   preset  BFM  4 b4    and output  BFM   4 b2 b1  prohibits   Reset the YH YS outputs before you  start     may help you to troubleshoot the unit    e dA        Goes on off as            input turn ON OFF  It can  be checked by rotating the encoder slowly    e UP  DN  Lights up to indicate w
5.   5    Default  KO    Default  KO       4  ASSIGNMENT OF BUFFER MEMORY    Data transfer between the FX 1HC block and the Programmable Controller is through the FX 1HC s  RAM buffer memory  32 address locations each of 16 bits  by the controller s FROM TO Instructions     With reference to the table on the previous page       W  These settings determine how the counting and the setting or resetting of the output is made   The FX base unit should write to these areas before starting any count process       R  These areas are for monitoring purposes  They are read only areas in which data can be read by  the FROM instruction but cannot be written by the TO instructions  If the TO instruction is  attempted on these areas  the instruction is ignored       R W  These areas are read and writable  They can be read for monitoring purposes  They can also  be written to for resetting  Care should be taken when writing to these areas as the current data  will be lost     e Write read examples    X000 X001  ar  oe  xe             ie                   The contents of data registers D1 and DO are The contents of BFMs  21 and  20 of special  written into BFMs  13 and  12 of special block block No 2 are read to data registers D3 and D2   No 2     4  ASSIGNMENT OF BUFFER MEMORY       5  COUNTER MODES  BFM  0 to  3     1  BFM  0 Counter mode  a  32 bit counter modes          The counter mode is selected from the program       2 147 483  647 A 32 bit binary counter  mable controller  As shown be
6.   Therefore  when the input frequency is 50 kHz  there is a worst case delay of 15 input  pulses           2  CONFIGURATION AND SPECIFICATIONS    YHN  NPN transistor output for YH output  YHP  PNP transistor output for YH output  Output Signal Types of outputs   YSN  NPN transistor output for YS output  YSP  PNP transistor output for YS output      Output capacity   DC 12V to 24V 0 5A      Occupation 8 points  but not addressed by X  Y relays   DC SV 70m       3  CONNECTION  WIRING       NPN output encoders    y can also be used   Encoder    Phase A m          ee a ete              ee es    i    NET see RU eee              em exu Eu ne E E me ai E ud d       ee          T                                              1  Do not connect YHP  and YHN  or YSP and  YSN together      2 Connect SG and the  grounded terminal at    the programmable con   troller side as required   Extemal power source DC 12  24V                   power e       3  3  CONNECTION  WIRING     lt  Using the solderless termination  gt          Use crimp terminals of the dimensions specified in the left figure          ForM35 E Secure the terminals using a tightening        of 5 to  amp kg  cm   E    pott      Wire only to the module terminals discussed  in this manual  Leave all oth  4    ers vacant         Use with other extension blocks      The FROM and TO commands are  used D most       the Special  Function Blocks      g     analog inp  t    blocks  analog output blocks  high   speed counter blocks   Th
7.  a  vs ouput prenion  vB ouput perm           AN inaependent eaten        ret            wem ore o  e  easton             fee  We aston                                                        nent ive       ma                    vem          When      is set to ON and the DISABLE input  terminal to OFF  the counter is permitted to  start counting input pulses       Unless b1 is set to ON  YH  hardware com   pared output  does not turn ON       Unless b2 is set to ON  YS  software com   pared output  does not turn ON      When b3   ON  YS output is reset if YH output  is set  and YH output is reset if YS output is  set  When 03   OFF       and YS outputs act in   dependently  and do not reset each other                        5  When b4   OFF  preset function from the PRE     SET is disabled    When b8 is set to ON  all error flags are reset     When b9 is set to ON       output is reset     When b10 is set to ON  YS output is reset     When b11 is set to ON  YH output is set ON   10 When b12 is set to ON  YS output is set ON      Example Program  gt              v Cun       o N       M8000     To                kamio  K1      In the above program  M25 to M10 map onto b15  to 50 of BFM  4 of special block No 2     b4 to bO are turned ON at all times by M14 to  M10     b8  M18   b9  M19   and b10  M20  are con   trolled by the programmable controller inputs  X004 and X005     6  COMMAND SETTINGS  BFM  4 to  15         2  BFM  11   10 Preset data    e Data to be used as the initi
8. OFF     3 and  2 of special block No 2 as a 32 bit bi  UP  nary value  BFM 3 0         2   100   Permit  Current      T  ted values  K2 to K65 536  value DOWN  UP         A   i   e Software UP DOWN  K10  K11   BFM  1  98 99 0 1 KO K1       2 UP DOWN is  ow f                          PTTL LULU ULL determined  F by the con   1 0 99 98 tents of BFM   1     0   1      When ring length K100 is specified  the value of    xii       the counter changes as shown above  Sam FT D pown    11    5  COUNTER MODE  BFM  0 to  3     4  1 phase 2 input counter  K6  K7  e 2 edge count counter  K2  K3           Phase A    Phase A ON    input   1 at             FFA TAR LA LAL OFF  ON            A  ON   1 4 1  1  Phase B Phase B    OFF at OFF  gt  ON  1 2 3 3 3 2 1 0 Phase B input OFF  gt  ON Phase B input ON OFF   ON  gt  OFF  Count            OFF  gt ON  Count down  If both phase A and phase B inputs are received 1 each change  by 1 each change   simultaneously  the counter value does not  change  e 4 edge count counter  K4  K5    5  2 phase counter  KO to K5   e 1 edge count counter  KO  K1  UP COUNT     Phase A input    Phase A  Phase B ron            Phase B input    DOWN COUNT         1    Phase B input OFF   ON Phase B input ON   OFF  while phase A input ON while phase A input ON    Phase A i  Count up by 1  Count down by 1  iii    Phase B input       12    6  COMMAND SETTINGS  BFM  4 to  15         1  BFM      Command    ema  wren  or   wen ow  e                                            
9. al value when the  counter starts to count     e Data becomes valid when b4 is set to ON  and  PRESET input terminal changes from OFF to  ON  The default value of the counter is zero   You can change it by writing a value into BFM   11 and  10 or by using the above command     e The initial value can also be set by writing the  data directly into BFM  21 and  20  current  value of the counter      Write counter data with  D  TO    e Count data is always handled as a pair from  two 16 bit values in this special counter block   16 bit 2 s complement values stored in the reg   Isters of the programmable controller cannot  be used     e When you are writing a positive value between  K32 768 and K65 535  the data should be  treated as a 32 bit value even when a 16 bit  ring counter is used     e When transfering counter data to from this spe   cial counter block  always use the 32 bit forms  of the FROM TO instructions   D FROM     D TO                   14     3  BFM  13   12 Compare vaiue for YH output    e After comparing the current value of the  counter with the value written in BFM  13 and   12  the hardware comparator in the FX 1HC  outputs the comparison result     e YH output will not turn ON if you use the pre   set or the TO instruction to set the preset  value equal to the counter value  It will turn  ON only when a match occurs by the counting  of input pulses      4  BFM  15   14 Comparison set value for YS  output    e After comparing the current value of the  count
10. ation    The casing of the FX 1HC unit resembles that of  the 16 I O point extension block  but the number  of I O points occupied by the FX 1HC is actually  eight  you can count them as either input or out   put points   The FX 1HC unit consumes 70mA of  the 5V power supplied by the programmable con   troller  so you must take care to keep the total  power consumed by all the extension blocks  below the allowable limit of your programmable  controller  The output circuit of your encoder or  the transistor outputs of this special block will re   quire a separate power source      3  Input Signal    The source of your input signal should be a 1 or  2 phase encoder  A 5V  12V  or 24V power  source can be used  An initial value setting com   mand input  PRESET  and a count prohibit com   mand input  DISABLE  are also available      4  Transistor Output    When the counter value coincides with their com   pare values  the appropriate output is set ON  A  PNP and an NPN output transistor is provided  for both outputs to allow either sink or source  connection methods      5  Counter mode    Various counter modes  such as 1 phase or 2   phase  16 bit or 32 bit modes  can be selected  using commands from the programmable control   ler  Allow the FX 1HC unit to run only after set   ting these mode parameters     2  CONFIGURATION AND SPECIFICATIONS _       Weight  Approx  0  5 kg  portis DR e Accessories    Self adhesive labels for special block     1  Dimension mm  inches            
11. efault   P 12  4  waveform corrected   P 13 comparator O P output   P 17 b2   b4 of table changed     Ap JY992D27301C P 7 BFM  20  21   R  gt   R W     Sept  1993 JY992D27301D Text change    P  1  7  13  17   Chapter 8 title   P  18   R W text   P  7  8        Under no circumstances will Mitsubishi Electric be liable or responsible for any  consequential damage that may arise as a result of the installation or use of this  equipment     All examples and diagrams shown in this manual are intended only as an aid to un     derstanding the text  not to guarantee operation  Mitsubishi Electric will accept no  responsibility for actual use of the product based on these illustrative examples     Owing to the very great variety in possible applications of this equipment  you  must satisfy yourself as to its suitability for your specific application        a  MITSUBISHI ELECTRIC CORPORATION    HEAD OFFICE  MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100 TELEX  J24532 CABLE MELCO TOKYO  HIMEJI WORKS  840  CHIYODA                     JAPAN    Effective SEP  1993  JY992D27301D Specifications are subject  HI IB 057 D  9309   SEN  to change without notice     
12. er with the value written into BFM  15 or   14  the software comparator in the FX 1HC  outputs the comparison result     e The comparison operation takes about 300us   and if a match occurs  the output goes ON     e The output will not turn ON if you use the pre   set or the TO instruction to set the preset  value equal to the counter value  it will turn  ON only when a match occurs by the counting  of input pulses     7  CURRENT VALUE  BFM  20 to  3 38    STATUS INFORMATION        1 Counter current value  BFM  21  20     The current value of the counter can be  read by the programmabile controller  It  will not be the correct value during high   speed operations because of the commu   nication delay  The current value of the  counter can be forcibly changed by writ   ing a 32 bit value into the appropriate  BFMs from the programmable controller   Although a match may occur while you  are rewriting  you will not get an output      2                 count value  BFM  23  22     These store the maximum and minimum  values reached by the counter  If the  power is turned off  the stored data is  cleared      3 Comparison status  BFM  26       BFM  26       When O   OFF    When i  ON      no  Seivaluescurent value   Se value  gt  curent valve   h  er  Setyatueesurent value   Sevatue   curent vare    sa  Setvauezsurent vale   Set value  lt  curentvalu     ba  Setvaluescurrent value   Set value    current value   YS         Setvaluewcurrent value   Set value   current value  Les    
13. ese may be connected directly to the FX  Programmable Controller s extension port or to any other extension unit s right side extension port   Each unit or block is consecutively numbered from 0 to 7 beginning from the one closest to the base  unit  A maximum of eight Sper a function blocks  can De connected  to one base unit               48     007 77 ORX4ADEX BEX                   FX32ER PAHC     X0to X27   ee  Special X30 to    Specials   40 0 X57 Special      lt  YO to Y27              block No O    X37  block             Y30 to   47  block No  2    6     2 9 d  d    4  ASSIGNMENT OF BUFFER MEMORY      BFMnumer                         1 1           Default   Ring length Upper 16 bits K65 536    W  4        51049      Canoetbeused                                               Preset data Lower 16 bits   Preset data Upper 16 bits  YH compare value Lower 16 bits Default   YH compare value Upper 16 bits K32 767             YS compare value Lower 16 bits Default     Default  KO     W  15 YS compare value Upper 16 bits K32 767  Cannot be used   R W  20 Counter current value Lower 16 bits   R W  21 Counter current value Upper 16 bits  Maximum count value Lower 16 bits  Maximum count value Upper 16 bits  Minimum count value Lower 16 bits 7        Compare results     27                             528 _   Canmotbeued o      0          oO  Error status fee     30          Model identification code K4010 is witten o               ____       31              anmotbeued             0 
14. hether the counter is going  up  UP  or down  DN     e PRESET and DIS    The appropriate LED lights up when the PRESET  terminal or the DISABLE terminal is ON     e YH  YS  The appropriate LED lights up when YH YS output  is turned on     You can check the error status by reading the con   tent of BFM  29 to the programmable controller   Error contents are shown on page 17     10  OUTLINE OF FROM TO INSTRUCTION          FNC 78 m2       n BFM  20 to  25 of    S  fees ve Dm Dom ve    M special unit No  2   D120     dise to D125          Special function unit or block number  These are numbered consecutively from KO to K7  starting from the one closest to the base unit     m2  Buffer memory head address   m2   KO to K31      D    Transfer destination head address      C  D  KnM  KnY         V or 2 can be specified  This  argument can be coupled with an index register     The  Y of words to be transferred  n   K1 to K32   Ene mi m2 S  nm D112 to D115 trans             we  ove  oe         X11 No 0 BFM  12  15    m1  m2  n  The same as above     S    Transfer destination head address      C  D  KnX  KnY  KnM      5  V  Z  K or    can be spec   ified  This argument can be coupled with an index register     When X10 or X11 is OFF  transfer is not executed  and data at the transfer destination will not be  changed     20    Revisions    EDITION DATE   MANUAL NUMBER REVISION  Jun  1991 JY992D27301A First edition       Aug  1991 JY992D27301B P 3 5  gt  3 5  5   P 11 initial value  gt  d
15. low  values be  scs    which executes UP DOWN    tween KO and K11 are written to buffer memory Upper   counting will change from  BFM  0 from the programmable controller  When      a          in MURS  you are about to begin  you must give a momen  0 the lower limit when QUB    tary command using M8002  initial pulse  as the flow occurs  Both the  condition contact of the TO instruction  A continu  Upper an ore  limits 6   Lower ixed values  the upper limit  ous command is not allowed  pa 8  2 147 483 647  and the  Modes of KO to K11 of buffer memory BFM  0  2 147 483 648 lower limit is  2 147 483 648      Count odes           web    b  16 bit counter modes  2 phase input 1 edge count   Ko   K   A 16 bit binary counter handles only positive values    pulse     4edgecoum                  1 phase 2 input  add subtract pulse    Ke   K   Ring length  HIWUPIDOWN               TET  1 phase 1 input  Sw UPIDOWN          xu         Changes to zero from the upper limit or to the upper  H W  Hardware   limit from zero when overflow occurs  the upper limit is  determined by BFMs  3 and  2   S W  Software    10    5  COUNTER MODES  BFM  0 to  3      2  BFM  3   2 Ring length  3  1            1 input counter  K8 to K11   e Hardware UP DOWN  K8   K9        Stores the data to specify the length of the 16 bit    counter  default  K65 536   Phase A OFF    ON       ike ON UP DOWN is  oro     e      m  me                    F by input  phase A  In the above example  K100 is written into BFMs  ON 
16. other than K2 to   65 536 read by using the FROM command     Diu           incorrectly  The identification number for the FX 1HC unit is  Dien     al  T  mr         luli By reading this identification number  the user  incorrectly  may create built in checking routines to check                  Whentheupperor   Whether the physical position of the FX 1HC  limit  send dir matches to that of the software   Cl iier oed B m    Set when the FROM TO command is used incorrectly     b8       These error flags can be reset by b8 of BFM  4        17    8  REQUIRED PROGRAMMING    Please use the following program as a guide whenever you use the FX 1HC unit  Other instructions to  read the current value of the counter  status etc  can be added as required        M8002 1       Initial pulse       4  5  Count allowed  M8000     MD          Output allowed 6  Mutual reset    X11      ma  Preset allowed  X12  PLS e Error fiag reset    X13    M18 and M20 YH YS output reset    M    RUN monitor                                        Kt    18      K11 is written into BFM  0 of special block    No 2  The counter Input is 16 bit 1 phase   Please use a pulse command for this initializa   tion        1234    BFM  3   2  special block No 2     The ring length can be specified  when a 16 bit counter is specified       UP DOWN direction should be specified for    1 phase 1 input software determined  UP DOWN counter      K1000  gt  BFM  13   12 Set the compare    value for YH output      K900  gt  BFM  15
    
Download Pdf Manuals
 
 
    
Related Search
    
Related Contents
Dosimis-3 Benutzerhandbuch  Hfdemfcr。n Pr。  VersaDoc User Manual  GE Surface Specialty Wellheads Brochure    Mobile Reporting Connector User's Guide  Manuale di Istruzioni  DATA-MANSHRT_V-AMP PRO_ITL_Rev_A.pmd      Copyright © All rights reserved. 
   Failed to retrieve file