Home
FP7 High-speed Counter Unit User`s Manual
Contents
1. Pin No Pe Circuit Signal name ch0 2 ch1 3 A1 A11 o A1 A11 Input A 24 VDC 12 to 24 VDC A2 A12 2 12 Input 5 3 5 to 5 B1 B11 gt Input A COM B1 B11 B2 B12 B2 B12 Input A COM A3 A13 o A3 A13 Input B 24 VDC 12 to 24 VDC A4 14 4 14 Input 5 VDC 3 5 to 5 VDC B3 B13 3 Input B3 B13 B4 B14 B4 B14 Input B COM A5 A15 o 5 15 Input Z 24 VDC 12 to 24 VDC A6 16 o A6 A16 Input Z 24 VDC 3 5 to 5 VDC B5 B15 gt Input Z B5 B15 B6 B16 B6 B16 Input Z COM Control 0 1 common Pin No Circuit Signal name ch0 2 ch1 3 A7 A17 pm o ATIA17 Control 0 12 to 24 VDC B7 B17 B7 B17 Control 0 COM A8 18 18 Control 1 12 to 24 VDC B8 B18 o B8 B18 Control 1 COM External output 0 1 and Power supply terminal common Pin No a Circuit Signal name ch0 2 ch1 3 A9 19 A10 A20 External output 0 Sink output 5 to 24 VDC 15 mA B BB K v A9 A19 Extemal output 1 Sink output 5 to 24 VDC mA 10 20 4 9 19 Power supply for output 24 VDC B10 B20 B10 B20 Power supply for output GND Note 1 For using external output A9 A19 B9 B19 power should be supplied to the power supply for output A10 A20 B10 B20 When the externa
2. Error Channel Corresponding unit code No 0320 CH0 UM 00073 0321H CH1 Average number of frequency measurement processes UM 00143 0322H CH2 setting error UM 00213 0323H CH3 UM 002E3 0330H CHO UM 00074 0331H CH1 Average number of rotation speed measurement processes UM 00144 0332H CH2 setting error UM 00214 0333H CH3 UM 002E4 0400H CHO UM 00078 0401H CH1 UM 00148 Comparison function selection setting error 0402H CH2 UM 00218 0403H CH3 UM 002E8 0410H CHO UM 00079 0411H CH1 UM 00149 Nl Comparison input selection setting error 0412H CH2 UM 00219 0413H CH3 UM 002E9 0430H CHO UM 0007B 0431H CH1 UM 0014B Number of comparison data setting error 0432H CH2 UM 0021B 0433H CH3 UM 002EB 0500H CHO UM 00100 0501H CH1 UM 001D0 External output 0 signal setting error 0502H CH2 UM 002A0 0503H CH3 UM 00370 0510H CHO UM 00101 0511H CH1 UM 001D1 External output 0 signal output hold setting error 0512H CH2 UM 002A1 0513H CH3 UM 00371 0520H CHO UM 00102 0521H CH1 UM 001D2 External output 0 signal ON timing delay setting error 0522H CH2 UM 002A2 0523H CH3 UM 00372 0530H CHO UM 00103 0531H CH1 UM 001D3 External output 0 signal ON hold time setting error 0532H CH2 UM 002A3 0533H CH3 UM 00373 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email
3. 5 9 5 2 5 Enable Count Operation I r 5 10 5 2 6 Enable Reset Count Operation sse 5 11 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 2 7 Enable Preset Count Operation a 5 12 5 3 Allocation of Reset Preset and Enable Signals 5 13 5 94 RES u oiu ini h usha 5 13 5 3 2 UPreseGInpuUl eo a et dote 5 14 5 3 9 Enable Input Access eles ete ele mec 5 16 5 4 Reading Count Value and Changing Current Value 5 17 5 4 1 Areas Related to Count 5 17 5 4 2 Reading Count Value essem emnes 5 18 5 4 3 Count Value When Power Turns 5 18 5 4 4 Changing Count Current Value sess 5 18 5 5 Input Time Constant Setting Function 5 19 5 5 1 Input Time Constant 5 19 6 Measurement Funcotion 6 1 6 1 Overview of Measurement Function sss 6 2 6 1 1 Types of Measurement Function a 6 2 Orl 2 Configuration tte eeiam te usa 6 3
4. 3 2 3 1 2 Assembly of Connector for Wire pressed Terminal Cable 3 3 22 Terminal Circuit DIBQEAFTI 3 5 3 2 14 W O Terminal Layout Diagram sse 3 5 3 3 Input Output Specifications 3 7 3 3 4 Input SpecificationiS uuu u nm u L 3 7 3 3 2 Output SpecificationS u u a a aaa apan 3 7 3 4 Precautions on Wiring and Connection of Count Input 3 8 3 4 1 Precautions on Wiring wise aiana niwa emen 3 8 3 4 2 For Line Driver of Encoder 3 8 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 3 4 3 For Transistor Open Collector Type of Encoder 1 3 9 3 44 Sensor Input erbe nece hie ttem nde ea 3 9 4 Unit Allocation and Parameter Settings 4 1 4 1 Umit AllOCAtION 22 uuu uuu Tu mns 4 2 4 1 1 Confirmation of I O Allocation Information 4 2 4 1 2 Number of Occupied Points of High speed Counter Unit 4 3 4 1 3 Registration in l O Map uu u u u mmm emm 4 4 4 2 Configuration of High speed Counter Unit 4 5 4 2 1 Configuration Using Tool Software
5. Operation 2 Control Control Type Feature phase 0 1 input signal signal signal 9 9 Simple count Performs the count operation regardless of external control operation input signals Performs the reset operation according to the change in the Reset count ums zs F z phase input signal rising trailing positive logic or e operation negative logic Performs the preset operation according to the change in Preset count m the z phase input signal rising trailing positive logic or e operation negative logic Enable count Performs the count operation while the control signal operation allocated to the enable input is effective Enable reset Performs the count operation while the control signal allocated to the enable input is effective Resets the count count Mr o operation value at the timing at which the counter becomes enabled p by the control signal allocated to the enable input Enable preset Performs the count operation while the control signal p allocated to the enable input is effective Presets the count count nir value at the timing at which the counter becomes enabled by the control signal allocated to the enable input Note 1 In any of these cases resetting or presetting values can be performed by output relays Y Note 2 If the control signals are used in the above operations the same signals cannot be used for the capture func
6. 4 5 4 2 2 Configuration Data Setting Items sss 4 6 4 3 Configuration Data and Operation Ready Request 4 9 4 3 1 Operation Ready Request 4 9 4 3 2 Downloading Configuration Data see 4 10 4 3 3 Operation When Operation Ready Request Program is Executed 4 10 4 4 Configuration Using User 4 11 5 Count Function J J T J JJ 5 1 5 1 Selection of Counters and Basic 5 5 2 5 1 1 Basic Settings of COUNtEIS Su u enne 5 2 51 2 Selection of Gount InpUt et shee teret hh 5 2 5 1 3 Linear Counter Ring 5 3 5 1 4 Selection of Count Methods ssssssssssssee ee 5 4 5 2 Types of Count Operations 5 6 5 2 1 Types and Features of Count Operations 5 6 5 2 2 Simple Count Operation a 5 7 5 2 3 Reset Count Operation 5 9 5 2 4 Preset Count Operation
7. Error Channel Corresponding unit code No AML memory No 0160H CHO UM 00059 0161H CH1 UM 00129 Input Z signal function setting error 0162H CH2 UM 001F9 0163H CH3 UM 002C9 0170H CHO UM 0005A 0171H CH1 UM 0012A Control 0 signal function setting error 0172H CH2 UM 001FA 0173H CH3 UM 002CA 0180H CHO UM 0005B 0181H CH1 UM 0012B Control 1 signal function setting error 0182H CH2 UM 001FB 0183H CH3 UM 002CB 0190H CHO UM 00060 UM 00061 0191H CH1 UM 00130 UM 00131 P gt Default value setting error 0192H CH2 UM 00200 UM 00201 0193H CH3 UM 002D0 UM 002D1 01A0H CHO UM 00068 01A1H CH1 UM 00138 Input A signal Input B signal input time constant setting error 01A2H CH2 UM 00208 01A3H CH3 UM 002D8 01BOH CHO UM 00069 01B1H CH1 UM 00139 Input Z signal input time constant setting error 01B2H CH2 UM 00209 01B3H CH3 UM 002D9 01COH CHO UM 0006A 01C1H CH1 UM 0013A Control signal input time constant setting error 01C2H CH2 UM 0020A 01C3H CH3 UM 002DA 0300H CHO UM 00070 0301H CH1 UM 00140 Measurement function selection setting error 0302H CH2 UM 00210 0303H CH3 UM 002bE0 0310H CHO UM 00071 UM 00072 0311H CH1 UM 00141 UM 00142 Pulse number per rotation setting error 0312H CH2 UM 00211 UM 00212 0313H CH3 UM 002E1 UM 002E2 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m List of error codes 0320H 0533H
8. Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 6 1 3 Reading Measuring Results Measuring results are stored in the following area m Read area Unit memor A Default Setting range and description Unit Hex UM 003A8 UM 003A9 UM 003B8 UM 003B9 Frequency Frequency measurement value after averaging procedure EE measurement value UO Range 0 to 20 000 000 Hz UM 003 8 After averaging Signed 32 bit UM 003D8 UM 003D9 UM 003AA UM 003AB UM 003BA Rotation speed Rotation speed measurement value after averaging UM 003BB p procedure RAN LANARK E measurement value U0 UM 003CA Range 1 200 000 000 to 1 200 000 000 Signed 32 bit UM 003CB UM 003DA UM 003DB Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top rpm After averaging 6 1 4 Sample Program e t can be read at any time eThe values stored in unit memories can be monitored by the device monitor function of programming tool FPWIN GR7 Read program Example Program to read the frequency measurement value and the rotation speed measurement value for CHO of the high speed counter unit installed in the slot number 1 RO Hx DF MV SL S1 UM003A8 DT100 Frequency measurement value MV SL S1 UM003AA DT200 Rotation speed measurement value Phone 800 894 0412 Fax 88
9. 5 Positive logic enable operation operation at rising edge H6 Negative logic enable operation and preset operation at trailing edge UM 0005B Set counter operations by the control 1 signal UM 0012B Control 1 signal H0 H0 Not used _ UM 001 function setting H1 Positive logic enable operation UM 002CB H2 Negative logic enable operation Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net B Count function Unit memory Name Default Setting range and description Unit No Hex Set to reset the counter when the comparison match flag rises UM 0005 bit no 15 0 UM 0012C Comparison match leading HO UM 001FC edge reset Comparison match F flag UM 002CC Comparison match 0 flag 0 Not reset 1 Reset Set to reset the counter when the comparison match flag falls UM 0005D bit no 15 0 UM 0012 Comparison match trailing HO UM 001FD edge reset Comparison match F flag UM 002CD Comparison match 0 flag 0 Not reset 1 Reset UM 00060 UM 00061 UM 00130 Set the default value used when the power turns on SUM OTST restat 0 Setting range 2 147 483 648 8000 0000H to Bul UM 00200 2 147 483 647 7FFF FFFFH UM 00201 Signed 32 bit UM 002D0 UM 002D1 UM 00062 UM 00063 UM 00132 Set the preset val
10. 09719 UM 007797 gt Capture 1 register to 2 147 483 647 7 FFFFH UM 00978 UM 00979 Buffer 60 Signed 32 bit UM 00B78 UM 00B79 UM 00582 UM 00583 Capture register UM 00782 UM 00783 difference value for Transfers the difference between the TIN DDOS capture 1 request capture 1 register UM 003x4 UM 003x5 KUMA ind di and the capture 0 register UM 003x2 UM UM 00B82 UM 00B83 003x3 to the buffer 1 when the capture Omitted Omitted request is made for the capture 1 Pdlse Note 1 The unit memory numbers in the above table are for CHO CH1 CH2 and from the top Note 2 The capture value buffer areas are available from the high speed counter unit Ver 1 2 REFERENCE e For information on unit memory UM numbers corresponding to each buffer number refer to the list beginning on page 11 27 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories Capture 0 register buffers Buffer No Unit memory UM No CH0 CH1 CH2 CH3 Buffer 1 UM00402 UM00403 UM00602 UM00603 UM00802 UM00803 UM00A02 UM00A03 Buffer 2 UM00404 UM00405 UM00604 UM00605 UM00804 UM00805 UM00A04 UM00A05 Buffer 3 UM00406 UM00407 UM00606 UM00607 UM00806 UM00807 UM00A06 UM00A07 Buffer 4 UM00408 UM00409 UM00608 UM00609 UM00808 UM0080
11. 7 16 7 4 2 Output Pattern Setting Only for Band Comparison 7 18 7 4 3 Forced Output Function 7 19 8 Capture F uhctl oh eres cete e coke eec cone 8 1 8 1 Overview of Functions 8 2 8 1 1 Types of Capture Function 8 2 8 1 2 Restrictions on Combinations seen 8 3 9 1 9 Configuration roe AA tmi ite abire eire t esee 8 4 8 2 Operations of Capture Function 8 6 8 2 1 0 series n ea ieee tute ag e ee 8 6 8 2 2 Continuous OperatloD rtc ent eite e ERR PUES 8 8 8 3 Operations of Sampling Capture Function 8 10 98 3 1 One c e oe RE e bei ia ids 8 10 8 3 2 Continuous Operation a 8 11 8 4 Operations of Buffer Function 8 12 8 4 1 Overview of Buffer Function u eme 8 12 8 5 Reading Capture Da ta cei ne ei a eer pin ERR Rn 8 14 8 5 1 Reading Capture Register 8 14 8 5 2 Reading Buffer Area Data sss 8 15 8 5 3 Operation and Readout of
12. Effective Signal name condlton CHO CH1 CH2 CH3 Enable request Level Y101 Y111 Y121 Y131 Control 0 signal monitor X10B X12B X14B X16B Control 1 signal monitor X10C X12C X14C X16C Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number b Ker e enable input works as a level signal Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 4 Reading Count Value and Changing Current Value 541 Areas Related to Count Value m Monitor area related to count values Unit memory No Name Default Setting range and description Unit Hex UM 003A0 UM 003A1 UM 003B0 Current count value of counter _UM 003B1 Count value Setting range 2 147 483 648 8000 0000H to UM 003C0 Current value 2 147 483 647 7FFF FFFFH _UM003C1 Signed 32 bit UM 003D0 UM 003D1 Configuration area related to count value Unit memory No Name Default Setting range and description Unit Hex UM 00060 UM 00061 UM 00130 Set the default value used when the power turns on UM 00131 Default value all when power turns 0 Setting range 2 147 483 648 8000 0000H to Pulse UM 00200 on 2 147 483 647 7FFF FFFFH 00201 Signed 32 bit UM 002D0 UM 002D1 UM 0006
13. 6 1 3 Reading Measuring Results a 6 4 61 4 Sample Pgri iun mio 6 4 7 Comparison Function 7 1 7 1 Overview of Comparison Function iwa 7 2 7 1 1 Types of Comparison Function 7 2 7 1 2 Target Value Match Comparison and Band Comparison 7 3 7 2 Operation of Target Value Match Function 7 4 7 2 1 Examples of Linear counter Settings sse 7 4 7 2 2 Examples of Ring Counter Settings 7 6 7 2 3 Configuration of Target Value Match 7 8 7 3 Operation of Band Comparison Function 7 11 7 3 1 Examples of Linear counter Settings 7 11 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 3 2 Examples of Ring Counter Settings 7 12 7 3 3 Configuration of Band 7 14 7 4 External WAWA nennen mener nnns 7 16 7 4 1 Overview of External Output Function
14. UM 00132 Set preset values UM 00133 Preset Setting range UM 00202 value 2 147 483 648 8000 0000H to 2 147 483 647 7FFF FFFFH UM 00203 Signed 32 bit UM 002D2 UM 002D3 Pulse Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net K e Preset values are set in unit memories UM using the configuration menu or user programs Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 3 3 Enable Input The following enable input methods are available m Type of enable signals Enable Enable condition operation Setting method ON ON element orr orr Bar Y Activates the enable request signal by a user program e Allocates the control 0 signal to any of these operations using the configuration menu Positive logic enable operation Control 0 Negative logic enable operation e e signal Positive logic enable operation and reset operation at rising edge Negative logic enable operation and reset operation at trailing edge Positive logic enable operation and preset operation at rising edge Negative logic enable operation and preset operation at trailing edge Allocates the control 1 signal to either operation using the Control 1 configuration menu signal Positive logic enable operation e e Negative logic enable operation m Allocation
15. e Inthe sampling capture operation continuous operation the capture 0 done flag is activated Note that the capture 1 done flag is not activated Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 4 Operations of Buffer Function 8 41 Overview of Buffer Function m Function of buffer areas e In the buffer areas 60 point 120 word areas are each provided for the capture 0 capture 1 and difference values each e Latest captured data is stored in the capture 0 register or capture 1 register e Every time the data in the capture register is updated the data in the capture register is shifted and stored in the buffer areas 1 to 60 sequentially The data stored in the buffer 60 the oldest data is discarded m Time chart Capture enable ON Y7 Capture trigger Control signal 012345678910 12 14 16 18 20 2 2 UM003A0 UM003A1 Capture 0 number of completed operations UM00400 Capture 0 register UM003A2 UM003A3 Capture 0 register buffer 1 UM00402 UM00403 Capture 0 register buffer 2 UM00404 UM00405 Capture 1 register UM003A4 UM003A5 Capture register difference value UM003A6 UM003A7 Capture 0 difference value buffer 1 UM00482 UM00483 Capture 0 difference value buffer 2 UM00484 UM00485 0 10 Capture 0 done flag 4 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email i
16. Level Relay to recalculate thesetting parameter of counter Y1 Y11 Y21 Y31 Count enable request Level Relay to start the counter operation Y2 Y12 Y22 Y32 Reset request ON edge Relay to reset count values Y3 Y13 Y23 Y33 Preset request ON edge Relay to preset count values y14 Y24 Y34 Reset enable request Level Relay to erable TeSerDy he control signal and input Z signal Y5 Y45 Y25 Y35 Current value change ON edge Relay to request for changing the request current value of counter Y6 Y16 Y26 Y36 Preset value change ON edge Relay to request for changing preset request values Capture enable request when using Y7 Y17 Y27 Y37 Capture enable request Level the capture function or capture Note 2 trigger signal when using the E _ z sampling capture function Y8 Y18 Y28 Y38 Y9 Y19 Y29 Y39 External output 0 forced evel Relay to forcibly turn on the external ON output 0 YA Y1A Y2A Y3A External output 0 forced Lev Relay to forcibly turn off the external OFF output 0 YB Y1B Y2B Y3B External output 1 forced Level Relay to forcibly turn on the external ON output 1 YC YAC Y2C Y3C External output 1 forced Level Relay to forcibly turn off the external OFF output 1 Y1D Y2D Y3D Overflow clear Relay to clear the overflow annunciation flag 1 Y2E Y3E Underflow clear Relay to clear the underflow annunciation flag YF Y1F Y2F Y3F Error clear ON edge Relay to
17. Note 1 It can be announced as an error by the Overflow and setting of configuration menu underflow If the lower limit or the upper limit has been Not settable settings set using the configuration menu an error is announced based on the set values Note 1 When the upper limit or the lower limit has been changed in the configuration menu the counter operates based on its range Note 2 Even when the upper and lower limits have been set on the linear counter counting continues up to the range that is countable as a system 2 147 483 648 to 2 147 483 647 if the overflow and under flow settings have been set to Disable m Operation in case of overflow or underflow Linear counter only e When Enable has been selected in the configuration menu the error will be announced once the overflow or underflow annunciation flag turns on e The overflow or underflow flag can be cleared by the following operations Overflow clear request Underflow clear request Reset or Preset operation e The error clear operation is required to clear error flags REFERENCE e For details of the error clear method refer to 10 1 Self diagnostic Function Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 1 4 Selection of Count Methods e Select from the following three types according to input devices to be connected e The count operation varies depending on the sett
18. 1 done flag OFF K e The values Capture 1 register Capture 0 register are always stored as capture register difference values The signs for the values of capture difference value register change according to the sequence of the capture enable signal output Y contact and the capture trigger control signal Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 222 Continuous Operation e Capturing is executed every time the capture trigger condition control signal is met while the capture function is enabled by the capture enable request signal Y7 e The operation changes as follows according to the settings leading and trailing edges of the valid control signal m When Leading edge is set as the capture trigger condition Capture enable Y7 Capture trigger Control signal Count value UM003A0 UM003A1 Capture 0 register UMO003A2 UM003A3 Capture 0 done flag X4 Capture enable Y7 Capture trigger Control signal Count value UM003A0 UM003A1 Capture 0 register UMO003A2 UM003A3 Capture 0 done flag X4 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m When Leading edge and Trailing edge of the same signal are set as the capture trigger condition Capture enable Y7 Capture trigger Control signal Count value UMO003A0 UM003A1 Capture 0 register UM
19. 1 to buffer 60 sequentially Range 2 147 483 648 8000 0000H to 2 147 483 647 7FFF FFFFH Signed 32 bit Hex Name Default Setting range and description Unit UM 00400 Monitors the number of completed capture UM 00600 T Number of 0 operations while capturing is enabled Mino S i completed capture UO It is cleared to zero when the capture Times t tee 4 0 operations enable request Y7 Y17 Y27 or Y37 is UM 00A00 activated UM 00402 UM 00403 _ Capture 0 register Once the capture processing is performed buffer 1 the data stored in the capture 0 registers UM 003x2 UM 003x3 are transferred to the buffer 1 Omitted Omitted K0 The data are shifted and stored from the Pulse UM 00478 UM 00479 buffer 1 to buffer 60 sequentially EES AA AA Range 2 147 483 648 8000 0000 UM00078 UM 00679 Capture 0 register to 2 147 483 647 7 FFFFH UM 00878 UM 00879 Buffer 60 Signed 32 bit UM 00A78 UM 00A79 UM 00482 UM 00483 rE RAKAA NA Capture register UM 00682 UM 00683 difference value for Transfers the difference between the Pu Ona RS capture 0 request capture 1 register UM 003x4 UM 003x5 00882 UM 008837 AI a ss and the capture 0 register UM 003x2 UM 00A82 UM 00A83 UM 003x3 to the buffer 1 when the Omitted Omitted capture request is made for the capture 0 Pulse Note 1 The unit memory numbers in the above table are for CHO CH1 C
20. 21 UM0042A UM0042B UM0062A UM0062B UM0082A UM0082B UM00A2A UM00A2B Buffer 22 UM0042C UM0042D UM0062C UM0062D UM0082C UM0082D UM00A2C UM00A2D Buffer 23 Buffer 24 UM0042E UM0042F UM00430 UM00431 UM0062E UM0062F UM00630 UM00631 UM0082E UM0082F UM00830 UM00831 UM00A2E UM00A2F UM00A30 UM00A31 Buffer 25 UM00432 UM00433 UM00632 UM00633 UM00832 UM00833 UM00A32 UM00A33 Buffer 26 UM00434 UM00435 UM00634 UM00635 UM00834 UM00835 UM00A34 UM00A35 Buffer 27 UM00436 UM00437 UM00636 UM00637 UM00836 UM00837 UM00A36 UM00A37 Buffer 28 Buffer 29 UM00438 UM00439 UM0043A UM0043B UM00638 UM00639 UM0063A UM0063B UM00838 UM00839 UM0083A UM0083B UM00A38 UM00A39 UM00A3A UM00A3B Buffer 30 UM0043C UM0043D UM0063C UM0063D UM0083C UM0083D UM00A3C UM00A3D Note 1 The capture value buffer areas are available from the high speed counter unit Ver 1 2 we next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories Capture 0 register buffers Buffer No Unit memory UM No CH0 CH1 CH2 CH3 Buffer 31 UM0043E UM0043F UM0063E UM0063F UM0083E UM0083F UM00A3E UM00A3F Buffer 32 UM00440 UM00441 UM00640 UM00641 UM00840 UM00841 UM00A40 UM00A41 Buffer 33 UM00442 UM00443 UM00642 UM00643 UM008
21. 5 us 500 kHz H4 1 0 us 250 kHz H5 2 0 us 100 kHz H6 10 0 us 10 kHz H7 Disable No input time constant Set the input time constant of control signal No input time constant H1 2us H2 5us H3 10 us H4 20 us H5 50 us H6 100 us H7 500 us H8 1 0 ms H9 2 0 ms HA 5 0 ms HB 10 0 ms HC Disable No input time constant HD Disable No input time constant HE Disable No input time constant HF Disable No input time constant Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Measurement function Unit memory Name Default Setting range and description Unit No Hex Select a measurement function from frequency measurement rotation speed measurement UM 00070 rotation speed measurement B UM00140 Select measurement H0 Not use measurement function UM 00210 function H0 H1 Frequency measurement f H2 Frequency measurement and rotation speed UM 002E0 measurement A H3 Frequency measurement and rotation speed measurement B UM 00071 UM 00072 UM 00141 Set the pulse number for one rotation of the UM 00142 Pulse number per encoder precoce U1 Pulse UM 00211 rotation Setting range 1 to 1 048 575 The values out of the UM 00212 setting range are invalid UM 002E1 UM 002E2 Set the number of
22. 9 ms UM 002A7 ON hold time Setting range 0 to 1 000 The values out of the setting range are invalid UM 00377 Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Capture function Unit memory Name Default Setting range and description Unit No Hex Make the setting for the capture function or sampling capture function H0 Not use capture 0 function H1 Capture function at rising edge of control 0 signal H2 Capture function at trailing edge of control 0 signal H3 Capture function at rising edge of control 1 signal H4 Capture function at trailing edge of control 1 signal UM 00110 H5 Control 0 signal positive logic sampling capture En Capture 0 setti HO He cor 0 signal tive logi li t apture 0 setting Control 0 signal negative logic sampling capture UM 002B0 function UM 00380 H7 Control 1 signal positive logic sampling capture function H8 Control 1 signal negative logic sampling capture function H9 Output relay Y relay sampling capture function The capture 1 setting area is invalid when the sampling capture function H5 to H9 is selected in the capture 0 setting Make the setting for the capture function or sampling capture function UM 00111 Not use capture 1 function H1 Capture function at rising edge of control 0 signal UM 001E1 I
23. M E Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Record of changes Manual No Date Record of Changes WUME FP7HSC 01 Oct 2013 First Edition WUME FP7HSC 02 Jun 2014 Second Edition Specification change Capture function Chapter 4 1 Chapter 8 Chapter 11 2 to 11 4 Correction of sample programs related to Operation Ready Request and Configuration Using User Programs Chapter 4 3 4 4 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net
24. MV US 5130 00114 buffer REFERENCE e For information on the clear of capture registers and buffers refer to 8 6 Clearing Capture Values Storage Area e For details of unit memory UM numbers refer to 11 4 Unit Memory Detailed Specifications Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 5 3 Operation and Readout of Capture Done Flag X4 X5 m Basic operation e the completion of capturing the capture done flag is reflected in the operation memory of the CPU X4 X5 at the time of I O refresh eln case of the capture function the capture done flag is reset by executing the capture enable request signal Y7 I O refresh I O refresh CPU unit Note 1 Capture enable Y7 Capture trigger Control signal Y Y 0 1234 5678910 12 14 16 18 20 22 24 26 28 30 Count value High speed a Note 2 counter a a unit Capture 0 done internal signal I O refresh tefresh Scan time CPU Capture 0 done Note 3 unit flag 4 Read out data to operation memory 099 gt 18 Note 1 Turn the capture enable signal using the user program Note 2 The high speed counter unit performs the capture operation without synchronizing with the operation of the CPU unit every time control signals turn on as the capture trigger The capture done internal signal used for the system in the hi
25. Name Default Setting range and description Unit Hex UM 00100 Set whether or not to output the comparison UM 00100 External output 0 signal Ho match 0 flag to the external output 0 signal UM 002A0 setting HO Not output UM 00370 H1 Output UM 00401 Set whether or not to hold the output signal in the UM 001D1 Output hold setting of program mode when error occurs B UM 002A1 external output 0 signal Not hold UM 00371 H1 Hold UM 00102 External output 0 signal Set the ON timing delay of external output 0 UM 001D2 ON timing delay signal Available when band 0 ms UM 002A2 comparison function is Setting range 0 to 1 000 The values out of the UM 00372 used setting range are invalid UM 00103 External output 0 signal UM 001D3 ON hold time Set the ON hold time of external output 0 signal Unono Saabile when 0 Setting range 0 to 1 000 The values out of the ms comparison function is setting range are invalid UM 00373 used UM 00104 Set whether or not to output the comparison UM 00104 External output 1 signal YA match 1 flag to the output 1 signal UM 002 4 setting HO Not output UM 00374 H1 Output UM 00105 Set whether or not to hold the output signal in the UM 001D5 Output hold setting of HO program mode when an error occurs _ 002A5 external output 1 signal Not hold UM 00375 H1 Hold UM 00106 External output 1 signal Set the ON timing de
26. UM 00218 comparison data U16 Setting range 1 to 16 The values out of the setting Times range are invalid UM 002EB UM 00080 UM 00150 Comparison data 0 HO UM 00220 UM 002F0 UM 00088 UM 00158 Comparison data 1 H0 UM 00228 UM 002F8 UM 00090 UM 00160 Comparison data 2 HO Areas in which the output patterns of comparison data UM 00230 and comparison match flags are stored UM 00300 The formats of storage areas differ between the target UM 00098 value match comparison and the band comparison UM 00168 Each item occupies 8 word area The unit memory Comparison data 3 HO numbers UM indicate starting addresses UM 00238 For details of the format of target value match UM 00308 comparison refer to 7 1 2 Target Value Match UM 000A0 Comparison and Band Comparison UM 00170 For details of the format of band comparison refer to LIM 60240 Comparison data 4 HO 7 3 3 Configuration of Band Comparison UM 00310 UM 000A8 UM 00178 Comparison data 5 H0 UM 00248 UM 00318 UM 000B0 UM 00180 Comparison data 6 H0 UM 00250 UM 00320 Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Comparison function Unit memory Name Default Setting range and description Unit No Hex UM 000B8 UM 00188 UM 00258 UM 00328 UM 000C0 UM 00190 UM 00260 UM 00330 UM 000C8 UM 0
27. UM00929 UM00B28 UM00B29 Buffer 21 UM0052A UM0052B UM0072A UM0072B UM0092A UM0092B UM00B2A UM00B2B Buffer 22 UM0052C UM0052D UM0072C UM0072D UM0092C UM0092D UM00B2C UM00B2D Buffer 23 Buffer 24 UM0052E UM0052F UM00530 UM00531 UM0072E UM0072F UM00730 UM00731 UM0092E UM0092F UM00930 UM00931 UM00B2E UM00B2F UM00B30 UM00B31 Buffer 25 UM00532 UM00533 UM00732 UM00733 UM00932 UM00933 UM00B32 UM00B33 Buffer 26 UM00534 UM00535 UM00734 UM00735 UM00934 UM00935 UM00B34 UM00B35 Buffer 27 UM00536 UM00537 UM00736 UM00737 UM00936 UM00937 UM00B36 UM00B37 Buffer 28 Buffer 29 UM00538 UM00539 UM0053A UM0053B UM00738 UM00739 UM0073A UM0073B UM00938 UM00939 UM0093A UM0093B UM00B38 UM00B39 UM00B3A UM00B3B Buffer 30 UM0053C UM0053D UM0073C UM0073D UM0093C UM0093D UM00B3C UM00B3D Note 1 The capture value buffer areas are available from the high speed counter unit Ver 1 2 we next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories Capture 1 register buffers Buffer No Unit memory UM No CH0 CH1 CH2 CH3 Buffer 31 UM0053E UM0053F UM0073E UM0073F UM0093E UM0093F UM00B3E UM00B3F Buffer 32 UM00540 UM00541 UM00740 UM00741 UM00940 UM00941 UM00B40 UM00B41 Buffer 33 UM0
28. capture function Control 1 signal positive logic sampling capture function Control 1 signal negative logic sampling capture function Output relay Y relay sampling capture function Not use Capture 1 setting Not use capture 1 function Capture function at rising edge of control 0 signal Capture function at trailing edge of control 0 signal Capture function at rising edge of control 1 signal Capture function at trailing edge of control 1 signal Not use Sampling capture function operation setting One operation Continuous operation One operation Sampling time 1 to 65 535 ms 1ms Note 1 When the sampling capture function has been selected in the capture 0 setting the capture 1 setting is invalid B Interrupt function Settable for each channel item Description Default Interrupt function Comparison match 0 flag Enable Disable Enable enable disable setting Comparison match 1 flag Enable Disable Enable Note 1 Use the dip switches on Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation the side of the unit to enable the interrupt function net 4 3 Configuration Data and Operation Ready Request 4 3 1 Operation Ready Request Program e For enabling the settings of the high speed counter unit the operation ready request program should be executed e After downloading a project insert the program to make it b
29. completed capture operations will be cleared when the capture enable request Y7 or the sampling capture function is activated Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 2 Operations of Capture Function 8 2 1 One operation e Capturing is executed when the first capture trigger condition control signal is met while the capture function is enabled by the capture enable request signal Y7 e The operation changes as follows according to the settings leading and trailing edges of the valid control signal When Leading edge is set as the capture trigger condition Capture enable Y7 Capture trigger Control signal Count value UMO003A0 UM003A1 Capture 0 register UMO003A2 UM003A3 Capture 0 done flag X4 Capture enable Y7 Capture trigger Control signal Count value UM003A0 UM003A1 Capture 0 register UMO003A2 UM003A3 Capture 0 done flag X4 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m When Leading edge and Trailing edge of the same signal are set as the capture trigger condition Capture enable Y7 Capture trigger Control signal Count value UMO003A0 UM003A1 Capture 0 register UM003A2 UM003A3 Capture 1 register UMO003A4 UM003A5 Dis UM003A6 UM003A7 0 J 3 3 24 4 Capture 0 done flag ON iae X4 OFF ON Capture
30. info ctiautomation net 8 1 2 Restrictions on Combinations Available conditions vary by functions Comparison of functions ltem Capture function Sampling capture function Max 2 points Max 1 point Usable number of points The capture function cannot be used when using the sampling capture function Individually usable Capture 0 register 1 point 2 words Use Capture 0 register 1 point 2 Used unit memory UM words area Note 1 Capture 1 register 1 point 2 words Difference value register Value of Capture 1 register Value of Capture 0 register 1 point 2 words Data in the capture registers are shifted to the buffer area in sequence when executing the capture function Buffer function Note 2 For the capture 0 register capture 1 register difference value register when activating the capture 0 and difference value register when activating the capture 1 each 60 point 120 word area is secured Capture function valid The capture function is valid while the condition capture enable request signals Y7 Y17 The capture function is always valid Note 2 27 is on using user programs Allocated in the configuration menu of tool software Control Used as a trigger for capture 0 or Used as a tirgger for both capure 0 signal 0 capture 1 and capture 1 Control Used as a trigger for capture or Not used signal 1 capture 1 Capture Activated when an
31. one of the following functions is usable Max 2 points Capture function Stores the count value when the capture trigger Capture function turns on in the capture register Max 1 point Stores the count values for a specified Sampling capture function EC sampling time when the capture trigger turns on in the capture register Activates corresponding interrupt programs when the comparison match 0 flag and comparison match 1 flag of each channel turns on Note 1 Note 2 Per 1 channel of high speed Q counter unit Max 2 programs 2 Interrupt function Max 4 programs 2 ch type High speed 5 Per 1 high speed counter unit counter unit Max 8 programs 4 ch type High 3 speed counter unit Per 1 CPU unit Max 64 programs 8 programs x 8 units Initial value of counter The count value overwrites the initial value when the power turns on Input time constant Input time constant noise filter can be set to reduce noises of input signal lines 0 1 us 2 MHz 0 2 us 1 MHz 0 5 us 500 kHz 1 0 us 250 kHz 2 0 us 100 kHz 10 0 us 10 kHz Input A signal input B signal The same time constant for the both signals 0 1 us 2 MHz 0 2 us 1 MHz 0 5 us 500 kHz 1 0 us 250 kHz 2 0 us 100 kHz 10 0 us 10 kHz Input Z signal 2 us 5 us 10 us 20 us 50 us 100 us 500 us Control signal 1 ms 2 ms 5 ms 10ms Note 1 If interrupt occurs many times in one scan th
32. series as listed below Please refer to a relevant manual for the unit and purpose of your use e The manuals can be downloaded on our website Unit name or purpose of use Manual name Manual code FP7 Power Supply Unit FP7 CPU Unit FP7 CPU Unit Users Manual Hardware WUME FP7CPUH FP7 CPU Unit Command Reference Manual WUME FP7CPUPGR FP7 CPU Unit Users Manual Logging Trace Function WUME FP7CPULOG FP7 CPU Unit Users Manual Security Function WUME FP7CPUSEC Instructions for Built in LAN Port FP7 CPU Unit Users Manual LAN Port Communication WUME FP7LAN Instructions for Built in COM Port FP7 Extension Cassette Communication RS 232C RS485 type FP7 series Users Manual SCU communication WUME FP7COM FP7 Extension Cassette Communication Ethernet type FP7 series Users Manual Communication cassette Ethernet type WUME FP7CCET FP7 Extension Function Cassette Analog Cassette FP7 Analog Cassette Users Manual WUME FP7FCA FP7 Digital Input Output Unit FP7 Digital Input Output Unit Users Manual WUME FP7DIO FP7 Analog Input Unit FP7 Analog Input Unit Users Manual WUME FP7AIH FP7 Analog Output Unit FP7 Analog Output Unit Users Manual WUME FP7AOH FP7 High speed counter Unit FP7 High speed counter Unit Users Manual WUME FP7HSC FP7 Pulse Output Unit FP7 Pulse Output Unit Users Manual WUME FP7P
33. signal Sampling capture processing OFF TO a s Capture 1 register UMO003A4 UM003A5 Capture 0 register UM003A2 UM003A3 V Capture register difference value ji epo 7 3 7 UM003A6 UM003A7 I y Capture 1 done flag 5 Capture 0 done flag X4 b Ker e Inthe sampling capture operation one operation the capture 1 done flag is activated Note that the capture 0 done flag is not activated Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 3 2 Continuous Operation e The count values and the difference values are stored in the capture registers unit memories UM continuously at intervals of a specified sampling time after the control signal is turned on or off e The sampling capture function is always enabled when the control signal is allocated to the sampling capture function in the configuration e The control signal positive logic control signal negative logic or output relays Y7 Y17 Y27 Y37 can be selected as the trigger condition to start the sampling capture m Time chart Capture trigger Control signal Sampling capture processing OFF l r P7 Up 3 3 Count value UMO003A0 UM003A1 Capture 1 register UMO003A4 UM003A5 Capture 0 register UMO003A2 UM003A3 oe 7 UM003A6 UM003A7 J 1 1 Capture 1 done flag 5 Capture 0 done flag X4 b K
34. the capture function or sampling capture function set the following items using the configuration menu of tool software or user programs e Set the signal allocated to the trigger signal for executing capturing and the number of operations For the sampling capture also set the sampling time m Setting area Unit memor o Default Setting range and description Unit Hex Make the setting for the capture function or sampling capture function H0 Not use capture 0 function UM 00110 H1 Capture function at rising edge of control 0 signal H2 Capture function at trailing edge of control 0 signal UM 001E0 Capture 0 HO H3 Capture function at rising edge of control 1 signal 4 UM 002B0 Setting H4 Capture function at trailing edge of control 1 signal UM 00380 H5 Control 0 signal positive logic sampling capture function H6 Control 0 signal negative logic sampling capture function H7 Control 1 signal positive logic sampling capture function H8 Control 1 signal negative logic sampling capture function H9 Output relay Y relay sampling capture function Make the setting for the capture function or sampling capture function UM 00111 HO Not use capture 1 function UM 001E1 Capture 1 HT Capture function at rising edge of control 0 signal setting H2 Capture function at trailing edge of control 0 signal i UM 002B1 H3 Capture function at rising edge of control 1 signal UM 00381 H4 Capture function at traili
35. 0 8 000 Addition set pattern O Addition reset pattern 1 6 000 Addition set pattern O Addition reset pattern 2 4 000 Addition set pattern O Addition reset pattern O 3 2 000 Addition set pattern Addition reset pattern 4 2 000 Addition set pattern O Addition reset pattern 5 4 000 Addition set pattern O O Addition reset pattern O 6 6 000 Addition set pattern Addition reset pattern O O 7 8 000 Yg gt e The operation of comparison match flag when the count value reaches the target value can be changed depending on the cases of addition and subtraction If the contents of comparison data 0 to 15 are overlapped and the specified reset conditions are different the priority of data is in the following order High O gt 1 gt 2 gt 3 gt 4 gt 5 gt 6 gt 7 gt 8 gt 9 gt 10 gt 11 gt 12 gt 13 gt 14 gt 15 Low Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 2 2 Examples of Ring Counter Settings B Comparison match flag operation when counting up Operates according to the settings of addition set pattern and addition reset pattern when the current value matches the comparison data Lower limit Lower limit Upper limit 1 ComparisorComparison ComparisorComparisorComparisonComparisorComparisonComparisor ComparisorComparison data 0 data 1 data 2 data 3 data 4 data 5 data 6 data7 data0 data 1 Comparison match 0 flag
36. 0 UM003D0 Count value E E UM003A1 UM003B1 UM003C1 UMO003D1 UM003A2 UM003B2 UMO003C2 UM003D2 Capture 0 register 3 UM003A3 UM003B3 UM003C3 UM003D3 UM003A4 UM003B4 UM003C4 UM003D4 Capture 1 register z 5 UM003A5 UMO003B5 UMO003C5 UM003D5 UM003A6 UM003B6 UM003C6 UM003D6 UM003A7 UM003B7 UM003C7 UM003D7 UM003A8 UM003B8 UM003C8 UM003D8 UM003A9 UM003B9 UM003C9 UM003D9 UM003AA UM003BA UM003CA UM003DA UM003AB UM003BB UM003CB UM003DB Note 1 For information on the memory numbers actually used refer to each items of 11 4 Unit Memory Detailed Specifications The above list includes empty areas which are reserved in the system Do not read empty areas or write into empty areas Monitor area Capture register difference value Frequency measurement Averaging Rotation speed measurement Averaging Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories S Unit memory UM No Setting monitor item CHO CH1 CH2 CH3 Number of completed UM00400 UM00600 UM00800 UM00A00 capture 0 operations UM00402 UM00602 UM00802 UM00A02 Capture 0 register i 3 _ _ Bufer T9 Buffer 60 UM00479 UM00679 UM00879 UM00A79 Capture 0 register difference UM00482 UM00682 UM00882 UM00A82 value s Capture value Buffer 1 to Buffer 60 UM004F9 UM006F9 UM008F9 UMOOAF9 buffer area Number of com
37. 000 S1 UM00054 Lower limit setting R100 I DF Activate operation Stops high speed ready request counter operation R100 R101 Y100 Activate operation ready request Y100 Stops high speed Operation ready counter operation request Operation ready request X100 To an arbitrary program Operation ready done flag m Allocation of I O signals Effective Signal name CH0 CH1 CH2 CH3 Operation ready request Level Y100 Y110 Y120 Y130 Operation ready done flag X100 X120 X140 X160 Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number we next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Eee e The configuration using user programs can be changed even when the counter is running However the changed values will not be effective until the operation ready done flag X0 is turned on e The operation ready request can be executed for each channel regardless whether it has been executed in other channels or not Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Count Function Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautom
38. 003A2 UM003A3 Capture 1 register UM003A4 UM003A5 Capture register difference value UM003A6 UM003A7 Capture 0 done flag ON X4 Capture 1 done flag X5 K e The values Capture 1 register Capture 0 register are always stored as capture register difference values The signs for the values of capture difference value register change according to the sequence of the capture enable signal output Y contact and the capture trigger control signal e Inthe case of continuous operation the capture 0 register capture 1 register and capture difference value register are overwritten every time the capture operation is complete The buffer function can be also used for reading continuous data Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 3 Operations of Sampling Capture Function 8 3 1 One operation e The count values and the difference values are stored in the capture registers unit memories UM after a specified sampling time from the time that the control signal is turned on or off e The sampling capture function is always enabled when the control signal is allocated to the sampling capture function in the configuration e The control signal positive logic control signal negative logic or output relays Y7 Y17 Y27 can be selected as the trigger condition to start the sampling capture m Time chart Capture trigger Control
39. 003C6 UM003D6 P 9 UM003A7 UM003B7 UM003C7 UM003D7 B allocation Signal name CH0 CH1 CH2 CH3 Capture 0 done flag X104 X124 X144 X164 Capture 1 done flag X105 X125 X145 X165 Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number m Sample program Data is read out to arbitrary operation memories using the done flag which indicates the completion of capture Example Program to read the capture value of CH0 of the high speed counter unit installed in the slot number 1 X104 MV SL _ S1 UM003A2 DT100 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 5 2 Reading Buffer Area Data To read data in the buffer area check the number of completed capture operations UM00400 and specify the range of the operation memory according to the number Sample program Example Program to read the capture value and buffer value of CHO of the high speed counter unit installed in the slot number 1 RO F DF MV SL stuMoo3A2 DT100 Read Capture 0 register Clear buffer data COPY SL DT102 DT220 transfer area 60 points x 2 words RO Number of pro completed capture Sus Et O operations x2 3 BKMV SL S1 UM00402 51 100 00402 DT102 Read Buffer register MV US S1 UM00114 Reset Capture 0
40. 0198 UM 00268 UM 00338 UM 000D0 UM 001A0 Comparison data 7 HO Comparison data 8 H0 Comparison data 9 H0 Comparison data 10 HO Set the data for band comparison or target value UM 00270 match comparison UM 00340 The formats to be set differ between the band UM 000D8 comparison and the target value match comparison UM 001A8 Each item occupies 8 word area The unit memory UM 00278 Comparison data 11 HO numbers UM indicate starting addresses For details of the format of target value match UM 00348 comparison refer to 7 1 2 Target Value Match UM 000E0 Comparison and Band Comparison UM 001B0 For details of the format of band comparison refer to UM 00280 Comparison data 12 H0 7 3 3 Configuration of Band Comparison UM 00350 UM 000E8 UM 001B8 UM 00288 UM 00358 UM 000F0 UM 001C0 UM 00290 UM 00360 UM 000F8 UM 001C8 UM 00298 UM 00368 Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Comparison data 13 HO Comparison data 14 H0 D Comparison data 15 HO ic Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m External output function Unit memory Name Default Setting range and description Unit No Hex UM 00100 Set whether or not to output the comparison UM 00100 External output 0 signal Ho mat
41. 0542 UM00543 UM00742 UM00743 UM00942 UM00943 UM00B42 UM00B43 Buffer 34 UM00544 UM00545 UM00744 UM00745 UM00944 UM00945 UM00B44 UM00B45 Buffer 35 UM00546 UM00547 UM00746 UM00747 UM00946 UM00947 UM00B46 UM00B47 Buffer 36 UM00548 UM00549 UM00748 UM00749 UM00948 UM00949 UM00B48 UM00B49 Buffer 37 UM0054A UM0054B UM0074A UM0074B UM0094A UM0094B UM00B4A UM00B4B Buffer 38 UM0054C UM0054D UM0074C UM0074D UM0094C UM0094D UM00B4C UM00B4D Buffer 39 UM0054E UM0054F UM0074E UM0074F UM0094E UM0094F UM00B4E UM00B4F Buffer 40 UM00550 UM00551 UM00750 UM00751 UM00950 UM00951 UM00B50 UM00B51 Buffer 41 UM00552 UM00553 UM00752 UM00753 UM00952 UM00953 UM00B52 UM00B53 Buffer 42 UM00554 UM00555 UM00754 UM00755 UM00954 UM00955 UM00B54 UM00B55 Buffer 43 UM00556 UM00557 UM00756 UM00757 UM00956 UM00957 UM00B56 UM00B57 Buffer 44 UM00558 UM00559 UM00758 UM00759 UM00958 UM00959 UM00B58 UM00B59 Buffer 45 UM0055A UM0055B UM0075A UM0075B UM0095A UM0095B UM00B5A UM00B5B Buffer 46 UM0055C UM0055D UM0075C UM0075D UM0095C UM0095D UM00B5C UM00B5D Buffer 47 UM0055E UM0055F UM0075E UM0075F UM0095E UM0095F UM00B5E UM00B5F Buffer 48 UM00560 UM00561 UM00760 UM00761 UM00960 UM00961 UM00B60 UM00B61 Buffer 49 UM00562 UM00563 UM00762 UM00
42. 10 2 2 Errors Occurred in Operations 1000H to 1043H 10 8 5 amp u uuu iu reu eae beue 11 1 11 1 Sp cifications 1 n tito oo e eee tee e e E Ea 11 3 11 1 1 General Specifications I 11 3 11 1 2 Function Specifications sss 11 4 11 2 Allocation of 1 O Numbers ette ee ge ote toe oie 11 6 11 3 Listo Unit Meroe eet idle Doe aive gn ie caca ua 11 8 11 4 Unit Memory Detailed Specifications 11 10 11 4 1 Common Setting 11 10 11 4 2 Individual Setting Area L n 11 10 11 4 3 Monitor Display Arg8 u u a u mem 11 20 11 4 4 Capture Value Buffer n 11 21 11 5 DIMENSIONS vii 11 31 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 1 Unit Functions and Restrictions Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 1 1 Unit Functions and How They Work 1 1 1 Functions of Unit m Two or four point 4 MHz signed 32 bit high speed counters are provided e High speed counting of input signals is available up to the maximum frequency 4 MHz 16MHz for 2 phase 4 multiple It i
43. 2 U Set the preset value for using the preset count UM 00133 function UM ooa 0 Setting range 2 147 483 648 8000 0000H to Pulse UM 00203 2 147 483 647 7FFF FFFFH P m Signed 32 bit UM 002D2 UM 002D3 UM 00064 UM 00065 UM 00134 Set the changed value to change the current value of counter _UM 00135 ND Current value 0 Pulse UM 00204 changed value Setting range 2 147 483 648 8000 0000H to UM 00205 2 147 483 647 7FFF FFFFH Signed 32 bit UM 002D4 UM 002D5 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 42 Reading Count Value e The count value current value can be read from the monitor area Example Program to change the current value of CH0 of the high speed counter unit MV SL S1 UM003A0 DT100 5 43 Count Value When Power Turns On eThe count value when the power turns on can be set to any value as necessary Set the default value when the power turns on using the configuration menu of tool software FPWIN GR7 or user programs eThe default for the count value when the power turns on is O 5 44 Changing Count Current Value eThe count current value can be set to any value as necessary e Set a value in the current value changed value area using the user program and turn on the current value change request signal Example Program to change the current value of CHO of the high speed counter unit to 1000000 Y10
44. 3 Buffer 50 UM00464 UM00465 UM00664 UM00665 UM00864 UM00865 UM00A64 UM00A65 Buffer 51 UM00466 UM00467 UM00666 UM00667 UM00866 UM00867 UM00A66 UM00A67 Buffer 52 UM00468 UM00469 UM00668 UM00669 UM00868 UM00869 UM00A68 UM00A69 Buffer 53 Buffer 54 UM0046A UM0046B UM0046C UM0046D UM0066A UM0066B UM0066C UM0066D UM0086A UM0086B UM0086C UM0086D UM00A6A UM00A6B UM00A6C UM00A6D Buffer 55 UM0046E UM0046F UM0066E UM0066F UM0086E UM0086F UM00A6E UM00A6F Buffer 56 UM00470 UM00471 UM00670 UM00671 UM00870 UM00871 UM00A70 UM00A71 Buffer 57 UM00472 UM00473 UM00672 UM00673 UM00872 UM00873 UM00A72 UM00A73 Buffer 58 Buffer 59 UM00474 UM00475 UM00476 UM00477 UM00674 UM00675 UM00676 UM00677 UM00874 UM00875 UM00876 UM00877 UM00A74 UM00A75 UM00A76 UM00A77 Buffer 60 UM00478 UM00479 UM00678 UM00679 UM00878 UM00879 UM00A78 UM00A79 Note 1 The capture value buffer areas are available from the high speed counter unit Ver 1 2 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories Difference value buffer Stored when Capture 0 request occurs Buffer No Unit memory UM No CH0 CH1 CH2 CH3 Buffer 1 UM00482 UM00483 UM00682 UM00683 UM00882
45. 3 Web www ctiautomation net Email info ctiautomation net Eee e For using the Z phase signal control signal or comparison match flag as reset signals turn on the reset enable request signal using user programs 5 3 2 Preset Input The following three preset methods are available m Type of reset signals cest Preset condition Setting method ONES ON mm m element QUEEN CHE oH orr MIO orr Output Y Activates the preset request signal by a user e relay program Input Z Allocates the Z phase input signal to either preset e e e e signal operation using the configuration menu Allocates the control 0 signal to either reset operation using the configuration menu Control 0 Positive logic enable operation and preset e e signal operation at rising edge Negative logic enable operation and preset operation at trailing edge B O Allocation A Effective Signal name Condition CH0 CH1 CH2 CH3 Preset request ON edge Y103 Y113 Y123 Y133 Input Z signal monitor X10A X12A 14 X16A Control 0 signal monitor X10B X12B X14B X16B Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number m Setting of preset values Unit Default Setting range and description Unit Hex UM 00062 UM 00063
46. 42 UM00843 UM00A42 UM00A43 Buffer 34 UM00444 UM00445 UM00644 UM00645 UM00844 UM00845 UM00A44 UM00A45 Buffer 35 UM00446 UM00447 UM00646 UM00647 UM00846 UM00847 UM00A46 UM00A47 Buffer 36 UM00448 UM00449 UM00648 UM00649 UM00848 UM00849 UM00A48 UM00A49 Buffer 37 UM0044A UM0044B UM0064A UM0064B UM0084A UM0084B UM00A4A UM00A4B Buffer 38 UM0044C UM0044D UM0064C UM0064D UM0084C UM0084D UM00A4C UM00A4D Buffer 39 UM0044E UM0044F UM0064E UM0064F UM0084E UM0084F UM00A4E UM00A4F Buffer 40 UM00450 UM00451 UM00650 UM00651 UM00850 UM00851 UM00A50 UM00A51 Buffer 41 UM00452 UM00453 UM00652 UM00653 UM00852 UM00853 UM00A52 UM00A53 Buffer 42 UM00454 UM00455 UM00654 UM00655 UM00854 UM00855 UM00A54 UM00A55 Buffer 43 UM00456 UM00457 UM00656 UM00657 UM00856 UM00857 UM00A56 UM00A57 Buffer 44 UM00458 UM00459 UM00658 UM00659 UM00858 UM00859 UM00A58 UM00A59 Buffer 45 UM0045A UM0045B UM0065A UM0065B UM0085A UM0085B UM00A5A UM00A5B Buffer 46 UM0045C UM0045D UM0065C UM0065D UM0085C UM0085D UM00A5C UM00A5D Buffer 47 UM0045E UM0045F UM0065E UM0065F UM0085E UM0085F UM00A5E UM00A5F Buffer 48 UM00460 UM00461 UM00660 UM00661 UM00860 UM00861 UM00A60 UM00A61 Buffer 49 UM00462 UM00463 UM00662 UM00663 UM00862 UM00863 UM00A62 UM00A6
47. 47 483 647 Current value changed value Set the current value changed value to change the count value 2 147 483 648 to 2 147 483 647 m next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net input time constant Input A signal Input B signal No input time constant 0 1 us 2 MHz 0 2 us 1 MHz 0 5 Input Z signal input time constant us 500 kHz 1 0 us 250 kHz 2 0 us 100 kHz 10 0 us 10 kHz 2 0 us 100 kHz Control signal input time constant No input time constant 2 us 5 us 10 us 20 us 50 us 100 us 500 us 1 0 ms 2 0 ms 5 0 ms 10 0 ms 2 0 ms Note 1 The control 0 signal and control 1 signal cannot be assinged to the capture function if they are assigned to the enable operation m Measurement function Settable for each channel item Measurement function selection Description Not use measurement function Frequency measurement Frequency measurement and rotation speed measurement A Frequency measurement and rotation speed measurement B Default Not use measurement function Pulse number per rotation Set the pulse number for one rotation of the encoder Setting range 1 to 1 048 575 Average number of frequency measurement processes No averaging 2 4 8 16 32 64 128 times No averaging Average number of rotation speed measurement process
48. 5 RO DF MV SL K1000000 51 0 00064 C Current value change request m Allocation of I O Numbers Effective Signal name condilios CHO CH1 CH2 CH3 Current value change request ON edge Y105 Y115 Y125 Y135 Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number K e The current value of the count value can be changed by writing an arbitrary value in the configuration area and turning on the current value change request signal Values cannot be written in the monitor area directly Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 5 Input Time Constant Setting Function 5 5 1 Input Time Constant e Time constants can be set as noise filters for input signals phases A B and Z and control signals eWhen selecting No input time constant input signals are processed without the time constant filter m Count function Settable for each channel Setting item Settings Default Input A signal Input B signal input time constant No input time constant 0 1 us 2 MHz 0 2 us 1 MHz 0 5 us 500 kHz 1 0 us 250 kHz 2 0 us 100 kHz 2 0 us 100 kHz Input Z signal input time 10 0 us 10 kHz constant Control signal input time No input time c
49. 509 UM00708 UM00709 UM00908 UM00909 UM00B08 UM00B09 Buffer 5 UM0050A UM0050B UM0070A UM0070B UM0090A UM0090B UM00B0A UM00B0B Buffer 6 UM0050C UM0050D UM0070C UM0070D UM0090C UM0090D UM00B0C UM00B0D Buffer 7 UM0050E UM0050F UM0070E UM0070F UM0090E UM0090F UM00B0E UM00B0F Buffer 8 UM00510 UM00511 UM00710 UM00711 UM00910 UM00911 UM00B10 UM00B11 Buffer 9 UM00512 UM00513 UM00712 UM00713 UM00912 UM00913 UM00B12 UM00B13 Buffer 10 UM00514 UM00515 UM00714 UM00715 UM00914 UM00915 UM00B14 UM00B15 Buffer 11 UM00516 UM00517 UM00716 UM00717 UM00916 UM00917 UM00B16 UM00B17 Buffer 12 UM00518 UM00519 UM00718 UM00719 UM00918 UM00919 UM00B18 UM00B19 Buffer 13 UM0051A UM0051B UM0071A UM0071B UM0091A UM0091B UM00B1A UM00B1B Buffer 14 UM0051C UM0051D UM0071C UM0071D UM0091C UM0091D UM00B1C UM00B1D Buffer 15 UM0051E UM0051F UM0071E UM0071F UM0091E UM0091F UM00B1E UM00B1F Buffer 16 UM00520 UM00521 UM00720 UM00721 UM00920 UM00921 UM00B20 UM00B21 Buffer 17 UM00522 UM00523 UM00722 UM00723 UM00922 UM00923 UM00B22 UM00B23 Buffer 18 UM00524 UM00525 UM00724 UM00725 UM00924 UM00925 UM00B24 UM00B25 Buffer 19 UM00526 UM00527 UM00726 UM00727 UM00926 UM00927 UM00B26 UM00B27 Buffer 20 UM00528 UM00529 UM00728 UM00729 UM00928
50. 648 8000 0000H to Pulse UM 003C4 003C5 register 2 147 483 647 7FFF FFFFH UM 003D4 UM 00305 Signed 32 bit UM 003A6 UM 003A7 Calculated difference between the capature ar e WA MW SI registers UM 003B6 UM 003B7 Capture register YA Capture 1 register Capture 0 register Eu E e ulse UM 003C6 UM 003C7 difference value Range 2 147 483 648 8000 0000H to t n 2 147 483 647 7FFF FFFFH UM 003D6 UM 003D7 Signed 32 bit UM 003A8 UM 003A9 mun M Frequency measurement value after UM 003B8 UM 003B9 Frequency averaging procedure t M measurement UO Hz UM 003C8 UM 003C9 Averaging Range 0 to 20 000 000 RUOTA OE CPP RON E Signed 32 bit UM 003D8 UM 003D9 UM 003AA UM 003AB KASI Mrs ub a Gu Rotation speed measurement value after UM 003BA UM 003BB Rotation speed averaging procedure OT measurement UO rpm UM 003CA UM 003CB Averaging Range 1 200 000 000 to 1 200 000 000 Note The unit memory numbers the above table are for CHO CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 4 4 Capture Value Buffer Area m Capture value buffer area For capture 0 Unit memory No UM 004F8 UM 004F9 UM 00AF8 UM 00AF9 Capture register difference value for capture 0 request Buffer 60 The data are shifted and stored from the buffer
51. 763 UM00962 UM00963 UM00B62 UM00B63 Buffer 50 UM00564 UM00565 UM00764 UM00765 UM00964 UM00965 UM00B64 UM00B65 Buffer 51 UM00566 UM00567 UM00766 UM00767 UM00966 UM00967 UM00B66 UM00B67 Buffer 52 UM00568 UM00569 UM00768 UM00769 UM00968 UM00969 UM00B68 UM00B69 Buffer 53 Buffer 54 UM0056A UM0056B UM0056C UM0056D UM0076A UM0076B UM0076C UM0076D UM0096A UM0096B UM0096C UM0096D UM00B6A UM00B6B UM00B6C UM00B6D Buffer 55 UM0056E UM0056F UM0076E UM0076F UM0096E UM0096F UM00B6E UM00B6F Buffer 56 UM00570 UM00571 UM00770 UM00771 UM00970 UM00971 UM00B70 UM00B71 Buffer 57 UM00572 UM00573 UM00772 UM00773 UM00972 UM00973 UM00B72 UM00B73 Buffer 58 Buffer 59 UM00574 UM00575 UM00576 UM00577 UM00774 UM00775 UM00776 UM00777 UM00974 UM00975 UM00976 UM00977 UM00B74 UM00B75 UM00B76 UM00B77 Buffer 60 UM00578 UM00579 UM00778 UM00779 UM00978 UM00979 UM00B78 UM00B79 Note 1 The capture value buffer areas are available from the high speed counter unit Ver 1 2 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories Difference value buffer Stored when Capture 1 request occurs Buffer No Unit memory UM No CH0 CH1 CH2 CH3 Buffer 1
52. 8 723 4773 Web www ctiautomation net Email info ctiautomation net Comparison Function Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 1 Overview of Comparison Function 7 1 1 Types of Comparison Function B Comparison function e Compares the current value of the high speed counter with a specified target value and reflects the matched value in the comparison match flag e There are two methods which are the target value match comparison and the band comparison e Comparison results can be output to external devices from the unit B Comparison match function specifications Item Description Remark No of comparison Max 16 data per channel Comparison data 0 Comparison data 15 data Max 16 points per channel Comparison match 0 flag to Comparison match F Comparison flag match flag Read as input relays X by user programs Multiple comparison match flags can be set for single comparison data Target value match comparison Sets or resets the comparison match flag when the elapsed value matches the Comparison target value method Band comparison Turns on or off the comparison match flag when the elapsed value is in the range of specified lower and upper limits Max 2 points per channel The comparison match 0 flag can be allocated to the external output 0 terminal of the unit The comparison match 1 flag can be allocated to the
53. 9 UM00A08 UM00A09 Buffer 5 UM0040A UM0040B UM0060A UM0060B UM0080A UM0080B UM00A0A UM00A0B Buffer 6 UM0040C UM0040D UM0060C UM0060D UM0080C UM0080D UM00A0C UM00A0D Buffer 7 UM0040E UM0040F UM0060E UM0060F UM0080E UM0080F UM00A0E UM00A0F Buffer 8 UM00410 UM00411 UM00610 UM00611 UM00810 UM00811 UM00A10 UM00A11 Buffer 9 UM00412 UM00413 UM00612 UM00613 UM00812 UM00813 UM00A12 UM00A13 Buffer 10 UM00414 UM00415 UM00614 UM00615 UM00814 UM00815 UM00A14 UM00A15 Buffer 11 UM00416 UM00417 UM00616 UM00617 UM00816 UM00817 UM00A16 UM00A17 Buffer 12 UM00418 UM00419 UM00618 UM00619 UM00818 UM00819 UM00A18 UM00A19 Buffer 13 UM0041A UM0041B UM0061A UM0061B UM0081A UM0081B UM00A1A UM00A1B Buffer 14 UM0041C UM0041D UM0061C UM0061D UM0081C UM0081D UM00A1C UM00A1D Buffer 15 UM0041E UM0041F UM0061E UM0061F UM0081E UM0081F UM00A1E UM00A1F Buffer 16 UM00420 UM00421 UM00620 UM00621 UM00820 UM00821 UM00A20 UM00A21 Buffer 17 UM00422 UM00423 UM00622 UM00623 UM00822 UM00823 UM00A22 UM00A23 Buffer 18 UM00424 UM00425 UM00624 UM00625 UM00824 UM00825 UM00A24 UM00A25 Buffer 19 UM00426 UM00427 UM00626 UM00627 UM00826 UM00827 UM00A26 UM00A27 Buffer 20 UM00428 UM00429 UM00628 UM00629 UM00828 UM00829 UM00A28 UM00A29 Buffer
54. C0 UM007C1 UM009C0 UM009C1 UM00BC0 UM00BC1 Buffer 33 UM005C2 UM005C3 UM007C2 UM007C3 UM009C2 UM009C3 UM00BC2 UM00BC3 Buffer 34 UM005C4 UM005C5 UM007C4 UM007C5 UM009C4 UM009C5 UM00BC4 UM00BC5 Buffer 35 UM005C6 UM005C7 UM007C6 UM007C7 UM009C6 UM009C7 UM00BC6 UM00BC7 Buffer 36 UM005C8 UM005C9 UM007C8 UM007C9 UM009C8 UM009C9 UM00BC8 UM00BC9 Buffer 37 UM005CA UM005CB UM007CA UM007CB UM009CA UM009CB UM00BCA UM00BCB Buffer 38 UM005CC UM005CD UM007CC UM007CD UM009CC UM009CD UM00BCC UM00BCD Buffer 39 UM005CE UM005CF UM007CE UM007CF UM009CE UM009CF UM00BCE UM00BCF Buffer 40 UM005D0 UM005D1 UM007D0 UM007D1 UM009D0 UM009D1 UM00BD0 UM00BD1 Buffer 41 UM005D2 UM005D3 UM007D2 UM007D3 UM009D2 UM009D3 UM00BD2 UM00BD3 Buffer 42 UM005D4 UM005D5 UM007D4 UM007D5 UM009D4 UM009D5 UM00BD4 UM00BD5 Buffer 43 UM005D6 UM005D7 UM007D6 UM007D7 UM009D6 UM009D7 UM00BD6 UM00BD7 Buffer 44 UM005D8 UM005D9 UM007D8 UM007D9 UM009D8 UM009D9 UM00BD8 UM00BD9 Buffer 45 UM005DA UM005DB UM007DA UM007DB UM009DA UM009DB UM00BDA UM00BDB Buffer 46 UM005DC UM005DD UM007DC UM007DD UM009DC UM009DD UM00BDC UM00BDD Buffer 47 UM005DE UM005DF UM007DE UM007DF UM009DE UM009DF UM00BDE UM00BDF Buffer 48 UM005E0 UM005E1 UM007E0 UM007E1 UM009E0 UM009E1 UM00BE0 UM00BE1 Buffer 49 UM005E2 UM005E3 UM007E2 UM007E3 UM009E2 UM009E3 UM00BE2 UM00BE3 Buffer 50 UM005E4 UM005E5 UM007E4 UM007E5 UM009E4 UM009E5 UM00BE4 UM00BE5 Buffer 51 UM005E6 UM005E7 UM007E6 UM007E7 UM009E6 UM009E7 UM00BE6 UM00BE7 Buffer 52
55. CH3 Comparison match 0 flag INTPG 7 0 Clear 1 Not clear INTPG 17 CH3 Comparison match 1 flag MEGO Note 1 Interrupt program numbers are specified with slot numbers 0 to 7 The numbers in the above table are for the slot 1 Example The interrupt program number corresponding to the CH1 comparison match 1 flag of the slot number 1 is INTPG103 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 1 4 Precautions for Use Process when more than one interrupt activation request is made elf more than one interrupt activation request is made from the unit the process will be carried out from the smallest slot number or the smallest interrupt program number elf the interrupt activation is requested on the completion of the process of interrupt program a higher priority program will be searched and the corresponding interrupt program will be executed e Interrupt activation request signals on the unit side will be held until the corresponding interrupt program is executed or ICLR instruction is executed e If interrupt occurs many times in one scan the execution of interrupt program has priority and the scan time will be longer Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 10 What to Do If an Error Occurs Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ct
56. Capture Done Flag 4 5 8 16 8 5 4 Reference Information Manual Reset of Capture Done Flag 8 18 8 6 Clearing Capture Values Storage Area 8 20 8 6 1 Capture Value Clear Request 8 20 9 6 2 Sample Progra ee ree RE Or Red 8 20 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 10 11 Interrupt Program Activation Function 9 1 9 1 Interrupt Program Activation Function 9 2 9 1 1 Overview of Interrupt Program uu 9 2 9 1 2 Settings of High speed Counter Unit 9 2 9 1 3 Overview of Interrupt Program a 9 2 SALA Precautions POr Se chee te 9 4 What to Do If an Error Occurs 10 1 10 1 Self diagnostic Function iuc er eaaet ete er ep aeg eter 10 2 10 1 1 Errors Announced by High speed Counter Unit 10 2 10 1 2 Confirming Error Code IA AA 10 2 10 1 3 Clearing Errors Using User 10 3 10 2 Listo Eror CodeS resan ie e lob utut edendis 10 4 10 2 1 Errors in Operation Ready Request 0100H to 0633H 10 4
57. Comparison match 1 flag Comparison match 2 flag Comparison match 3 flag 0 500 1 1 42 500 43 7501 45 000 46 250 47 5000 48 750 500 1 250 Comparison match flag operation when counting down Operates according to the settings of subtraction set pattern and addition reset pattern when the current value matches the comparison data Lower limit Lower limit Upper limit ComparisonComparisorComparisorComparisonComparisonComparison Comparison data 7 data 6 data 5 data 4 data 3 data 2 data1 data0 data 7 x 1 1 1 1 1 1 1 i Comparison f 1 1 1 pi match 0 flag T Comparison i match 1 flag 1 Comparison match 2 flag 1 1 1 1 Comparison 14 boo match 3 flag gt 1 i bc 0 l 48 750 7 500 6 250 45 0000 43 7501 42 5000 41 2501 5001 48 7501 K e For the ring counter comparison data is set for the area including the upper and lower limits in which the count value is rolled over and set patterns can be set Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Examples of output pattern settings v Comparison Target Comparison Comparison Comparison Comparison data value match 0 flag matc
58. Confirming Error Code m Confirmation of error information e Error codes are stored in unit memories UM for each channel e Error codes are read by the device monitor function of programming tool FPWIN GR7 m Allocation of I O signals and unit memories Signal name CH0 CH1 CH2 CH3 Overflow annunciation X10D X12D X14D X16D Underflow annunciation X10E X12E X14E X16E Error annunciation X10F X12F X14F X16F Error code storage area UM00025 UM00026 UM00027 UM00028 Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 10 1 3 Clearing Errors Using User Programs e Each error be cleared by user programs e Refer to error codes correct error factors and clears the errors m Clearing all channels by UCLR instruction e Executing the dedicated instruction UCLR error clears errors occurred in the high speed counter unit Example Program to clear errors of the high speed counter unit installed in the slot No 1 R100 Hx DF UCLR Unit clear Slot No request m Clearing each channel separately by I O signals e Turning on the error clear request flag allocated to the I O area clears errors in each channel separately The program b
59. G FP7 Positioning Unit FP7 Serial Communication Unit FP7 Positioning Unit Users Manual FP7 series Users Manual SCU communication WUME FP7POSP WUME FP7COM PHLS System PHLS System Users Manual WUME PHLS Programming Software FPWIN GR7 FPWIN GR7 Introduction Guidance WUME FPWINGR7 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Table of Contents 1 Unit Functions and Restrictions 1 1 1 1 Unit Functions and How They Work a 1 2 TIT Functions of WA tede Eee nete i ee erp 1 2 1 1 2 Unit Type and Product Number sse emn 1 3 1 2 Restrictions on Combinations of Units 1 4 12 1 Restrictions on Power Consumption 1 4 12 2 Applicable Versions of FPWIN GR7 and Units 1 4 1 2 3 Restrictions on Interrupt Function 1 4 2 Names and Functions of Parts 2 1 2 1 Names and Functions of Parts eee 2 2 3 Wiring and Input Output Specifications 3 1 3 1 Connection over Wire pressed Terminal Cable 3 2 3 1 1 Specifications of Wire pressed Terminal Cable
60. H2 and from the top Note 2 The capture value buffer areas are available from the high speed counter unit Ver 1 2 REFERENCE e For information on unit memory UM numbers corresponding to each buffer number refer to the list beginning on page 11 23 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Capture value buffer area For capture 1 Unit memory No UM 005F8 UM 005F9 UM 00BF8 UM 00BF9 Capture register difference value for capture 1 request Buffer 60 data are shifted and stored from the buffer 1 to buffer 60 sequentially Range 2 147 483 648 8000 0000H to 2 147 483 647 7FFF FFFFH Signed 32 bit Hex Name Default Setting range and description Unit UM 00500 Monitors the number of completed capture UM 00700 Number of 1 operations while capturing is enabled AA completed capture UO It is cleared to zero when the capture Times erases pep SEMPER 1 operations enable request Y7 Y17 Y27 or Y37 is UM 00B00 activated UM 00502 UM 00503 Capture 1 Register Once the capture processing is performed Buffer 1 the data stored in the capture 1 registers UM 003x4 UM 003x5 are transferred to the buffer 1 Omitted Omitted KO The data are shifted and stored from the Pulse UM 00578 UM 00579 buffer 1 to buffer 60 sequentially WA OR IAG Range 2 147 483 648 8000 0000H
61. M00AC1 Buffer 33 UM004C2 UM004C3 UM006C2 UM006C3 UM008C2 UM008C3 UM00AC2 UM00AC3 Buffer 34 UM004C4 UM004C5 UMO006C4 UMOO06C5 UM008C4 UM008C5 UMO00AC4 UMO0AC5 Buffer 35 UM004C6 UM004C7 UMO006C6 UMO006C7 UMO008C6 UM008C7 UMOOAC6 UMOOAC7 Buffer 36 UM004C8 UM004C9 UMO006C8 UMOO6C9 UMO008C8 UMOO8C9 UMOOAC8 UMOOAC9 Buffer 37 UM004CA UM004CB UMO006CA UMO06CB UM008CA UM008CB UMOOACA UMOOACB Buffer 38 UM004CC UM004CD UMOO6CC UMOOGCD UMO08CC UMOOB8CD UMOOACC UMOOACD Buffer 39 UM004CE UM004CF UM006CE UM006CF UM008CE UM008CF UMOOACE UMOOACF Buffer 40 UM004D0 UM004D1 UM006D0 UM006D1 UM008D0 UM008D1 UM00AD0 UM00AD1 Buffer 41 UM004D2 UM004D3 UM006D2 UM006D3 UM008D2 UM008D3 UM00AD2 UM00AD3 Buffer 42 UM004D4 UM004D5 UM006D4 UM006D5 UM008D4 UM008D5 UM00AD4 UM00AD5 Buffer 43 UM004D6 UM004D7 UM006D6 UM006D7 UM008D6 UM008D7 UM00AD6 UM00AD7 Buffer 44 UM004D8 UM004D9 UM006D8 UM006D9 UM008D8 UM008D9 UM00AD8 UM00AD9 Buffer 45 UM004DA UM004DB UM006DA UM006DB UM008DA UM008DB UM00ADA UM00ADB Buffer 46 UM004DC UM004DD UM006DC UM006DD UM008DC UM008DD UMOOADC UMOOADD Buffer 47 UM004DE UM004DF UM006DE UM006DF UM008DE UM008DF UMOOADE UMOOADF Buffer 48 UM004E0 UM004E1 UM006E0 UM006E1 UM008E0 UM008E1 UM00AE0 UM00AE1 Buffer 49 UM004E2 UM004E3 UM006E2 UM006E3 UM008E2 UM008E3 UM00AE2 UM00AE3 Buffer 50 UM004E4 UM004E5 UM006E4 UM006E5 UM008E4 UM008E5 UM00AE4 UM00AE5 Buffer 51 UM004E6 UM004E7 UM006E6 UM006E7 UM008E6 UM008E7 UM00AE6 UM00AE7 Buffer 52 UM004E8 UM004E9 UM006E8
62. MANA WANA YA H2 Capture function at trailing edge of control 0 signal UM 002B1 p 9 Capture function at rising edge of control 1 signal UM 00381 H4 Capture function at trailing edge of control 1 signal However this setting area is invalid when the sampling capture function H5 to H9 is selected in the capture 0 setting UM 00112 Make the setting for the capture function or sampling UM 001E2 Capture function Tr capture function UM 002B2 operation setting H0 One operation UM 00382 H1 Continuous operation UM 00113 MM UM 001E3 A Set a sampling time Sampling time U1 Setting range 1 to 65 535 The values out of the setting ms UM 002B3 range are invalid UM 00383 Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top m next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Capture function Interrupt function Unit memory Name Default Setting range and description Unit No Hex Clears values stored in the capture registers and capture register buffers To clear the capture 0 register turn off on and off the bit 0 of the unit memory To clear the capture 1 register turn off on and off the bit 1 of the unit memory Clears the areas of capture 0 register capture 0 register buffer and register difference value buffer when r
63. Panasonic PROGRAMMABLE CONTROLLER FP7 High speed Counter Unit User s Manual WUME FP7HSC 02 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Safety Precautions Observe the following notices to ensure personal safety or to prevent accidents To ensure that you use this product correctly read this User s Manual thoroughly before use Make sure that you fully understand the product and information on safety This manual uses two safety flags to indicate different levels of danger WARNING If critical situations that could lead to user s death or serious injury is assumed by mishandling of the product Always take precautions to ensure the overall safety of your system so that the whole system remains safe in the event of failure of this product or other external factor Do not use this product in areas with inflammable gas It could lead to an explosion Exposing this product to excessive heat or open flames could cause damage to the lithium battery or other electronic parts CAUTION If critical situations that could lead to user s injury or only property damage is assumed by mishandling of the product To prevent excessive exothermic heat or smoke generation use this product at the values less than the maximum of the characteristics and performance that are assured in these specifications Do not dismantle or remodel the product It could cause excessive exother
64. TN s Ty cos NE OM 1 i I i E EM 1 H I I 1 1 1 1 Lower limit 7777 REA C MC I Underflow annunciation Input X relay Underflow clear Output Y relay m Ring counter e If the lower limit is counted down the count value will be rolled over and counting down will continue from the upper limit e f the upper limit is counted up the count value will be rolled over and counting up will continue from the lower limit Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net aa Addition Counter input AAA PARA AA SEA EA Subtractio 4 lL 2 4 2 2 p Lb Ad Count value Upper limit 4 0 Lower Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 2 3 Reset Count Operation e Resets the count value to zero by the input Z signal e To enable the count input it is necessary to turn on the count enable request signal Y1 in user programs Gounteri Subtraction Input Z signal M C C o Reset process Count value 5 24 Preset Count Operation eThe preset count operation is allocated to the input Z signal and is us
65. UM00582 UM00583 UM00782 UM00783 UM00982 UM00983 UM00B82 UM00B83 Buffer 2 UM00584 UM00585 UM00784 UM00785 UM00984 UM00985 UM00B84 UM00B85 Buffer 3 UM00586 UM00587 UM00786 UM00787 UM00986 UM00987 UM00B86 UM00B87 Buffer 4 UM00588 UM00589 UM00788 UM00789 UM00988 UM00989 UM00B88 UM00B89 Buffer 5 UM0058A UM0058B UM0078A UM0078B UM0098A UM0098B UM00B8A UM00B8B Buffer 6 UM0058C UM0058D UM0078C UM0078D UM0098C UM0098D UM00B8C UM00B8D Buffer 7 UM0058E UM0058F UM0078E UM0078F UM0098E UM0098F UM00B8E UM00B8F Buffer 8 UM00590 UM00591 UM00790 UM00791 UM00990 UM00991 UM00B90 UM00B91 Buffer 9 UM00592 UM00593 UM00792 UM00793 UM00992 UM00993 UM00B92 UM00B93 Buffer 10 UM00594 UM00595 UM00794 UM00795 UM00994 UM00995 UM00B94 UM00B95 Buffer 11 UM00596 UM00597 UM00796 UM00797 UM00996 UM00997 UM00B96 UM00B97 Buffer 12 UM00598 UM00599 UM00798 UM00799 UM00998 UM00999 UM00B98 UM00B99 Buffer 13 UM0059A UM0059B UM0079A UM0079B UM0099A UM0099B UM00B9A UM00B9B Buffer 14 UM0059C UM0059D UM0079C UM0079D UM0099C UM0099D UM00B9C UM00B9D Buffer 15 UM0059E UM0059F UM0079E UM0079F UM0099E UM0099F UM00B9E UM00B9F Buffer 16 UM005A0 UM005A1 UM007A0 UM007A1 UM009A0 UM009A1 UM00BA0 UM00BA1 Buffer 17 UM005A2 UM005A3 UM007A2 UM007A3 UM009A2 UM009A3 UM00BA2 UM00BA3 Buffer 18 UM005A4 UM005A5 UM007A4 UM007A5 UM009A4 UM009A5 UM00BA4 UM00BA5 Buffer 19 UM005A6 UM005A7 UM007A6 UM007A7 UM009A6 UM009A7 UM00BA6 UM00BA7 Buffer 20 UM005A8 UM005A9 UM007A8 UM007A9 UM009A8 UM009A9 UM00BA8 UM00BA9 Buffer 21 UM005AA
66. UM005AB UM007AA UM007AB UM009AA UM009AB UM00BAA UM00BAB Buffer 22 UM005AC UM005AD UM007AC UM007AD UM009AC UM009AD UMOOBAC UMOOBAD Buffer 23 UM005AE UM005AF UM007AE UM007AF UM009AE UM009AF UMOOBAE UMOOBAF Buffer 24 UM005B0 UM005B1 UM007B0 UM007B1 UM009B0 UM009B1 UM00BB0 UM00BB1 Buffer 25 UM005B2 UM005B3 UM007B2 UM007B3 UM009B2 UM009B3 UM00BB2 UM00BB3 Buffer 26 UM005B4 UM005B5 UM007B4 UM007B5 UM009B4 UM009B5 UM00BB4 UM00BB5 Buffer 27 UM005B6 UM005B7 UM007B6 UM007B7 UM009B6 UM009B7 UM00BB6 UM00BB7 Buffer 28 UM005B8 UM005B9 UM007B8 UM007B9 UM009B8 UM009B9 UM00BB8 UM00BB9 Buffer 29 UM005BA UM005BB UM007BA UM007BB UM009BA UM009BB UM00BBA UM00BBB Buffer 30 UM005BC UM005BD UM007BC UM007BD UM009BC UM009BD UM00BBC UM00BBD Note 1 The capture value buffer areas are available from the high speed counter unit Ver 1 2 Note 2 In the above areas the capture register difference values Capture 1 register 1 Capture 0 register are stored when capturing for the capture 1 register is executed we next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories Difference value buffer Stored when Capture 1 request occurs Buffer No Unit memory UM No CHO CH1 CH2 CH3 Buffer 31 UM005BE UM005BF UM007BE UM007BF UM009BE UM009BF UM00BBE UM00BBF Buffer 32 UM005C0 UM005C1 UM007
67. UM005E8 UM005E9 UM007E8 UM007E9 UM009E8 UM009E9 UM00BE8 UM00BE9 Buffer 53 UM005EA UM005EB UM007EA UM007EB UM009EA UM009EB UM00BEA UM00BEB Buffer 54 UM005EC UM005ED UM007EC UM007ED UM009EC UM009ED UM00BEC UM00BED Buffer 55 UM005EE UM005EF UM007EE UM007EF UM009EE UM009EF UM00BEE UM00BEF Buffer 56 UM005F0 UM005F1 UM007F0 UM007F1 UM009F0 UM009F1 UM00BF0 UM00BF1 Buffer 57 UM005F2 UM005F3 UM007F2 UM007F3 UM009F2 UM009F3 UM00BF2 UM00BF3 Buffer 58 UM005F4 UM005F5 UM007F4 UM007F5 UM009F4 UM009F5 UM00BF4 UM00BF5 Buffer 59 UM005F6 UM005F7 UM007F6 UM007F7 UM009F6 UM009F7 UM00BF6 UM00BF7 Buffer 60 UM005F8 UM005F9 UM007F8 UM007F9 UM009F8 UM009F9 UM00BF8 UM00BF9 Note 1 The capture value buffer areas are available from the high speed counter unit Ver 1 2 Note 2 In the above areas the capture register difference values Capture 1 register 1 Capture 0 register are stored when capturing for the capture 0 register is executed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 5 Dimensions 2 ch type 4 ch type 28 28 A LJ mi ra OEC 19 en 80 4 R LN
68. UM006E9 UM008E8 UM008E9 UM00AE8 UM00AE9 Buffer 53 UM004EA UM004EB UM006EA UM006EB UM008EA UM008EB UMOOAEA UMOOAEB Buffer 54 UMO004EC UM004ED UM006EC UM006ED UM008EC UM008ED UMOOAEC UMOOAED Buffer 55 UM004EE UM004EF UM006EE UM006EF UM008EE UM008EF UMOOAEE UMOOAEF Buffer 56 UMO004F0 UMOO4F 1 UMOO06F0 UMOO6F 1 UMO08F0 UMOO8F 1 UMOOAFO0 UMOOAF 1 Buffer 57 UM004F2 UM004F3 UMO06F2 UMOO06F3 UMO008F2 UMO08F3 UMOOAF2 UMOOAF3 Buffer 58 UM004F4 UM004F5 UMOO06F4 UMOO6F5 UMO008F4 UMOO8F5 UMOOAF4 UMOOAF5 Buffer 59 UMO004F6 UMO04F7 UMOO06F6 UMO06F7 UMO08F6 UMO08F7 UMOOAF6 UMOOAF7 Buffer 60 UM004F8 UM004F9 UMOO06F8 UMO06F9 UMO008F8 UMO008F9 UMOOAF8 UMOOAF9 Note 1 The capture value buffer areas are available from the high speed counter unit Ver 1 2 Note 2 In the above areas the capture register difference values Capture 1 register 1 Capture 0 register are stored when capturing for the capture 0 register is executed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories Capture 1 register buffers Buffer No Unit memory UM No CH0 CH1 CH2 CH3 Buffer 1 UM00502 UM00503 UM00702 UM00703 UM00902 UM00903 UM00B02 UM00B03 Buffer 2 UM00504 UM00505 UM00704 UM00705 UM00904 UM00905 UM00B04 UM00B05 Buffer 3 UM00506 UM00507 UM00706 UM00707 UM00906 UM00907 UM00B06 UM00B07 Buffer 4 UM00508 UM00
69. UM00883 UM00A82 UM00A83 Buffer 2 UM00484 UM00485 UM00684 UM00685 UM00884 UM00885 UM00A84 UM00A85 Buffer 3 UM00486 UM00487 UM00686 UM00687 UM00886 UM00887 UM00A86 UM00A87 Buffer 4 UM00488 UM00489 UM00688 UM00689 UM00888 UM00889 UM00A88 UM00A89 Buffer 5 UM0048A UM0048B UM0068A UM0068B UM0088A UM0088B UM00A8A UM00A8B Buffer 6 UM0048C UM0048D UM0068C UM0068D UM0088C UM0088D UM00A8C UM00A8D Buffer 7 UM0048E UM0048F UM0068E UM0068F UM0088E UM0088F UM00A8E UM00A8F Buffer 8 UM00490 UM00491 UM00690 UM00691 UM00890 UM00891 UM00A90 UM00A91 Buffer 9 UM00492 UM00493 UM00692 UM00693 UM00892 UM00893 UM00A92 UM00A93 Buffer 10 UM00494 UM00495 UM00694 UM00695 UM00894 UM00895 UM00A94 UM00A95 Buffer 11 UM00496 UM00497 UM00696 UM00697 UM00896 UM00897 UM00A96 UM00A97 Buffer 12 UM00498 UM00499 UM00698 UM00699 UM00898 UM00899 UM00A98 UM00A99 Buffer 13 UM0049A UM0049B UM0069A UM0069B UM0089A UM0089B UM00A9A UM00A9B Buffer 14 UM0049C UM0049D UM0069C UM0069D UM0089C UM0089D UM00A9C UM00A9D Buffer 15 UM0049E UM0049F UM0069E UM0069F UM0089E UM0089F UM00A9E UM00A9F Buffer 16 UM004A0 UM004A1 UM006A0 UM006A1 UM008A0 UM008A1 UM00AA0 UM00AA1 Buffer 17 UM004A2 UM004A3 UM006A2 UM006A3 UM008A2 UM008A3 UM00AA2 UM00AA3 Buffer 18 UM004A4 UM004A5 UM006A4 UM006A5 UM008A4 UM008A5 UM00AA4 UM00AA5 Buffer 19 UM004A6 UM004A7 UM006A6 UM006A7 UM008A6 UM008A7 UM00AA6 UM00AA7 Buffer 20 UM004A8 UM004A9 UM006A8 UM006A9 UM008A8 UM008A9 UM00AA8 UM00AA9 Buffer 21 UM004AA UM004AB UM006AA UM006AB UM008AA UM008AB
70. UM00AAA UM00AAB Buffer 22 UM004AC UM004AD UM006AC UM006AD UM008AC UM008AD UMOOAAC UMOOAAD Buffer 23 UM004AE UM004AF UM006AE UM006AF UM008AE UM008AF UMOOAAE UMOOAAF Buffer 24 UM004B0 UM004B1 UM006B0 UM006B1 UM008B0 UM008B1 UM00AB0 UM00AB1 Buffer 25 UM004B2 UM004B3 UM006B2 UM006B3 UM008B2 UM008B3 UM00AB2 UM00AB3 Buffer 26 UM004B4 UM004B5 UM006B4 UM006B5 UM008B4 UM008B5 UM00AB4 UM00AB5 Buffer 27 UM004B6 UM004B7 UM006B6 UM006B7 UM008B6 UM008B7 UM00AB6 UM00AB7 Buffer 28 UM004B8 UM004B9 UM006B8 UM006B9 UM008B8 UM008B9 UM00AB8 UM00AB9 Buffer 29 UM004BA UM004BB UM006BA UM006BB UM008BA UM008BB UM00ABA UM00ABB Buffer 30 UM004BC UM004BD UM006BC UM006BD UM008BC UM008BD UMOOABC UMOOABD Note 1 The capture value buffer areas are available from the high speed counter unit Ver 1 2 Note 2 In the above areas the capture register difference values Capture 1 register 1 Capture 0 register are stored when capturing for the capture 0 register is executed m next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Check list of unit memories Difference value buffer Stored when Capture 0 request occurs Buffer No Unit memory UM No CHO CH1 CH2 CH3 Buffer 31 UMO004BE UMO004BF UMOO6BE UMOO6BF UMOO8BE UMOO8BF UMOOABE UMOOABF Buffer 32 UM004C0 UM004C1 UMO006CO0 UMO06C1 UMO008C0 UM008C1 UM00AC0 U
71. ag 15 2 Note 1 The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Note 2 The capture value clear request and capture done flag clear request signals are available from the high speed counter unit Ver 1 2 They can be set in user programs Note 3 Even if the capture value clear request is executed the number of completed capture operations in the buffer area will not be cleared The number of completed capture operations will be cleared when the capture enable request Y7 or the sampling capture function is activated Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 4 3 Monitor Display Area Unit memory No UM 003DA UM 003DB Signed 32 bit Hex Name Default Setting range and description Unit UM 003A0 UM 003A1 T s Current count value of counter 1 UM 093B0 UM 005B1 shal Count value KO Range 2 147 483 648 8000 0000H to Pulse UM 003C0 UM 003C1 2 147 483 647 7FFF FFFFH UM 003D0 UM 00301 Signed 32 bit IM 003A2 lt UM 00343 Value of capture 0 register UM003B2 UM003B3 Capture 0 Ko Range 2 147 483 648 8000 0000H to Pulse UM 003C2 UM 003C3 register 2 147 483 647 7FFF FFFFH UM 003D2 UM 003D3 Signed 32 bit UM 003A4 UM 003A5 M M MM Value of capture 1 register DUE Range 2 147 483
72. al Comparison match reset p Reset Control 0 signal Effective condition Output Y relay Reset enable request m Type of reset signals Reset condition Setting method any m ant Ker OFF S orr Output Y Activates the reset request signal by a user Allocates the Z phase input signal to any Input Z signal reset operation using the configuration e e e e menu Allocates the control 0 signal to either reset operation using the configuration menu Control 0 Positive logic enable operation and reset e e signal operation at rising edge Negative logic enable operation and reset operation at trailing edge Comparison Allocates the comparison match flag operation to Reset execution using the e e match flag configuration menu B allocation Effective Signal name condition CHO CH1 CH2 CH3 Reset request ON edge Y102 Y112 Y122 Y132 Reset enable request Level 104 Y114 Y124 Y134 Input Z signal monitor X10A X12A X14A X16A Control 0 signal monitor X10B X12B X14B X16B Comparison match flag X110 X11F X130 X13F X150 X15F X170 X17F Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number Phone 800 894 0412 Fax 888 723 477
73. al XA 2 X4A X6A Input Z signal monitor Monitors the input state of input Z signal XB X2B X4B X6B Control 0 signal monitor Monitors the output state of control 0 signal XC X2C X4C X6C Control 1 signal monitor Monitors the output state of control 1 signal X4D X6D Overflow annunciation Flag to announce the occurrence of overflow Enabled for the linear counter only X2E X4E X6E Underflow annunciation Flag to announce the occurrence of underflow Enabled for the linear counter only XF X2F X4F X6F Error annunciation Flag to announce the occurrence of an error X10 X30 X50 X70 Comparison match 0 flag is to Comparison match 9 X19 x39 x59 xX79 flag x g 2 x Flag to reflect the results of the band comparison S x3A Z Z X7A Comparison match A flag function or target value match function E 2i to Comparison match F X1F X3F X5F X7F flag Note 1 The I O numbers actually allocated the numbers based on the starting word number allocated to the unit Example When the starting word number for the unit is 10 the operation ready done flag for CH0 is X100 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Output relays number i Name Ede Description CHO CH1 CH2 CH3 condition YO Y10 Y20 Y30 Operation ready request
74. all wires have been inserted fit the semi cover into place Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net e Contact puller pin to redo wiring If there is a wiring mistake or the wire is incorrectly pressure connected use the contact puller pin provided with the fitting to remove the contact WM Press the housing against the pressure connection tool so that the contact puller pin comes in contact with this section N exe Ls Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 3 2 Terminal Circuit Diagram 3 21 1 0 Terminal Layout Diagram 4 ch type 2 ch type 2 WANENE e Two connectors are used to connect the 4 ch type and one connector to connect the 2 ch type e The signal pins for two channels are assigned to one connector There is no difference in pin arrangement between the CH0 CH1 connector and the CH2 CH3 connector if the unit is of the 4 ch type Any pins with the same in number have the same function Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Input terminal
75. ample 1 For the comparison data 0 of CH0 it is allocated to UM00080 to UM00087 Example 2 For the comparison data 1 of it is allocated to UM00088 to UM0008F e The bit numbers 0 to 15 in the areas of 2 to 5 in the figure below correspond to the comparison match 0 flag to F flag Low words of target value Target values High words of target value 2 Subtraction reset pattern 1 Set output 0 No change j Addition reset pattern 1 Reset output 0 No change Subtraction set pattern 1 Set output 0 No change Subtraction reset pattern 1 Reset output 0 No change Not used i i Reserved for system Not used PUA REFERENCE e For details of unit memory numbers refer to 11 4 Unit Memory Detailed Specifications Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 3 Operation of Band Comparison Function 7 3 1 Examples of Linear counter Settings m Operation of band comparison match flag Comparison match 0 flag Comparison match 1 flag Comparison match 2 flag Comparison match 3 flag Examples of output pattern settings Lower limit 1 1 r 1 1 1 Comparison data 0 T 0 1 Comparison data 1 1 rison data 3 1 1 1 Comparison data 2 Comparison data 4 Upper limit Band comparison Comparison value Output Comparison Comparison Compar
76. annunciation underflow Enabled for the linear counter only XF X2F X4F X6F Error annunciation Flag to announce the occurrence of an error X10 X30 X50 X70 Comparison match 0 flag X19 X39 X59 x79 Comparison match 9 flag x s 2 x Flag to reflect the results of the band comparison z z function or target value match function X1A X3A 5 X7A Comparison match A flag 1 5 x7F Comparison match F flag Note 1 The I O numbers actually allocated the numbers based on the starting word number allocated to the unit Example When the starting word number for the unit is 10 the operation ready done flag for CH0 is X100 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Output relays number Enabl Name p Em Description CHO CHI CH2 CH3 condition YO Y10 Y20 Y30 Operation ready request Level Relay t recalculate th setting parameter of counter Y1 Y11 Y21 Y31 Count enable request Level Relay to start the counter operation Y2 Y12 Y22 Y32 Reset request ON edge Relay to reset count values Y3 Y13 Y23 Y33 Preset request ON edge Relay to preset count values YA y14 Y24 Y34 Reset enable request Level Relay Eo ena whe tesat control signal and input Z signal Y5 Y45 Y25 Y35 Current value change ON edge Relay to request for changing the request curren
77. ation net 5 1 Selection of Counters and Basic Settings 5 1 1 Basic Settings of Counters The basic settings are set in the configuration menu of FPWIN GR7 or unit memories UM m Count function configuration Item Description Default Counter type Linear counter Ring counter Linear counter Enable Disable overflow underflow Disable Enable Disable Counter upper limit 2 147 483 647 to 2 147 483 647 2 147 483 647 Counter lower limit 2 147 483 648 to 2 147 483 646 2 147 483 648 Specify count direction Normal direction Reverse direction Normal direction Select count input Count signal Internal clock 0 25 us 4 MHz Internal clock 1 00 us 1 MHz Internal clock 10us 100 kHz Internal clock 100 us 10 kHz Count signal Count method 2 phase input 1 multiple 2 phase input 2 multiple 2 phase input 4 multiple Individual input 1 multiple Individual input 2 multiple Direction detection input 1 multiple Direction detection input 2 multiple 2 phase input 1 multiple m Example of settings by FPWIN GR7 CH1 CH2 CH3 Setting item Counter type Enable Displable overflow underflow Counter upper limit Counter lower limit Specify count direction Select count input ou eog hput Z signal function setting Control 0 signal function setting Control 1 signal function setting 8 Default value Preset value Current value change
78. averaging of frequency measurement values UM 00073 No averaging Set averange H1 2 times UM 00143 number of frequency HO H2 4 times Times UM 00213 measurement H3 8 times processes H4 16 times UM 90255 H5 32 times H6 64 times H7 128 times Set the number of averaging of rotation speed measurement values UM 00074 HO No averaging Set average number H1 2 times UM 00144 of rotation speed Ho H2 4 times imas UM 00214 measurement H3 8 times processes H4 16 times 5 32 times H6 64 times H7 128 times Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Comparison function Unit memory Name Default Setting range and description Unit No Hex UM 00078 Select a method of the comparison function from band UM00148 Select comparison 5 comparison or target value match comparison UM 00218 function H0 Not use i H1 Band comparison UM 002E8 H2 Target value match comparison UM 00079 Select a target of the comparison function from count UM 00149 Select value measurement value UM 00249 input H0 H0 Count value H1 Measurement value Frequency UM 002E9 H2 Measurement value Rotation speed UM 0007B UM 0014B Set number of Set the judgement value for the comparison function
79. ch 0 flag to the external output 0 signal u UM 002A0 setting H0 Not output UM 00370 H1 Output UM 00101 Set whether or not to hold the output signal in the UM 001D1 External output 0 signal program mode when error occurs 002A1 output hold setting Not hold UM 00371 H1 Hold UM 00102 Set the ON timing delay of external output 0 UM 001D2 External output 0 signal o signal ins UM 002A2 ON timing delay Setting range 0 to 1 000 The values out of the UM 00372 setting range are invalid UM 00103 Set the ON hold time of external output 0 signal UM 001D3 External output 0 signal t 5 UM 002A3 ON hold time Setting range 0 to 1 000 The values out of the setting range are invalid UM 00373 UM 00104 Set whether or not to output the comparison UM 00104 External output 1 signal match 1 flag to the external output 1 signal _ UM 002 4 setting HO Not output UM 00374 H1 Output UM 00105 Set whether or not to hold the output signal in the UM 001D5 External output 1 signal program mode when error occurs 002 5 output hold setting Not hold UM 00375 H1 Hold UM 00106 Set the ON timing delay of external output 1 UM 00106 External output 1 signal Uo signal ae UM 002A6 ON timing delay Setting range 0 to 1 000 The values out of the UM 00376 setting range are invalid UM 00107 Set the ON hold time of external output 1 signal UM 001D7 External output 1 signal UO
80. clear errors Note 1 The I O numbers in the table indicates offset addresses The I O numbers actually allocated are the numbers based on the starting word number allocated to the unit Example When the starting word number for the unit is 10 the operation ready request flag for CHO is Y100 Note 2 How the capture enable request signal works varies according to the functions to be used Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 3 List of Unit Memories m Check list of unit memories Unit memory UM number CH0 CH1 CH2 CH3 Setting monitor item Common Error code UM 00025 UM 00026 UM 00027 UM 00028 setting area UM 00050 UM 00120 UM 001F0 UM 002C0 Count function setting area UM 0006 UM 0013F UM 0020F UM 002DF UM 00070 UM 00140 UM 00210 UM 002E0 Measurement function setting area UM 00077 UM 00147 UM 00217 UM 002E7 UM 00078 UM 00148 UM 00218 UM 002E8 Comparison function setting Individual Hd UMOO0FF UMOO1CF UM0029F UM 0036F setting area UM 00100 UM 001D0 UM 002A0 UM 00370 External output function 4 setting area UM 0010F UM 001DF UM 002AF UM 0037F 00110 001 0 002B0 UM 00380 Capture function setting area UM 00117 UM 001E7 UM 002 7 UM 00387 UM00118 UM001E8 UM002B8 UM00388 Interrupt function setting area UM0011F UM 001EF UM 002BF UM 0038F UM003A0 UM003B0 UM003C
81. d B function i per rotation rpm JU UU UU Rotation speed rpm 60 Time taken for one rotation The rotation speed measurement B function can be used for the case such as the time interval of the change in the counter is not even However when it takes for one second or more for one rotation the result is 0 rpm FI e When the measurement function has been selected in the configuration area the measuring operation starts once the operation ready done flag turns on Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 6 1 2 Configuration For using the measurement function set the following items using the configuration menu of tool software FPWIN GR7 or user programs m Setting area Unit memor T Default Setting range and description Unit Hex H0 Not use measurement function UM 00070 H1 Frequency measurement UM00140 Select measurement H0 H2 Frequency measurement and rotation speed _ UM 00210 function measurement A UM 002E0 H3 Frequency measurement and rotation speed measurement B UM 00071 UM 00072 pu Set the pulse number for one rotation of the encoder Pulse number per U1 Pul UM 00211 s rotation Setting range 1 to 1 048 575 The values out of the ulse UM 00212 setting range are invalid UM 002E1 UM 002E2 UM 00073 Set averange Set the number of averaging of freq
82. d value Input signal Input signal input time constant Setting description Linear counter Disable 2147483647 2147483648 Normal direction Gount signal Unused Unused dus 100kHz 5 1 2 Selection of Count Input e Select the count input to import input signals from an external device e For measuring the frequencies of external input signals or time based on the internal clock of the unit select Internal clock Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 1 3 Linear Counter and Ring Counter The operation changes depending on the types of counter as below B Operational difference between the counter types mparison A go RATSO Linear counter Ring counter item Lower limit Upper limit Upper limit Lower limit Operation image Count up Count down Underflow Countup gt Overflow lt Count down If the count value exceeds the upper limit the count value will be the lower limit If the count value exceeds the upper limit automatically and the count operation will Operation when the upper limit will be held continue reaching the 6 upper limit If the count value falls below the lower limit If the count value falls below the lower limit lower limit the lower limit will be held the count value will return to the upper limit Note 1 Note 2 automatically and the count operation will continue
83. data 0 Addition set pattern 0 Addition reset pattern 0 i Comparison data 0 i i Subtraction set pattern 0 i Subtraction reset pattern 0 i Nin seen E iene tena een ater Comparison match 0 flag gt to Comparison match F flag Comparison data 15 rion set pater 15 Comparison data 15 Setting for Target value match comparison Example of settings by FPWIN GR7 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Setting item Setting description E Comparison function Select comparison function Target value match comparison Select comparison input Count value Set number of comparison data z E Comparison data 0 Target value 500 E Addition set pattern Addition set pattern No change Addition set pattern 1 Set output Addition set pattern 2 No change Addition set pattern 3 No change Addition set pattern 4 No change Addition set pattern 5 No change Addition set pattern 6 No change Addition set pattern No change Addition set pattern 8 No change Addition set pattern 9 No change Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Pattern of storage in unit memories UM e Set data is stored in 8 word blocks of corresponding unit memories in the following format eWhen using user programs set data in corresponding unit memory numbers Ex
84. dependent of the scan time of PLC can be confirmed e The capture function is used to execute capturing at the leading and trailing edges of control signals and the sampling capture function is used to execute capturing every sampling time T ms by signla input e Buffer function is added which can save up to 60 captured data Available form High speed counter unit Ver 1 2 14 counter operations by input signals input z signal control signal and output relay Y relay 1 Reset operation at rising edge 2 Reset operation at trailing edge 3 Positive logic reset operation 4 Negative logic reset operation 5 Preset operation at rising edge 6 Preset operation at trailing edge 7 Positive logic preset operation 8 Negative logic preset operation 9 Positive logic enable operation 10 Negative logic enable operation 11 Positive logic enable operation and reset operation at rising edge 12 Negative logic enable operation and reset operation at trailing edge 13 Positive logic enable operation and preset operation at rising edge 14 Negative logic enable operation and preset operation at trailing edge Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Forced ON OFF of external output relays Y relays is available e External output relays can be forcibly turned on off by the monitoring function of a programming tool or ladder program It is usable for checking wirin
85. der Pulser side A1 A11 Input 24V DC 4 2 12 Input 5V DC Phase A 3 y signal B1 B11 Input A COM B2 B12 Input A COM A3 A13 Input B 24V DC o A4 A14 Input B 5V DC Phase B gt signal B3 B13 Input B COM B4 B14 Input B COM 5 15 Input Z 24V DC L A6 A16 Input Z 5V DC 2 Phase Z signal B5 B15 Input Z COM B6 B16 Input Z COM n Power supply 12 to 24V DC 3 4 4 For Sensor Input High speed counter unit Sensor I A1 A11 Input 24V DC TV e _ 2 12 OUT Input 5V DC gt ov B1 B11 Input A COM B2 B12 Input A COM Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 Unit Allocation and Parameter Settings Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 1 Unit Allocation 411 Confirmation of I O Allocation Information Input and output relays are allocated m I
86. dition set pattern and addition reset pattern when the current value matches the comparison data Lower limit 0 Upper limit Comparison Comparison Comparison Comparison Comparison Comparison Comparison Comparison data 0 data 1 data 2 data 3 data 4 data 5 data 6 data 7 Comparison match 0 flag Comparison match 1 flag Comparison match 2 flag Comparison match 3 flag 1 1 1 8 000 6 000 4 000 2 000 Example of comparison match flag operation when counting down Operates according to the settings of subtraction set pattern and addition reset pattern when the current value matches the comparison data Upper limit 0 Lower limit ComparisonComparison Comparison Comparison Comparison Comparison Comparison Comparison data 7 data 6 data 5 data 4 data 3 data 2 qata 1 data 0 Comparison match 0 flag Comparison match 1 flag Comparison match 2 flag Comparison match 3 flag 1 1 2 000i 4 000 6 000 8 0001 I 1 1 8 009 6000 4 0001 2 000 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Examples of output pattern settings Comparison Target Output pattern Comparison Comparison Comparison Comparison data value match 0 flag match 1 flag match 2 flag match 3 flag Addition set pattern Addition reset pattern
87. e executed early in the process m Operation ready request program Example Program to request the preparation of the CHO operation of the high speed counter unit installed in the slot 1 R100 kx DF Activate operation ready request R100 R101 DF Activate operation Stops high speed Operation ready ready request counter operation request Y100 Stops high speed counter operation Y100 Operation ready request X100 To an arbitrary program Operation ready done flag m Allocation of I O signals Effective Signal name Condition CHO CH1 CH2 CH3 Operation ready request Level Y100 Y110 Y120 Y130 Operation ready done flag X100 X120 X140 X160 Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 3 2 Downloading Configuration Data e The configuration information of the high speed counter unit is downloaded to the CPU together with user programs e The above programs are executed in the RUN mode and each function of the high speed counter unit will be enabled once the operation ready done flag turns on 4 3 3 Operation When Operation Ready Request Program is Executed e The operation ready done f
88. e execution of intterupt program has priority and the scan time will be longer Note 2 If more than one interrupt activation request is made from the unit the process will be carried out from the smallest slot number or the smallest interrupt program number Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 2 Allocation of 1 0 Numbers m Input relays number T Name Description CHO CH1 CH2 CH3 X20 X40 X60 Operation ready done Flag to indicate the counter operation is ready X1 X21 X41 X61 Counter enable Flag to indicate the counter operation is enabled Flag to indicate a count direction X2 X22 X42 X62 Count direction ON Forward Addition OFF Reverse Subtraction X3 X23 X43 X63 x4 X24 x44 X64 Capture 0 done flag Flag to announce that the count value is stored in capture 0 register x5 X25 X45 X65 Capture 1 done flag Flag to announce that the count value is stored in capture 1 register X6 X26 X46 X66 output 0 signal the output state of external output 0 Q y z monitor signal x7 Z x27 S x47 Z x67 External output 1 signal Monitors the output state of external output 1 monitor signal X8 X28 X48 X68 Input A signal monitor Monitors the input state of input A signal 9 29 49 X69 Input B signal monitor Monitors the input state of input B sign
89. ed counter High speed counter operation requesting operation stop R100 R101 S1 0TO High speed counter High speed counter Operation ready operation requesting operation stop request S1 OT0 Operation ready request S1 IN0 Arbitrary program Operation ready done flag sae Read Capture 0 sss ses MV UL 51 2 DT100 register data MV US H11 S1 UM00115 MV US H10 S1 UM00115 done flag clear p KEY POINTS e When using operation devices Direct input IN and Direct output OT I O refresh processing is performed during arithmetic processing For using this operation device check the box of Exclude this unit from the scope of I O refresh in the I O map of the FP7 configuration dialog box not to perform the normal I O refresh process executed in a scan time Capture done flag Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Processing when resetting the capture done flag manually I O refresh by direct output Normal I O refresh CPU unit 3 Note 1 Capture enable Direct output OT7 Capture trigger Control signal Y Y Y 0 1234 5678910 12 14 16 18 20 22 24 26 28 30 Count value High speed Note 2 counter 1 e KI lt oy unit Capture 0 register oa Nad Y vi Capture 0 done internal signal Clear I O refresh capture done flag during operat
90. ed to change the current value of the counter to the preset value e To enable the count input it is necessary to turn on the count enable request signal Y1 in user programs e t can be also used for starting the counter operation from the preset value eThe preset value is set in the configuration menu or unit memory UM area Counter i iui ande TIT BONES Subtraction Input Z signal _ t L4 i s 1 Preset process I Count value Preset value 1 7 nnn nnn ain nnn Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 25 Enable Count Operation e The enable function is allocated to the control signal for using the enable count operation e Performs the count operation while the control signal is effective Addition Counter input Subtraction mii Control signal Enable process Count value Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 2 6 Enable Reset Count Operation e The enable reset count operation is the operation that the enable and reset functions are allocated to the control signal e Resets the count value to zero when the counter becomes enabled by the change the control signal m Positive logic enable operation and reset operation at rising edge Counter gE anon Subtraction Control signal Reset proc
91. elow shows the error clear of channel 0 e The overflow or underflow annunciation flag can be cleared by each clear signal reset or preset operation However error states are not cleared Example Program to request for clearing errors of CHO of the high speed counter unit installed in the slot No 1 R100 X10F Y10F H DF Error oa CHO error CHO error reques annunciation flag clear request Y10F CHO error clear request Allocation of I O signals Signal name CHO CH1 CH2 CH3 Overflow clear Y10D Y11D Y12D Y13D Underflow clear Y10E 11 12 1 Error clear Y10F Y11F Y12F Y13F Overflow annunciation X10D X12D X14D X16D Underflow annunciation X10E X12E X14E X16E Error annunciation X10F X12F X14F X16F Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 10 2 List of Error Codes 10 2 1 Errors in Operation Ready Request 0100H to 0633H e These are errors occurred when the operation ready is requested If these errors occur the unit will not be ready for operations and the functions set in the unit will not be activated e Check if the setting values in the configuration menu or unit memories UM are co
92. equesting the capture 0 by executing the clearance of UM 00114 the capture 0 register UM 001E4 Capture value clear HO Clears the areas of capture 1 register capture 1 UM 002B4 request register buffer and register difference value buffer when UM 00384 requesting the capture 1 by executing the clearance of the capture 1 register bit no 15 4 10 Capture 1 register clear request bit 1 Capture 0 register clear request bit 0 0 Not request clearance 1 Request clearance It is used to reset the capture 0 done flag and capture 1 done flag using user programs To reset the capture 0 done flag write H11 and then H10 To reset the capture 0 done flag write H12 and then H10 At the default setting the request to clear the capture done flag is automatically made at the time of I O refresh UM 00115 bit 15 4 10 it no UM 001E5 Capture done flag UM DDOBS clear request HO 1 1 l I Edge type Capture done flag clear request E UM 00385 0 Automatic clear I O refresh 1 Manual clear Clear by bit 0 and bit 1 Capture 1 done flag clear request bit 1 Capture 0 done flag clear request bit 0 0 Not request clearance 1 Request clearance Make the settings for the interrupt operation at the time of comparison match UM 00118 latanus riu qS bit Default Description Setting upt functi UM 001E8 je 0 1 Comparison 0 Disable EN enable disable H3 UM 002B8 setting match 0 flag 1 Enable UM 00388 1 1 Comparison match 1 fl
93. er the set lower limit should be less than the upper limit For the ring counter they can be set in any range Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m External output function Settable for each channel item Description Default Signal setting Not output Output Not output Set the condition of the output when a CPU or high speed t hold counter error occurs Not hold settin External 3 Not hold Hold output 0 ON timing Setting range 0 to 1 000 ms 0 ms delay ON hold time Setting range 0 to 1 000 ms 0 ms Signal setting Not output Output Not output Set the condition of the output when a CPU or high speed hold counter error occurs Not hold settin EMO 5 Not hold Hold output 1 ON timing Setting range 0 to 1 000 ms 0 ms delay ON hold time Setting range 0 to 1 000 ms 0 ms m Capture function Sett able for each channel Note 1 The ON timing delay and ON hold time are enabled only when the band comparison function is used item Description Default Capture 0 setting Not use capture 0 function Capture function at rising edge of control 0 signal Capture function at trailing edge of control 0 signal Capture function at rising edge of control 1 signal Capture function at trailing edge of control 1 signal Control 0 signal positive logic sampling capture function Control 0 signal negative logic sampling
94. er of CHO of the high speed counter unit installed in the slot No 1 RO L DF MV US H1 S1 vo00114 o MV US NINE KEY POINTS e Even if the capture value clear request is executed the number of completed capture operations in the buffer area will not be cleared The number of completed capture operations will be cleared when the capture enable request Y7 or the sampling capture function is activated REFERENCE For details of unit memory UM numbers refer to 11 4 Unit Memory Detailed Specifications Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 Interrupt Program Activation Function Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 9 1 Interrupt Program Activation Function 9 1 1 Overview of Interrupt Program e The high speed counter unit can activate interrupt programs of CPU using comparison match flags elf the activation condition is met the interrupt program of a corresponding program number will be activated Once the execution of the interrupt program is complete the process returns to the execution of the main program m Interrupt program specifications Item Description Interrupt program Activates a corresponding interrupt program when the comparison match 0 flag and activation condition comparison match 1 flag of each channel turns on Per 1 channel of high speed San
95. es No averaging 2 4 8 16 32 64 128 times No averaging B Comparison funct ion Settable for each channel item Description Default Comparison function Noruss Not selection Band comparison ot use Target value match comparison Comparison input Count valde Measurement value Frequency Count value Measurement value Rotation speed Nmber of comparison Set the judgement value for the comparison function 16 data Setting range 1 to 16 Comparison data 0 lower and upper limits for each comparison data J Comparison data 15 Setting range 2 147 483 648 to 2 147 483 647 For pand Select the set patterns on or off for the comparison match 0 flag comparison OFF to the comparison match F flag for each comparison data Specify target values for each comparison data 0 Setting range 2 147 483 648 to 2 147 483 647 Select the pattern set or reset according to the situation when Comparison data 0 reaching the target value addition or subtraction for each Comparison data 15 comparison data For target value Addition set pattern Set output no change No ch change match Addition reset pattern Reset output no change Subtraction set pattern Subtraction reset pattern Set output no change Reset output no change Note 1 Lower and upper limits can be set in the range of the lower and upper limits of the counters For the linear count
96. es of output pattern settings Band comparison Comparison value Output Comparison Comparison Comparison Comparison data Lower Upper pattem match Oflag match 1 match 2 match 3 flag limit limit 0 1 250 2 500 Set ON OFF OFF OFF pattern 1 3 750 5 000 Sel OFF ON OFF ON pattern 2 3 750 7 500 pattern 3 6 250 7 500 iud ON ON ON ON pattern 4 8 750 500 Pe OFF OFF ON OFF pattern Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Eee e Forthering counter comparison data is set for the area including the upper and lower limits in which the count value is rolled over and set patterns can be set Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 73 3 Configuration of Band Comparison m Overview of setting items e When the current value exists between the lower and upper limits of each comparison data the ON or OFF state of each flag is set for each comparison data e Multiple comparison match flags can be set for one comparison data e Multiple comparison data can be set for the same band Comparison data 0 E PP Set pattern asss pn s i Set pattern Setting for Band comparison Comparison match 0 flag a Comparison match F fla
97. ess Enable process Count value kn E 4 2 2 2 2 2 2 2 2 2 2 2 2 d n m Negative logic enable operation and reset operation at trailing edge Couer admon MUST IMP Subtraction i Control signal j f J i f I 1 Reset process Enable process Count value of ee ee ee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 2 7 Enable Preset Count Operation e The enable preset count operation is that the enable and preset functions are allocated to the control signal e Resets the count value to a specified preset value when the counter becomes enabled by the change in the control signal m Positive logic enable operation and preset operation at rising edge Gained ro aton Subtraction Control signal Preset process Enable process Count value Preset value m Negative logic enable operation and preset operation at trailing edge oo SSL ad Subtraction Control signal Preset process Enable process Count value aL eee ee ee ee ee Preset value 4 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 3 Allocation of Reset Preset and Enable Signals 5 3 1 Reset Input The following four reset methods are available Reset elements Output Y relay Input Z sign
98. external output 1 terminal of the unit The following settings are available only when the band comparison function is External output used ON delay timing O to 1 000 ms ON hold time 0 to 1 000 ms Forced output function The outputs of external output 0 terminal and external output 1 terminal can be controlled on the ladder monitor or device monitor of tool software B 1 0 Allocation Signal name CHO CH1 CH2 CH3 Comparison match flag X110 X11F X130 X13F X150 X15F X170 X17F Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net K e Only the comparison match 0 flag or comparison match 1 flag can be set as the external output of the high speed counter unit e The default for the external output 0 and 1 settings is Not output Change the settings in the configuration menu as necessary e There is no need to arrange comparison data in ascending or descending order 71 2 Target Value Match Comparison Band Comparison e The main difference is as below eThe comparison methods can be selected for each channel m Main difference in characteristics Item Target value match comparison Band comparis
99. g Example of settings by FPWIN GR7 23 High speed Counter Unit Setti L Setting item Setting description Select comparison function Band comparison Select comparison input Count value Set number of comparison data 5 B Lower limit Upper limit Set pattern Set pattern 1 Set pattern 2 Set pattern 3 Set pattern 4 Set pattern 5 Set pattern 6 Set pattern 7 Set pattern 8 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Pattern of storage in unit memories UM e Set data is stored in 8 word blocks of corresponding unit memories in the following format eWhen using user programs set data in corresponding unit memory numbers Example 1 For the comparison data 0 of CH0 it is allocated to UM00080 to UM00087 Example 2 For the comparison data 1 of it is allocated to UM00088 to UM0008F e The bit numbers 0 to 15 in the area of 4 in the figure below correspond to the comparison match 0 flag to F flag Lower limit Low words i E i Lower limit Lower limit High words Upper limit Low words Upper limit Upper limit High words 18141311110 9 8 7 6 5 4 3121110 Setpattern 1 ON 0 OFF Not used Not used i Reserved for system Not used REFERENCE e For details of unit memory numbers refer to 11 4 Unit Memory Detailed Specifications Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomatio
100. gh speed counter unit is reset at the time of I O refresh of the CPU unit Note 3 The capture done flag of the CPU unit is reflected in the operation memory X4 X5 at the time of I O refresh It is read to an arbitrary operation memory with the user program using the capture done flag It is read at the timing of an appropriate operation processing we next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Processing when capture trigger inputs are used frequently I O refresh I O refresh CPU unit 1 Capture enable Y7 Capture trigger Control signal 0 1234 5678910 12 14 16 18 20 22 24 26 28 30 Count value High EL Note 2 counter a a lt A 4 unit Capture 0 done internal signal Scan time CPU Capture 0 done unit flag X4 3 Read out data to operation memory XXXXX 7 16 19 using program Note 1 Turn on the capture enable signal using the user program Note 2 The high speed counter unit performs the capture operation without synchronizing with the operation of the CPU unit every time control signals turn on as the capture trigger The capture done internal signal used for the system in the high speed counter unit is reset at the time of I O refresh of the CPU unit Note 3 The capture done flag of the CPU unit is reflected in the operation memory X4 X5 at the
101. gramming tool FPWIN is not used Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Capture Function Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 1 Overview of Functions 8 1 1 Types of Capture Function m Capture function e Stores the count value at the time an external input signal changes into the unit memory capture register of the high speed counter unit Capture enable ON request Turned On in user program Capture trigger External input signal 012345678910 12 14 16 18 20 22 24 __ Count value Capture register m Sampling capture function e Stores the count values during a specified sampling time form the time an external input signal changes into the unit memory capture register of the high speed counter unit eThe count values for the sampling time can be monitored by reading the difference value register Capture trigger External input signal Sampling capture processing iq gt 4 Sampling time i i Sampling time 0 1234 5678910 12 14 16 18 20 22 24 26 28 30 32 Count value Capture 1 register Capture 0 register Capture register difference value Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email
102. gs when setting up the system m Band comparison function and Target value match comparison function are provided e Two types of comparison functions are selectable for count values e In the band comparison function a maximum of 16 band comparison conditions max 16 sets of upper and lower limits can be specified for each counter A maximum 16 outputs can be turned on off for each comparison condition It is also possible to turn on an external output relay when the count value is in the range of the specified condition e n the target value match comparison function a maximum of 16 target value match comparison conditions can be specified for each counter A maximum of 16 outputs are set or reset for each comparison condition in accordance with the count direction when the count value reaches a target value It is also possible to turn on external output relays m Programmable output ON function e When using the band comparison function the ON timing characteristics of external output relays can be changed ON timing delay 1 ms 1000 ms Delays the ON timing of output ON hold time 1 ms 1000 ms Holds the on state of output during a specified time The ON timing delay and the ON hold time can be used in combination B input time constant Noise filter eThe noise filter function is available which sets the input time constant to reduce noises of input A B and Z signals of each counter and control signal lines Input s
103. h 1 flag match 2 flag match 3 flag Addition set pattern O Addition reset pattern O 0 500 Addition set pattern Addition reset pattern O 1 1 250 Addition set pattern O Addition reset pattern 2 2 500 Addition set pattern Addition reset pattern O EJ Addition set pattern Addition reset pattern B Addition set pattern Addition reset pattern i E E P Addition set pattern O Addition reset pattern O 6 7 500 Addition set pattern Addition reset pattern ee The operation of comparison match flag when the count value reaches the target value can be changed depending on the cases of addition and subtraction If the contents of comparison data 0 to 15 are overlapped and the specified reset conditions are different the priority of data is in the following order High O gt 1 gt 2 gt 3 gt 4 gt 5 gt 6 gt 7 gt 8 gt 9 gt 10 gt 11 gt 12 gt 13 gt 14 gt 15 Low Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 2 3 Configuration of Target Value Match Comparison m Overview of setting items e For each comparison data specify whether to set or reset each flag when the current value matches the target value e Multiple comparison match flags can be set for one comparison data e Different flag operations can be set depending on the count direction when the values are matched at the time of addition or subtraction Comparison
104. iation using overflow and underflow flags of UM 002 1 VPeentow each channel error codes However when it is set to disable the upper and lower limits are disregarded and counting continues UM 00052 Set the upper limit of counter UM 00053 Setting range 2 147 483 647 8000 0001H to UN 2 147 483 647 7FFF RS upper U 2 147 483 647 Signed 32 bit Pulse m ES However the upper limit should be larger than the Ero HERUM lower limit UM 002C2 A setting error occurs when the upper limit is equal UM 002C3 to the lower limit or smaller than the lower limit UM 00054 Set the lower limit of counter UM 00055 M Setting range 2 147 483 648 8000 0000H to ee 2 147 483 646 7FFF FFFEH UR SURE lower U 2 147 483 648 Signed 32 bit Pulse UM 001F4 However the upper limit should be larger than the _UM 001 5 lower limit UM 002C4 A setting error occurs when the upper limit is equal UM 002C5 to the lower limit or smaller than the lower limit Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Count function Unit memory Name Default Setting range and description Unit No Hex UM 00056 Set the direction of count UM 00126 Specify count i S o UM 001F6 direction HO Count
105. iautomation net 10 1 Self diagnostic Function 10 1 1 Errors Announced by High speed Counter Unit B Operation monitor LEDs of high speed counter e When an error occurs in the high speed counter unit the ERR LED of the unit lights e The contents of errors can be confirmed from the error flags and error codes allocated to each channel e There are errors which occur at the time of start up and errors which occur during operations m CPU operation when an error occurs in the high speed counter unit e f an error occurs in the high speed counter unit it will give the information to the CPU as Unit error e f a Unit error occurs the CPU will stop the operation e the programming tool the error code 81 unit error is displayed B Operation mode of the CPU when a unit error occurs eThe operation mode of the CPU at the time a unit error occurs can be changed using the configuration menu of programming tool FPWIN GR7 n ret sonig uration CPU configuration Setting item Setting description I O map a A Built in SCU T 4 Built in unit alarm occurred Stop operation unit error occurred Stop operation Unit verification error detection Stop operation Registered unit count mismatch Stop operation Unit initialization complete wait timeout Stop operation Unit configuration data target unit mismatch Stop operation Operation error Stop operation 10 1 2
106. iautomation net 2 1 Names and Functions of Parts sr ge Issa A ZCTOCTIONOTIERR A B ZCTOCTIONOTIERR CH1 3 CH1 6 2 i 4 im E Hb Operation monitor LEDs Displays the on off status of two channels Use the display changeover switch to toggle between the channel number 1 and CH2 CH3 The LEDs show same information for each channel LED Description Color ON OFF Flashing HSC Power supply of the unit Blue ON OFF Pulse input A signal display Green Displays the status of the input signal B Pulse input B signal display Green Displays the status of the input signal Z Pulse input Z signal display Green Displays the status of the input signal CTO Control 0 signal display Green Positive logic Negative logic CT1 Control 1 signal display Green Positive logic Negative logic OTO External output 0 signal display Green ON OFF OT1 External output 1 signal display Green ON OFF ERR Error display Red error Sai Note1 The LEDs for the pulse input signals flash according to the input statuses thus look as if they are continuously lit if the input frequencies are high Note 2 The LED of each input s
107. igh speed counter unit e As the input and output starts from the same I O numbers in FP7 series the following number of words is occupied No of I O points actually used i Name Product No p y No of occupied words Input Output No of occupied points 2 chtype 5 2 s words 128 points 4 words 64 points 8 words 128 points 4 ch type AFP7HSC4T Example The both 2 ch type and 4 ch type high speed counter units occupy 8 words 128 points Slot No Unit to use Staring word 0 CPS4E CPU unit 0 1 High speed counter unit 4 ch 10 y 2 Input unit DC type 64 points 18 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 1 3 Registration in Before setting parameters register the unit to be used in the I O map A _ PROCEDURE 1 Select Options gt FP7 Configuration in the menu bar The FP7 Configuration dialog box is displayed 2 Select I O map in the left pane The allocation menu of the I O map is displayed 3 Double click a desired slot The Unit selection dialog box is displayed 4 Select High speed counter for Unit type and select the unit name used and press the OK button Unit selection Slot No 1 Select unit to use Unit type High speed counter gt 1 High speed counter unit 2 ch Input time constant si kasu counter unit i In
108. ignal indicates the status after an input time constant processing Input output connector Connector for input and output 40 pins Conforms to MIL standard Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net DIN hook This hook is used to install the unit on a DIN rail Unit connector Connects the internal circuits between units Mode setting switch e Change the switch to use the interrupt function e At the factory setting it is set to off no interrupt function Js SL Mode setting switch E p Description 100 1 Interrupt function is enabled 215 OFF Interrupt function is disabled N I 3 Not used H 4 Display changeover switch Toggle between the display of 0ch 1ch and that of 2ch 3ch Fixing hook This hook is used to fix units Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 3 Wiring and Input Output Specifications Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 3 1 Connection over Wire pressed Terminal Cable 3 1 1 Specifications of Wire pressed Terminal Cable This is a connector that allows loose w
109. ignal name Noise filter type Input A signal input B signal 0 1 us 2 MHz 0 2 us 1 MHz 0 5 us 500 kHz 1 0 us 250 kHz The same time constant for 2 0 us 100 kHz 10 0 us 10 kHz the both signals Input Z signal 0 1 us 2 MHz 0 2 us 1 MHz 0 5 us 500 kHz 1 0 us 250 kHz 2 0 us 100 kHz 10 0 us 10 kHz Control signal 2 us 5ps 10 us 20 us 50 us 100 us 500 us 1 ms 2 ms 5 ms 10 ms 1 1 2 Unit Type and Product Number Name Product No 2 ch type AFP7HSC2T 4 ch type AFP7HSC4T FP7 High speed counter unit Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 1 2 Restrictions on Combinations of Units 1 2 1 Restrictions on Power Consumption The internal current consumption of the unit is as follows Make sure that the total current consumption is within the capacity of the power supply with consideration of all other units used in combination with this unit Name Product No Current consumption 2 ch type AFP7HSC2T 65 mA or less 4 ch type AFP7HSC4T 65 mA or less FP7 High speed counter unit 1 2 2 Applicable Versions of FPWIN GR7 and Units For using the high speed counter unit the following versions of FPWIN GR7 and units are required Item Applicable version Programmingn tool software FPWIN GR7 Ver 1 2 or later FP7 CPU unit Ver 1 2 or later For using the interrupt funct
110. in normal direction H1 Count in reverse direction UM 002C6 Select a signal for counting from the count signal UM 00057 internal clock or internal control signal HO Count signal contin Ho H1 Internal clock 0 25 us 4 MHz UM 001F7 H2 Internal clock 1 00 us 1 MHz H3 Internal clock 10 us 100 kHz UM 002G7 H4 Internal clock 100 us 10 kHz H7 Internal control signal Set the count method UM 00058 H0 2 phase input 1 multiple H1 2 phase input 2 multiple DM 00128 Count method H0 H2 2 phase input 4 multiple UM 001F8 H3 Individual input 1 multiple H4 Individual input 2 multiple nee H5 Direction detection input 1 multiple H6 Direction detection input 2 multiple Set counter operations by the input Z signal HO Not used UM 00059 H1 Reset operation at rising edge H2 Reset operation at trailing edge UM 00129 Input Z signal HO H3 Positive logic reset operation UM 001F9 function setting H4 Negative logic reset operation UM 002 9 H5 Preset operation at rising edge H6 Preset operation at trailing edge H7 Positive logic preset operation H8 Negative logic preset operation Set counter operations by the control 0 signal HO Not used H1 Positive logic enable operation UM 0005A H2 Negative logic enable operation H3 Positive logic enable operation reset operation UM 0012A Control 0 signal at rising edge _ UM 001FA function setting H4 Negative logic enable operation and reset operation at trailing edge
111. info ctiautomation net m List of error codes 0540H 0633H Error Channel Corresponding unit code No Eton memory No 0540H CHO UM 00104 0541H CH1 UM 001D4 External output 1 signal setting error 0542H CH2 UM 002A4 0543H CH3 UM 00374 0550H CHO UM 00105 0551H CH1 UM 001D5 External output 1 signal output hold setting error 0552H CH2 UM 002A5 0553H CH3 UM 00375 0560H CHO UM 00106 0561H CH1 UM 001D6 External output 1 signal ON timing delay setting error 0562H CH2 UM 002A6 0563H CH3 UM 00376 0570H CHO UM 00107 0571H CH1 UM 001D7 l External output 1 signal ON hold time setting error 0572H CH2 UM 002A7 0573H CH3 UM 00377 0600H CHO UM 00110 0601H CH1 UM 001E0 Capture 0 setting error 0602H CH2 UM 002 0 0603H CH3 UM 00380 0610H CHO UM 00111 0611H CH1 UM 001E1 Capture 1 setting error 0612H CH2 UM 002B1 0613H CH3 UM 00381 0620H CHO UM 00112 0621H CH1 UM 001E2 Sampling capture function operation setting error 0622H CH2 UM 002B2 0623H CH3 UM 00382 0630H CHO UM 00113 0631H CH1 UM 001E3 Sampling time setting error 0632H CH2 UM 002B3 0633H CH3 UM 00383 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 10 2 2 Errors Occurred Operations 1000H to 1043H e These are errors occurred in operations e Take step
112. ings of multiplication factor as shown in the next page m Count method Method Connection Count For the 2 phase input the input signal and input B signal of each High speed counter unit counter are connected to the phase and phase B of an encoder The count direction depends on the phase difference between phases A and B When the phase A is proceeding by 90 degrees in electrical angle than the phase B the count value is incremented When the Reset input phase A is delayed by 90 degrees in electrical angle than the phase B the count value is decremented 2 phase Phase difference Incremental encoder High speed counter unit Incremental encode or Pulse generator Addition pulse input In the individual input method the counter is incremented when the input A signal rises or falls and decremented when the input B signal rises or falls Individual Incremental encode or Pulse generator Subtraction pulse input High speed counter unit For the direction detection input the count signal is connected to the input A signal The count direction is controlled by the level of the direction signal of input B signal Incremental encode or Pulse generator Pulse input Direction detection When the input B signal is on the counter is incremented when the input signal rises or falls When the input B signal is off the counter is decremented Count direc
113. ion CPU Capture 0 done flag Note 3 unit Clear after reading Direct input IN4 Read out data to m 7 46 operation memory 16 using program Scan time Note 1 Turn on the capture enable signal OT7 using the user program Note 2 The high speed counter unit performs the capture operation without synchronizing with the operation of the CPU unit every time control signals turn on as the capture trigger The capture done internal signal used for the system in the high speed counter unit is reset by the capture done flag clear request Note 3 When reading the capture done flag in the CPU unit with the operation device IN4 IN5 I O refresh is performed when executing operation Also it is read when corresponding operation processings are performed on user programs It is read out to arbitrary operation memories Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 6 Clearing Capture Values Storage Area 8 6 1 Capture Value Clear Request m Clearing capture data e Capture data can be reset by turning off on and off the corresponding bit in the capture value clear request area e The capture 0 register and capture 1 register can be reset individually e Data stored in the areas of capture registers and capture register buffers is reset to 0 when executing the clear request 8 6 20 Sample Program B Reset program Example Program to reset the capture 0 regist
114. ion input 2 multiple 2 phase input 1 multiple Input Z signal function setting Not used Reset operation at rising edge Reset operation at trailing edge Positive logic reset operation Negative logic reset operation Preset operation at rising edge Preset operation at trailing edge Positive logic preset operation Negative logic preset operation Not used Control 0 signal function setting Not used Positive logic enable operation Negative logic enable operation Positive logic enable operation and reset operation at rising edge Negative logic enable operation and reset operation at trailing edge Positive logic enable operation and preset operation at rising edge Negative logic enable operation and preset operation at trailing edge Not used Control 1 signal function setting Not used Positive logic enable operation Negative logic enable operation Not used Comparison match leading edge reset Specify the comparison match flag used as a reset signal for resetting count values at the rising edge of comparison match flag Not reset Comparison match trailing edge reset Specify the comparison match flag used as a reset signal for resetting count values at the trailing edge of comparison match flag Not reset Default value Set the count value when the power is turned on 2 147 483 648 to 2 147 483 647 Preset value Set the count value for the preset operation 2 147 483 648 to 2 1
115. ion with the high speed counter unit Ver 1 1 or FP7 Positioning unit later is required 1 2 3 Restrictions on Interrupt Function e The high speed counter unit can activate interrupt programs of CPU using comparison match flags e However the units which can use the function to activate interrupt programs should be in the range of the following specifications B Interrupt program specifications Item Specifications Interrupt program Activates corresponding interrupt programs when the comparison match 0 flag and activation condition comparison match 1 flag of each channel turns on Per 1 channel of High speed eountarunit Max 2 programs No of interrupt programs Per 1 High speed counter unit Max 4 programs 2 ch type High speed counter unit Max 8 programs 4 ch type High speed counter unit Per 1 CPU unit Max 64 programs 8 programs x 8 units Note 1 If interrupt occurs many times in one scan the execution of intterupt program has priority and the scan time will be longer Note 2 If more than one interrupt activation request is made from the unit the process will be carried out from the smallest slot number or the smallest interrupt program number Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 2 Names and Functions of Parts Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ct
116. ires to be connected without removing the wires insulation The pressure connection tool is required to connect the loose wires Discrete wire connector 40P Suitable wires strand wire Connector for wire pressed terminal cable provided with the unit A Insulation Size Nominal cross sectional area thickness Rated current AWG 22 0 3 mm 5 1 5 to 1 1 dia AWG 24 0 2 mm Unit type and required quantity Manufacturer Composition of parts 2 ch type 4 ch type Housing 40P 1x1 set 1x2 sets Panasonic made Semi cover 40P 2x 1 set 2x2 sets 5 pin contact for AWG 22 and AWG24 8 x 1 set 8x2 sets Note 1 connector set and 2 connector set are supplied with the 2 ch type unit and 4 ch type unit respectively If you need more connectors purchase AFP2801 2 sets pack Pressure connection tool Manufacturer Product no Panasonic made AXY52000FP Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Pressure connection tool 3 1 2 Assembly of Connector for Wire pressed Terminal Cable The wire end can be directly crimped without removing the wire s insulation which saves wiring effort Procedure 1 Bend the contact back from the carrier and set it in the pressure connection tool 2 Insert the wire without removing its insulation until it stops and lightly grip the tool 4 When
117. ison Comparison data Lower Upper pattem match Oflag match1 flag match 2flag match3 flag limit limit Set 0 8 000 6 000 ON OFF ON ON pattern 1 4 000 2 000 Set OFF ON OFF ON pattern 2 2 000 4 000 Set OFF OFF ON ON pattern 3 8 000 4 000 pei OFF OFF ON OFF pattern 4 44 000 48 000 pei ON OFF OFF ON pattern b The output is off in the areas of the bands in which comparison data is not set Multiple comparison data can be set for the same band If the contents of comparison data 0 to 15 are overlapped and the specified reset conditions are different the priority of data is in the following order High 0 gt 1 gt 2 gt 3 gt 4 gt 5 gt 6 gt 7 gt 8 gt 9 gt 10 gt 11 gt 12 13 14 gt 15 Low Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 3 2 Examples of Ring Counter Settings m Operation of band comparison match flag Comparison data 4 Comparison data 0 Comparison data 2 L limit Lower limit ib Comparison data 2 i Upper limit 1 3 Comparison D H HE data 0 Comparison data O0 Comparison data 1 Comparison data 3 Comparison data 4 i Comparison match 0 flag Comparison match 1 flag Comparison match 2 flag io Comparison I match flag 0 500 1 250 2 500 3 750 45 000 46 250 7 500 8 75 500 1 250 m Exampl
118. l output is not used there is no need to supply the power to the power supply for output Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 3 3 Input Output Specifications 3 3 1 Item Input Specifications Description Input A B Z signals 24VDC 5VDC Line driver connection Open collector connection Control signal Insulation method Optical coupler Optical coupler 12 V DC to Input points per common Independent common for each point Rated input voltage 24 V DC 5VDC Equivalent to 12VDC to 24VDC 10 8V DCto 3 5VDC to AM26LS31 10 8VDC to Operating voltage range 264 V DC 5 5VDC 26 4VDC Independent common for each point 10V Min on voltage Min on current 4 mA 3VDC 4mA 10VDC 4mA Max cu voltage 2V DC 2mA 1V DC 0 5 mA 2V DC 2 mA current Input impedance Approx Approx 390 O Approx 3 kO Operating mode indicator LED display LED display Note The duty ratio of count input should be 5031096 Also the phase shifting of 2 phase input should be less than 596 3 3 2 Output Specifications Item Description Insulation method Optical coupler Output type Rated load voltage Allowable load voltage range Max load current Open collector Sink output 5V DC to 24 V DC 4 75 V DC to 26 4 V DC 15 mA Output points per common 2 points com
119. lag will be on when the operation ready request program is executed and each operation set in the unit becomes executable m Operation of operation ready request flag Operation ready request Y100 OF i Reflection and check of configuration data Reflection and check of configuration data ON eeen Operation ready Unit operation in Unit operation in done X100 accordance with set accordance with set OF conditions conditions K e When an error occurs such as an abnormality in the settings of parameters the operation ready done flag will not be turned on Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 4 Configuration Using User Programs Configuration information can be rewritten using user programs m Overview of function e The values of configuration information are stored in unit memories UM in which arbitrary parameters are set The values will be updated by turning on the operation ready request flag Y0 when you want to reflect them in the configuration e If the configuration information is updated the operation ready done flag X0 will be on m Sample program Program to change the upper and lower limits of CH0 of the high speed counter unit installed in the slot 1 using user programs RO DF Upper and lower limits change MV SL K1000000 S1 UM00052 Upper limit setting MV SL K 1000
120. lay of external output 1 UM 001D6 ON timing delay signal Available when band 0 ms UM 002A6 comparison function is Setting range 0 to 1 000 The values out of the UM 00376 used setting range are invalid UM 00107 External output 1 signal UM 00107 ON hold time Set the ON hold time of external output 1 signal walai when bana 0 Setting range 0 to 1 000 The values out of the ms comparison function is setting range are invalid UM 00377 used Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 2 Output Pattern Setting Only for Band Comparison When using the band comparison function the ON timing delay time or ON hold time can be set for output signals m Operational difference between settings oth dina timing Timing chart of comparison match flag and external output delay Comparison P match 0 flag Input relay OFF Pod i ii 0 0 m m p ON External output 0 signal OFF ON Comparison match 0 flag OFF B i Input relay i3 E ne 5 1 to 1 000 n AM ya ms output O Signal OFF gt gt lt ON timing ON timing ON timing delay delay delay Comparison ON match 0 flag Input rela
121. mic heat or smoke generation Do not touch the terminal while turning on electricity It could lead to an electric shock Use the external devices to function the emergency stop and interlock circuit Connect the wires or connectors securely The loose connection could cause excessive exothermic heat or smoke generation Do not allow foreign matters such as liquid flammable materials metals to go into the inside of the product It could cause excessive exothermic heat or smoke generation Do not undertake construction such as connection and disconnection while the power supply is on It could lead to an electric shock Copyright Trademarks This manual and its contents are copyrighted You may not copy this manual in whole or part without written consent of Panasonic Industrial Devices SUNX Co Ltd Windows is a registered trademark of Microsoft Corporation in the United States and other countries All other company names and product names are trademarks or registered trademarks of their respective owners PLC_ORG Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Introduction Thank you for buying a Panasonic product Before you use the product please carefully read the installation instructions and the users manual and understand their contents in detail to use the product properly Types of Manual e There are different types of users manual for the
122. ming to JISB3502 and IEC61131 2 147 m s or more in X Y and Z directions three times each Noise resistance 1 000 V P P with pulse width of 1 us or 50 ns based on in house measurements Environment Free from corrosive gases and excessive dust EU Directive applicable standard EMC Directive EN61131 2 Overvoltage category Category 11 Pollution degree Pollution level 2 Internal current consumption 65 mA or less Weight Approx 130 g Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 1 2 Function Specifications Items Description Product No AFP7HSC2T AFP7HSC4T No of counters 2 ch type 4 ch type Counter type Linear counter Ring counter Counting range Signed 32 bit 2 147 483 648 to 2 147 483 647 4MHZz 8MHz for individual input phases A and B Duty ratio 50 10 function Max input ST T i frequency 4MHZz 8MHz for direction detection input Duty ratio 50 10 4MHz 8MHz for 2 phase input Duty ratio 501096 Phase shifting below 5 Input signal Phases A B and Z Control signal input 4 points 2 Control signal input 8 points 2 External I O points ch points ch External output 4 points 2 points ch External output 8 points 2 points ch 2 phase input Phase difference input 1 multiple 2 multiple 4 multiple Oo Input type Individ
123. mon Off state leakage current 1 u Aor less ON Max voltage drop 0 2 VDC or less External Voltage 21 6VDC to 26 4VDC power supply Current 30 mA or less Surge absorber Zener diode Operating mode indicator LED display Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 3 4 Precautions on Wiring and Connection of Count Input 3 4 1 Precautions on Wiring e For the connection between the count input phases A B Z and encoder etc use shielded twisted pair cables e The length of connected wires should be within 10 m 3 4 2 For Line Driver of Encoder Input High speed counter unit Encoder Pulser side 2 12 Input 5V DC I EC DUOC tha B1 B11 Input A COM B2 B12 Input COM L A4 A14 Input B 5V DC lt v I Ph B 2 NXXX B3 B13 Input B COM B4 B14 Input B COM 2 A6 A16 Input Z 5V DC BU XXXX shoe 85 815 Input Z B6 B16 Input Z COM Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 3 4 3 For Transistor Open Collector Type of Encoder Input High speed counter unit Enco
124. n net Email info ctiautomation net 7 4 External Output 7 4 1 Overview of External Output Function External output function e The result of comparison is reflected in 16 flags comparison match 0 flag to comparison match F flag and the two of them comparison match 0 flag and comparison match 1 flag can be retrieved as external outputs by being allocated to the external output terminals of the unit e The configuration menu of FPWIN GR7 or the corresponding unit memories UM are used for the allocation B Example of settings by FPWIN GR7 8 5 High speed Counter Unit Setting item Setting description External output 0 signal setting Output Output hold setting of external output 0 signal Not hold ON timing delay of external output 0 signal 0 ON hold time of external output 0 signal ms 0 External output 1 signal setting Not output Output hold setting of external output 1 signal Not hold ON timing delay of external output 1 signal 0 ON hold time of external output 1 signal ms 0 Capture 0 setting Not use capture 0 function Capture 1 setting Not use capture 1 function Sampling capture function operation setting One operation Sampling time ms 1 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Setting items and corresponding unit memory numbers Unit memor WALA A No y
125. nfo ctiautomation net m Types of buffer areas Name Default Setting range and description Unit Monitors the number of completed capture operations while 0 capturing is enabled It is reset to zero when the capture request turns on Number of completed capture operations Every time the data in the capture register are updated the data in the capture register are shifted and stored in Capture register buffer sequence Buffer 1 to Buffer 60 9 q pulse Range 2 147 483 648 to 2 147 483 647 Signed 32 bit Every time the data in the capture register are updated the data of capture register difference values Capture 1 register Capture 0 register are shifted and stored in Capture register difference sequence There are two areas which are for storing data value buffer 0 at the time of capture 0 request and the time of capture 1 Pulse Buffer 1 to Buffer 60 request Range 2 147 483 648 to 2 147 483 647 Signed 32 bit m Related unit memory UM No UAE Unit memory UM No Monitoring item CHO CH1 CH2 CH3 Number of completed UM00400 UM00600 UM00800 UM00A00 capture 0 operations UM00402 UM00602 UM00802 UM00A02 Capture 0 register E u Buffer 1 to Buffer 60 KA ceca UM00479 UM00679 UM00879 UMOOA79 Register difference value UM00482 UMO00682 UMO00882 UMO0A82 for capture 0 request a 3 Capture Buffer 1 to Buffer 60 UM004F9 UM006F9 UM008F9 UM00AF9 value buffer area Numbe
126. ng edge of control 1 signal However this setting area is invalid when the sampling capture function H5 to H9 is selected in the capture 0 setting UM 00112 Capture Make the setting for the capture function or sampling capture UM 001E2 function HO function UM 002B2 operation HO One operation UM 00382 setting H1 Continuous operation UM 00113 UM 001E3 Set the sampling time for using the sampling capture function Sampling time 1 i i ms UM 002B3 pling Setting range 1 to 65 535 The values out of the setting range are invalid UM 00383 Note 1 The unit memory numbers in the above table are for CHO CH1 CH2 and from the top m next page Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Setting area Unit memory No Hex Name Default Setting range and description Unit UM 00114 UM 001E4 UM 002B4 UM 00384 Capture value clear request HO Clears values stored in the capture registers and capture register buffers To clear the capture 0 register turn off on and off the bit 0 of the unit memory To clear the capture 1 register turn off on and off the bit 1 of the unit memory Clears the areas of capture 0 register capture 0 register buffer and register difference value buffer when requesting the capture 0 by executing the clearance of the capture 0 register Clears the areas of capture 1 registe
127. nput relays number e Name Description CHO CH1 CH2 CH3 X20 X40 X60 Operation ready done Flag to indicate the counter operation is ready X1 X21 X41 X61 Counter enable Flag to indicate the counter operation is enabled Flag to indicate a count direction 2 X22 X42 X62 Count direction ON Forward Addition OFF Reverse Subtraction 23 43 X63 x4 X24 X44 X64 Capture 0 done flag Flag to announce that the count value is stored in capture 0 register X5 X25 X45 X65 Capture 1 done flag Flag to announce that the count value is stored in capture 1 register x6 ll x26 X46 X66 External output 0 signal Monitors the output state of external output 0 x x x x monitor signal x7 X27 X47 X67 External output 1 signal Monitors the output state of external output 1 monitor signal X8 X28 X48 X68 Input signal monitor Monitors the input state of input A signal X9 X29 X49 X69 Input B signal monitor Monitors the input state of input B signal XA 2 X4A X6A Input Z signal monitor Monitors the input state of input Z signal XB X2B X4B X6B Control 0 signal monitor Monitors the output state of control 0 signal XC X2C X4C X6C Control 1 signal monitor Monitors the output state of control 1 signal XD X2D X4D X6D Overflow annunciation Flag to announce the occurrence of overflow or XE X2E X4E X6E Underflow
128. omation net Email info ctiautomation net B Programming method Main program The interrupt for the CPU and the interrupt activation of the high speed counter unit are allowed in the main program If the interrupt becomes disabled clear the interrupt activation request signal that is not processed in the unit as necessary R 1 CPU DF Interrupt is enabled RO DF Interrupt is disabled R101 HSC unit I DF IMASK US Interrupt is enabled R100 Enable INTPG 0 7 Slot No H DF IMASK US TIN MODI RO Disable INTPG 0 7 Slot No Us Hrro ut SO unit DF ICLR US HFFOO U1 Interrupt request is R100 Clear INTPG 0 7 Slot No cleared E Programming method Interrupt program e Describe the program to be executed at the time of interrupt process in the interrupt program INTPG10 TE program Arbitrary program IRET Return B Corresponding interrupt program number nis Comparison match flag of Designation of the first operand of A high speed counter unit IMASK and ICLR instructions IMASK instruction bit no 15 87 0 INTPG 10 CHO Comparison match 0 flag INTPG 11 CHO Comparison match 1 flag Higher 8 bits 0 Fixed INTPG 12 CH1 Comparison match 0 flag INTPG 7 0 Disable 1 Enable INTPG 0 INTPG 13 CH1 Comparison match 1 flag ICLR instruction bit no 15 INTPG 14 CH2 Comparison match 0 flag INTPG 15 CH2 Comparison match 1 flag Higher 8 bits 1 Fixed INTPG 16
129. on OH Comparison value data is specified as Comparison value data is specified with VAN data points upper and lower limits Setting when comparison value data matches The operation when reaching the target value is selected from the following four patterns Sets when the values are matched at the time of addition Resets when the values are matched at the time of addition Sets when the values are matched at the time of subtraction Resets when the values are matched at the time of subtraction Specify ON or OFF for the state of the comparison match flag when the current value is in a specified band Operation when comparison value data matches The operations when the value reaches the same comparison data may differ between the cases of addition and subtraction The same operation is performed for the same comparison data in the cases of both addition and subtraction Time setting of external output signal The settings listed on the right are not available ON delay timing O to 1 000 ms ON hold time 0 to 1 000 ms The ON delay timing and ON hold time can be specified in combination Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 2 Operation of Target Value Match Function 7 2 1 Examples of Linear counter Settings m Example of comparison match flag operation when counting up Operates according to the settings of ad
130. onstant 2 us 5 us 10 us 20 us 50 us 2 0 ms constant 100 us 500 us 1 0 ms 2 0 ms 5 0 ms 10 0 ms m Example of settings by FPWIN GR7 n 7 8 High speed Counter Unit Setti Ix Setting item Setting description Default value Preset value Current value changed value Input signal Input B signal input time constant 2 0us 100kH us CIUUKH 2 0ms Select measurement function Not use measurement function Pulse number per rotation 1 Set averange number of frequency measurement No averaging Set average number of rotation speed measurem No averaeing B Select comparison function Not use Select comparison input Count value Set number of comparison data 16 E External output signal setting Not output Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Measurement Function Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 6 1 Overview of Measurement Function 6 1 1 Types of Measurement Function m Measurement function e The measurement function is to measure the changes in the count values of the high speed counter and to output them as frequencies or number of rotations e Measuring results are stored in unit memories UM They can be read by user programs if necessar
131. phase input 1 multiple Input Z signal function setting Unused Control 0 signal function setting Unused Control 1 signal function setting Unused 2 E Default value Preset value Current value changed value Input signal Input B signal input time constant fus 100k Hz Select items according to the conditions used Press the OK button The set values are downloaded with programs as a project and will be effective when the operation ready request is executed Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 2 2 Configuration Data Setting Items m Count function Settable for each channel item Description Default Counter type Linear counter Ring counter Linear counter Fnable Disable Disable Enable Disable overflow underflow Counter upper limit 2 147 483 647 to 2 147 483 647 2 147 483 647 Counter lower limit 2 147 483 648 to 2 147 483 646 2 147 483 648 Count direction Normal direction Reverse direction Normal direction Count input selection Count signal Internal clock 0 25 us 4 MHz Internal clock 1 00 us 1 MHz Internal clock 10 us 100 kHz Internal clock 100 us 10 kHz Count signal Count method 2 phase input 1 multiple 2 phase input 2 multiple 2 phase input 4 multiple Individual input 1 multiple Individual input 2 multiple Direction detection input 1 multiple Direction detect
132. pleted UM00500 UM00700 UM00900 UM00B00 capture 1 operations I UM00502 UM00702 UM00902 UM00B02 Capture 1 register 2 _ Bufer lto Baer UM00579 UM00779 UM00979 UM00B79 Capture 1 register difference UM00582 UM00782 UM00982 UM00B82 value gt Buffer 1 to Buffer 60 UM005F9 UM007F9 UM009F9 UM00BF9 Note 1 For information on the memory numbers actually used refer to each items of 11 4 Unit Memory Detailed Specifications The above list includes empty areas which are reserved in the system Do not read empty areas or write into empty areas Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 4 Unit Memory Detailed Specifications 11 4 1 Common Setting Area m Error code Unit memory Name Default Setting range and description No Hex UM 00025 ch0 Error code HO UM 00026 ch1 Error code HO Stores error code for each channel Refer to the error code UM 00027 ch2 Error code HO list UM 00028 ch3 Error code HO 11 4 2 Individual Setting Area B Count function Unit memory Name Default Setting range and description Unit No Hex UM 00050 Set the type of counter UM 00120 UM 001F0 Counter type HO HO Linear counter UM 002C0 H1 Ring counter Set whether to enable or disable the overflow underflow judgement UM 00121 Enable Disable HO Disable H1 Enable UM 001F1 ee HO Annunc
133. r capture 1 register buffer and register difference value buffer when requesting the capture 1 by executing the clearance of the capture 1 register bit no 15 4 10 Capture 1 register clear request bit 1 Capture 0 register clear request bit 0 0 Not request clearance 1 Request clearance UM 00115 UM 001E5 UM 002B5 UM 00385 Capture done flag clear request Edge type HO The capture done flag is automatically reset at the time of I O refresh at the default setting It is used to reset the capture 0 done flag and capture 1 done flag using user programs Toreset the capture 0 done flag write H11 and then H10 To reset the capture 1 done flag write H12 and then H10 bit no 15 4 10 Capture done flag clear request 0 Automatic clear I O refresh 1 Manual clear Clear by bit O and bit 1 Capture 1 done flag clear request bit 1 Capture 0 done flag clear request bit 0 0 Not request clearance 1 Request clearance Note 1 The unit memory numbers in the above table are for CHO CH1 CH2 and from the top Note 2 The capture value clear request and capture done flag clear request signals are available from the high speed counter unit Ver 1 2 They can be set in user programs Note 3 Even if the capture value clear request is executed the number of completed capture operations in the buffer area will not be cleared The number of
134. rorsompieted UM00500 UM00700 UM00900 UM00B00 capture 1 operations UMO00502 UMO00702 UMO00902 UM00B02 Capture 1 register s UM00579 UM00779 UM00979 UM00B79 Register difference value UM00582 UM00782 UM00982 UM00B82 for capture 1 request Buffer 1 to Buffer 60 UMOO5F9 UMO007F9 UMO009F9 UMOOBF9 Note 1 For information on the memory numbers actually used refer to each items of 11 4 Unit Memory Detailed Specifications The above list includes empty areas which are reserved in the system Do not read empty areas or write into empty areas Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 5 Reading Capture Data 8 5 1 Reading Capture Register Data m Area in which capture data is stored e Latest captured data is stored in the capture 0 register or capture 1 register of unit memory UM e The values Capture 1 register Capture 0 register are stored in the capture register difference value area e They are stored as signed 32 bit data 2 147 483 648 to 2 147 483 647 Related unit memory UM No Unit memory UM No Monitor item CHO CH1 CH2 CH3 Cant re Oreoister UM003A2 UM003B2 UM003C2 UM003D2 P 9 UMOO3A3 UM003B3 UM003C3 UM003D3 Monitor Gaire iredister UM003A4 UM003B4 UM003C4 UM003D4 area p 9 UM003A5 UM003B5 UM003C5 UM003D5 diference UM003A6 UM003B6 UM
135. rrect m List of error codes 0100H 0153H Error Channel Corresponding unit code No 0100H CH0 UM 00050 0101H CH1 UM 00120 Counter type setting error 0102H CH2 UM 001F0 0103H CH3 UM 002C0 0110H CHO UM 00051 0111H CH1 UM 00121 Enable Disable Overflow underflow setting error 0112H CH2 UM 001F1 0113H CH3 UM 002C1 Upper limit UM 00052 UM 00053 Lower limit UM 00054 UM 00055 Upper limit UM 00122 UM 00123 Lower limit UM 00124 UM 00125 Upper limit UM 001F2 UM 001F3 0120H CHO 0121H CH1 Counter upper and lower limits setting error 0122H CH2 Lower limit UM 001F4 UM 001F5 Upper limit UM 002C2 UM 002C3 0123H CH3 Lower limit UM 002C4 UM 002C5 0130H CHO UM 00056 0131H CH1 UM 00126 Count direction setting error 0132H CH2 UM 001F6 0133H CH3 UM 002C6 0140H CHO UM 00057 0141H CH1 UM 00127 Count input setting error 0142H CH2 UM 001F7 0143H CH3 UM 002C7 0150H CHO UM 00058 0151H CH1 UM 00128 Count method setting error 0152H CH2 UM 001F8 0153H CH3 UM 002C8 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m List of error codes 0160H 0313H
136. s according to the contents in the table below m List of error codes Error hannel Content Operation Countermeasures code No 1000H CH0 Performs the reset or 1001H CH1 The count value Announces the preset operation to Overflow error exceeds the upper overflow error Holds make the count value 1002H CH2 limit the count value be in the range of 1003H CH3 upper and lower limits 1010H CH0 Performs the reset or 1011H CH1 The count value Announces the preset operation to Underflow error exceeds the lower underflow error Holds make the count value 1012H CH2 limit the count value be in the range of 1013H CH3 upper and lower limits 1020H CHO The count value the of e upper and lower 1021H CH1 Does reset limits of counter If 0 Reset error is outside the on eof Continues the count does not exist in the 1022H CH2 d id lower 9 operation range of the upper and ie lower limits make the 1023H CH3 preset request Sc s The count values Confirm if the specified 1031H CH1 outside the range of Does not preset 5 Preset error u di limits Conti th t preset valde e inthe pper and lower limits Continues the coun range of upper and 1032H CH2 under the preset operation limits 1033H CH3 condition 1040 CH0 The count value is A Does not change the Confirm if the current 1041H CH1 Current value current value val
137. s selectable from 2 phase input phase differential input individual input or direction detection input in accordance with input devices such as an encoder and sensor 24 VDC 12 VDC 5 VDC inputs and line driver input are available e The count input circuit supports both an open collector output and a line driver output Differential output Equivalent to AM26LS31 Selectable from ring counter or linear counter e Both the ring counter and linear counter are available The Z phase of an encoder can be used as count reset timing in the both methods Frequency measurement function and Rotation speed measurement function are provided e Frequencies are automatically measured in the unit from count values Also the rotation speed is automatically measured from count values and the pulse number for one rotation The calculation results are directly stored in unit memories thus no calculation using ladder programs is needed m The count of internal clocks is available e Internal clocks occurred in the unit can be selected as count input signals Timing measurement is ahievable with high accuracy of the maximum resolution 0 25 us The selectable internal clocks are 0 25 us 4 MHz 1 us 1 MHz 10 us 100 kHz and 100 us 10 kHz m Capture function and Sampling capture function are provided elt is possible to store the count value at the moment of the occurrence of a trigger assinged to a control signal The count value in
138. stallation location setting Starting word No 10 0 511 Number of input words 0 0 128 Number of output words 0 0 128 Automatically shift the starting word number for subsequent slots Option F Exdude this unit from the target for verification E Exclude this unit from the target for I O refresh The selected unit is now registered in the I O map Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 4 2 Configuration of High speed Counter Unit 4 2 1 Configuration Using Tool Software The counter type operation mode and the settings of the high speed counter are specified in the configuration menu of FPWIN GR7 m Setting method The following procedure describes the process when the high speed counter unit has been already allocated in the I O map PROCEDURE 1 Select Options gt FP7 Configuration in the menu bar 2 Select I O map in the field 3 Select the slot where the high speed counter unit has been registered and select the Advanced button The High speed Counter Unit Setting dialog box is displayed r a High speed Counter Unit Setti e Setting item Setting description Counter type Linear counter Enable Displable overflow underflow Disable Counter upper limit 2147483647 Counter lower limit 2147483648 Specify count direction Normal direction Select count input Count signal Count method 2
139. t value of counter YG Y46 Y26 Y36 Preset value change ON edge Relay to request for changing preset request values Capture enable request when using Y7 Y17 Y27 Y37 Capture enable request Level the capture function e e wA Note 2 trigger signal when using the gt gt gt gt sampling capture function Y8 Y18 Y28 Y38 Y9 Y49 Y29 Y39 External output 0 forced Level Relay to forcibly turn on the external ON output 0 YA YAA Y2A Y3A External output 0 forced Level Relay to forcibly turn off the external OFF output 0 YB Y1B Y2B Y3B External output 1 forced Level Relay to forcibly turn on the external ON output 1 YC Y1C Y2C Y3C External output 1 forced Level Relay to forcibly turn off the external OFF output 1 Y1D Y2D Y3D Overflow clear olay to clear overilow annunciation flag Y1E Y2E Y3E Underfiow clear ONedge ESSI to clear tie underilow annunciation flag YF Y1F Y2F Y3F Error clear ON edge Relay to clear errors Note 1 The I O numbers actually allocated are the numbers based on the starting word number allocated to the unit Example When the starting word number for the unit is 10 the operation ready request flag for CHO is Y100 Note 2 How the capture enable request signal works varies according to the functions to be used 4 1 2 Number of Occupied Points of High speed Counter Unit e The following I O numbers are used for the h
140. ter nit Max 2 programs No of interrupt programs Per 1 high speed counter unit Max 4 programs 2 ch type High speed counter unit Max 8 programs 4 ch type High speed counter unit Per 1 CPU unit Max 64 programs 8 programs x 8 units 9 1 2 Settings of High speed Counter Unit m Switch setting of the unit For using the interrupt program activation function it is necessary to set the switch on the side of the unit Refer to 2 1 Names and Functions of Parts m Configuration setting Confirm if the comparison function has been set and the interrupt function has been set to Enable in the configuration menu 9 1 3 Overview of Interrupt Program Use the following instructions to execute the interrupt program activation function m Instructions used for interrupt program activation Described area Instruction Function El Allows the interrupt process for the CPU DI Prohibits the interrupt process for the CPU Main program IMASK Allows or prohibits the interrupt process of each unit Clears the interrupt activation request signal that has not been processed ICLR on the unit side when the interrupt program activation is prohibited by DI or IMASK instruction INTPG It is described at the beginning of the interrupt program Interrupt program IRET It is described at the end of the interrupt program Phone 800 894 0412 Fax 888 723 4773 Web www ctiaut
141. time for the number of counts equivalent to one rotation Sets the time to 9 measurement B reach the specified number of pulses per one rotation and calcualtes the rotation speed from the time required for one rotation Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Items Description No of comparison data Max 16 data ch Comparison data 0 to Comparison data 15 Q 3 Max 16 points ch Comparison match 0 flag to Comparison match F flag E 2 match Read as input relays X by user programs o Q Multiple comparison match flags can be set for one comparison data S Target value match Depending on the count direction sets or resets the output when the count value function reaches the target value 5 Turns on off the output when the count value reaches the area of the target value 2 points ch m No of external x outputs Comparison match 0 flag and comparison match 1 flag can be allocated to E external outputs When using the band comparison function the ON timing characteristics of external output relays can be changed s Comparison result S output function ON timing delay p ON hold time 8 ON timing delay ON hold time oe Outpus can be forcibly set or reset by the monitor function of programming tool Stores the count value when the control signal turns on in the capture register Either
142. time of I O refresh When multiple capture operations are performed continuously on the high speed counter unit the capture done flag X4 X5 stays ON ges e Whe control signals as capture triggers are input frequently the capture done flag X4 X5 stays ON Note that when reading multiple capture data executed in the high speed counter unit Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 54 Reference Information Manual Reset of Capture Done Flag m Manual reset of capture done flag e The capture done flag can also be reset by turning off on and off the corresponding bit in the capture done flag clear request area e The capture 0 done flag and capture 1 done flag can be reset individually B Purpose for manual reset of capture done flag e For the capture done flag the operation device direct input IN and direct output OT are used in combination for confirming if capture operations are completed when performing multiple capture operations in one scan time When the intervals between capture operations are relatively long compared to the scan time it is not necessary to use them B Sample program Example Program to read the capture 0 register of CHO of the high speed counter unit installed in the slot No 1 and reset the capture done flag manually SR13 Set Capture done clear to Manual request MV US H10 st uM00115 High spe
143. tion Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net m Count operation of 2 phase input Phase difference input Multipli Time chart cation EM factor Addition Subtraction ON nput A 4 4 4 i 1 multiple i i p nput B OFF 4a 4 3 _ 4 3 4 3 31 2 multiple oN p nput B OFF nputA ed 4 4 4 4 4 4 i 4 multiple i i p nput B OFF 4 4 4 4 4 4 m Count operation of individual input Multipli Time chart cation factor Addition Subtraction ON i H H nputA f L f L f 22222 j H gt gt gt 1 multiple ipp ON O i1 f L f L f 1 3 0 0 nput A dE ud FC ___ ___ d N 2 multiple nput B i 4 K 4 f m Count operation of direction detection input Multipli Time chart cation AA factor Addition Subtraction mua M 1 f Lf 1 1 multiple ON Input OFF muA Oi f 3 f f t i 2 multiple ON 3 Input B OFF Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 2 Types of Count Operations 5 2 1 Types and Features of Count Operations m Types of count operations and input signals External input signal used
144. tion or sampling chapture function Note 3 To enable the count input when selecting the simple count operation reset count operation or preset count operation it is necessary to turn on the count enable request signal Y1 in user programs m Example of settings by FPWIN GR7 3 High speed Counter Unit Setti s rawa CH1 CH2 CH3 Setting item Setting description Linear counter Disable 2147483647 2147483648 Normal direction Count signal Counter type Enable Displable overflow underflow Counter upper limit Counter lower limit Specify count direction Select count input Input Z signal function setting signal function setting amp Default value Preset value Current value changed value Input signal Input B signal input time constant vooo us 100kHz a Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 5 2 2 Simple Count Operation e Simply counts count input signals e To enable the count input it is necessary to turn on the count enable request signal Y1 in user programs m Linear counter The overflow and underflow annunciation can be set for the cases when the count value exceeds the upper limit or the lower limit Addition Subtraction NENNEN LEN 4 mullo BONES DERE Count value Upper lirit i I EE lui
145. ual input 1 multiple 2 multiple Direction detection input 1 multiple 2 multiple gt Count operation can be controlled by input signals in combination with three functions 3 Counter enable function Control signal Output Y relay 9 Preset function Input Z signal Output Y relay Preset function Input Z signal Output Y relay Only for control signals the enable function and reset function or preset function can be combined The count operation is set by selecting from the following operations Reset operation at rising edge Reset operation at trailing edge Count operation Positive logic reset operation function Negative logic reset operation Preset operation at rising edge Preset operation at trailing edge Positive logic preset operation Negative logic preset operation Positive logic enable operation Negative logic enable operation Positive logic enable operation and reset operation at rising edge Negative logic enable operation and reset operation at trailing edge Positive logic enable operation and preset operation at rising edge Negative logic enable operation and preset operation at trailing edge Frequency Measures the intervals between the changes in the count value and calculates the measurement D I frequency function oO 7 3 n Measures the intervals between the changes in the count value and automatically 3 v calculates the rotation speed function c 8 Rotation speed Measures the
146. ue UM 00133 Pied dE Preset value UO Setting range 2 147 483 648 8000 0000H to Pulse UM 00202 2 147 483 647 7FFF FFFFH UM 00203 Signed 32 bit UM 002D2 UM 002D3 UM 00064 UM 00065 UM 00134 Set the current value changed value to change the current count value of counter _UM 00135 Current value UO Pulse UM 00204 changed value Setting range 2 147 483 648 8000 0000H to UM 00205 2 147 483 647 7FFF FFFFH es Signed 32 bit UM 002D4 UM 002D5 Note The unit memory numbers in the above table are for CH0 CH1 CH2 and CH3 from the top Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net B Count functionO Unit memory No Name Default Setting range and description Unit UM 00068 UM 00138 UM 00208 UM 002D8 Input A signal Input B signal input time constant H5 Set the input time constants of input A signal and input B signal No input time constant H1 0 1 us 2 MHz H2 0 2 us 1 MHz H3 0 5 us 500 kHz H4 1 0 us 250 kHz H5 2 0 us 100 kHz H6 10 0 us 10 kHz H7 Disable No input time constant UM 00069 UM 00139 UM 00209 UM 002D9 UM 0006A UM 0013A UM 0020A UM 002DA Input Z signal input time constant Control signal input time constant H5 H9 Set the input time constant of input Z signal No input time constant H1 0 1 us 2 MHz H2 0 2 us 1 MHz H3 0
147. ue changed value is 1042H CH2 change error PUR the current Continues the count in the range of upper Cs value is changed operation and lower limits Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 Specifications Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 11 1 Specifications 11 1 1 General Specifications Items Description Operating ambient temperature 0 C to 55 C Storage ambient temperature 40 C to 70 C Operating ambient humidity 10 to 95 RH at 25 C with no condensing Storage ambient humidity 10 to 95 RH at 25 C with no condensing Breakdown voltage Between I O terminals and CPU power supply terminal function earth Bewteen input terminal and output terminals 500 VAC for 1 min Cutoff current 10 mA factory default setting Insulation resistance Between I O terminals and CPU power supply terminal function earth Bewteen input terminal and output terminals 100 MQ or more with 500 VDC megohmmeter Vibration resistance Conforming to JISB3502 and IEC61131 2 5 to 8 4 Hz 3 5 mm single amplitude 8 4 to 150 Hz acceleration of 9 8 m s2 10 sweeps each in X Y and Z directions 1 octave min Shock resistance Confor
148. uency measurement UM 00143 number of frequency HO values Times UM 00213 measurement H0 No averaging H1 2 times H2 4 times H3 8 times UM 002E3 processes H4 16 times H5 32 times H6 64 times H7 128 times UM 00074 Set average number Set the number of averaging of rotation speed UM 00144 of rotation speed HO measurement values Times UM 00214 measurement H0 No averaging H1 2 times H2 4 times H3 8 times UM 002E4 processes H4 16 times H5 32 times H6 64 times H7 128 times Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top B Example of settings by FPWIN GR7 rs Setting item Setting description CH1 ao E s 4 CH3 Select measurement function Frequency measurement and rotation speed measurement Ay Pulse number per rotation Select comparison function Select comparison input Set number of comparison data External output 0 signal setting Output hold setting of external output 0 signal ON timing delay of external output 0 signal ms ON hold time of external output signal ms External output 1 signal setting Output hold setting of external output 1 signal ON timing delay of external output 1 signal ms Set averange number of frequency measurement processes Set average number of rotation speed measurement processes 1000 2 times 4 times Not use Count value 16 m Not output Not hold 0 0 Not output Not hold 0 3
149. y m Types of measurement function Type Operation image Feature Measures the time in which the count value changes and Frequency pulses calculates the frequency measurement ru Frequency Hz 1 Time between pulses s fungkian When there is no change in the count value for one second the result is 0 Hz Calculates a rotation speed rpm from the time interval of the change in the counter and the specified pulse number per rotation and stores the measuring result after averaging in the unit memory UM Any number can be set for the number of averaging Time Rotation Measures the time interval of the change in the counter speed ee and calculates the rotation speed rpm measurement rt Rotation speed rpm 60 Time between pulses x A function Number of pulses per rotation The rotation speed measurement A function can be used for the case such as the interval of the change in the counter is large low speed pulse When there is no change in the count value for one second or more the result is 0 rpm Automatically calculates a rotation speed rpm from the time interval of the change in the counter and the specified pulse number per rotation and stores the measuring result after averaging in the unit memory Any number can be set for the number of averaging D Measures the time which counts the specified pulse measurement number per rotation and calculates the rotation spee
150. y OFF ERE 4 to 1 000 moro i m usi E ms External output ON 0 signal OFF ON hold time ON hold time hold time Comparison ON match 0 flag Input relay OFF 1 Poi Pod li 1 1 000 1 to 1 000 ON EE ims iris External output i 0 signal OFF gt ON timing delay ON hold time Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 4 3 Forced Output Function e The outputs of external output 0 terminal and external output 1 terminal can be controlled on the ladder monitor or device monitor of tool software FPWIN GR7 They can be also turned on or off by user programs elt can be used for the confirmation of wirings m Allocation of external output terminals Signal name AE CH1 CH2 CH3 External output 0 forced ON Level Y109 Y119 Y129 Y139 External output 0 forced OFF Level Y10A Y11A Y12A Y13A External output 1 forced ON Level Y10B Y11B Y12B Y13B External output 1 forced OFF Level Y10C Y11C Y12C Y13C Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers actually used vary according to the slot number where the unit is installed and the starting word number K e The above forced output function is a function of the high speed counter unit The forced I O function of pro
151. y of the following trigger conditions is met Activated when any of the following Note 1 Capture Leading edge of control signal conditions is met trigger Trailing edge of control signal Control signal Positive logic signal valid i i i It is possible to allocate one control Control signal Negative logic signal to different capture numbers as Capture enable request by user the signals of leading edge and trailing programs Y7 Y17 Y27 edge respectively Capture 0 register and capture 1 register can be cleared individually using user programs Buffer areas can be reset at the same time Capture data memory area clear Note 3 It is automatically cleared at the time of I O refresh Capture done flag clear Note 3 Capture 0 register and capture 1 register can be cleared individually using user programs Note 1 Functions and capture trigger signals to be used are set in the configuration menu of tool software or user programs Note 2 The buffer function and capture function valid conditions are available from thei high speed counter unit Ver 1 2 Note 3 The capture value clear request and capture done flag clear request signals are available from the high speed counter unit Ver 1 2 They can be set in user programs Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 8 1 3 Configuration e For using
Download Pdf Manuals
Related Search
Related Contents
Map Legend Editor (T45f) Instrucciones de Manejo Biostar TPower X58 INSTRUCTIONS - HARLEY-DAVIDSON Rostock GmbH NOTICE D`UTILISATION EPI Copyright © All rights reserved.
Failed to retrieve file