ADS-260 User Guide
11
4. Device configuration
4.1 Configuring IN1 as Counter input
The command enables counting mode on IN1. The Counter (0-65535) is cleared
according to a Clear Mode parameter, thereby acting as a Totalizer or a virtual
Analog Channel.
1150,n
1150: Command ID
n:
1, CNT number
4.1.1 Counter Scale factor
1154,n,f
1154: Command ID
n:
1, CNT number
f:
0.000-0.999, Counter Scale factor
4.1.2 Set Counter Clear Mode
1158,n,c
1158: Command ID
n:
1, CNT number
m: 0-1, 0
No Clear (Totalizer), 1
Clear on Sampling
4.1.3 Counter Preset
1181,n,v
1154: Command ID
n:
1, CNT number
f:
Preset value
4.1.4 Reset Counter
Resets the counter value to 0.
1180,n
1154: Command ID
n:
1, CNT number
4.1.5 Clear Counter Configuration
1160,n
1160: Command ID
n:
1, CNT number