Measurement Computing CB-7080 User manual

CB-7080 & CB-7080D
Counter/Timer
User’s Guide
Document Revision 2, September, 2005
© Copyright 2005, Measurement Computing Corporation

Your new Measurement Computing product comes wit a fantastic extra —
Management committed to your satisfaction!
Refer to www.mccdaq.com/execteam.html for the names, titles, and contact information of each key executive at
Measurement Computing.
Thank you for choosing a Measurement Computing product and congratulations! You own the finest, and
you can now enjoy the protection of the most comprehensive warranties and unmatched phone tech support.
It’s the embodiment of our two missions:
To offer the highest-quality, computer-based data acquisition, control, and GPIB hardware and software
available at the best possible price.
To offer our customers superior post-sale support FREE. Whether providing unrivaled telephone
technical and sales support on our latest product offerings, or continuing that same first-rate support on
older products and operating systems, we’re committed to you!
30 Day Money Back Guarantee
: You may return any Measurement Computing Corporation product within
30 days of purchase for a full refund of the price paid for the product being returned. If you are not satisfied,
or chose the wrong product by mistake, you do not have to keep it. Please call for an RMA number first. No
credits or returns accepted without a copy of the original invoice. Some software products are subject to a
repackaging fee.

ii
Information furnished by Measurement Computing Corp. is believed to be accurate and reliable. However, no
responsibility is assumed by Measurement Computing Corp. neither for its use; nor for any infringements of patents or
other rights of third parties, which may result from its use. No license is granted by implication or otherwise under any
patent or copyrights of Measurement Computing Corp.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form
by any means, electronic, mechanical, by photocopying, recording or otherwise without the prior written permission of
Measurement Computing Corp.
Notice
Measurement Computing Corporation does not authorize any Measurement Computing Corporation product
for use in life support systems and/or devices without the written approval of the CEO of Measurement
Computing Corporation. Life support devices/systems are devices or systems which, a) are intended for
surgical implantation into the body, or b) support or sustain life and whose failure to perform can be
reasonably expected to result in injury. Measurement Computing Corporation products are not designed with
the components required, and are not subject to the testing required to ensure a level of reliability suitable for
the treatment and diagnosis of people.

iii
Table of Contents
1
11
1 Introduction .......................................................................................... 1-1
Comparing the 7080 and 7080D 1-1
Pin assignments 1-2
Specifications 1-2
Frequency measurement 1-2
Digital output 1-3
Power 1-3
Power consumption 1-3
Functional block diagram 1-3
Application wiring 1-4
Output drive to SSR or other load 1-4
Frequency Input 1-4
Counter input 1-5
Frequency input measurement 1-5
Default settings 1-6
Application notes 1-6
Counter/Frequency input mode selection 1-6
Counter alarm mode selection 1-7
Digital output application notes 1-7
Programmable threshold voltage setting 1-8
Digital filter setting 1-8
Preset value setting 1-9
Frequency input applications 1-9
Configuration Code 1-10
2
22
2 Command Set ....................................................................................... 2-1
Overview 2-1
General syntax format 2-1
General Commands 2-2
Frequency commands 2-2
General counter commands 2-2
Alarm mode 0 commands 2-3
Alarm mode 1 commands 2-3
LED commands 2-3
%AANNTTCCFF 2-4
#AAN 2-1
~** 2-2
~AA0 2-3
~AA1 2-4
~AA2 2-5
~AA3ETT 2-6
~AAAS 2-7
~AAO(name) 2-8
$AA0H 2-9
$AA0H(data) 2-10
$AA0L 2-11
$AA0L(data) 2-12
$AA1H 2-13
$AA1H(data) 2-14
$AA1L 2-15
$AA1L(data) 2-16
$AA2 2-17
$AA3N 2-18
$AA3N(data) 2-19
$AA4 2-20
$AA4S 2-21
$AA5N 2-22
$AA5NS 2-23
$AA6N 2-24

CB-7080 & CB-7080D Counter/Timer User's Guide
iv
$AA7N 2-25
$AA8 2-26
$AA8V 2-27
$AA9(data) 2-28
$AAG 2-29
$AAAG 2-30
$AAB 2-31
$AABS 2-32
$AAF 2-33
$AAI 2-34
$AAM 2-35
@AADI 2-36
@AADO0D 2-38
@AAEAN 2-39
@AAEAT 2-40
@AACA 2-41
@AADA 2-42
@AADAN 2-43
@AAGN 2-44
@AAPN(data) 2-45
@AAPA(data) 2-46
@AAPA(data) 2-47
@AASA(data) 2-48
@AASA(data) 2-49
@AARP 2-50
@AARP 2-51
@AARA 2-52
@AARA 2-53
3
33
3 Operating principle and application notes......................................... 3-1
INIT*_pin operation principle 3-1
D/O operation principles 3-1

1-1
1
Introduction
CB-7000 is a family of network data acquisition and control modules. They provide A/D, D/A, DI/O,
Timing/Counting and other functions. These modules can be remote controlled by a set of commands.
The common features of the CB-7080 and CB-7080D include:
Two independent 32-bit counters, counter 0 and counter 1.
Input signals can be isolated or non-isolated.
Programmable digital filter for isolated and non-isolated input.
External gate control for isolated and non-isolated input.
Programmable threshold value for non-isolated input.
Programmable alarm output.
Input frequency measurement up to 100 kHz.
The CB-7080D module identical to the CB-7080 with a 5-digit LED display added. The LEDs can display the
counter value and input signal frequency without PC control.
Comparing t e 7080 and 7080D
Table 1-1 summarizes the features of the CB7080 and CB7080D modules.
Table 1-1 Comparison between CB-7080 and CB-7080D
CB-7080 CB-7080D
5-digit LED display No Yes
Response to LED command No Yes
Module name programmable programmable
Counter preset value Yes (programmable) Yes (programmable)
Alarm on counter 0 only Yes (programmable) Yes (programmable)
Alarm on counter 0 and 1 Yes (programmable) Yes (programmable)
Channel 0 and channel 1 are both non-
isolated (input mode 0, $AAB0)
Yes Yes
Channel 0 and channel 1 are both
isolated (input mode 1, $AAB1)
Yes Yes
Channel 0 is non-isolated and channel
1 is isolated (input mode 2, $AAB2)
Yes Yes
Channel 0 is isolated and channel 1 is
non-isolated(input mode 3, $AAB3)
Yes Yes
Input frequency 100 kHz max. 100 kHz max.
Default setting 4080 compatible
High alarm on counter 0
and 1
Counter preset value: 0
4080D compatible
High/High-High alarm on counter 0
Counter preset value: 0

CB-7080 & CB-7080D Counter/Timer User's Guide Pin assignments
1-2
Pin assignments
The pin names and locations on the CB-7080D module are shown in Figure 1-1.
CB-7080D
Figure 1-1 CB-7080D pin identification
Specifications
CB-7080 Counter/Frequency Module
CB-7080D CB-7080 with LED Display
Counter Input Channels Two independent 32 bit counters, counter 0 and 1.
Input signal Isolated or non-isolated programmable
Isolation input levels:
Logic level 0 +1 V max
Logic level 1 +3.5 V to +30 V
Isolation voltage 3750 V RMS
Non-isolation input threshold level: Programmable
Logic level 0 0 to +5 V (default = 0.8 V)
Logic level 1 0 to +5 V (default = 2.4 V)
Maximum count 32 bit (4,294,967,295)
Programmable digital noise filter 2 µs to 65 ms
Alarming alarm on counter 0 or counter 0 and 1, programmable
Counter preset value Programmable
Display LED Indicator 5-digit read out, channel 0 or channel 1
Frequency measurement
Input frequency 1 Hz to 100 kHz max
Programmable built-in gate time 1.0 or 0.1 sec

CB-7080 & CB-7080D Counter/Timer User's Guide Functional block diagram
1-3
Digital output
Capacity 2 channels, open-collector to 30 V, 30 mA max load
Power Dissipation 300 mW
Power
Power Requirements +10V to 30V (non-regulated)
Power consumption
CB-7080 2.0 W
CB-7080D 2.2 W
Functional block diagram
Embedded
Controller
Programmable Digital Filter
EEPROM
RS-485
D+
D-
DC
DC
V+
V-
5V
0V
D/O
O.C.
Alarm
Output
5-digit LED (CB-7080D)
5V
Counter_0
Counter_1
5V
Gate0+
Isolated/Non-isolated input selection
Isolated/Non-isolated gate selection
Gate0-
5V
Gate1+
Gate1-
In0+
In0-
In1+
In1-
Gate0(TTL)
Gate1(TTL)
In0(TTL)
In1(TTL)
Programmable threshold voltage
Non-isolated inputs
Isolated inputs
5V
Figure 1-2 CB-7080D Block Diagram

CB-7080 & CB-7080D Counter/Timer User's Guide Application iring
1-4
Application wiring
Output drive to SSR or ot er load
CB-7080 and CB-7080D
Ext. GND
Ext. 24V
RS-485 Data-
RS-485 Data-
7
6
5
4
3
8
2
1
9
10
GND
+VS
Data+
Data-
In0
D.Gnd
Gate0
Init*
12
11 Gate1-
Gate1+
143
15-
16
17
18
13
19
20
In1-
Do1/Hi
Do0/Lo
In0+
Gate1
In1
In1+
Gate0-
Gate0+
In0-
SSR AC
+VS
+VS
R2
External Load
External Power
R1
1N4001
Figure 1-3 Output drive to SSR or other load
Note:
If the external load is resistive, the 1N4001 can be omitted. (transistor, lamp, resistor, etc.).
If the external load is inductive, the 1N4001 cannot be omitted. (relay coil, etc.).
Frequency Input
Use the $AABS command to select the isolated/non-isolated input.
Ext. GND
Ext. 24V
RS-485 Data+
RS-485 Data-
7
6
5
4
3
8
2
1
9
10
GND
+VS
Data+
Data-
In0
D.Gnd
Gate0
Init*
12
11
Gate1-
Gate1+
143
15-
16
17
18
13
19
20
In1-
Do1/Hi
Do0/Lo
In0+
Gate1
In1
In1+
Gate0-
Gate0+
In0-
CB-7080 & CB-7080D
Frequency 0
(isolated)
Frequency-1
(non-
isolated)
Frequency-0
(non-
isolated)
Frequency 1
(isolated)
Figure 1-4 Frequency input

CB-7080 & CB-7080D Counter/Timer User's Guide Application iring
1-5
Counter input
Ext. GND
Ext. 24V
RS-485 Data-
RS-485 Data-
7
6
5
4
3
8
2
1
9
10
GND
+VS
Data+
Data-
In0
D.Gnd
Gate0
Init*
12
11 Gate1-
Gate1+
143
15-
16
17
18
13
19
20
In1-
Do1/Hi
Do0/Lo
In0+
Gate1
In1
In1+
Gate0-
Gate0+
In0-
CB-7080 & CB-7080D
Counter-1
Input 1 & Gate-1
(isolated)
Counter-0
Input 0 & Gate-0
(isolated)
Counter-1 & Gate-1
(non-isolated)
Counter-0 & Gate-0
(non-isolated)
Figure 1-5 Counter input
Frequency input measurement
Perform the following procedure to measure the frequency input of each channel. Refer to Figure 1-4 for the
wire connection.
1. Power on and run the test.exe application.
2. Press 2
3. Press $012[Enter] Receive=!01500600
4. Press 2
5. Press %0101510600[Enter] Receive=>!01
6. Press 2
7. Press $01B0[Enter] Receive=!01
8. Press 2
9. Press #010[Enter] Receive=>????????
10. Press 2
11. Press #011[Enter] Receive=>????????
In step 3: the status of CB-7080 is COUNTER mode.
In step 5: Change to frequency mode.
In step 7: Select non-isolated input.
In step 9: Frequency measurement of channel-0.
In step 11: Frequency measurement of channel-1.
Note
The command $01B1 can be used in step 7 to select the isolated inputs. The commands $01B2 and $01B3 are
used for the other input mode selections.

CB-7080 & CB-7080D Counter/Timer User's Guide Default settings
1-6
Counter input measurement
Perform the following procedure to measure the counter input. Refer to Figure 1-5 for the wire connection.
1. Power on and run the
test.exe
application.
2. Press
2
3. Press
$012
[Enter] Receive=!01500600
4. Press
2
5. Press
$01B0
[Enter] Receive=!01
6. Press
2
7. Press
#010
[Enter] Receive=>????????
8. Press
2
9. Press
#011
[Enter] Receive=>????????
In step 3: The status of CB-7080 is COUNTER mode
In step 5: Select non-isolated input
In step 7: Counter measurement of channel-0
In step 9: Counter measurement of channel-1
Note:
The command $01B1 can be used in step 5 to select the isolated inputs. The commands $01B2 and $01B3 are
used for the other input mode selections.
Default settings
CB-7080 and CB-7080D default settings are listed in Table 1-2.
Table 1-2 Default Settings
Address 01
Baud rate 9600
Checksum disabled
Data bits 1 start + 8 data + 1 stop (no parity)
Type 50 (counter input)
Alarm CB-7080: High alarm on counter 0 and counter 1
CB-7080D High/High-High alarm on counter 0
Application notes
Counter/Frequency input mode selection
Select the counter/frequency input from either isolated or non-isolated signal inputs. Channel 0 and channel 1
can be selected separately. Four different input modes are listed in the following table. These four input
modes can be used in both the CB-7080 and the CB-7080D.
Table 1-3 Counter frequency input
Input Mode Command C annel 0 C annel 1
Input mode 0 $AAB0 Non-isolated Non-isolated
Input mode 1 $AAB1 Isolated Isolated
Input mode 2 $AAB2 Non-isolated Isolated
Input mode 3 $AAB3 Isolated Non-isolated

CB-7080 & CB-7080D Counter/Timer User's Guide Application notes
1-7
Counter alarm mode selection
There are no alarm functions in frequency mode (51). There are two counter alarm modes,
Alarm Mode 0
and
Alarm Mode 1
. These two alarm modes can be used in both CB-7080 and CB-7080D.
Alarm Mode 0 is used for two-channel applications, as follows:
To select alarm mode 0: ~AAA0 (for both channels)
To enable channel 0: @AAEA0
To disable channel 0: @AADA0
Set the High alarm limit of channel 0: @AAPA(data)
if (counter 0 >= alarm limit 0) D/O 0 turn ON
if (counter 0 < alarm limit 0) D/O 0 turn OFF
Enable channel 1: @AAEA1
Disable channel 1: @AADA1
Set the High alarm limit of channel 1: @AASA(data)
if (counter 1 >= alarm limit 1) D/O 1 turn ON
if (counter 1 < alarm limit 1) D/O 1 turn OFF
Alarm mode 1 is used for single-channel applications, as follows:
Select alarm mode 1: ~AAA1 (for channel 0 only)
Enable channel 0: @AAEAT
Disable channel 0: @AADA
Clear latch alarm: @AACA
Set High alarm limit: @AAPA(data)
Set High-High alarm limit: @AASA(data)
Counter 0 < High alarm OFF OFF
High alarm <= counter 0, and
counter 0 < High-High alarm
ON OFF
High-High alarm <= counter 0 ON ON
Note:
The High-High alarm must greater than the High alarm.
Digital output application notes
The D/O0 and D/O1 can be used as D/O or an alarm output, as follows:
D/O in the frequency mode.
D/O in the counter mode and alarm disabled (by @AADA or @AADAN command).
An alarm output in the counter mode and an alarm enable (by @AAEAT or @AAEAN command).

CB-7080 & CB-7080D Counter/Timer User's Guide Application notes
1-8
Table 1-4 Digital Alarm Configuration
D/O 0 D/O 1
Frequency mode D/O 0 D/O 1
Counter mode and alarm disabled D/O 0 D/O 1
Counter mode and alarm enable
(alarm mode 1, ~AAA1)
High alarm on counter 0 High-High alarm on counter 0
Counter mode and alarm enable (alarm
mode 0, ~AAA0 and @AAEA0)
Alarm on counter 0 D/O 1 or alarm on counter 1
Counter mode and alarm enable (alarm
mode 0, ~AAA0 and @AAEA1)
D/O 0 or alarm on counter 0 alarm on counter 1
Programmable t res old voltage setting
The programmable threshold voltage is valid for a non-isolated input of counter mode (50) and frequency
mode (51). The default settings are:
TTL compatible
Low trigger level = 0.8 volt
High trigger level = 2.4 volts
You can change the high trigger level by the $AA1H (data) command. The low trigger can be changed by the
$AA1L (data) command. The high trigger level must be greater than
the low trigger level.
Digital filter setting
The digital filter is disabled in frequency mode (51). It is designed as a pulse-width filter for both high/low
pulses, and is valid for both non-isolated and isolated inputs. The digital filter can be enabled or disabled. Key
points of digital filter usage include:
1. Use $AABS to select the input signal.
2. Use $AA0H(data) to set the minimum width of high level.
3. Use $AA0L(data) to set the minimum width of low level.
4. Use $AA4S to enable/disable the digital filter (both channels).
If the high width of the input signal is smaller than the minimum high width of digital filter, the input signal is
filtered out. Also, the low width of the input signal must be greater than the minimum low width of digital
filter.
For example, if the width of the input signal is >1000 µs, set the digital filter at 900 µs. Therefore, all noise
<900 µs is filtered out by the digital filter. These steps are given as follows:
$AAB0
$AA0H00900
$AA0L00900
$AA41

CB-7080 & CB-7080D Counter/Timer User's Guide Application notes
1-9
Gate control setting
The gate control is ignored in frequency mode (51). The gate control is disabled in counter mode (50) by
default. Use the following commands to enable/disable the gate control:
When you use the $AAA0 command, the gate input must be low to enable the counter.
When you use the $AAA1 command, the gate input must be high to enable the counter.
When you use the $AAA2 command, the gate input is disabled. The counter is
always enabled.
Preset value setting
The preset value is ignored in frequency mode (51). The counters go to their preset value in the first power-on
state. The reset counter command, $AA6N, also forces the counters to go to their preset value. The default
preset value is 0. Use the $AAPN(data) command to change the preset value. The key points include:
Table 1-5: Preset values
Factory default setting Counter preset value is 0
Power on state Counters 0/1 are set to the preset value
$AA6N Counter N is set to the preset value
$AAPN(data) Sets the preset value of counter N
Frequency input applications
To set the module to frequency mode set the configuration code to 51in the Set module configuration
command.
Table 1-6 Frequency mode settings
Command Result - Frequency 0 Result - Frequency 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) & $AA1L(data)
Non-isolated channel 0 and
threshold voltage values active
Isolated channel 1
$AAB3 to set input mode 3
$AA1H(data) & $AA1L(data)
Isolated channel 0 Non-isolated channel 1 and
threshold voltage values active
To measure frequency:
1. Use the $AA1H(data) and $AA1L(data) commands to set the threshold voltage values, if the frequency
input is a non-isolated input.
2. Use the $AAB? command to select the mode (this command will clear the current frequency first).
3. Use the #AA? command to perform frequency measurement.
Only four commands are important in frequency measurement mode:
$AAB? Select mode
$AA1H(data) Set high-level threshold value
$AA1L(data) Set low-level threshold value
#AA? Perform frequency measurement
The status-read-back commands are:
$AAB? Mode read back
$AA1H High_level threshold value read back
$AA1L(data) Low_level threshold value read back

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

2-1
2
Command Set
Overview
The commands in this section are grouped by function, and summarized as listed below.
Table Function Description
Table 2-1 General Command s Read a module's name, status, firmware number and init pin
Read/write a module's configuration
Read or enable the watchdog timer
Table 2-2 Frequency Command s Set or read the input mode and trigger levels of a module
Table 2-3 General Counter
Commands
Set or read counter input settings of a module
Table 2-4 Alarm Mode 0
Commands
Used in two-channel applications to set a different alarm mode for
each channel.
Table 2-5 Alarm Mode 1
Commands
Used in two-channel application to set the same alarm mode for each
channel.
Table 2-6 LED Commands Get or set LED configuration
To send data to the LED
General syntax format
Commands are constructed with individual pieces of information represented as code. Each command is
structured as follows:
One-character Delimiter that indicates the type of command to execute.
Two-character HEX module address, from 00 to FF
Function, which indicates the task to execute.
Terminator character, to indicate the end of the command.
This section lists the commands to use to perform specific functions. When writing a command, replace the
generic address with the address of the module you want to perform the task on. For example, to read the
name of module 1:
Select $AAM, the command used to read the name of a module (see page 35).
1. Replace the address (AA) with 01, to indicate module 1.
2. Terminate the command with a carriage return (cr).
This command would then be written as $01M(cr).

CB-7080 & CB-7080D Counter/Timer User's Guide General syntax format
2-2
Delimiter c aracters
The characters %, #, ~, %, $, @ are used as the leading character in a command. These characters indicate the
type of command to execute.
Delimiter C aracter Usage
% Set the configuration of a module.
#
~ Reset the data.
$ Get/set (read/write) module information.
[ ] Characters inside [ ] indicate optional code characters, such as [chk]
(cr) Indicates the end of the command.
! Always the leading character in the response to a command.
General Commands
Table 2-1 General Command Set
Command Response Description Reference
%AANNTTCCFF !AA Set the module configuration Page 2-4
#AAN >(data) Read the counter or frequency Page 2-1
~** No Response Host OK Page 2-2
~AA0 !AASS Read the module status Page 2-3
~AA1 !AA Reset the module status Page 2-4
~AA2 !AATT Read the Host Watchdog Timer Page 2-5
~AA3ETT !AA Enable the Host Watchdog Timer Page 2-6
~AAO(name) !AA Set the module name Page 2-8
$AA2 !AATTCCFF Read the module configuration Page 2-17
$AAF !AA(data) Read the firmware number Page 2-33
$AAI !AAS Read the value of INIT* pin Page 2-34
$AAM !AA(data) Read the module name Page 2-35
Frequency commands
Table 2-2 Frequency Command Set
Command Response Description Reference
$AAB !AAS Read the input mode Page 2-31
$AABS !AA Set the input mode Page 2-32
$AA1H !AA(data) Read the high trigger level Page 2-13
$AA1H(data) !AA Set the high trigger level Page 2-14
$AA1L !AA(data) Read the low trigger level Page 2-15
$AA1L(data) !AA Set the low trigger level Page 2-16
General counter commands
Table 2-3 General Counter Command Set
Command Response Description Reference
~AAAS !AA Set the counter alarm mode Page 2-7
$AA0H !AA(data) Read the minimum width of High Page 2-9
$AA0H(data) !AA Set the minimum width of High Page 2-10
$AA0L !AA(data) Read the minimum width of Low Page 2-11
$AA0L(data) !AA Set the minimum width of Low Page 2-16
$AA1H !AA(data) Read the high trigger level Page 2-13
$AA1H(data) !AA Set the high trigger level Page 2-14

CB-7080 & CB-7080D Counter/Timer User's Guide General syntax format
2-3
Command Response Description Reference
$AA1L !AA(data) Read the low trigger level Page 2-15
$AA1L(data) !AA Set the low trigger level Page 2-16
$AA3N !AA(data) Read the max. counter value Page 2-18
$AA3N(data) !AA Set the max. counter value Page 2-19
$AA4 !AAS Read the filter status Page 2-20
$AA4S !AA Set the filter status Page 2-21
$AA5N !AAS Read the counter status Page 2-22
$AA5NS !AA Set the counter status Page 2-23
$AA6N !AA Reset the counter Page 2-24
$AA7N !AAS Read the overflow status Page 2-25
$AAA !AAG Read the gate control mode Page 2-29
$AAAG !AA Set the gate control mode Page 2-30
$AAB !AAS Read the input mode Page 2-31
$AABS !AA Set the input mode Page 2-32
@AADI !AAS0D00 Read the D/O and alarm state Page 2-36
@AADO0D !AA Set the D/O value Page 2-38
@AAGN !AA(data) Read the preset value Page 2-44
@AAPN(data) !AA Set the preset value Page 2-45
Alarm mode 0 commands
Table 2-4 Alarm-mode 0 Command Set
Command Response Description Reference
@AAEAN !AA Enable the alarm Page 2-39
@AADAN !AA Disable the alarm Page 2-43
@AAPA(data) !AA Set the counter 0 alarm value Page 2-46
@AASA(data) !AA Set the counter 1 alarm value Page 2-48
@AARP !AA Read the counter 0 alarm value Page 2-50
@AARA !AA Read the counter 0 alarm value Page 2-52
Alarm mode 1 commands
Table 2-5 Alarm-mode 1 Command Set
Command Response Description Reference
@AAEAT !AA Enable the alarm Page 2-40
@AACA !AA Clear the latch alarm Page 2-41
@AADA !AA Disable the alarm Page 2-42
@AAPA(data) !AA Set the Hi-alarm value Page 2-46
@AASA(data) !AA Set the Hi-Hi-alarm value Page 2-48
@AARP !AA Read the Hi-alarm value Page 2-51
@AARA !AA Read the Hi-Hi-alarm value Page 2-53
LED commands
Table 2-6 LED Command Set
Command Response Description Reference
$AA8 !AAS Read LED configuration Page 2-26
$AA8V !AA Set LED configuration Page 2-27
$AA9(data) !AA Send data to LED Page 2-28

CB-7080 & CB-7080D Counter/Timer User's Guide %AANNTTCCFF
2-4
%AANNTTCCFF
Description
: Set the configuration of a module.
Syntax
: %AANNTTCCFF[chk](cr)
% A delimiter character.
AA Current 2-character HEX module address, from 00 to FF
NN New 2-character HEX module address, from 00 to FF
TT Input type code, refer to Table 1-10.
CC Baud rate code, refer to Table 1-8.
FF Status code, refer to Table 1-9.
[chk] 2-character checksum. If checksum is disabled, no [chk]
(cr) 0x0D
Response:
Valid response: !AA[chk](cr)
Invalid response: ?AA[chk](cr)
No response Syntax error, communication error or address error.
! A delimiter character indicating a valid response
? A delimiter character indicating an invalid response
AA 2-character HEX module address
[chk] 2-character checksum. If checksum is disabled, no [chk]
(cr) 0x0D
Examples
:
The address of module 01 is configured to a new address 02, counter mode:
command: %0102500600(cr)
response: !02(cr)
Change to frequency mode:
command: %0202510600(cr)
response: !02(cr)

CB-7080 & CB-7080D Counter/Timer User's Guide #AAN
2-1
#AAN
Description:
Read the counter or frequency value.
Syntax
: #AAN[chk](cr)
# A delimiter character
AA 2-character HEX module address, from 00 to FF
N=0 Read Channel-0 counter or frequency value
N=1 Read Channel-1 counter or frequency value
[chk] 2-character checksum. If checksum is disabled, no [chk]
(cr) 0x0D
Response
:
Valid response [chk](data)(cr)
invalid response No Response
no response Syntax error, communication error or address error.
> A delimiter character indicating a valid response
(data) 8-character data (in HEX format)
[chk] 2-character checksum. If checksum is disabled, no [chk]
(cr)=0x0D
Examples
:
Counter − 0=0x1E=30 (in decimal):
command: $012(cr)
response: !01500600(cr)
command: #010(cr)
response: >0000001E(cr)
Frequency − 1=0x1E Hz = 30 Hz (in decimal):
command: $022(cr)
response: !02510600(cr)
command: #021(cr)
response: >0000001E(cr)
This manual suits for next models
1
Table of contents
Other Measurement Computing Cash Counter manuals