CB-7000 is a family of network data acquisition and
control modules. They provide analog-to-digital, digital-to-analog,
digital input/output, timer/counter and other functions. These
modules can be remote controlled by a set of commands. The
common features of CD-7011/CB-701 1D, CB-7018 are as follows:
l3000VDC isolated analog input
l24-bits sigma-delta ADC to provide excellent accuracy
lThermocouples are directly connected with built-in CJC
lSoftware calibration
The CB-7011 is a single channel analog input module. The
CB-7011D is the CB-7011 with a 4½ digit LED display. The CB7018 is a 8-channel analog input module. The CB-7011P/11PD/
18P are enhanced versions of CB-7011/11D/18. The CB-7011P/
11PD/18P support two additional thermocouple types and enhance
the measurement range of some types.
1.1 More Information
Refer to “CB-7000 Bus Converter User Manual” chapter 1 for more information as following:
Channel 6 and 7 Wire Connection, while the jumper JP1 setting is 8 differential mode.
(Remove the cover to gain access
to jumper JP1.)
Channel 6 and 7 Wire Connection, while the jumper JP1 setting is INIT* mode.
CB-701 1/CB-7011D, CB-7018 User’s Manual
13
1.6 Quick Start
Refer to “CB-7000 Bus Converter User Manual” and
“Getting Start” for more details.
1.7 Default Setting
Default setting for CB-701 1/11D/1 1P/1 1PD/18/18P:
lAddress: 01
lAnalog Input Type: Type 05, -2.5 to +2.5 V
lBaud rate: 9600 bps
lChecksum disable, 60 Hz rejection, engineering unit format
lCB-7018/18P set as INIT* mode; there are six differential and
two single-ended analog inputs.
1.8 Jumper Setting
CB-7018/18P: Jumper JP1 for select the pin INIT*/Vin 7Select 8 differential mode; the pin INIT*/Vin7- is set to V in7-
Select INIT* mode; the pin INIT*/V in7- is set to INIT*
14
CB-7011/CB-7011D, CD-7018 User’s Manual
1.9 Calibration
Read Carefully Before Performing Calibration
Calibration Requirement for CB-7011/1 1D/1 1P/11PD/18/18P:
1.When calibrating a type 06, connect an external shunt resistor,
125 ohms, 0.1% (Ref Sec. 1.5).
2.Connect calibration voltage (or current) signal to module’ s input. For CB-7018/18P, connect to channel 0. (For wire connection reference, see Sec. 1.5)
3.Before calibration, warm-up the module for about 30 minutes
to improve the accuracy .
Example Calibration Sequence for T ype 00:
1.Set Type to 00.Refer to Sec. 2.1.
2.Enable Calibration. Refer to Sec. 2.20.
3.Apply Zero Calibration Voltage (0 mV)
4.Perform Zero Calibration Command Refer to Sec. 2.6.
5.Apply Span Calibration Voltage (15mV)
6.Perform Span Calibration Command Refer to Sec. 2.5.
7.Repeat step 1 to step 6 three times.
Calibration sequence for other type is similiar but different in step
1 to set different a type.
CB-701 1/CB-7011D, CB-7018 User’s Manual
15
1.10 Configuration Tables
Configuration T able of CB-701 1/1 1D/1 1P/1 1PD/18/18P:
Description: Set module Configuration
Syntax: %AANNTTCCFF[CHK](cr)
%a delimiter character
A Aaddress of setting module (00 to FF)
NNnew address for setting module (00 to FF)
TTnew type for setting module (Ref. Sec. 1.10)
CCnew baudrate for setting module (Ref. Sec. 1.10)
FFnew data format for setting module (Ref. Sec. 1.10)
When changing the baud rate or checksum, it is neces-
sary to short the INIT* pin to ground.
Response: Valid Command:!AA[CHK](cr)
Invalid Command: ?AA[CHK](cr)
A syntax error or communication error may yield no
response.
!delimiter for valid command
?delimiter for invalid command. If you change baud rate
or checksum setting without shorting INIT* to ground, the
module will return invalid command.
Description: Synchronized Sampling
Note: The command is for CB-7011/11D/11P/11PD only.
Syntax: #**[CHK](cr)
#a delimiter character
**synchronized sampling command
Response:No response
Example:
Command: $014Receive: ?01
Read synchronized sampling data, returns no valid data .
Command: #**No response
Send synchronized sampling command.
Command: $014Receive: >011+025.123
First read, get status=1, first read.
Command: $014Receive: >010+025.123
Second read, get status=0, read verified.
Related Command:
$AA4 (Sec. 2.9)
CB-701 1/CB-7011D, CB-7018 User’s Manual
23
2.3 #AA
Description: Read Analog Input
Syntax: #AA[CHK](cr)
#delimiter character
A Aaddress of reading module(00 to FF)
Response:Valid Command:>(Data)[CHK](cr)
Syntax error or communication error may yield no re-
sponse.
>delimiter for valid command
(Data)analog input value, reference Sec. 1.10 for its format.
For CB-7018/18P , the data is the combination for each channel respectively .
Example:
Command: #01Receive: >+02.635
Read address 01, return data success.
Command: #02Receive: >4C53
Read address 02, return data in HEX format success.
Command: #04
Receive: >+05.123+04.153+07.234-02.356+10.000-
05.133+02.345+08.234
Module address 04 is CB-7018. Read address 04, get analog
input data of eight channels.
Related Command:
%AANNTTCCFF (Sec. 2.1), $AA2 (Sec. 2.7)Related Topics:
Configuration T ables (Sec. 1.10)
24
CB-7011/CB-7011D, CD-7018 User’s Manual
2.4 #AAN
Description: Read Analog Input from channel N
Note: The command is for CB-7018/18P only.
Syntax: #AAN[CHK](cr)
#delimiter character
AAaddress of reading module (00 to FF)
Nchannel to read, from 0 to 7
Response:Valid Command:>(Data)[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
> delimiter for valid command
? delimiter for invalid command
A A address of response module(00 to FF)
(Data) analog input value, reference Sec. 1.10 for its format
$delimiter character
AAaddress of reading module (00 to FF)
2command for reading configuration
Response:Valid Command:
!AA TTCCFF[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
! delimiter for valid command
? delimiter for invalid command
A A address of response module(00 to FF)
TT type code of module (reference Sec. 1.10)
CC baudrate code of module (reference Sec. 1.10)
FF data format of module (reference Sec. 1.10)
Description: Read CJC Temperature
Syntax: $AA3[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
3command for reading CJC temperature
Response:Valid Command:>(Data)[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
> delimiter for valid command
? delimiter for invalid command
A A address of response module(00 to FF)
(Data) CJC temperature in degrees Celsius.
Example:
Command: $033Receive: >+0025.4
Read address 03 CJC temperature, return 25.4°C.
Related Command:
$AA9(Data) (Sec. 2.14)
CB-701 1/CB-7011D, CB-7018 User’s Manual
29
2.9 $AA4
Description: Read Synchronized Data
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: $AA4[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
4command for reading synchronized data
Response:Valid Command:>AAS(Data)[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
! delimiter for valid command
? delimiter for invalid command or the module does not
receive command #** before the command $AA4.
A A address of response module(00 to FF)
S status of synchronized data, 1 = first time read, 0 =
has been read
(Data)synchronized data, format reference Sec. 1.10
Example:
See example of Sec. 2.2 #**
Related Command:
Sec. 2.2 #**
30
CB-7011/CB-7011D, CD-7018 User’s Manual
2.10 $AA5VV
Description: Set Channel Enable
Note: The command is for CB-7018/18P only.
Syntax: $AA5VV[CHK](cr)
$delimiter character
AAaddress of setting module (00 to FF)
5command for settting channel enable
VVchannel enable/disable, 00 is all disabled, and FF is all
enabled.
Response:Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no
response.
! delimiter for valid command
? delimiter for invalid command
A A address of response module(00 to FF)
Example:
Command: $0155AReceive: !01
Set address 01 enable channel 1,3,4,6 and disable channel
Description: Read Channel Status
Note: The command is for CB-7018/18P only.
Syntax: $AA6[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
6command for reading channel status
Response:Valid Command:!AA VV[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no
response.
! delimiter for valid command
? delimiter for invalid command
A A address of response module(00 to FF)
VV channel enable/disable, 00 is all disabled, and FF is all
enabled.
Example:
Command: $015A5Receive: !01
Set address 01, enable channel 0,2,5,7 and disable channel
Description: Read LED Configuration
Note: The command is for CB-7011D/11PD only.
Syntax: $AA8[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
8command for setting LED configuration
Response:Valid Command:!AA V[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
! delimiter for valid command
? delimiter for invalid command
A A address of response module(00 to FF)
V LED configuration
1=module control, 2=host control
Example:
Command: $018Receive: !011
Read address 01 LED configuration, return module control.
Command: $028Receive: !012
Read address 02 LED configuration, return host control.
Related Command:
$AA8V (Sec. 2.13), $AAZ(Data) (Sec. 2.18)
CB-701 1/CB-7011D, CB-7018 User’s Manual
33
2.13 $AA8V
Description: Set LED Configuration
Note: The command is for CB-7011D/11PD only.
Syntax: $AA8V[CHK](cr)
$delimiter character
AAaddress of setting module (00 to FF)
8command for setting LED configuration
V1=Set LED to module, 2=Set LED to host
Response:Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no
response.
! delimiter for valid command
? delimiter for invalid command
A A address of response module(00 to FF)
Example:
Command: $0182Receive: !01
Set address 01 LED to host control, return success.
Command: $0281Receive: !02
Set address 02 LED to module control, return success.
Related Command:
$AA8 (Sec. 2.12), $AAZ(Data) (Sec. 2.18)
34
CB-7011/CB-7011D, CD-7018 User’s Manual
2.14 $AA9(Data)
Description: Set CJC Offset Value
Syntax: $AA9(Data)[CHK](cr)
$delimiter character
AAaddress of setting module (00 to FF)
9command for setting CJC offset value
(Data)CJC offset value comprises a sign and 4 hexadecimal
digits, from -1000 to +1000, each count is 0.01°C.
Response:Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
! delimiter for valid command
? delimiter for invalid command
AA address of response module (00 to FF)
Example:
Command: $019+0010Receive: !01
Set address 01 CJC offset increase 16 counts (+0.16°C), re-
turn success.
Related Command:
$AA3 (Sec. 2.8)
CB-701 1/CB-7011D, CB-7018 User’s Manual
35
2.15 $AAB
Description: Thremocouple Open Detection
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: $AAB[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
Bcommand for reading thremocouple open status
Response: Valid Command:!AAS[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
S0=close-loop detection
1=open-circuit detection, need to check the thermocouple
Example:
Command: $01BReceive: !010
Read address 01, thermocouple open status, return the thermocouple is close-loop.
36
CB-7011/CB-7011D, CD-7018 User’s Manual
2.16 $AAF
Description: Read Firmware Version
Syntax: $AAF[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
Fcommand for reading firmware version
Response: Valid Command:!AA(Data)[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)firmware version of module
Example:
Command: $01FReceive: !01A2.0
Read address 01 firmware version, return version A2.0.
Command: $02FReceive: !01B1.1
Read address 02 firmware version, return version B1.1.
CB-701 1/CB-7011D, CB-7018 User’s Manual
37
2.17 $AAM
Description: Read Module Name
Syntax: $AAM[CHK](cr)
$delimiter character
AAaddress of reading module (00 to FF)
Mcommand for reading module name
Response: Valid Command:!AA(Data)[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)Name of module
Example:
Command: $01MReceive: !017018
Read address 01 module name, return name 7018.
Command: $03MReceive: !03701 1 D
Read address 03 module name, return name 7011D.
Related Command:
~AAO(Data) (Sec. 2.19)
38
CB-7011/CB-7011D, CD-7018 User’s Manual
2.18 $AAZ(Data)
Description: Set LED Data
Note: The command is for CB-7011D/11PD only.
Syntax: $AAZ(Data)[CHK](cr)
$delimiter character
AAaddress of setting module (00 to FF)
Zcommand for setting LED data
(Data)data for show on the LED, from -19999. to +19999. The
data need sign, 5 digits and decimal point.
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command or LED not set to host
control
A Aaddress of response module (00 to FF)
Example:
Command: $01Z+123.45Receive: !01
Send address 01 LED data +123.45, return success.
Command: $02Z+512.34Receive: ?02
Send address 02 LED data +512.34, return the LED is not
setting in the host mode.
Related Command:
$AA8 (Sec. 2.12), $AA8V (Sec. 2.13)
CB-701 1/CB-7011D, CB-7018 User’s Manual
39
2.19 ~AAO(Data)
Description: Set Module Name
Syntax: ~AAO(Data)[CHK](cr)
~delimiter character
AAaddress of setting module (00 to FF)
Ocommand for setting module name
(Data)new name for module, max 6 characters
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Example:
Command: ~01O7018Receive: !01
Set address 01 module name to 7018, return success.
~delimiter character
AAaddress of setting module (00 to FF)
Ecommand for enable/disable calibration
V1=enable calibration, 0=disable calibration
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Example:
Command: $010Receive: ?01
Perform address 01 span calibration, return it is not ready for
calibration.
Command: ~01E1Receive: !01
Set address 01 to enable calibration, return success.
Description: Read Digital I/O and Alarm Status
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: @AADI[CHK](cr)
@delimiter character
AAaddress of reading module (00 to FF)
DIcommand for reading digital I/O and alarm status
Response:Valid Command:!AASOOII[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
Salarm enable status, 0=alarm disable, 1=momentary alarm
on, DO1 off, 02=DO0 off, DO1 on, 03=OD0 on, DO1 on.
I Idigital input status, 00=input low level, 01=input high
level.
Example:
Command: @01DIReceive: !0100001
Read address 01 digital I/O status, return alarm disable,
digital outputs all off, and digital input high level.
Command: @02DIReceive: !0210100
Read address 02 digital I/O status, return momentary alarm
42
CB-7011/CB-7011D, CD-7018 User’s Manual
enable, high alarm is clear , low alarm is set, and digital input is
high.
Related Command:
@AADO(Data) (Sec. 2.22), @AAEA T (Set. 2.23), @AADA (Sec.
2.26 )
Related Topic:
Digital Input and Event Counter (Sec. 3.4), Digital Output (Sec.
3.5), High/Low Alarm (Sec. 3.6)
CB-701 1/CB-7011D, CB-7018 User’s Manual
43
2.22 @AADO(Data)
Description: Set Digital Output
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: @AADI[CHK](cr)
@delimiter character
AAaddress of setting module (00 to FF)
DOcommand for setting digital output
(Data)output value, 00=DO0 off, DO1 off, 01=DO0 on, DO1
off, 02=DO0 off, DO1 on, 03=DO0 on, DO1 on
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command. When the alarm is
enabled, the command will return invalid.
A Aaddress of response module(00 to FF)
Example:
Command: @01DO00Receive: !01
Set address 01 digital output 00, return success.
Related Command:
@AADI (Sec. 2.21), @AAEAT (Set. 2.23), @AADA (Sec. 2.26)Related Topic:
Sec. 3.5 Digital Output
44
CB-7011/CB-7011D, CD-7018 User’s Manual
2.23 @AAEAT
Description: Enable Alarm
Note: The command is for CB-7011/11D/11P/11PD only.
Syntax: @AAEAT[CHK](cr)
@delimiter character
AAaddress of setting module (00 to FF)
EAcommand for enable alarm.
Talarm type, M=momentary alarm, L=latch alarm.
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Description: Set High Alarm
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: @AADI[CHK](cr)
@delimiter character
AAaddress of setting module (00 to FF)
HIcommand for setting high alarm value
(Data)high alarm values, data format is in engineer unit format.
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Example:
Command: @01HI+2.5000Receive: !01
Set address 01 high alarm +2.5000, return success.
Description: Set Low Alarm
Note: The command is for CB-7011/11D/11P/11PD only.
Syntax: @AADI[CHK](cr)
@delimiter character
AAaddress of setting module (00 to FF)
LOcommand for setting high alarm value
(Data)high alarm values, data format is in engineer unit format.
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Description: Disable Alarm
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: @AADA[CHK](cr)
@delimiter character
AAaddress of setting module (00 to FF)
DAcommand for disable alarm
Response Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Example:
Command: @01DAReceive: !01
Disable address 01 alarm, return success.
Related Command:
Sec. 2.23 @AAEAT
Related Topic:
Sec. 3.6 High/Low Alarm
48
CB-7011/CB-7011D, CD-7018 User’s Manual
2.27 @AACA
Description: Clear Latch Alarm
Note: The command is for CB-7011/11D/11P/11PD only.
Syntax: @AACA[CHK](cr)
@delimiter character
AAaddress of setting module (00 to FF)
CAcommand for clear latch alarm
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Example:
Command: @01DIReceive: !0120101
Read address 01 digital input, return latch alarm mode, low
alarm is set.
Command: @01CAReceive: !01
Clear address 01 latch alarm, return success.
Command: @01DIReceive: !0120001
Read address 01 digital input, return latch alarm mode, both
alarms are clear .
Related Command:
Sec. 2.21 @AADI, Sec. 2.23 @AAEAT, Sec. 2.26 @AADARelated Topic:
Sec. 3.6 High/Low Alarm
CB-701 1/CB-7011D, CB-7018 User’s Manual
49
2.28 @AARH
Description: Read High Alarm
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: @AARH[CHK](cr)
@delimiter character
AAaddress of reading module (00 to FF)
RHcommand for reading high alarm
Response: Valid Command:!AA(Data)[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command.
?delimiter for invalid command.
AAaddress of response module(00 to FF)
(Data)high alarm value in engineer unit format.
Example:
Command: @01RHReceive: !01+2.5000
Read address 01 high alarm, return +2.5000.
Related Command:
Sec. 2.24 @AAHI(Data)
Related Topic:
Sec. 3.6 High/Low Alarm
50
CB-7011/CB-7011D, CD-7018 User’s Manual
2.29 @AARL
Description: Read Low Alarm
Note: The command is for CB-7011/11D/11P/11PD only.
Syntax: @AARH[CHK](cr)
@delimiter character
AAaddress of reading module (00 to FF)
RLcommand for reading low alarm
Response: Valid Command:!AA(Data)[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command.
?delimiter for invalid command.
AAaddress of response module(00 to FF)
(Data)low alarm value in engineer unit format.
Example:
Command: @01RLReceive: !01-2.5000
Read address 01 low alarm, return -2.5000.
Related Command:
Sec. 2.25 @AALO(Data)
Related Topic:
Sec. 3.6 High/Low Alarm
CB-701 1/CB-7011D, CB-7018 User’s Manual
51
2.30 @AARE
Description: Read Event Counter
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: @AARE[CHK](cr)
@delimiter character
AAaddress of reading module (00 to FF)
REcommand for reading event counter
Response:Valid Command:!AA(Data)[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
(Data)event counter value, from 00000 to 65535.
Example:
Command: @01REReceive: !0101234
Read address 01 event counter , return 1234.
Related Command:
Sec. 2.31 @AACE
Related Topic:
Sec. 3.4 Digital Input and Event Counter
52
CB-7011/CB-7011D, CD-7018 User’s Manual
2.31 @AACE
Description: Clear Event Counter
Note: The command is for CB-7011/11D/11P/11PD only.
Syntax: @AACE[CHK](cr)
@delimiter character
AAaddress of setting module (00 to FF)
CEcommand for clear event counter
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Example:
Command: @01REReceive: !0101234
Read address 01 event counter, return 1234.
Command: @01CEReceive: !01
Clear address 01 event counter, return success.
Command: @01REReceive: !0100000
Read address 01 event counter, return 0.
Related Command:
Sec. 2.30 @AARE
Related Topic:
Sec. 3.4 Digital Input and Event Counter
CB-701 1/CB-7011D, CB-7018 User’s Manual
53
2.32 ~**
Description: Host OK.
Host sends this command to all modules for broadcasting the
information “Host OK”.
Syntax:~**[CHK](cr)
~delimiter character
**command for all modules
Response:No response.
Example:
Command: ~**No response
Send Host OK to all modules
Related Command:
Sec. 33 ~AA0, Sec. 2.34 ~AA1, Sec. 2.35 ~AA2, Sec. 2.36
~AA3EVV, Sec. 2.37 ~AA4, Sec. 2.38 ~AA5PSSRelated Topic:
Sec. 3.2 Module Status, Sec. 3.3 Dual Watchdog Operation
54
CB-7011/CB-7011D, CD-7018 User’s Manual
2.33 ~AA0
Description: Read Module Status
Syntax: ~AA0[CHK](cr)
~delimiter character
AAaddress of reading module (00 to FF)
0command for reading module status
Response: Valid Command:!AASS[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
SSModule Status. The status will store into EEPROM and
Read address 01 module status, return 00, Module Status is
clear.
Related Command:
Sec. 2.32 ~**, Sec. 2.33 ~AA0
Related Topic:
Sec. 3.2 Module Status, Sec. 3.3 Dual Watchdog Operation
56
CB-7011/CB-7011D, CD-7018 User’s Manual
2.35 ~AA2
Description: Read Host W atchdog T imeout Interval
Syntax: ~AA2[CHK](cr)
~delimiter character
AAaddress of reading module (00 to FF)
2command for reading host watchdog timeout interval
Response: Valid Command:!AAVV[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
VVtimeout interval in HEX format, each count for
Related Command:
Sec. 2.32 ~**, Sec. 2.36 ~AA3EVV
Related Topic:
Sec. 3.2 Module Status, Sec. 3.3 Dual Watchdog Operation
CB-701 1/CB-7011D, CB-7018 User’s Manual
57
2.36 ~AA3EVV
Description: Set Host W atchdog T imeout Interval
Syntax: ~AA3EVV[CHK](cr)
~delimiter character
AAaddress of setting module (00 to FF)
3command for set host watchdog timeout interval
E1=Enable/0=Disable host watchdog
VVtimeout value, from 01 to FF, each for 0.1 second
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no
response.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Example:
Command: ~013164Receive: !01
Set address 01 enable host watchdog and timeout interval is
Related Command:
Sec. 2.32 ~**, Sec. 2.35 ~AA2
Related Topic:
Sec. 3.2 Module Status, Sec. 3.3 Dual Watchdog Operation
58
CB-7011/CB-7011D, CD-7018 User’s Manual
2.37 ~AA4
Description: Read PowerOn Value and Safe Value
Note: The command is for CB-7011/11D/1 1P/11PD only
Syntax: ~AA4[CHK](cr)
~delimiter character
AAaddress of reading module (00 to FF)
4command for reading PowerOn Value and Safe Value
Response: Valid Command:!AAPPSS[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
AAaddress of response module(00 to FF)
PPPowerOn Value, 00=DO0 off, DO1 off, 01=DO0 on,
DO1 off, 02=DO0 off, DO1 on, 03=DO0 on, DO1 on
SSSafe Value, data format is same as PP
Example:
Command: ~014Receive: !010000
Read address 01 Power-On/Safe V alue, return Power-On Value
is DO0 off, DO1 of f, Safe Value is DO0 off, DO1 off.
Related Command:
Sec. 2.38 ~AA5PPSS
Related Topic:
Sec. 3.2 Module Status, Sec. 3.3 Dual Watchdog Operation
CB-701 1/CB-7011D, CB-7018 User’s Manual
59
2.38 ~AA5PPSS
Description: Set PowerOn Value and Safe Value.
Note: The command is for CB-7011/11D/1 1P/11PD only.
Syntax: ~AA5PPSS[CHK](cr)
~delimiter character
AAaddress of setting module (00 to FF)
5command for setting PowerOn Value and Safe Value
PPPowerOn Value, 00=DO0 off, DO1 off, 01=DO0 on,
DO1off, 02=DO0 off, DO1 on, 03=DO0 on, DO1 on
SSSafe Value, data format is same as PP
Response: Valid Command:!AA[CHK](cr)
Invalid Command:?AA[CHK](cr)
Syntax error or communication error may get no re-
sponse.
!delimiter for valid command
?delimiter for invalid command
A Aaddress of response module(00 to FF)
Example:
Command: ~0150003Receive: !01
Set address 01 PowerOn Value is DO0 off, DO1 off, Safe
Value is DO0 on, DO1 on, return success.
Related Command:
Sec. 2.37 ~AA4
Related Topic:
Sec. 3.2 Module Status, Sec. 3.3 Dual Watchdog Operation
60
CB-7011/CB-7011D, CD-7018 User’s Manual
3. Application Note
3.1 INIT* pin Operation
Each CB-7000 module has a build-in EEPROM to store
configuration information such as address, type, baud rate and other
information. Sometimes, the user may forget the configuration of
the module. Therefore, the CB-7000 has a special mode named
“INIT mode”, to help the user resolve the problem. The “INIT mode”
is setting as Address=00, baud rate = 9600 bps, no checksum.
T o enable INIT mode, please follow these steps:
Step 1. Power-down the module.
Step 2. Connect the INIT* pin to the GND pin.
Step 3. Set Power on.
Step 4. Send command $002(cr) in 9600 bps to read the configuration stored in the module’s EEPROM.
Refer to “CB-7000 Bus Converter User Manual” Sec. 5.1
and “Getting Started” for more information.
3.2 Module Status
Power-On Reset or Module W atchdog Reset will put all
outputs to the Power-On V alue. The module may accept the host’ s
command to change the output value.
Host W atchdog Timeout will put all digital outputs to the
Safe Value. The host watchdog timeout flag is set, and the output
command will be ignored. The module’ s LED will go to flash and
user must reset the Module Status via command to restore normal
operation.
CB-701 1/CB-7011D, CB-7018 User’s Manual
61
3.3 Dual Watchdog Operation
Dual W atchdog = Module W atchdog + Host W atchdog
The Module W atchdog is a hardware reset circuit to monitor the module’ s operating status. While working in harsh or noisy
environment, the module may go down by the external noise signal.
The circuit may let the module continue to work and never halt.
The Host Watchdog is a software function to monitor the
host’ s operating status. Its purpose is to prevent the network/communication problem or a halted host from causing a dangerous
situation. While the timeout occurred, the module will place all outputs to the safe state to prevent from unexpected problem of controlled target.
The CB-7000 module with Dual W atchdog makes the control system more reliable and stable.
3.4 Digital Input and Event Counter
The digital input DI0 can work as event counter . The counter
increments when the input changes from high level to low level.
The counter has 16 bits and is useful for low speed counting at
frequencies lower than 50 Hz.
3.5 Digital Output
When the module powers-on, the host watchdog timeout
flag is checked first. If the status is set, the digital outputs (DO0
and DO1) of module are set to the Safe Value. If the flag is clear,
the digital outputs are set to the Power-On Value.
If the host watchdog timeout flag is set, the module will
62
CB-7011/CB-7011D, CD-7018 User’s Manual
ignore the digital output command @AADO(Data).
3.6 High/Low Alarm
Some analog input modules, such as the CB-7011, are
equipped with a high/low alarm function. When the alarm function
is enabled, the digital output DO0 is the low alarm indicator, DO1
is the high alarm indicator, and the digital output command for changing digital outputs DO0, DO1 is ignored. The alarm function is to
compare the analog input value with given high alarm value and
low alarm value. And there are two alarm types as follows:
Momentary alarm: the alarm status is cleared when the analog
input is not over the alarm value.
If Analog Input V alue > High Alarm, DO1 (High alarm) is on,
otherwise DO1 is off.
If Analog Input Value < Low Alarm, DO0 (Low alarm) is on,
otherwise DO0 is off.
Latch Alarm: the alarm is cleared only the user send com-
mand to clear.
If Analog Input Value > High Alarm, DO1(High alarm) is on,
else if Analog Input Value < Low Alarm, DO0(Low alarm) is
on.
3.7 Thermocouple Measurement
When two wires composed of dissimilar metal are joined
at one end and heated, the open circuit voltage is a function of the
junction temperature and the composition of the two metals. All
dissimilar metals exhibit this effect. The voltage is called Seebeck
voltage”. For small changes in temperature the Seebeck voltage is
CB-701 1/CB-7011D, CB-7018 User’s Manual
63
linearly proportional to temperature.
To measure the Seebeck voltage directly is not available
because we must first connect a voltmeter to the thermocouple, and
the voltmeter leads themselves create a new thermoelectric
(cold) junction. Therefore we need to eliminate the junction thermoelectric to measure the correct Seebeck voltage, and this is called
“Cold Junction Compensation”.
For most thermocouples, the Seebeck voltage is 0V while
at 0°C. One simple way to cancel the junction voltage is to put the
junction into 0°C environment and the junction voltage is 0V. Normally , this is not a good method for most applications. The typical
method is to measure the junction temperature with a thermistor,
and measure the junction voltage from the junction temperature.
Then we can get the Seebeck voltage from measured thermocouple
voltage and junction voltage, and we can calculate the temperature
from the Seebeck voltage.
64
CB-7011/CB-7011D, CD-7018 User’s Manual
For Your Notes
CB-701 1/CB-7011D, CB-7018 User’s Manual
65
For Your Notes
66
CB-7011/CB-7011D, CD-7018 User’s Manual
EC Declaration of Conformity
We, Measurement Computing Corp., declare under sole responsibility that the product:
to which this declaration relates, meets the essential requirements,
is in conformity with, and CE marking has been applied according to the relevant EC Directives listed below using the relevant
section of the following EC standards and other normative documents:
EU EMC Directive 89/336/EEC: Essential requirements relating to electromagnetic compatibility .
EU 55022 Class B: Limits and methods of measurements of
radio interference characteristics of information technology
equipment.
EN 50082-1: EC generic immunity requirements.
IEC 801-2: Electrostatic discharge requirements for industrial
process measurement and control equipment.
IEC 801-3: Radiated electromagnetic field requirements for in-
dustrial process measurements and control equipment.
IEC 801-4: Electrically fast transients for industrial process mea-
surement and control equipment.
Carl Haapaoja, Director of Quality Assurance
CB-701 1/CB-7011D, CB-7018 User’s Manual
67
Measurement Computing Corporation
10 Commerce Way
Suite 1008
Norton, Massachusetts 02766
(508) 946-5100
Fax: (508) 946-9500
E-mail: info@mccdaq.com
www.mccdaq.com
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.