Standard software
Task:
Reads the current value of the second counter/timer if used as a counter
or reads the timer status if used as a timer.
Counter: the counting value is decremented each time the input changes
from low to high. This counting value can be read with this
function.
Timer:
the timer value is decremented each time the input clock changes
from low to high. This timer value can be read with this function.
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The counter or timer has not been initialised.
Please use function "i_PA1500_InitTimerCounter2"
15) i_PA1500_ReadCounter3 (...)
Syntax:
<Return value> = i_PA1500_ReadCounter3
Parameters:
BYTE
PLONG_
Task:
Reads the current value of the third counter/watchdog if used as a counter.
Counter: the counting value is decremented each time the input changes
from low to high. This counting value can be read with this function.
Return value:
0: No error
-1: The handle parameter of the board is wrong
-2: The counter has not been initialised.
-3: The counter/watchdog has been initialised as a watchdog.
Please use function "i_PA1500_InitWatchdogCounter3"
80
b_BoardHandle
pl_ReadValue
(BYTE b_BoardHandle,
PLONG pl_ReadValue)
Handle of the PA 1500
When the counter/watchdog is used as
a counter, it returns the current value of
the counter
.
PA 1500
Need help?
Do you have a question about the ADDINUM PA 1500 and is the answer not in the manual?
Questions and answers