Ch ap te r 7 High-s pee d C oun ter Modu le AH0 2HC /AH0 4HC7 - 1 7CH0 CH1 CH2 CH3 Attribute Register name Defaultvalue Remarkvalue (Low word)#11 #39 #67 #95 R/W Upper-lower limitvalue (High word) 0#12 #40 #68 #96 R/W Lower-upper limitvalue (Low word) 0-200000~200000#13 #41 #69 #97 R/W Lower-upper limitvalue (High word) 0#14 #42 #70 #98 R/W Lower-lower limitvalue (Low word) 0-200000~200000#15 #43 #71 #99 R/W Lower-lower limitvalue (High word) 0#16 #44 #72 #100 R/W Comparison value(Low word) 0-999999999~999999999#17 #45 #73 #101 R/W Comparison value(High word) 0#18 #46 #74 #102 R/W Interrupt triggeredby a comparison 0 0~31#19 #47 #75 #103 R Operating state of acounter 16#0000 Bit 0~bit 6#20 #48 #76 #104 R Number of sampledpulses (Low word) 0-200000~200000#21 #49 #77 #105 R Number of sampledpulses (High word) 0#22 #50 #78 #106 RNumber ofaccumulatedpulses (Low word)0-999999999~999999999#23 #51 #79 #107 RNumber ofaccumulatedpulses (High word)0#24 #52 #80 #108 R Number of inputpulses (Low word) 0-2147483648~2147483647#25 #53 #81 #109 R Number of inputpulses (High word) 0#26 #54 #82 #110 R Error code 0 Six error codes#27 #55 #83 #111 Reserved*1: CR0, CR28, CR56, and CR84 can only be used as normal exchange registers. They can not beset by means of the instruction TO.7.8 Writing ParametersUsers can set the parameters in AH02HC-5A/AH04HC-5A by means of ISPSoft, and setCR0/CR28/CR56/CR84 by means of the output devices assigned to AH02HC-5A/AH04HC-5A. Theusers can also set the parameters in AH02HC-5A/AH04HC-5A by means of the instruction TO orDTO.(1) Software: ISPSoftAfter AH02HC-5A/AH04HC-5A is installed, HWCONFIG in ISPSoft can be used to set theparameters in AH02HC-5A/AH04HC-5A. Users can not start AH02HC-5A/AH04HC-5A bymeans of HWCONFIG in ISPSoft. However, CR0, CR28, CR56, and CR84 can be set by theoutput devices assigned to AH02HC-5A/AH04HC-5A in the program written in ISPSoft.(2) Instruction: TO or DTOParameters can be changed by means of the instruction TO or DTO. WhenAH02HC-5A/AH04HC-5A counts, users can not change parameters. The change of parameters