Tc-Mi Protocol - Optex TC-Mi Instruction Manual

Turbidity checker
Table of Contents

Advertisement

・Baud rate (OM1/OM2 common)
Value
Description
0xAA02
9600bps (default)
0xAA03
14400bps
0xAA04
19200bps
0xAA05
38400bps
・Parity (OM1/OM2 common)
Value
Description
0xAA00
None (default)
0xAA01
Odd
0xAA02
Even
・Error number (OM1)
Number
Description
2
Err3
Internal signal error
3
Err4
Temperature error
5
Err6
Internal data error
・Unit selection (OM1)
Value
Description
0
Unit indication N/A
1
NTU (default)
2
FNU
Degree "度"
3
・Adjust the span (OM1/OM2 common)
 
Adjust the span scaling factor.
Default
Setting range
1.00
0.30 to 3.00
・Noise reduction (OM1)
Value
Description
0
Normal (default)
1
Enhanced
・Output selection (OM1)
Value
Description
1
Self-Checking (default)
2
Alarm
34
・Error number and details (OM2)
Register
Description
4132
4133
0x0401
0x0102
Err3
Internal signal error
0x0402
0x0200
Err4
Temperature error
Internal data error
Err6
0x0402
0x10##
(## is any value)
・Unit selection (OM2)
Value
Description
0xAA00
Unit indication N/A
0xAA01
NTU (default)
0xAA02
FNU
Degree "度"
0xAA03
・Noise reduction (OM2)
Value
Description
0xAA00
Normal
0xAA01
Enhanced
・Output selection (OM2)
Value
Description
0xAA00
Self-Checking
0xAA01
Alarm
2

TC-Mi protocol

◆Frame Configuration
Start
Command
Data
STX
n byte
n byte
Command 1
Command 2
A
(0x41)
B
(0x42)
Start measurement
D
(0x44)
Stop measurement
ACK
(0x06)
Command received normally
-
M
(0x4D)
Output measured value
E
(0x45)
-
Output error number
L
(0x4C)
O
(0x4F)
Read out offset adjustment value
Read out span adjustment value
S
(0x53)
R
(0x52)
Read out measurement range
T
(0x54)
Read out signal output response time
U
(0x55)
Read out unit selection
A
(0x41)
Read out alarm level
a
(0x61)
Read out alarm timer
K
(0x48)
Read out output selection
P
(0x50)
Read out protocol
B
(0x42)
Read out baud rate
p
(0x70)
Read out parity
N
(0x4E)
Read out noise reduction setting
W
(0x57)
O
(0x4F)
Overwrite offset adjustment value
S
(0x53)
Overwrite span adjustment value
R
(0x52)
Overwrite measurement range
T
(0x54)
Overwrite signal output response time
U
(0x55)
Overwrite unit selection
(0x41)
Overwrite alarm level
A
a
(0x61)
Overwrite alarm timer
(0x48)
Overwrite output selection
K
P
(0x50)
Overwrite protocol
(0x42)
Overwrite baud rate
B
p
(0x70)
Overwrite parity
(0x4E)
N
Overwrite noise reduction setting
Caution
•Reset the power supply after changing protocol, baud rate or slave address or
parity. The settings do not change until power reset.
•When Alarm output is selected in Output selection, output is reversed.
◆Operation Details
◇Start measurement
byte0
1
Request command
STX
A
Step1
byte0
Normal response
STX
Return ACK directly after receiving the request command normally.
(Return nothing unless the command can be received normally.)
End
CR
Description
2
3
B
CR
1
2
3
A
ACK
CR
35

Advertisement

Table of Contents
loading

Table of Contents