User Manual

269 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).
00041 2 Counter
Start(1)/
Stop(0)
R/W 40039~40040 1
Set Absolute Pulse
5
R/W
00042 Clear Coun-
ter(1)
Write 40041~40042 2 R/W
00043 Clear
Overflow
3
R/W 40043~40044 3 R/W
00044 DI Latch
Status
4
R/W 40045~40046 4 R/W
00045 3 Counter
Start(1)/
Stop(0)
R/W 40047~40048 5 R/W
00046 Clear Coun-
ter(1)
Write
00047 Clear
Overflow
3
R/W 40049~40050 0 Set Incremental
Pulse
6
R/W
00048 DI Latch
Status
4
R/W 40051~40052 1 R/W
00049 4 Counter
Start(1)/
Stop(0)
R/W 40053~40054 2 R/W
00050 Clear Coun-
ter(1)
Write 40055~40056 3 R/W
00051 Clear
Overflow
3
R/W 40057~40058 4 R/W
00052 DI Latch
Status
4
R/W 40059~40060 5 R/W
00053 5 Counter
Start(1)/
Stop(0)
R/W 40211 All Module Name
00054 Clear Coun-
ter(1)
Write 40301 All DI Value Read
00055 Clear
Overflow
3
R/W 40303 All DO Value R/W
00056 DI Latch
Status
4
R/W 40305 0~15 GCL Internal Flag
Value
7
R/W