CB-7080 & CB-7080D Counter/Timer User's Guide
Application
notes
1-10
Counter input applications
To set the module to frequency mode set the configuration code to
50
in the Set module configuration
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 voltage values active
Non-isolated channel 1 and
threshold voltage values active
$AAB1 to set input mode 1
Isolated channel 0
Isolated channel 1
$AAB2 to set input mode 2
$AA1H(data) and $AA1L(data)
Non-isolated channel 0 and
threshold voltage values active
Isolated channel 1
$AAB3 to set input mode 3
$AA1H(data) and $AA1L(data)
Isolated channel 0
Non-isolated channel 1 and
threshold voltage values active
Note:
The threshold voltage value commands $AA1H(data) and $AA1L(data) are effective for non-isolated inputs
only.
Configuration Codes
Use the configuration codes listed in the following tables to set or read back the baud rate, the status , and the
input type configuration codes 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