AH500 Module Manual 
7-16 
 
 
(2)  Using the instruction FROM 
Please refer to AH500 Programming Manual for more information. Users can read parameters 
in AH04HC-5A by means of the instruction FROM. The parameters read are stored in the data 
registers specified. If the users add the data registers to the monitoring table in ISPSoft, they 
can monitor the parameters when the program is executed. 
 
7.7  Parameter Table 
CH0  CH1  CH2  CH3  Attribute  Register name 
Default 
value 
Remark 
#0  #28  #56  #84  R/W 
Operation of a 
counter (*1) 
16#0000  Bit 0~bit 6 
#1  #29  #57  #85  R/W  Input pulse type  0  0~3 
#2  #2  #2  #2  R/W 
Frequency of an 
input pulse 
0 
0 (The setting of the 
frequency of an input pulse 
is disabled.), or 4~19 
#3  #31  #59  #87  R/W 
Cycle of reading 
the number of 
pulses   
10  1~1000 (Unit: ms) 
#4  #32  #60  #88  R/W 
Counting 
parameters 
0  Bit 0~bit 10 
#5  #33  #61  #89  R/W 
Selecting a 
prescale function 
0  0~4 
#6  #34  #62  #90  R/W 
Setting a prescale 
value 
0  0~32767 
#7  #35  #63  #91  R/W  Number of cycles  0  2~60 
#8  #36  #64  #92  R/W 
Upper-upper limit 
value (Low word) 
0 
-200000~200000 
#9  #37  #65  #93  R/W 
Upper-upper limit 
value (High word) 
0 
#10  #38  #66  #94  R/W 
Upper-lower limit 
0  -200000~200000