Home

FP7 High-speed Counter Unit User`s Manual

image

Contents

1. Unit memory Name Default Setting range and description Unit No Hex UM 00078 Select a method of the comparison function from band UM 00148 Select comparison as nic or target value match comparison function Not use 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 or measurement value UM 00219 input HO HO Count value H1 Measurement value Frequency UM 002E9 H2 Measurement value Rotation speed UM 0007B UM 0014 Set number of Set the judgement value for the comparison function UM 0021B comparison data PIE 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 HO UM 00228 UM 002F8 UM 00090 UM 00160 F 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 UM 00238 Comparison data 3 HO numbers UM indicate starting addresses For details of the format of target value match UM 00308 comparison refer to 7 1 2 Target Value Match UM 000A0 Comparison and Ba
2. Unit memory Name Default Setting range and description Unit No Hex Clears values stored in the capture registers and capture register buffers Toclear 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 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 00285 clear request HO 1 1 Teed Edge type Capture done flag clear request E UM 00385 0 Automati
3. Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top Unit memory Name Default Setting range and description Unit No Hex Set to reset the counter when the comparison match flag rises UM 0005C 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 09989 bit no 15 0 UM 0012D Comparison match trailing HO Ls UM 001FD edge reset Comparison match F flag UM 002CD Comparison match 0 flag 0 Not reset 1 Reset UM 00060 1 Set the default value used when the power turns on UO Setting range 2 147 483 648 8000 0000H to Pulse 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 value UM 00133 i 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 70 00134 Set the current value changed value to change the UM 00135 current count value of counter Current value UO Pulse UM 00204 changed value Setting range 2 147 483 648 8000 0000H to u UM 00205 2 147 483 647 7FFF FFFFH WANN ULL Signed 32 bit UM 002D4 UM 002D5 11 12 11 4 Unit Memory Detailed Speci
4. Unit memory No 7 yee Hex y Name Default Setting range and description Unit UM 00400 Monitors the number of completed capture Number of 0 operations while capturing is enabled completed capture UO It is cleared to zero when the capture Times 0 operations enable request Y7 Y17 Y27 or Y37 is UM 00A00 activated UM 00402 UM 00403 _UM 00602 UM 00603 Capture 0 register Once the capture processing is performed UM 00802 UM 00803 buffer 1 the data stored in the capture 0 registers E SPS Sa E Ae UM 003x2 UM 003x3 are transferred to UM 00A02 UM 00A03 the buffer 1 Omitted Omitted KO The data are shifted and stored from the Pulse UM 00478 UM 00479 buffer 1 to buffer 60 sequentially REIP ae DS QUIE Range 2 147 483 648 8000 0000H UM 00670 SUM 00679 Capture 0 register to 2 147 483 647 7FFF FFFFH UM 00878 UM 00879 Buffer 60 Signed 32 bit UM 00A78 UM 00A79 UM 00482 UM 00483 apt ist D RENE apture register UM 00682 UM 00683 Yasta vele for Transfers the difference between the TRA Ed r capture 0 request capture 1 register UM 003x4 UM 003x5 M90882 UM 00899 d a 1 and the capture 0 register UM 003x2 UM 00A82 UM 00A83 UM 003x3 to the buffer 1 when the capture request is made for the capture 0 Omitted Omitted KO The data are shifted and stored from the Pulse UM 004F8 UM 004F9 buffer 1 to buffer 60 sequentially UP PARIKSHA Sa AA ANAS ab Capture reg
5. occurs Buffer No Unit memory UM No CH0 CH1 CH2 CH3 Buffer 1 UM00482 UM00483 UM00682 UM00683 UM00882 UM00883 UMO00A82 UM00A83 Buffer 2 UM00484 UM00485 UM00684 UM00685 UM00884 UM00885 UMO00A84 UM00A85 Buffer 3 UM00486 UM00487 UM00686 UM00687 UM00886 UM00887 UMO0A86 UM00A87 Buffer 4 UM00488 UM00489 UM00688 UM00689 UM00888 UM00889 UMO00A88 UM00A89 Buffer 5 UM0048A UM0048B UM0068A UM0068B UM0088A UM0088B UMO0A8A UMO0A8B Buffer 6 UM0048C UM0048D UM0068C UM0068D UM0088C UM0088D UMO0A8C UMO0A8D Buffer 7 UM0048E UM0048F UMO0068E UMO0068F UMO0088E 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
6. Input points per common Independent common for each point Rated input voltage 2 M BC to 5VDC Equivalent to 12VDC to 24VDC 10 8 V DC to 3 5VDC to AM26LS31 10 8VDC to Operating voltage range 26 4 V DC 5 5VDC 26 4VDC Independent common for each point Min on voltage Min on current ai 3V DC 4mA 10V DC 4mA Max off voltage Max ofl 2VDC 2mA 1V DC 0 5mA 2V DC 2 mA current Input impedance Approx kO Approx 390 Approx Operating mode indicator LED display LED display Note The duty ratio of count input should be 5021096 Also the phase shifting of 2 phase input should be less than 5 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 5 V DC to 24 V DC 4 75 V DC to 26 4 V DC 15 mA Output points per common 2 points common Off state leakage current 1 u Aorless 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 Wiring and Input Output Specifications 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
7. 8 12 8 4 Operations of Buffer Function B 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 0 sequence Pulse Range 2 147 483 648 to 2 147 483 647 Signed 32 bit Capture register buffer Buffer 1 to Buffer 60 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 Unit memory UM No Monitoring item CHO CH1 CH2 CH3 Number of completed capture 0 operations UM00400 UM00600 UM00800 UM00A00 UM00402 UM00602 UM00802 UM00A02 Capture 0 register _ i gi _ Buffer 1 to Buff Vaters ponen UM00479 UMO00679 UM00879 UM00A79 Register difference value UM00482 UM00682 UM00882 UM00A82 for capture 0 request U Capture Buffer 1 to Buffer 60 UM004F9 UM006F9 UM0
8. 001 2 Sampling capture function operation setting error 0622H CH2 UM 002B2 0623H CH3 UM 00382 0630H CHO UM 00113 0631H CH1 HA UM 001 Sampling time setting error 0632H CH2 UM 002B3 0633H CH3 UM 00383 10 7 What to Do If an Error Occurs 10 2 2 Errors Occurred in Operations 1000H to 1043H e These are errors occurred in operations e Take steps according to the contents in the table below B List of error codes d bm Error name Content Operation Countermeasures 1000H CHO 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 Confirm the settings of the upper and lower 1021H CH1 Does not reset limits of counter If 0 Reset error tside the iun eof Continues the count does not exist in the 1022H CH2 5 9 operation range of the upper and ama lower limits make the 1023H CH3 preset reguest 103041 Cro The counkvallieris Confir
9. Control signal Enable process Count value 5 10 5 2 Types of Count Operations 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 in the control signal B Positive logic enable operation and reset operation at rising edge Addition Subtraction Counter input Control signal Reset process Enable process Count value Jd 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 m Negative logic enable operation and reset operation at trailing edge Addition c Ke 5 2 5 a 1 5 a cC O c 3 LE o S o e OO z 92 5 e oS S cT O OQO 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 z 4 2 5 11 Count Function 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 B Positive logic enable operation and preset operation at rising edge Addition 1 1 r 1 1 1 1 1 1 1 1 1 1 1 1 i I 1 c I l
10. PM B aA AA UM003A2 UM003A3 J J J H H UM003A6 UM003A7 1 1 ON Capture 1 done flag X5 OFF ON Capture 0 done flag X4 OFF b K e Inthe sampling capture operation continuous operation the capture 0 done flag is activated Note that the capture 1 done flag is not activated 8 11 Capture Function 8 4 Operations of Buffer Function 8 4 1 Overview of Buffer Function B 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 B Time chart Capture enable ON m Y7 OFF Capture trigger Control signal 012345678910 12 14 16 18 primi 1101 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 X4
11. UM003A7 UM003B7 UM003C7 UM003D7 UM003A8 UM003B8 UM003C8 UM003D8 UM003A9 UM003B9 UM003C9 UM003D9 Capture register difference value Frequency measurement Averaging 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 Rotation speed measurement Averaging 11 3 List of Unit Memories B Check list of unit memories CNN Unit memory UM No Setting monitor item CHO CH2 CH3 Number orcompletea UM00400 UM00600 UM00800 UM00A00 capture 0 operations UMO00402 UM00602 UM00802 UM00A02 Capture 0 register N b b Buffer 16 Bufter60 UM00479 UM00679 UM00879 UM00A79 Capture 0 register difference UMO0482 UM00682 UM00882 UM00A82 value zi E Capture value Buffer 1 to Buffer 60 UM004F9 UM006F9 UM008F9 UM00AF9 buffer area Number of completed UMO00500 UM00700 UMO00900 UM00B00 UM00502 UM00702 UM00902 UM00B02 Capture 1 register _ i Bulfer 1 to Buf er 60 UM00579 UM00779 UM00979 UM00B79 Capture 1 register difference UM00582 UM00782 UM00982 UM00B82 value F Buffer 1 to Buffer 60 UM005F9 UM007F9 UM009F9 UM00BF9 Note 1 For information on the memory numb
12. Unit memory Name Default Setting range and description Unit No Hex Select a measurement function from frequency measurement rotation speed measurement A or UM 00070 rotation speed measurement B UM 00140 Select measurement H0 Not use measurement function UM 00210 function HO 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 Ui encoder Pul ulse 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 averaging of frequency measurement values UM 00073 Set HO No averaging et averange H1 2 times UM 00143 number of frequency Ho H2 4 times Tines UM 00213 measurement H3 8 times processes H4 16 times eaters 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 Times UM 00214 measurement H3 8 times processes H4 16 times peers 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 11 14 11 4 Unit Memory Detailed Specifications B Comparison function
13. n 8 High speed Counter Unit Setti e Setting item Counter type Enable Displable overflow underflow Counter upper limit Counter lower limit Specify count direction Select count input Count method Input Z signal function setting Control 0 signal function setting Control 1 signal function setting 2 E Default value Preset value Current value changed value Input signal Input B signal input time constant Setting description Linear counter Disable 2147483647 2147483648 Normal direction Count signal 2 phase input 1 multiple Unused Unused Unused Dus 100kHz 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 Unit Allocation and Parameter Settings 4 2 2 Configuration Data Setting Items B Count function Settable for each channel overflow underflow Disable Enable item Description Default Counter type Linear counter Ring counter Linear counter Enable Disable 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 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
14. Addition pulse input High speed counter unit High speed counter unit For the 2 phase input the input A signal and input B signal of each counter are connected to the phase A 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 phase A is delayed by 90 degrees in electrical angle than the phase B the count value is decremented In the individual input method the counter is incremented when the Count direction Individual input A signal rises or falls and decremented when the input B signal a eU iro rises or falls Pulse generator Subtraction pulse input High speed counter unit For the direction detection input the n count signal is connected to the input randi ipd A signal The count direction is Pulse generator Pulse input controlled by the level of the direction Direction signal of input B signal detection When the input B signal is on the counter is incremented when the input A signal rises or falls When the input B signal is off the counter is decremented 5 4 5 1 Selection of Counters and Basic Settings B Count operation of 2 phase input Phase difference input Multipli Time chart cation EM factor Addition Subtraction nput A 2s 4 4 4 i THE TP Pr sP ja _ p
15. 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 1 8 000 6 000 4 000 2 000 42 000 4000 46 000 8 000 m 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 data 1 data0 Comparison match 0 flag Comparison match 1 flag Comparison match 2 flag Comparison match 3 flag 1 1 1 1 I 2 000 4 000 6 000 8 0001 1 1 1 44 0001 2 000 74 7 2 Operation of Target Value Match Function W Examples of output pattern settings Comparison Target Comparison Comparison Comparison Comparison data value Ree match 0 flag match 1 flag match 2 flag match 3 flag Addition set pattern Addition reset pattern 0 8 000 Addition set pattern O Addition reset pattern 1 6 000 Addition set pattern Addition reset pattern 2 4 0
16. Relay to recalculate the setting YO Y10 Y20 Y30 Operation ready request Level 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 1 Y23 Y33 Preset request ON edge Relay to preset count values Relay to enable the reset by the Y4 Y14 Y24 Y34 Reset enable request Level control signal and input Z signal Current value change ON edge Relay to request for changing the YA TS ad d request current value of counter Preset value change ON edge Relay to request for changing preset i 115 Yee JE request values Capture enable request when using Capture enable request the capture function or capture 5 7 _ ud var T Tr Note 2 Level trigger signal when using the sampling capture function Y8 Y18 Y28 Y38 External output 0 forced Level Relay to forcibly turn on the external Y9 Y19 Y29 Y39 ON output 0 External output 0 forced Level Relay to forcibly turn off the external YA Y1A Y2A output 0 External output 1 forced Level Relay to forcibly turn on the external YB Y1B Y2B Y3B ON output 1 External output 1 forced Level Relay to forcibly turn off the external YC Y1C Y2C Y3C OFF output 1 ON edge Relay to clear the overflow YD Y1D Y2D Y3D Overflow clear annunciation flag ON edge Relay to clear the underflow YE Y1E Y2E Y3E Underflow clear annunciation flag YE YAF Y2F
17. Specify count direction Select count input Input Z signal function setting signal function setting Default value Preset value Current value changed value Input A signal Input B signal input time constant vooo us 100kHz t 5 6 5 2 Types of Count Operations 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 B 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 Counter input dition PU Subtraction Count value Upper limit L m ai ia Wa Wa ai ai ai ai ai kuwa maai Wa Wa ai aa wa ai a QU o i 1 i cM CENA REPE DE Lower limit777777 Underflow annunciation Input X relay Underflow clear Output Y relay m Ring counter e f 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 5 7 Count Function L 2 4 2 2 2 2 2 pB 4 r __ JM ce 98 5 S 5 5 2 O Q in 2 5 5 ER oO gt
18. 2 c c lL 2 4 2 2 p 4 Lb Ad 0 Lower en 5 8 5 2 Types of Count Operations 5 23 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 Co ni ri p dation nter in Subtraction Input Z signal D Reset process Count value 5 24 Preset Count Operation e The preset count operation is allocated to the input Z signal and is used 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 t can be also used for starting the counter operation from the preset value e The preset value is set in the configuration menu or unit memory UM area Counters addition Subtraction Input Z signal _ _______ 1 Preset process I Count value Preset value ur ndo pto aaa 5 9 Count Function 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
19. 8 3 zx 9 gt _ 8 4 LB 5 r gY 8 D a c 8 o 9 c gt gt oo 9 a D Oo gt 5 c E g c 2 c 2 o o m o O II Oo sees Ss MIN m Negative logic enable operation and preset operation at trailing edge Addition l 1 1 1 F 1 1 1 1 1 1 1 1 1 1 1 1 S i S 3 3 5 zi z o o 9 3 ows Oo 8 8 o 9 c o9 5 o e 2 au o0 x 2 gt 3 59 g o uj SQ 5 12 5 3 Allocation of Reset Preset and Enable Signals 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 signal Comparison match reset P Reset Control 0 signal 9 AND Effective condition Output Y relay Reset enable reguest B Type of reset signals Reset condition AE Setting method ONIS ON ON ON element eal orr Output Y Activates the reset request signal by a user e relay program Allocates the Z phase input signal to any Input Z signal reset operation using the configuration 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 e
20. Buffer 20 UM004A8 UM004A9 UM006A8 UM006A9 UM008A8 UM008A9 UM00AA8 UM00AA9 Buffer 21 UM004AA UM004AB UM006AA UM006AB UM008AA UM008AB UM00AAA UM00AAB Buffer 22 UMO004AC UMOO4AD UM006AC UMOO6AD UM008AC UMOO8AD 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 next page 11 25 Specifications B 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 UM004BE UM004BF UM006BE UM006BF UM008BE UM008BF UMOOABE UMOOABF
21. Buffer 32 UM004C0 UM004C1 UMO006CO0 UMOO6C1 UM008C0 UM008C1 UMOOACO UMOOAC1 Buffer 33 UM004C2 UM004C3 UM006C2 UM006C3 UM008C2 UM008C3 UMOOAC2 UMOOACS Buffer 34 UM004C4 UM004C5 UM006C4 UM006C5 UM008C4 UM008C5 UMO00AC4 UMO00AC5 Buffer 35 UM004C6 UM004C7 UMO006C6 UM006C7 UM008C6 UM008C7 UMO0AC6 UMO00AC7 Buffer 36 UM004C8 UM004C9 UMO006C8 UM006C9 UM008C8 UM008C9 UMO00AC8 UMOOAC9 Buffer 37 UM004CA UMOO4CB UMO06CA UMOOGCB UMO008CA UMOO8CB UMOOACA UMOOACB Buffer 38 UM004CC UMOO4CD UMO06CC UMOOGCD UMO08CC UMOO8CD UMOOACC UMOOACD Buffer 39 UM004CE UM004CF UMO06CE UMO06CF UMO08CE UMO08CF UMOOACE UMOOACF Buffer 40 UM004D0 UM004D1 UMO006D0 UMO006D1 UMO008D0 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 UMOOADB Buffer 46 UM004DC UM004DD UM006DC UM006DD UM008DC UM008DD UMO0ADC UM00ADD 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 UM0
22. S1 UM00054 R100 H 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 r lo l8nD A To an arbitrary program Operation ready done flag m Allocation of I O signals Upper limit setting Lower limit setting Effective Signal name 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 next page 4 11 Unit Allocation and Parameter Settings KEY POINTS 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 The operation ready request can be executed for each channel regardless whether it has been executed in other channels or not 4 12 5 Count Function Count Function 5 1 Selection of Counters and Basic Settings 5 1 4 Basic Settings of Counters The basic settings are set in the configuration menu of FPWIN
23. o A3 A13 Input B 24 VDC 12 to 24 VDC A4 A14 f o A4 A14 Input B 5 VDC 3 5 to 5 VDC B3 B13 gt y Input B COM B3 B13 B4 B14 B4 B14 Input B COM A5 A15 o A5 A15 Input Z 24 VDC 12 to 24 VDC A6 A16 o A6 A16 Input Z 24 VDC 3 5 to 5 VDC B5 B15 gt y Input Z COM 5 815 is B6 B16 B6 B16 Input Z COM Control 0 1 common Pin No EN et Circuit Signal name ch0 2 ch1 3 A7 17 p 7 17 Control 0 12 to 24 PES B7 B17 o B7 B17 Control 0 COM A8 A18 E AB A18 Control 1 12 to 24 VDC IY B8 B18 o B8 B18 Control 1 COM External output 0 1 and Power supply terminal common Pin No a t Circuit Signal name ch0 2 ch1 3 A9 19 o A10 A20 External output 0 Sink output 5 to 24 VDC 15 mA A9 A19 External output 1 Sink output 5 to 24 VDC B9 id K 15 mA A10 A20 K B9 B19 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 external output is not used there is no need to supply the power to the power supply for output 3 6 3 3 Input Output Specifications 3 3 Input Output Specifications 3 3 1 Item Input Specifications Description Input A B Z signals 5VDC 24VDC Line driver connection Open collector connection Control signal Insulation method Optical coupler Optical coupler
24. 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 147 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 next page 4 6 4 2 Configuration of High speed Counter Unit 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 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 B 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 rota
25. 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 A2 A12 Input A 5V DC C XAO ae B1 B11 Input A COM B2 B12 Input A COM i Encoder Pulser side M A4 A14 Input B 5V DC lt v I Ph B 2 _ Hes B3 B13 Input COM B4 B14 Input B COM EX A6 A16 Input Z 5V DC eet AAXA 1 B5 B15 Input Z COM B6 B16 Input Z COM 3 4 Precautions on Wiring and Connection of Count Input 3 43 For Transistor Open Collector Type of Encoder Input High speed counter unit Encoder Pulser side A1 A11 Input 24V DC o A2 A12 Input 5V DC DES B1 B11 Input A COM B2 B12 Input A COM A3 A13 Input B 24V DC 4 14 Input B 5V DC HNO x Z M lt B3 B13 Input B COM B4 B14 Input B COM A5 A15 Input Z 24V DC o A6 A16 Input Z 5V DC us C c Phase A signal Phase B signal Phase Z signal B5 B15 Input Z COM B6 B16 Input Z C
26. when the power turns on using the configuration menu of tool software FPWIN GR7 or user programs e The default for the count value when the power turns on is 5 4 4 Changing Count Current Value e The 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 the current value change request signal Example Program to change the current value of CHO of the high speed counter unit to 1000000 Y105 RO DF MV SL K1000000 S1 UM00064 Current value change request m Allocation of I O Numbers f 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 Ker 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 5 18 5 5 Input Time Constant Setting Function 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 e When selecting No i
27. 0 Input signal Input B signal input time constant 2 0us 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 5 2 5 1 Selection of Counters and Basic Settings 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 par Linear counter Ring counter item Lower limit Upper limit Upper limit Lower limit Operation Roll image Count up over Count down Underflow Countup gt Overflow lt 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 aoe P bBerlimitor If the count value falls below the lower limit If the count value falls below the lower limit 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 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
28. 01C2H CH2 UM 0020A 01C3H CH3 UM 002DA 0300H CHO UM 00070 0301H CH1 z UM 00140 Measurement function selection setting error 0302H CH2 UM 00210 0303H CH3 UM 002E0 0310H CH0 UM 00071 UM 00072 0311H CH1 UM 00141 UM 00142 Pulse number per rotation setting error 0312H CH2 UM 0021 1 UM 00212 0313H CH3 UM 002E1 UM 002E2 10 5 What to Do If an Error Occurs B List of error codes 0320H 0533H Error Channel Corresponding unit code No 2 0320H CHO 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 e 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 05
29. 1 4 7 1 1 1 14 Negative logic enable operation and preset operation at trailing edge 0 2 3 4 1 1 Unit Functions and How They Work 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 wirings when setting up the system B Band comparison function and Target value match comparison function are provided e Two types of comparison functions are selectable for count values n 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 In 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 W 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 t
30. 4 UM00508 UM00509 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
31. 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 9 1 Interrupt Program Activation Function 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 R1 CPU DF Interrupt is enabled RO DF Interrupt is disabled R101 i HSC unit DF IMASK US Interrupt is enabled R100 Enable INTPG 0 7 Slot No MASKUS interrupt is disabled RO Disable INTPG 0 7 Slot No Us Heroo ur 5 ICLR US u1 Interrupt request is R100 Clear INTPG 0 7 Slot No cleared m
32. GR7 or unit memories UM m Count function configuration overflow underflow Disable Enable Item Description Default Counter type Linear counter Ring counter Linear counter Enable Disable 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 n CH1 CH2 CH3 Setting item Counter type Enable Displable overflow underflow Counter upper limit Counter lower limit Specify count direction Select count input z od Input Z signal function setting 8 Default value Preset value Setting description Linear counter Disable 2147483647 2147483648 Normal direction Gount signal Control 0 signal function setting Unused Control 1 signal function setting Unused 0 0 Current value changed value
33. I O numbers actually used vary according to the slot number where the unit is installed and the starting word number 10 3 What to Do If an Error Occurs 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 correct m List of error codes 0100H 0153H Error Channel Corresponding unit code No Ania alae memory No 0100H CHO UM 00050 0101H CH1 UM 00120 Counter type setting error 0102H CH2 UM 001F0 0103H CH3 UM 002C0 0110H CHO UM 00051 0111H CH1 00121 Enable Disable Overflow underflow setting error 0112H CH2 UM 001F1 0113H CH3 UM 002C1 Upper limit UM 00052 UM 00053 0120H CHO T Lower limit UM 00054 UM 00055 Upper limit UM 00122 UM 00123 0121H CH1 Lower limit UM 00124 UM 00125 Counter upper and lower limits setting error Upper limit UM 001F2 UM 001F3 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 E UM 00126 Count direction setting error 0132H CH2 UM 001F6 0133H CH3 U
34. Programming method Interrupt program e Describe the program to be executed at the time of interrupt process in the interrupt program Interrupt program INTPG10 10 Arbitrary program IRET Return B Corresponding interrupt program number nis Comparison match flag of Designation of the first operand of p 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 Se n 0 Disable 1 Enable INTPG 13 CH1 Comparison match 1 flag INTPG0 ICLR instruction bit no 15 87 0 Higher 8 bits 1 Fixed INTPG 14 CH2 Comparison match 0 flag INTPG 15 CH2 Comparison match 1 flag INTPG 16 CH3 Comparison match 0 flag 0 Clear 1 Not clear INTPG 7 INTPG 0 INTPG 17 CH3 Comparison match 1 flag 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 9 3 Interrupt Program Activation Function 9 1 4 Precautions for Use B Process when more than one interrupt activation request is made elf more than one interrupt activation request is made from the unit the
35. Request Program is Executed e The operation ready done flag 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 Reflection and check of configuration data Reflection and check of configuration data Operation ready Unit operation in Unit operation in done X100 accordance with set accordance with set OF conditions conditions Eee e When an error occurs such as an abnormality in the settings of parameters the operation ready done flag will not be turned on 4 10 4 4 Configuration Using User Programs 4 4 Configuration Using User Programs Configuration information can be rewritten using user programs B 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 YO when you want to reflect them in the configuration e f the configuration information is updated the operation ready done flag will be on B Sample program Program to change the upper and lower limits of CHO 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 MV SL K 1000000
36. 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 UM00763 UM00962 UM00963 UM00B62 UM00B63 Buffe
37. X4C X6C Control 1 signal monitor Monitors the output state of control 1 signal oe Flag to announce the occurrence of overflow XD X2D X4D X6D Overflow annunciation Enabled for the linear counter only m Flag to announce the occurrence of underflow XE X2E X4E X6E Underflow annunciation 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 x to Comparison match 9 19 X39 X59 79 flag x 52 E E Flag to reflect the results of the band comparison x1A 2 X3A Z X5A Z X7A Comparison match A flag function or target value match function lt to Comparison match F KIF X3F X5F X7F flag 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 done flag for CHO is X100 11 2 Allocation of 1 0 Numbers B Output relays number i Name Ede Description CHO CH1 CH2 CH3 condition YO Y10 Y20 Y30 Operation ready request Level Relay to recalculate Lho 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 Re
38. 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 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 7 16 7 4 External Output B Setting items and corresponding unit memory numbers Unit memor m A No y Name Default Setting range and description Unit Hex UM 00100 Set whether or not to output the comparison UM 001D0 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 00101 Set whether or not to hold the output signal in the UM 001D1 Output hold setting of Ho program mode when an error occurs B UM 002A1 external output 0 signal HO Not hol
39. 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 e t is possible to store the count value at the moment of the occurrence of a trigger assinged to a control signal The count value independent 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 W 14 counter operations by input signals input z signal control signal and output relay Y relay Reset operation at rising edge 2 Reset operation at trailing edge 3 Positive logic reset operation Negative logic reset operation 5 Preset operation at rising edge 6 Preset operation at trailing edge Positive logic preset operation 8 Negative logic preset operation 9 Positive logic enable operation Negative logic enable operation 11 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
40. eer reed peri vete ocu ayasa gus 11 31 vi 1 Unit Functions and Restrictions Unit Functions and Restrictions 1 1 Unit Functions and How They Work 1 1 1 Functions of Unit B 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 is 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 W 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 AM26L S31 m 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 m 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
41. 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 UMSO MOS Capture 1 register UM003A4 UM003A5 H 7 UM003A2 UM003A3 J J H I i i UM003A6 UM003A7 J J 4 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 8 10 8 3 Operations of Sampling Capture Function 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 B Time chart Capture trigger Control signal ON mannaananaaanananmi E Sampling capture processing OFF 3 eo exe 0 1234567890 12 16 18 D 2 24 2 2 Xj 2 Count value UM003A0 UM003A1 Capture 1 register UM003A4 UM003A5
42. 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 UM 00114 capture 0 by executing the clearance of the capture 0 register UM 001E4 Capture value HO Clears the areas of capture 1 register capture 1 register UM 002B4 clear request buffer and register difference value buffer when requesting the UM 00384 capture 1 by executing the clearance of the capture 1 register bit 15 4 10 sesh AAA Capture 1 register clear request bit 1 Capture 0 register clear request bit 0 0 Not request clearance 1 Request clearance 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 To reset the capture 0 done flag write H11 and then H10 To reset the capture 1 done flag write H12 and then H10 UM 00115 Capture done bit no 15 4 10 UM 001E5 flag clear HO EEEEEEEEEEELEHLT UM 002B5 request Edge type Capture done flag clear request 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 Note 1 The unit mem
43. 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 8 19 Capture Function 8 6 Clearing Capture Values Storage Area 8 6 1 Capture Value Clear Request B 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 register of CHO of the high speed counter unit installed in the slot No 1 MV US H1 S1 UM00114 MV US II RO I DF Eee 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
44. process will be carried out from the smallest slot number or the smallest interrupt program number e f 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 10 What to Do If an Error Occurs What to Do If an Error Occurs 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 the high speed counter unit it will give the information to the CPU as Unit error elf a Unit error occurs the CPU will stop the operation e In the programming tool the error code 81 unit error is displayed B Operation mode of the CPU when a unit error occur
45. thus look as if they are continuously lit if the input frequencies are high Note 2 The LED of each input signal indicates the status after an input time constant processing 2 Input output connector Connector for input and output 40 pins Conforms to MIL standard 2 2 2 1 Names and Functions of Parts DIN hook This hook is used to install the unit on a DIN rail Unit connector Connects the internal circuits between units 5 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 jk E 5 Mode setting switch Description Eo x 4 ON Interrupt function is enabled OFF Interrupt function is disabled Not used e 1 Display changeover switch Toggle between the display of 0ch 1ch and that of 2ch 3ch Fixing hook This hook is used to fix units Names and Functions of Parts 3 Wiring and Input Output Specifications Wiring and Input Output Specifications 3 1 Connection over Wire pressed Terminal Cable 3 1 1 Specifications of Wire pressed Terminal Cable This is a connector that allows loose wires to be connected without removing the wires insulation The pressure connection tool is required to connect the loose wires Discrete wire connector 40P Suit
46. 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 next page 8 16 8 5 Reading Capture Data m Processing when capture trigger inputs are used frequently refresh I O refresh dde Note 1 Capture enable Y7 Capture trigger Control signal 0 12345678910 12 14 16 18 20 22 24 26 28 30_ High Count value Note 2 counter E E E lt lt unit Capture 0 done internal signal H i e WA Ags I O refresh Capture 0 done unit flag X4 addc y y Read out data to 18 operation memory 0000 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 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 Ege e Whe control signals as capture triggers are input frequently
47. uds Read Capture 0 MV UL S1 UM003A2 DT100 register data Eb MV US H11 MEE nel MV US H10 S1 UM00115 done flag clear 3 KEY POINTS e When using operation devices Direct input IN and Direct output 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 8 18 8 5 Reading Capture Data B Processing when resetting the capture done flag manually refresh by direct output Normal I O refresh CPU l unit i I Note 1 Capture enable Direct output OT7 Capture trigger Control signal Yo LS LG 0 12345678910 12 14 16 18 20 22 24 26 28 30 nt val High Count value 7 speed e e j Note 2 counter A A unit vi Capture 0 done internal signal Clear 1 0 refresh capture done flag during operation CPU Capture 0 done flag Note 3 unit Clear after reading Direct input IN4 Read out data to 5 19 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
48. 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 B 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 5 3 Count Function 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 settings of multiplication factor as shown in the next page m Count method Method Connection Count 2 phase Phase difference Incremental encoder Phase Z input Reset input Incremental encode or Pulse generator
49. 0 UM 003D1 Signed S bil UM UM009 S Value of capture 0 register Capture 0 KO Range 2 147 483 648 8000 0000H to Pulse register 2 147 483 647 7FFF FFFFH UM 003D2 UM 003D3 Signed 32 bil UM 003A4 UM 003A5 EE Value of capture 1 register ea UM 00955 Ko Range 2 147 483 648 8000 0000H to Pulse UM 003C4 UM 003C5 register 2 147 483 647 7FFF FFFFH UM 003D4 UM 003D5 signed 92 Bit UM 003A6 UM 003A7 Calculated difference between the capature REED DIU ARD RERUM as registers _ UM003B6 UM009B7 Capture register KO Capture 1 register Capture 0 register Pulse UM 003C6 UM 003C7 difference value Range 2 147 483 648 8000 0000H to m ne 2 147 483 647 7FFF FFFFH UM 003D6 UM 003D7 Signed 32 bit UM 003A8 UM 003A9 Bic en ct ete e Frequency measurement value after _UM 00388 UM 00389 a gor MSRP procedure Hz UM 003C8 UM 003C9 Averaging Pc a MS EO ORNARE UR NC igne bit UM 003D8 UM 003D9 9 UM 003AA UM 003AB E S IC NAA Rotation speed measurement value after 003BA UM 003BB Rotation speed averaging procedure 003CA UM 003CB Averaging Range 1 200 000 000 to 1 200 000 000 Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top 11 20 11 4 Unit Memory Detailed Specifications 11 4 4 Capture Value Buffer Area B Capture value buffer area For capture 0
50. 0 signal ms 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 ms 0 x 6 3 Measurement Function 6 1 3 Reading Measuring Results Measuring results are stored in the following area m Read area Unit memory No Hex Name Default Setting range and description Unit UM 003A8 UM 003A9 UM 003B8 UM 003B9 UM 003C8 UM 003C9 UM 003D8 UM 003D9 Frequency measurement value After averaging UO Frequency measurement value after averaging procedure Range 0 to 20 000 000 Signed 32 bit Hz UM 003AA UM 003AB UM 003BA UM 003BB UM 003CA UM 003CB UM 003DA UM 003DB Rotation speed measurement value After averaging UO Rotation speed measurement value after averaging procedure Range 1 200 000 000 to 1 200 000 000 Signed 32 bit rpm Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top 6 1 4 Sample Program t can be read at any time e The values stored in unit memories can be monitored by the device monitor function of programming tool FPWIN GR7 m 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 s
51. 00 Addition set pattern O Addition reset pattern O 3 2 000 Addition set pattern Addition reset pattern O 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 v 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 7 5 Comparison Function 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 Upper limit 1 ComparisorComparison ComparisorComparisorComparisonComparisorComparisonComparisorf ComparisorComparison data 0 data 1 data 2 data 3 data 4 data 5 data 6 data7 data0 data 1 Lower limit Comparison match 0 flag Comparison match 1 flag Comparison match 2 flag Comparison match 3 flag 0 500 41 250 47 500 48 750 500 1 1 2 500 43 7501 45 000 6 250 Compariso
52. 007AC UMOO7AD UM009AC UMOO9AD UMOOBAC UMOOBAD Buffer 23 UM005AE UM005AF UM007AE UM007AF UM009AE UM009AF UM00BAE UM00BAF 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 UMOOBBC UMOOBBD 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 next page 11 29 Specifications B 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 UMOO5BE UMOO5BF UM007BE UM007BF UM009BE UM009BF UM00BBE UM00BBF Buffer 32 UM005C0 UM005C1 UM007C0 UM007C1 UM009C0 UM009C1 UM00BC0 UM00BC1 Buffer 33 UM005C2 UM005C3 UM007C2 UM007C3 UM009C2 UM009C3 UM00BC2 UM00BC3 Buffer 34 UM005C4 UM005C5 UM007
53. 06E7 UM008E6 UM008E7 UM00AE6 UM00AE7 Buffer 52 UM004E8 UM004E9 UM006E8 UM006E9 UM008E8 UM008E9 UM00AE8 UM00AE9 Buffer 53 UM004EA UM004EB UM006EA UM006EB UM008EA UM008EB UMOOAEA UMOOAEB Buffer 54 UMOO4EC UMOO4ED UMOOGEC UMOOGED UMOOSEC UMOOBED UMOOAEC UMOOAED Buffer 55 UMO04EE UMOO4EF UMOOGEE UMOOGEF UMOO8EbEE UMOO8EF UMOOAEE UMOOAEF Buffer 56 UM004F0 UM004F1 UM006F0 UM006F1 UM008F0 UM008F1 UM00AF0 UM00AF1 Buffer 57 UM004F2 UM004F3 UM006F2 UM006F3 UM008F2 UM008F3 UM00AF2 UM00AF3 Buffer 58 UM004F4 UM004F5 UM006F4 UM006F5 UM008F4 UM008F5 UM00AF4 UM00AF5 Buffer 59 UM004F6 UM004F7 UM006F6 UM006F7 UM008F6 UM008F7 UM00AF6 UM00AF7 Buffer 60 UM004F8 UM004F9 UM006F8 UM006F9 UM008F8 UM008F9 UM00AF8 UM00AF9 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 11 26 11 4 Unit Memory Detailed Specifications B Check list of unit memories Capture 1 register buffers Buffer No Unit memory UM No CHO 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
54. 08F9 UM00AF9 value buffer area Number of completed capture 1 operations UM00500 UM00700 UM00900 UM00B00 UM00502 UM00702 UM00902 UMO00B02 Capture 1 register _ _ _ N Buor A 6 Butler eg UM00579 UM00779 UM00979 UM00B79 Register difference value UM00582 UM00782 UM00982 UM00B82 for capture 1 request Buffer 1 to Buffer 60 UMOO5F9 UM007F9 UMOO9F9 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 8 13 Capture Function 8 5 Reading Capture Data 8 5 4 Reading Capture Register Data B 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 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 m Related unit memory UM No Monitor item Unit memory UM No CHO CH1 CH2 CH3 2 UM003B2 UM003C2 UMOOSD2 P 9 UM003A3 UM003B3 UM003C3 UM003D3 Monitor Capt re T registar UM003A4 UM003B4 UM003C4 UM003D4 area P 9 UMOO3A5 UMO003B5 UMO003C5 UM003D5 Capture register difference value 2100836 UM003C6 0
55. 0A3F Buffer 32 UM00440 UM00441 UM00640 UM00641 UM00840 UM00841 UM00A40 UM00A41 Buffer 33 UM00442 UM00443 UM00642 UM00643 UM00842 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 5 Buffer 46 UM0045C UM0045D UMO0065C UMOO065D UM0085C UM0085D UM00A5C UM00A5D Buffer 47 UM0045E UM0045F UM0065E UM0065F UM0085E UM0085F UM00A5E UM00A5F Bu
56. 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 8 3 Capture Function 8 1 3 Configuration e For using 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 B Setting area Unit memor e No y Name Default Setting range and description Unit Hex Make the setting for the capture function or sampling capture function HO 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 UM 002B0 Setting H4 Capture function at trailing edge of control 1 signal H5 Control 0 signal positive logic sampling capture function UM 00380 H6 Control 0 signal negative logic sampling capture function H7 Control 1 signal pos
57. 10H 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 E UM 00102 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 10 6 10 2 List of Error Codes B List of error codes 0540H 0633H Error Channel Corresponding unit code No Etpa 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 00106 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 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 002B0 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
58. 2 147 483 648 8000 0000H to Bue UM Current value 2 147 483 647 7FFF FFFFH 003 1 Signed 32 bit UM 003D0 UM 003D1 B 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 Ee ced 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 00062 UM 00063 Aa T SOI Set the preset value for using the preset count UM 00132 function UM 00133 CUM 00202 Preset value 0 Setting range 2 147 483 648 8000 0000H to Pulse UM 00203 2 147 483 647 7FFF FFFFH mM M Signed 32 bit UM 002D2 UM 002D3 UM 00064 UM 00065 EA A Set the changed value to change the current value UM 00134 of counter 00135 Current value i I Baie UM 00204 changed value Setting range 2 147 483 648 8000 0000H to UM 00205 2 147 483 647 7FFF FFFFH M etne Signed 32 bit UM 002D4 UM 002D5 5 17 Count Function 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 CHO of the high speed counter unit MV SL S1 UMO003A0 DT100 5 43 Count Value When Power Turns On e The count value when the power turns on can be set to any value as necessary Set the default value
59. 404 UM00405 UM00604 UM00605 UM00804 UM00805 UM00A04 UM00A05 Buffer 3 UM00406 UM00407 UM00606 UM00607 UM00806 UM00807 UM00A06 UM00A07 Buffer 4 UM00408 UM00409 UM00608 UM00609 UM00808 UM00809 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 U
60. 54 UM005EC UM005ED UM007EC UM007ED UM009EC UM009ED UMOOBEC UMOOBED 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 11 30 11 5 Dimensions 11 5 Dimensions 2 ch type 4 ch type 28 28 A LJ L 12 A CRI 19 80 TY H Li 11 81 Specifications 11 32 Record of changes Manual No Date Record of Changes WUME FP7HSC 01 Oct 2013 First Edition WUME FP7HSC 02 Jun 2014 S
61. 90396 P 9 UM003A7 UM003B7 UM003C7 UM003D7 B O allocation Signal name CHO 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 B 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 CHO of the high speed counter unit installed in the slot number 1 X104 MV SL S1 UMOO3A2 DT100 8 14 8 5 Reading Capture Data 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 m 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 K oF vst ferumo orion Bead Capture 0505 Clear buffer data transfer area 60 points x 2 words RO oF z us uz eis 0 operations x2 3 51 0 00402 51 100 2 _ DT102 e N Buffer register RO R DE Reset Capture 0 register and buffer Hi SHI UM00114 MV US z REFERENCE e For information on the
62. C4 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 UMOOBCA UMOOBCB 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 UM005E8 UM005E9 UM007E8 UM007E9 UM009E8 UM009E9 UM00BE8 UM00BE9 Buffer 53 UM005EA UM005EB UM007EA UM007EB UM009EA UM009EB UM00BEA UM00BEB Buffer
63. M 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 10 2 List of Error Codes B List of error codes 0160H 0313H Error Channel Corresponding unit code No Etpe 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 T 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 00139 Input Z signal input time constant setting error 01B2H CH2 UM 00209 01B3H CH3 UM 002D9 01C0H CH0 UM 0006A 01C1H CH1 UM 0013A Control signal input time constant setting error
64. M00785 UM00984 UM00985 UMO00B84 UM00B85 Buffer 3 UM00586 UM00587 UM00786 UM00787 UMO00986 UM00987 UMO00B86 UM00B87 Buffer 4 UM00588 UM00589 UM00788 UM00789 UMO00988 UM00989 UMO00B88 UMO00B89 Buffer 5 UM0058A UM0058B UM0078A UM0078B UM0098A UM0098B UMO00B8A UMOOB8B Buffer 6 UMO0058C UMO0058D 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 UM005AB UM007AA UM007AB UM009AA UM009AB UM00BAA UM00BAB Buffer 22 UM005AC UMOO5AD UMO
65. M00824 UM00825 UM00A24 UM00A25 Buffer 19 UM00426 UM00427 UM00626 UM00627 UM00826 UM00827 UM00A26 UM00A27 Buffer 20 UM00428 UM00429 UM00628 UM00629 UM00828 UM00829 UM00A28 UM00A29 Buffer 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 me next page 11 23 Specifications B Check list of unit memories Capture 0 register buffers Buffer No Unit memory UM No CHO CH1 CH2 CH3 Buffer 31 UM0043E UM0043F UM0063E UM0063F UM0083E UM0083F UM00A3E UM0
66. OM Power supply 12 to 24V DC 3 4 4 For Sensor Input High speed counter unit Sensor UN i A1 A11 Input 24V DC V m S A2JA1 2 our Input A 5V DC eI i E 2 Sm 0V P B1 B11 Input COM B2 B12 Input A COM 3 9 4 Unit Allocation and Parameter Settings Unit Allocation and Parameter Settings 4 1 Unit Allocation 4 1 1 Confirmation of I O Allocation Information Input and output relays are allocated m input relays number MS Name Description CHO CH1 CH2 CH3 X0 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 Flag to announce that the count value is stored in X4 X24 X44 X64 Capture 0 done flag capture 0 register Flag to announce that the count value is stored in X5 X25 X45 X65 Capture 1 done flag capture 1 register External output 0 signal Monitors the output state of external output 0 x X6 x X26 x XAG x X66 monitor signal 8 1 signal Moni h f il x7 X27 X47 X67 External ou
67. Panasonic PROGRAMMABLE CONTROLLER FP7 High speed Counter Unit User s Manual WUME FP7HSC 02 2014 6 panasonic net id pidsx global 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 exothermic heat or smoke generation Do not touch the terminal while tu
68. Seed 5 13 5 3 2 Preset Input imus DDR 5 14 53 3 Enable InpUE s ie ete eet eet ed ee tions 5 16 5 4 Reading Count Value and Changing Current Value 5 17 5 4 1 Areas Related to Count Value 5 17 5 4 2 Reading Count Value sse 5 18 5 4 3 Count Value When Power Turns On 5 18 5 4 4 Changing Count Current Value sss 5 18 5 5 Input Time Constant Setting Function 5 19 5 5 1 Input Time Constant nennen enne 5 19 Measurement Function 6 1 6 1 Overview of Measurement Function a 6 2 6 1 1 Types of Measurement Function sse 6 2 6 12 GonfIg rationas uo eed ect 6 3 6 1 3 Reading Measuring Results 6 4 61 4 Sample Program oce cepere aad dna IR aa qaratan 6 4 Comparison Function 7 1 7 1 Overview of Comparison Function a r 7 2 7 1 1 Types of Comparison Function sse 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 4 Examples of Linear counter Settings 7 4 7 2 2 Examples o
69. UM 003x4 UM 003x5 are transferred to UM 00B02 UM 00B03 the b ffor 1 Omitted Omitted KO The data are shifted and stored from the Pulse UM 00578 UM 00579 buffer 1 to buffer 60 sequentially MAD EUER ae Raa A Range 2 147 483 648 8000 0000H VUM 00778 UM 00779 Capture 1 register to 2 147 483 647 7FFF FFFFH UM 00978 UM 00979 Buffer 60 Signed 32 bit UM 00B78 UM 00B79 UM 00582 UM 00583 OI QUE M FOU DEED Capture register 00782 00783 difference value for Transfers the difference between the node capture 1 request capture 1 register UM 003x4 UM 003x5 0099F S AV MN 1 1 and the capture 0 register UM 003x2 UM UM 00B82 UM 00B83 003x3 to the buffer 1 when the capture Omitted Omitted KO reguest is made for the capture 1 The Pulse 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 buffer areas are available from the high speed counter unit Ver 1 2 PUA REFERENCE e For information on unit memory UM numbers corresponding to each buffer number refer to the list beginning on page 11 27 11 22 11 4 Unit Memory Detailed Specifications B Check list of unit memories Capture 0 register buffers Buffer No Unit memory UM No CHO CH1 CH2 CH3 Buffer 1 UM00402 UM00403 UM00602 UM00603 UM00802 UM00803 UM00A02 UM00A03 Buffer 2 UM00
70. UM00729 UM00928 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 me next page 11 27 Specifications B Check list of unit memories Capture 1 register buffers Buffer No Unit memory UM No CHO 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 UM00542 UM00543 UM00742 UM00743 UM00942 UM00943
71. 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 high speed counter unit e As the input and output starts from the same I O numbers FP7 series the following number of words is occupied No of I O points actually used No of occupied words Name Product No Input Output No of occupied points HSC2T m Ya 8 words 128 points 4 words 64 points 8 words 128 points 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 4 3 Unit Allocation and Parameter Settings 4 1 3 Registration in Map Before setting parameters register the unit to be used in the I O map m PROCEDURE 1 Select Options gt FP7 Configuration in the menu bar The FP7 Configuration dialog box is displayed Select map in the left pane The allocation menu of the I O map i
72. able 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 1 5 to 1 1 dia 3A 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 2 1 set 2 x 2 sets 5 pin contact for AWG 22 and AWG24 8 x 1 set 8 x 2 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 Pressure connection tool 3 1 Connection over Wire pressed Terminal Cable 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 all wires have been inserted fit the semi cover into place Wiring and Input Output Specifications e Contact puller pin to redo wiring If there is a wiring mistake or the wire is incorrectly pressur
73. at to Do If an Error 10 1 10 1 Self diagnostic Function a eho 10 2 10 1 1 Errors Announced by High speed Counter Unit 10 2 10 1 2 Confirming Error Code sse eene 10 2 10 1 3 Clearing Errors Using User Programs 10 3 10 2 List of Error Codes oret 10 4 10 2 1 Errors in Operation Ready Request 0100H to 0633H 10 4 10 2 2 Errors Occurred in Operations 1000H to 1043H 10 8 11 Specifications u su uuu oso sss ee Ev iu 11 1 TA AN Specifications zs Em Pen te ut ns tu e RR UM rb ue 11 3 11 1 1 General Specifications 11 3 11 1 2 Function Specifications a 11 4 11 2 Allocation of LOUNIBIIDGIS iiit i eode Ide Ibo obs 11 6 11 3 List of Unit Memories de er Diete e ee er thru tees pt une 11 8 11 4 Unit Memory Detailed Specifications 11 10 11 4 1 Common Setting Area U 11 10 11 4 2 Individual Setting Area sse 11 10 11 4 3 Monitor Display Area o oo eee u uu 11 20 11 4 4 Capture Value Buffer Area 11 21 114 5 DIMAS NS cerei itr
74. ata 4 10 4 3 3 Operation When Operation Ready Request Program is Executed 4 10 4 4 Configuration Using User Programs 4 11 COUNT F ctio n Pt T M 5 1 5 1 Selection of Counters and Basic Settings 5 2 5 1 1 Basic Settings of Counters 5 2 5 1 2 Selection of Count Input 5 2 5 1 3 Linear Counter and Ring Counter sse 5 3 5 1 4 Selection of Count Methods 5 4 5 2 Types of Count Operations treten e asi Ep 5 6 5 2 1 Types and Features of Count 5 6 5 2 2 Simple Count Operation sss 5 7 5 2 8 Reset Count Operation sssssssssssssseeeeeeen entere 5 9 5 2 4 Preset Count Operation 5 9 5 2 5 Enable Count Operation a 5 10 5 2 6 Enable Reset Count Operation 5 11 Table of Contents 5 2 7 Enable Preset Count 5 12 5 3 Allocation of Reset Preset and Enable Signals 5 13 5 8 Reset Input indie nente dede
75. ble Y7 Capture trigger Control signal Count value UM003A0 UM003A1 Capture 0 register UM003A2 UM003A3 Capture 1 register UM003A4 UM003A5 a i UM003A6 UM003A7 0 J 3 3 24 4 Capture 0 done flag iare X4 OFF ON Capture 1 done flag OFF b Ker 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 8 7 Capture Function 8 22 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 B When Leading edge is set as the capture trigger condition Capture enable Y7 Capture trigger Control signal Count value UM003A0 UM003A1 Capture 0 register UM003A2 UM003A3 ON Um t od m When Trailing edge is set as the capture trigger condition Capture enable Y7 Capture trigger Control signal Count value UM003A0 UM003A1 Capture 0 register UM003A2 UM003A3 Capture 0 done flag X4 8 8 8 2 Operations of Capture Fu
76. c 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 Make the settings for the interrupt operation at the time of comparison match UM 00118 To bit Default Description Setting UM 001E8 0 1 Comparison 0 Disable d enable disable H3 UM 002B8 setting match 0 flag 1 Enable UM 00388 1 1 Comparison match 1 flag 15 2 Note 1 The unit memory numbers in the above table are for CH0 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 11 19 Specifications 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 Current count value of counter SSS Ko Range 2 147 483 648 8000 0000H to Pulse UM 003CO0 UM 003C1 2 147 483 647 7FFF FFFFH UM 003D
77. c or e p negative logic Enable count Performs the count operation while the control signal e operation allocated to the enable input is effective Enable reset Performs the count operation while the control signal count allocated to the enable input is effective Resets the count e operation value at the timing at which the counter becomes enabled by the control signal allocated to the enable input Enabl amp preset Performs the count operation while the control signal count p allocated to the enable input is effective Presets the count e 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 function 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 a High speed Counter Unit Setti s Setting description Setting item CH1 CH2 CH3 Linear counter Disable 2147483647 2147483648 Normal direction Count signal Counter type Enable Displable overflow underflow Counter upper limit Counter lower limit
78. ch 1 flag can be allocated to the 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 0 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 O 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 7 1 Overview of Comparison Function b 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 7 1 2 Target Value Match Comparison and Band Comparison eThe main difference is as below e The comparison methods can be selected for each channel m Main difference in characteristics Item Target value match comparison Band comparison Sening oi Comparison value data is specified as Compari
79. 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 8 15 Capture Function 8 5 3 Operation and Readout of Capture Done Flag X4 X5 m Basic operation e On 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 e In case of the capture function the capture done flag is reset by executing the capture enable request signal Y7 I O refresh VO refresh e 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 Pi a unit Capture 0 done internal signal refresh yo tefresh Scan time CPU Capture 0 done Nias unit flag X4 Read out data to y operation memory XXXXX 2 16 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
80. d 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 00222 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 UM 002A3 Available when band 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 001D4 External output 1 signal Ho match 1 flag to the external output 1 signal UM 002A4 setting HO Not output UM 00374 H1 Output UM00105 Set whether or not to hold the output signal in the UM 001D5 Output hold setting of Ho program mode when an error occurs _ UM 00245 external output 1 signal H0 Not hold UM 00375 H1 Hold UM 00106 External output 1 signal Set the ON timing delay of external output 1 UM 00106 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 001D7 ON hold time Set the ON hold time of external output 1 signal UM 002A7 Available when band 0 Setting range 0 to 1 000 The values out of the ms comparison function is sett
81. e DN 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 RR Setting range 2 147 483 648 8000 0000H to T os 2 147 483 646 7FFF FFFEH E TON d lower 0 2 147 483 48 Signed 32 bit Pulse UM 001F4 However the upper limit should be larger than the 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 11 10 11 4 Unit Memory Detailed Specifications B Count function Unit memory Name Default Setting range and description Unit No Hex UM 00056 Set the direction of count UM 00126 Specify count Ho DM o direction Count in normal direction UMORE H1 Count in reverse direction UM 002C6 Select a signal for counting from the count signal ical UM 00057 i clock oe control signal Count signa VA UST iate eountirput 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 H4 Internal clock 100 us 10 kHz H7 Internal control signal Set the count method UM 00058 HO 2 phase input 1 multiple H1 2 phase input 2 multiple UM 00128 Count method HO H2 2 phase input 4 multiple qe UM 001F8 H3 I
82. e connected use the contact puller pin provided with the fitting to remove the contact Press the housing against the pressure connection tool so that the contact puller pin comes in contact with this section N 3 4 3 2 Terminal Circuit Diagram 3 2 Terminal Circuit Diagram 3 21 1 0 Terminal Layout Diagram 4 ch type 2 ch type 2 O0 X0080N 2 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 CHO 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 3 5 Wiring and Input Output Specifications Input terminal Pin No 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 A 5 3 5 to 5 B1 B11 gt y Input A COM M B1 B11 B2 B12 B2 B12 Input A COM A3 A13
83. econd 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 Please contact Panasonic Industrial Devices SUNX Co Ltd W Overseas Sales Division Head Office 2431 1 Ushiyama cho Kasugai shi Aichi 486 0901 Japan W Telephone 81 568 33 7861 Facsimile 81 568 33 8591 panasonic net id pidsx global About our sale network please visit our website Panasonic Industrial Devices SUNX Co Ltd 2014 June 2014 PRINTED IN JAPAN WUME FP7HSC 02
84. egister when activating the capture 1 each 60 point 120 word area is secured Capture function valid condition The capture function is valid while the capture enable request signals Y7 Y17 The capture function is always valid Note 2 Y27 Y37 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 0 or signal 1 capture 1 Not used Capture Activated when any 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 e Trailing edge of control signal Control signal Positive logic signal valid 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 Y37 edge respectively Capture data memory area clear Note 3 Capture 0 register and capture 1 register can be cleared individually using user programs Buffer areas can be reset at the same time Capture done flag clear Note 3 It is automatically cleared at the time of I O refresh Capture 0 register and capture 1 register can be cleared individually using user programs Note
85. en the capture trigger Capture function turns on in the capture register Max 1 point A Stores the count values for a specified Sampling capture function 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 9 counter unit Max 2 programs 2 Interrupt function g Max 4 programs 2 ch type High speed S Per 1 high speed counter unit counter unit Max 8 programs 4 ch type High amp speed counter unit o 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 the execution of intterupt program has priority and the scan time will be longer Note 2 If more t
86. ers 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 Specifications 11 4 Unit Memory Detailed Specifications 11 4 1 Common Setting Area B Error code Unit memory Name Default Setting range and description No Hex UM 00025 ch0 Error code HO UM 00026 chi 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 NEM Set the type of counter UM 001Fo Counter type HO HO Linear counter UM 002C0 H1 Ring counter Set whether to enable or disable the overflow underflow judgement UM 00051 Enable Disable HO Disable H1 Enable UM 001F1 MA ue Ho Annunciation using overflow and underflow flags of uM 00201 ow each channel and 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 AA GIRO Setting range 2 147 483 647 8000 0001H to on 01155 2 147 483 647 7FFF FFFFH upper U 2 147 483 647 Signed 32 bit Pulse Un ao ES However the upper limit should be larger than the AA M
87. es 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 Table of Contents Table of Contents Unit Functions and Restrictions 1 1 1 1 Unit Functions and How They Work 1 2 1321 Functions ico is ieget iino u dede aia dey 1 2 1 1 2 Unit Type and Product Number 1 3 1 2 Restrictions on Combinations of Units 1 4 1 2 1 Restrictions on Power Consumption sse 1 4 1 2 2 Applicable Versions of FPWIN GR7 and Units 1 4 1 2 8 Restrictions on Interrupt Function 1 4 Names and Functions of Parts 2 1 2 1 Names and Functions of Parts 2 2 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 3 2 3 1 2 Assembly of Connector for Wire pressed Terminal Cable 3 3 3 2 Terminal Circuit Diagram sesssseeenee
88. est program should be executed e After downloading a project insert the program to make it be executed early in the process B 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 Hx 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 B Allocation of I O signals Note 1 The above I O numbers are those for the slot number 1 and the starting word number 10 The I O numbers Effective Signal name Condition CHO CH1 CH2 CH3 Operation ready request Level Y100 Y110 Y120 Y130 Operation ready done flag X100 X120 X140 X160 actually used vary according to the slot number where the unit is installed and the starting word number 4 9 Unit Allocation and Parameter Settings 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
89. f Ring Counter Settings 7 6 7 2 8 Configuration of Target Value Match 7 8 7 3 Operation of Band Comparison 7 11 7 3 1 Examples of Linear counter Settings 7 11 Table of Contents 7 3 2 Examples of Ring Counter Settings 7 12 7 3 3 Configuration of Band Comparison sse 7 14 7 4 External Output reta ket uo te la eie pea 7 16 7 4 1 Overview of External Output Function 7 16 7 4 2 Output Pattern Setting Only for Band Comparison 7 18 7 4 8 Forced Output Function U U enne 7 19 Gapture Fu ction 2 ceci esce coc cn eere uu asas nee 8 1 8 1 Overview of Functions epu Se t ter nur SR EE ee Bud st ets veers 8 2 8 1 1 Types of Capture Function 8 2 8 1 2 Restrictions on Combinations sse 8 3 8 423 Configuration et er 8 4 8 2 Operations of Capture Function a r 8 6 8 2 1 edet edite e s Eta Ae a dee 8 6 8 2 2 Gontih ous Operation u L La iet e b uha sis 8 8 8 3 Operations of Sampling Capture F
90. ffer 48 UM00460 UM00461 UM00660 UM00661 UM00860 UM00861 UM00A60 UM00A61 Buffer 49 UM00462 UM00463 UM00662 UM00663 UM00862 UM00863 UM00A62 UM00A63 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 11 24 11 4 Unit Memory Detailed Specifications B Check list of unit memories Difference value buffer Stored when Capture 0 request
91. fications 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 HO 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 HO 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 Set the input time constant of control signal HO No input time constant H1 2us H2 5 us 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 11 13 Specifications m Measurement function
92. g match2flag match3 flag limit limit Set 0 8 000 6 000 pattern ON OFF ON ON Set 1 4 000 2 000 pattern OFF ON OFF ON Set 2 2 000 4 000 pattern OFF OFF ON ON Set 3 8 000 4 000 pattern OFF OFF ON OFF Set 4 4 000 8 000 pattern ON OFF OFF ON Eee 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 O gt 1 gt 2 gt 3 gt 4 gt 5 gt 6 gt 7 gt 8 gt 59 gt 10 gt 11 gt 12 gt 13 gt 14 gt 15 Low Comparison Function 7 3 2 Examples of Ring Counter Settings B Operation of band comparison match flag Comparison data 4 Comparison data 0 Comparison data 2 Lower limit Lower limit Upper limit 1 Comparisondata2 ka n Comparison 1 1 1 1 1 1 1 Comparison data O0 Comparison data 1 Comparison data 3 Comparison data 4 data 9 gt 1 1 match 0 flag Comparison match 1 flag Comparison match 2 flag Comparison 1 mates flagi sas 0 500 41 250 42 500 43 750 45 000 46 250 7 50 8 750 500 41 250 m Examples of output pattern settings Band comparison Comparison value Output Comparison Compar
93. grams e Each error can be cleared by user programs e Refer to error codes correct error factors and clears the errors B 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 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 below 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 clear CHO error CHO error request annunciation flag clear request Y10F CHO error clear request m Allocation of I O signals Signal name CHO CH1 CH2 CH3 Overflow clear Y10D Y11D Y12D Y13D Underflow clear Y10E Y11E Y12E Y13E 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
94. h 1 flag to the external output 1 signal u UM 002A4 setting HO Not output UM 00374 H1 Output UM 00105 Set whether or not to hold the output signal in the UM 00105 External output 1 signal Ho program mode when an error occurs UM 002 5 output hold setting H0 Not hold UM 00375 H1 Hold UM 00106 Set the ON timing delay of external output 1 UM 001D6 External output 1 signal Uo signal m 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 i 1 m 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 11 17 Specifications B Capture function Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top next page Unit memory Name Default Setting range and description Unit No Hex Make the setting for the capture function or sampling capture function HO 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
95. han 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 Specifications 11 2 Allocation of 1 0 Numbers B Input relays number ida Name Description CHO CH1 CH2 CH3 X0 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 Flag to announce that the count value is stored in X4 X24 X44 X64 Capture 0 done flag capture 0 register Flag to announce that the count value is stored in X5 X25 X45 X65 Capture 1 done flag capture 1 register X6 X26 X46 X66 dien output 0 signal ae the output state of external output 0 y i monitor signal x7 Z x27 Z 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 X9 X29 X49 X69 Input B signal monitor Monitors the input state of input B signal XA X2A 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
96. he process will be carried out from the smallest slot number or the smallest interrupt program number 2 Names and Functions of Parts Names and Functions of Parts 2 1 Names and Functions of Parts Mii m ad We o p icu m S A B ZCTOCTIONOTIERR M A B ZCTOCTIONOOTIERR M _ Operation monitor LEDs Displays the on off status of two channels Use the display changeover switch to toggle between the channel number CHO CH1 and CH2 CH3 The LEDs show the same information for each channel LED Description Color ON OFF Flashing HSC Power supply of the unit Blue ON OFF gt A 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 ee pane EX Note1 The LEDs for the pulse input signals flash according to the input statuses
97. iling edge of control 1 signal Control 0 signal positive logic sampling capture function Control 0 signal negative logic sampling 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 ims Note 1 When the sampling capture function has been selected in the capture 0 setting the capture 1 setting is invalid B Interrupt function Set table 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 the side of the unit to enable the interrupt function 4 8 4 3 Configuration Data and Operation Ready Request 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 requ
98. iming 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 e The 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 signal 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 Unit Functions and Restrictions 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 un
99. imit Set pattern Set pattern 1 Set pattern 2 Set pattern 3 Set pattern 4 Set pattern 5 Set pattern B Set pattern Set pattern 8 7 14 7 3 Operation of Band Comparison Function 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 e When using user programs set data in corresponding unit memory numbers Example 1 For the comparison data 0 of CHO it is allocated to UM00080 to UM00087 Example 2 For the comparison data 1 of CHO it is allocated to UM00088 to UM0008F e The bit numbers 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 Lower limit High words Upper limit Low words Upper limit High words 15114 13 12 11110 9 8 7 6 5 4 31 21 110 Not used Not used Not used Lower limit Upper limit Set pattern 1 ON 0 OFF Reserved for system REFERENCE e For details of unit memory numbers refer to 11 4 Unit Memory Detailed Specifications Comparison Function 7 4 External Output 7 4 1 Overview of External Output Function m 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
100. ing 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 7 17 Comparison Function 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 B Operational difference between settings ONhold van tine timing Timing chart of comparison match flag and external output delay Comparison match 0 flag Input relay i i oi i ii 0 0 ma m m m is ee eee m External output 0 signal Comparison match 0 flag Input relay i Pod i 1 to 1 000 MS ms External output 0 signal ON timing ON timing ON timing delay delay delay Comparison ON match 0 flag EE Input relay OFF ot 1 1 000 5 jami d 8 mad f i asp uix i nS External output EN NND 0 signal ON hold time ON hold time ON hold time Comparison ON match 0 flag Input relay OFF d oU E 1101 000 1to 1 000 ON a me His External output i 0 signal OFF v j ON timing delay ON hold time 7 18 7 4 External Output 7 4 3 Forced Output Function e The outputs of external output 0 terminal and external output 1 terminal can be contro
101. irection detection input 1 multiple 2 multiple 5 Count operation can be controlled by input signals in combination with three functions 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 D measurement f frequency function oO Measures the intervals between the changes the count value and automatically calculates the rotation speed T function c 8 Rotation speed Measures the time for the number of counts equi
102. ison Comparison Comparison data Lower Upper pattem match Oflag match1 flag match2flag match 3 flag limit limit Set 0 41 250 2 500 pattern ON OFF OFF OFF 1 3 750 5 000 29 OFF ON OFF ON Tes T pattern 2 3 750 7 500 Set OFF OFF OFF ON 9 t pattern 3 6 250 7 500 Set ON ON ON ON 9 WA pattern 4 8 750 500 Set OFF OFF ON OFF Te u pattern 7 3 Operation of Band Comparison Function Eee 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 Comparison Function 7 3 8 Configuration of Band Comparison B 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 UE Comparison data 15 B ES Set pattern 1 Comparison match 0 flag t Comparison match F flag Setting for Band comparison m 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 l
103. ister _UM 006F8 UM 006F9 PNN difference value for Range 2 147 483 648 8000 0000H to 2 147 483 647 7FFF FFFFH UM 008F8 UM 008F9 capture 0 request Signed 32 bi Buffer 60 i UM 00AF8 UM 00AF9 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 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 11 21 Specifications B 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 Number of 1 operations while capturing is enabled completed capture UO It is cleared to zero when the capture Times 1 operations enable request Y7 Y17 Y27 or Y37 is UM 00B00 activated UM 00502 UM 00503 UM 007022 UM 00709 Capture 1 Register Once the capture processing is performed UM 00902 UM 00903 Buffer 1 the data stored in the capture 1 registers Ca EUMDEM aa
104. it 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 EPWIN GR7 Ver 1 2 or later FP7 CPU unit Ver 1 2 or later For using the interrupt function 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 counter unit e 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 t
105. ition set pattern Addition reset pattern O 4 45 000 Addition set pattern O Addition reset pattern ini lt E P Addition set pattern O Addition reset pattern O 6 7 500 Addition set pattern Addition reset pattern O 7 18 750 v 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 7 7 Comparison Function 7 2 3 Configuration of Target Value Match Comparison B 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 data 0 i Addition set pattern 0 1 i Addition reset pattern 0 i I Comparison data 0 i Subtraction set pattern 0 i Subtraction reset pattern 0 i UA KI AKAA ISIT AAA AAA Comparison match 0 flag gt to Comparison match F flag Comparison data 15 Addition set pattern 15 Addi
106. itive 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 H1 Capture function at rising edge of control 0 signal settin H0 H2 Capture function at trailing edge of control 0 signal UM 002B1 9 H3 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 Se 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 CH3 from the top next page 8 4 8 1 Overview of Functions B Setting area Unit memor DS y Name Default Setting range and description Unit Hex Clears values stored in the capture registers and capture register buffers Toclear the capture 0 register turn off on and off the bit 0
107. lay to preset count values Relay to enable the reset by the Y4 Y14 Y24 Y34 Reset enable request Level control signal and input Z signal Y5 Y15 Y25 Y35 Current value change ON edge Relay to request for changing the request current value of counter Preset value change Relay to request for changing preset Y6 Y16 Y26 Y36 request ON edge Values Capture enable request when using Capture enable request the capture function or capture Y X YER 07 Note 2 Cove trigger signal when using the gt gt sampling capture function Y8 Y18 Y28 Y38 y9 Y19 Y29 Y39 External output 0 forced Relay to forcibly turn on the external ON output 0 External output 0 forced Relay to forcibly turn off the external YA Y1A Y2A Y3A OFF Level output 0 YB Y1B Y2B Y3B External output 1 forced Level Relay to forcibly turn on the external ON output 1 External output 1 forced Relay to forcibly turn off the external Y1C Y2C Y3C OFF Level output 1 YD Y1D Y2D Y3D Overflow clear Pelay to clear the overflow annunciation flag Relay to clear the underflow YE Y1E Y2E Y3E Underflow clear ON edge annunciation flag YF Y1F Y2F Y3F Error clear ON edge Relay to 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
108. lled on the ladder monitor or device monitor of tool software FPWIN GR7 They can be also turned on or off by user programs t can be used for the confirmation of wirings m O Allocation of external output terminals Signal name AA Echo 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 programming tool FPWIN is not used 7 19 Comparison Function 7 20 8 Capture Function Capture Function 8 1 Overview of Functions 8 1 1 Types of Capture Function B 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 Onin or user program Capture trigger ON 7777 p External input signal OFF 0 12345678910 12 14 16 18 20 22 24 Count value Capture register m Sampling capture function e Sto
109. logic sampling capture se aaa Capt 0 setti HO Con 10 si 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 H0 Not use capture 1 function UM 00111 vis Y H1 Capture function at rising edge of control 0 signal UM 001E1 Capture 1 setting Ho H2 Capture function at trailing edge of control 0 signal 002 1 H3 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 H1 capture function UM 002B2 operation setting H0 One operation UM 00382 H1 Continuous operation UM 00113 W UM 001E3 nn 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 11 18 11 4 Unit Memory Detailed Specifications B Capture function Interrupt function
110. lot number 1 R 0 Hx DF MV SL S1 UMO03A8 _DT100 MV SL S1 UMOOSAA 07200 Frequency measurement value Rotation speed measurement value 6 4 f Comparison Function Comparison Function 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 mat
111. ls of the format of target value match comparison refer to 7 1 2 Target Value Match Comparison and Band Comparison For details of the format of band comparison refer to 7 3 3 Configuration of Band Comparison Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top 11 16 11 4 Unit Memory Detailed Specifications B External output function Unit memory Name Default Setting range and description Unit No Hex UM 00190 Set whether or not to output the comparison UM 00100 External output 0 signal Ho match 0 flag to the external output 0 signal u UM 002A0 setting HO Not output UM 00370 H1 Output UM 00101 Set whether or not to hold the output signal in the UM001D1 External output 0 signal H0 program mode when an error occurs 002A1 output hold setting HO Not hold UM 00371 H1 Hold UM 00192 Set the ON timing delay of external output 0 UM 001D2 External output 0 signal Uo signal 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 Uo 9 WA UM 002A3 ON hold time Setting range 0 to 1 000 The values out of the Setting range are invalid UM 00373 UM 00194 Set whether or not to output the comparison UM 001D4 External output 1 signal Ho matc
112. m if the specified 1031H CH1 outside the range of Does not preset n preset value is in the XOU CH Preset error upper and lower limits Continues the count range of upper and ET em operation lower limits nn us Does change the Confirm if the current 1041H CH1 Current value ya Er and i uer limits Current value value changed value is 1042H CH2 change error anes the current Continues the count in the range of upper operation and lower limits 1043H CH3 value is changed 10 8 11 Specifications Specifications 11 1 Specifications 11 1 Specifications 11 1 1 General Specifications Items Description Operating ambient temperature 0 to 55 G Storage ambient temperature 40 to 70 G 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 Between I O terminals and CPU power supply terminal function earth Breakdown voltage Bewteen input terminal and output terminals 500 VAC for 1 min Cutoff current 10 mA factory default setting Between I O terminals and CPU power supply terminal function earth Insulation resistance Bewteen input terminal and output terminals 100 MO or more with 500 VDC megohmmeter Conforming to JISB3502 and IEC61 131 2 5 to 8 4 Hz 3 5 mm single amplitude 8 4 to 150 Hz acceleration of 9 8 m s2 10 swee
113. n 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 ComparisorjComparison Comparison data 7 data 6 data 5 data 4 data 3 data 2 datal data0 data 7 1 1 1 l 1 I 1 I 1 1 1 Comparison match 0 flag Comparison match 1 flag 1 Comparison i match 2 flag 1 I 1 1 1 Comparison Lee _ 000 f WE i match 3 flag ole 48 750 7 500 6 250 5 000 750 2 500 41 2501 500 8 750 b Ker 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 7 6 7 2 Operation of Target Value Match Function W Examples of output pattern settings Comparison Target Output pattern Comparison Comparison Comparison Comparison data value match 0 flag match 1 flag match2flag match3 flag Addition set pattern O Addition reset pattern 0 500 Addition set pattern O Addition reset pattern O O 1 1 250 Addition set pattern O Addition reset pattern 2 2 500 Addition set pattern O Addition reset pattern O Add
114. nable operation and reset operation at trailing edge I Allocates the comparison match flag Comparison operation to Reset execution using the match flag configuration menu B O allocation Effective Signal name Condition CHO CH1 CH2 CH3 Reset request ON edge Y102 Y112 Y122 Y132 Reset enable request Level Y104 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 5 13 Count Function Eee 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 B Type of reset signals Preset condition Setting method ON e ON ON ON element ICM ES or M or MI 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 P
115. nction 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 UM003A0 UMO003A1 Capture 0 register UM003A2 UM003A3 Capture 1 register UM003A4 UM003A5 Capture register difference value UM003A6 UM003A7 Capture 0 done flag ON X4 Capture 1 done flag X5 b 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 8 9 Capture Function 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
116. nd Comparison UM 00170 For details of the format of band comparison refer to UM 00240 Comparison data 4 HO 7 3 3 Configuration of Band Comparison UM 00310 UM 000A8 UM 00178 Comparison data 5 HO m UM 00248 UM 00318 UM 000BO UM 00180 Comparison data 6 HO UM 00250 UM 00320 Note The unit memory numbers in the above table are for CHO CH1 CH2 and CH3 from the top 11 15 Specifications B Comparison function Unit memory No Hex Name Default Setting range and description Unit UM 000B8 UM 00188 UM 00258 UM 00328 Comparison data 7 HO UM 000CO UM 00190 UM 00260 UM 00330 Comparison data 8 HO UM 000C8 UM 00198 UM 00268 UM 00338 Comparison data 9 HO UM 000D0 UM 001A0 UM 00270 UM 00340 Comparison data 10 HO UM 000D8 UM 001A8 UM 00278 UM 00348 Comparison data 11 HO UM 000 0 UM 001B0 UM 00280 UM 00350 Comparison data 12 HO UM 000E8 UM 001B8 UM 00288 UM 00358 Comparison data 13 HO UM 000F0 UM 001C0 UM 00290 UM 00360 Comparison data 14 HO UM 000F8 UM 001C8 UM 00298 UM 00368 Comparison data 15 HO Set the data for band comparison or target value match comparison The formats to be set differ between the band comparison and the target value match comparison Each item occupies 8 word area The unit memory numbers UM indicate starting addresses For detai
117. ndividual input 1 multiple H4 Individual input 2 multiple 5 Direction detection input 1 multiple H6 Direction detection input 2 multiple Set counter operations by the input Z signal H0 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 H5 Preset operation at rising edge UM 002C9 j a H6 Preset operation at trailing edge H7 Positive logic preset operation H8 Negative logic preset operation Set counter operations by the control 0 signal H0 Not used H1 Positive logic enable operation UM 0005A H2 Negative logic bou operation H3 Positive logic enable operation reset operation UM 0012A Control 0 signal Ho at rising edge u UM 001FA function setting H4 Negative logic enable operation and reset operation at trailing edge UM 002GA H5 Positive logic enable operation and preset 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 HO H0 Not used _ UM 001FB 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 11 11 Specifications B Count function
118. nn enne 3 5 3 2 1 W O Terminal Layout Diagram sse 3 5 3 3 Input Output Specifications e 3 7 3 3 1 Input Specification a u D ener au usa 3 7 3 3 2 Output Specifications 3 7 3 4 Precautions on Wiring and Connection of Count Input 3 8 3 4 1 Precautions on Wiring u essen enne 3 8 3 4 2 For Line Driver of Encoder Input 3 8 Table of Contents 3 4 3 For Transistor Open Collector Type of Encoder Input 3 9 3 4 4 For Sensor Input u eet lb rete etas 3 9 Unit Allocation and Parameter Settings 4 1 LN MENSIS ocio me PC 4 2 4 1 1 Confirmation of I O Allocation Information 4 2 41 2 Number of Occupied Points of High speed Counter Unit 4 3 41 3 Registration in I O Map 4 4 4 2 Configuration of High speed Counter Unit 4 5 4 2 1 Configuration Using Tool Software sse 4 5 4 2 2 Configuration Data Setting ltems wawi 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 D
119. nput B OFF oh E a SE f 3 4 34 4 1 3 2 multiple GE p Sh PCL p nput B OFF 4 multiple F3 f fr r SI p nput B OFF B Count operation of individual input Multipli Time chart cation factor Addition Subtraction muta et f L L H 1 multiple thei eC L LOL 7 0 WANI AA __ o o 4 2 multiple nput B 1 f f f B Count operation of direction detection input Multipli Time chart cation AA factor Addition Subtraction nput A A 4 4 l 4 4 l 4 1 multiple ON a lt 7 F p nput B OFF nput A uid 4 4 4 4 4 4 I 2 multiple ON C M9 3 p nput B OFF 5 5 Count Function 5 2 Types of Count Operations 5 2 1 Types and Features of Count Operations B Types of count operations and input signals External input signal used Operation 2 Control Control Feature ontro ontro Type phase 1 signal signal signal 9 9 Simple count Performs the count operation regardless of external control operation input signals Reser count Performs the reset operation according to the change in the operation z phase input signal rising trailing positive logic or e p negative logic Preset count Performs the preset operation according to the change in operation the z phase input signal rising trailing positive logi
120. nput time constant input signals are processed without the time constant filter B 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 constant 2 us 5 us 10 us 20 us 50 us 20 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 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 5 19 Count Function 5 20 6 Measurement Function Measurement Function 6 1 Overview of Measurement Function 6 1 1 Types of Measurement Function B Measurement function e The measurement functi
121. numbers refer to 11 4 Unit Memory Detailed Specifications 8 20 9 Interrupt Program Activation Function Interrupt Program Activation Function 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 e f 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 counter unit 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
122. on 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 necessary B Types of measurement function Type Operation image Feature Frequency measurement function Time between pulses 1 bog JU UU UU Measures the time in which the count value changes and calculates the frequency Frequency Hz 1 Time between pulses s When there is no change in the count value for one second the result is 0 Hz Rotation speed measurement A function Time between pulses MEE JU Uu UU 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 Measures the time interval of the change in the counter and calculates the rotation speed rpm Rotation speed rpm 60 Time between pulses x 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 Rotation speed measurement B function Automatically calculates a ro
123. ory 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 8 5 Capture Function 8 2 Operations of Capture Function 8 21 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 B When Leading edge is set as the capture trigger condition Capture enable Y7 Capture trigger Control signal Count value UM003A0 UM003A1 Capture 0 register UM003A2 UM003A3 Capture 0 done flag X4 Capture enable Y7 Capture trigger Control signal Count value UM003A0 UM003A1 Capture 0 register UM003A2 UM003A3 Capture 0 done flag X4 8 6 8 2 Operations of Capture Function m When Leading edge and Trailing edge of the same signal are set as the capture trigger condition Capture ena
124. ositive logic enable operation and preset e e signal operation at rising edge Negative logic enable operation and preset operation at trailing edge m O Allocation n Effective ignal WA Signal name condition CHO CH1 CH2 CH3 Preset request ON edge Y103 Y113 Y123 Y133 Input Z signal monitor X10A X12A X14A 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 B Setting of preset values Unit memor A aun T y Name Default Setting range and description Unit Set preset values Preset 0 Setting range Pulse 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 5 14 5 3 Allocation of Reset Preset and Enable Signals Eee e Preset values are set in unit memories UM using the configuration menu or user programs 5 15 Count Function 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 ML orr i Activates the enable request signal by a user program e Allocates the control 0 signal to any of these operations u
125. panasonic com ac e dl center manual 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 FP7PG FP7 Positioning Unit FP7 Serial Communication Unit FP7 Positioning Unit Users Manual FP7 seri
126. ps each in X Y and Z directions 1 octave min Conforming to JISB3502 and IEC61 131 2 147 m s or more in X Y and Z directions three times each 1 000 V P P with pulse width of 1 us or 50 ns based on in house measurements Vibration resistance Shock resistance Noise resistance Environment Free from corrosive gases and excessive dust EU Directive applicable standard EMC Directive EN61131 2 Overvoltage category Category II Pollution degree Pollution level 2 Internal current consumption 65 mA or less Weight Approx 130 g 11 3 Specifications 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 4MHz 8MHz for individual input phases A and B Duty ratio 50 10 dian in 4MHz 8MHz for direction detection input Duty ratio 50 10 4MHz 8MHz for 2 phase input Duty ratio 50 10 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 Individual input 1 multiple 2 multiple 2 D
127. r 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 11 28 11 4 Unit Memory Detailed Specifications B 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 UM00582 UM00583 UM00782 UM00783 UM00982 UM00983 UMO00B82 UM00B83 Buffer 2 UM00584 UM00585 UM00784 U
128. request flag for CHO is Y100 Note 2 How the capture enable request signal works varies according to the functions to be used Specifications 11 3 List of Unit Memories B Check list of unit memories Unit memory UM number Setting monitor item CHO CH1 CH2 CH3 Common setting area Error code UM 00025 UM 00026 UM 00027 UM 00028 UM 00050 UM 00120 UM 001F0 UM 002C0 Count function setting area UM 0006F UM 0013F UM 0020F UM 002DF Measiifement function UM 00070 UM 00140 UM 00210 UM 002E0 setting area 00077 UMo0147 UMO00217 UM 002 7 Comparison function setting UM 00078 UM 00148 UM 00218 UM 002E8 area indiana UM 000FF UM 001CF UM 0029F UM 0036F setting area T UMO01DO UMOO370 External output function 00100 UM om Do dd ene Ta setting area UM 0010F UM 001DF UM 002AF UM 0037F Capture function setting UM 00110 UM 001E0 UM 002B0 UM 00380 area UM 00117 UM 001E7 UM 002B7 UM 00387 Interrupt function setting UMO00118 UMO001E8 UM002B8 UM00388 area UM0011F UM 001EF UM 002BF UM 0038F UMO003A0 UMO003BO UMO003CO UM003D0 Count value UMO003A1 UMO003B1 UMO003C1 UMO003D1 UM003A2 UM003B2 UM003C2 UM003D2 Capture 0 register gt UM003A3 UM003B3 UM003C3 UM003D3 UM003A4 UM003B4 UM003C4 UM003D4 Capture 1 register s UM003A5 UM003B5 UM003C5 UM003D5 Monitor area UM003A6 UM003B6 UM003C6 UM003D6
129. res 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 e The count values for the sampling time can be monitored by reading the difference value register Capture trigger External input signal Sampling capture processing i Sampling time i Sampling time 12 34 5678940 12 14 16 18 20 22 24 i26 28 30 32 Count value Capture 1 register XXXXX H M H V Capture register e uw V 7 difference value 8 1 Overview of Functions 8 1 2 Restrictions on Combinations Available conditions vary by functions B Comparison of functions Item Capture function Sampling capture function Usable number of points Used unit memory UM area Note 1 Max 2 points Max 1 point The capture function cannot be used when using the sampling capture function Individually usable Capture 0 register 1 point 2 words Capture 1 register 1 point 2 words Use Capture 0 register 1 point 2 words Difference value register Value of Capture 1 register Value of Capture 0 register 1 point 2 words Buffer function Note 2 Data in the capture registers are shifted to executing the capture function the buffer area in sequence when For the capture 0 register capture 1 register difference value register when activating the capture 0 and difference value r
130. rning 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 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 FP7 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 http industrial
131. s e The 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 Confirming Error Code B 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 1 0 signals and unit memories Signal name CHO 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 UMO00025 UM00026 UM00027 UMO00028 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 10 2 10 1 Self diagnostic Function 10 1 3 Clearing Errors Using User Pro
132. s displayed Double click a desired slot The Unit selection dialog box is displayed 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 ae Input time constant ee counter unit B Installation 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 Exdude this unit from the target for I O refresh The selected unit is now registered in the I O map 4 2 Configuration of High speed Counter Unit 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 B Setting method The following procedure describes the process when the high speed counter unit has been already allocated in the 1 0 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
133. s of target value i ae d l d 15141342 11 10 9 8 7i 6 5 4 3 2 1 0 i Subtraction reset pattern 1 Set output 0 No change 4544434241140 9 7 e 5 alg 2l 1 0 i Addition reset pattern 1 Reset output 0 No change 151141431121110 9 8 7 6l 5 4 31 21110 i Subtraction set pattern 1 Set output 0 No change 151413121110 91 8 71 6l 51 4 31 21 110 i Subtraction reset pattern 1 Reset output 0 No change Not used Reserved for system REFERENCE e For details of unit memory numbers refer to 11 4 Unit Memory Detailed Specifications 7 10 7 3 Operation of Band Comparison Function 7 3 Operation of Band Comparison Function 7 3 1 Examples of Linear counter Settings B Operation of band comparison match flag Lower limit 0 Upper limit NE i i ME Comparison data 0 Comparison data 1 Comparison data 2 I 6 9 E 1 r 1 g Comparison data 3 Comparison data 4 i iy p Comparison I I match 0 flag H 1 1 1 1 T 1 Comparison i I match 1 flag H T H 1 1 Comparison pH I I match 2 flag T 1 I H 1 1 Comparison uem jawwF match 3 flag H I m Examples of output pattern settings Band comparison Comparison value Output Comparison Comparison Comparison Comparison data Lower Upper pattem match 0flag match1 fla
134. sing the configuration menu Positive logic enable operation Control 0 Negative logic enable operation 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 e signal Positive logic enable operation Negative logic enable operation B I O Allocation Effective Signal name condition 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 The enable input works as a level signal 5 16 5 4 Reading Count Value and Changing Current Value 5 4 Reading Count Value and Changing Current Value 5 4 1 Areas Related to Count Value B 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 0 Setting range
135. son value data is specified with comparison FRE value 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 0 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 7 3 Comparison Function 7 2 Operation of Target Value Match Function 7 2 4 Examples of Linear counter Settings B Example of 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
136. t pattern 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 counter the set lower limit should be less than the upper limit For the ring counter they can be set in any range 4 7 Unit Allocation and Parameter Settings B 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 Output hold counter error occurs Not hold External Not hold Hold output 0 ON timing delay Setting range 0 to 1 000 ms 0 ms 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 Output hold counter error occurs Not hold External seung Not hold Hold output 1 ON timing delay Setting range 0 to 1 000 ms 0 ms ON hold time Setting range 0 to 1 000 ms 0 ms Note 1 The ON timing delay and ON hold time are enabled only when the band comparison function is used B Capture function Sett able for each channel 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 tra
137. tation of the encoder Pulse number per UM 00211 rotation U1 Setting range 1 to 1 048 575 The values out of the Pulse UM 00212 setting range are invalid UM 002E1 UM 002E2 UM 00073 Set averange Set the number of averaging of frequency measurement UM 00143 number of frequency Ho values Times UM 00213 measurement HO 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 ii measurement values Times UM 00214 measurement HO 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 n hi C Setting item Setting description CH1 CH2 B CH3 Select measurement function Frequency measurement and rotation speed measurement Ay Pulse number per rotation 1000 Set averange number of frequency measurement processes 2 times Set average number of rotation speed measurement processes 4 times Select comparison function Not use Select comparison input Count value Set number of comparison data 16 JE External output 0 signal setting Not output Output hold setting of external output 0 signal Not hold ON timing delay of external output
138. tation 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 Measures the time which counts the specified pulse number per rotation and calculates the rotation speed per rotation rpm 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 6 1 Overview of Measurement Function 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 B Setting area Unit memor aed No y Name Default Setting range and description Unit Hex HO Not use measurement function UM 00070 H1 Frequency measurement UM 00140 Select measurement HO 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 Set the pulse number for one ro
139. the capture done flag X4 X5 stays ON Note that when reading multiple capture data executed in the high speed counter unit 8 17 Capture Function 8 5 A 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 m 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 Hio st UM00115 High speed counter High speed counter operation requesting operation stop R100 R101 S1 0TO DF High speed counter High speed counter Operation ready operation requesting operation stop request S1 OTO Operation ready request S1 INO Arbitrary program Operation ready done flag
140. tion 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 processes No averaging 2 4 8 16 32 64 128 times No averaging B Comparison function Settable for each channel item Description Default Not use DEUM nenon Band comparison Not use Target value match comparison Count value SDA WAA input 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 eae lower and upper limits for each comparison data Comparison data 15 Setting range 2 147 483 648 to 2 147 483 647 ae bem Select the set patterns on or off for the comparison match 0 flag OFF P 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 Necharigs match Addition reset pattern Reset output no change Subtraction set pattern Set output no change Subtraction rese
141. tion reset pattern 15 Comparison data 15 i Subtraction set pattern 15 i Subtraction reset pattern 15 i Setting for Target value match comparison m Example of settings by FPWIN GR7 7 2 Operation of Target Value Match Function Setting item Setting description E Comparison function Select comparison function Target value match comparison Select comparison input Count value Set number of comparison data 7 Comparison data 0 Target value 500 E Addition set pattern Addition set pattern No change Addition set pattem 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 7 No change Addition set pattern 8 No change Addition set pattern 9 No change 7 9 Comparison Function 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 e When using user programs set data in corresponding unit memory numbers Example 1 For the comparison data 0 of CHO it is allocated to UMO0080 to UM00087 Example 2 For the comparison data 1 of CHO it is allocated to UM00088 to UMOOO8F e The bit numbers 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 i i Target values High word
142. tput 1 signa lonitors the output state of external output monitor signal X8 X28 X48 X68 Input A 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 X2A 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 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 Q 3 D Flag to reflect the results of the band comparison x1A 2 X3A Z X5A X7A Comparison match A flag function or target value match function X1F xaF X5F X7F Comparison match F flag 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 done flag for CHO is X100 4 1 Unit Allocation B Output relays number Name ppt Description CHO CH1 CH2 CH3 condition
143. unction 8 10 9 3 1 eate te bebe uha e ids 8 10 8 8 2 Continuous Operation U L 8 11 8 4 Operations of Buffer Function 8 12 8 4 1 Overview of Buffer Function 8 12 8 5 Reading Capture Data anime 8 14 8 5 1 Reading Capture Register 8 14 8 5 2 Reading Buffer Area Data sse 8 15 8 5 3 Operation and Readout of 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 sse 8 20 8 6 2 Sample 2 8 20 Table of Contents 9 Interrupt Program Activation Function 9 1 9 1 Interrupt Program Activation Function 9 2 9 1 1 Overview of Interrupt Program enne 9 2 9 1 2 Settings of High speed Counter Unit 9 2 9 1 3 Overview of Interrupt Program nenne 9 2 9 1 4 Precautions for Use U nnne 9 4 10 Wh
144. 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 detection 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
145. valent to one rotation Sets the time to 9 measurement B reach the specified number of pulses per one rotation and calcualtes the rotation function speed from the time required for one rotation 11 1 Specifications 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 3 2 ae Read as input relays X by user programs o 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 2 function reaches the target value 2 son 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 c Comparison result external output relays can be changed output function delay p ON hold time 8 ON timing delay and ON hold time z ut 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 one of the following functions is usable Max 2 points Capture function Stores the count value wh

Download Pdf Manuals

image

Related Search

Related Contents

Deutsch English Español Italiano  AXM-D Series and AXM-EDK User`s Manual  T512-SE1  Wichtige Hinweise zum Gebrauch  Minka Lavery 9144-407 Installation Guide  Management Guideline No 1 User Guide for Approvals Matrix for  Dataflex ViewMaster M6 Monitor Arm 252  Mod le Ch que Abondance  slides  

Copyright © All rights reserved.
Failed to retrieve file