User Manual

261 Appendix B
Remarks
1. How to retrieve the counter/frequency value:
Counter (decimal) = (value of 40002) x 65535 + (value of 40001)
Frequency (decimal) = (value of 40001)/10 Hz
2. Time Unit: 0.1 ms
3. If the count number is overflow, this bit will be 1. Once this bit is
read, the value will return to 0.
4. When DI channel is configured as “High to low latch” or “Low to
high latch”, this bit will be 1 if the latch condition occurs. After
that, value of this bit will keep 1 until user writes 0 to this bit (clear
the latch status).
5. Decide how many pulses will be generated. When user writes 0 to
this bit, it will continuously generate pulse.
6. During the pulse generation, user can use this bit to generate more
pulses. For example, “Absolute pulse” is set as 100. During its gen-
eration, user can set “Incremental pulse” as 10. After the 100 pulses
are generated, the extra 10 pulses will continue to be generated.
00065 8 Counter Start(1)/
Stop(0)
R/W
00066 Clear Counter(1) Write
00067
Clear Overflow
3
R/W
00068
DI Latch Status
4
R/W
00069 9 Counter Start(1)/
Stop(0)
R/W
00070 Clear Counter(1) Write
00071
Clear Overflow
3
R/W
00072
DI Latch Status
4
R/W
00073 10 Counter Start(1)/
Stop(0)
R/W
00074 Clear Counter(1) Write
00075
Clear Overflow
3
R/W
00076 R/W
00077 11 Counter Start(1)/
Stop(0)
R/W
00078 Clear Counter(1) Write
00079
Clear Overflow
3
R/W
00080
DI Latch Status
4
R/W