Counter input applications, Configuration code, Configuration code -10 – Measurement Computing CB-7080 User Manual
Page 14

CB-7080 & CB-7080D Counter/Timer User's Guide
Application notes
1-10
Counter input applications
The counter mode type is indicated by entering 50 in the command.
Table 1-7. Counter mode settings
Counter 0
Counter 1
$AAB0 to set input mode 0
$AA1H(data) and $AA1L(data)
Non-isolated channel 0 and
threshold value active
Non-isolated channel 1 and
threshold value active
$AAB1 to set input mode 1
$AA1H(data) and $AA1L(data)
Isolated channel 0
Isolated channel 1
$AAB2 to set input mode 2
$AA1H(data) and $AA1L(data)
Non-isolated channel 0 and
threshold value active
Isolated channel 1
$AAB3 to set input mode 3
$AA1H(data) and $AA1L(data)
Isolated channel 0
Non-isolated channel 1 and
threshold value active
Note:
The threshold value commands $AA1H(data) and $AA1L(data) are effective to non-isolated inputs only.
Configuration Code
Use the configuration codes listed in the following tables to set the baud rate, check the status of, and set the
input type of a module.
Table 1-8. Baud Rate Configuration Code: CC
CC
Baud Rate
03
1200 BPS
04
2400 BPS
05
4800 BPS
06
9600 BPS
07
19200 BPS
08
38400 BPS
09
57600 BPS
0A
115200 BPS
Table 1-9. Status Configuration Code: FF, 2-char (for all)
7
6
5
4
3
2
1
0
0
checksum
0=disabled
1=enabled
0
0
0
frequency gate time
0: 0.1 second
1: 1.0 second
0
0
Table 1-10. Input Type Configuration Code: TT
TT
Input Range
50
Counter
51
Frequency