7 AK Host Operation
26
7.2.2.
TCP/IP Interface
There are two RJ45 connector at the back of the unit for the TCP/IP communication. Both ports
may be used to connect one or two host computers to the testo CU-2.
There are two parameters necessary for the AK communication:
•
IP addresses of the computer. These can be changed when logged in as administrator
on the embedded computer.
Default value for LAN2: 192.168.1.129, LAN1 is set to DHCP by default.
These addresses may have to be changed to connect the testo CU-2 to a network.
The embedded computer can be identified in a network by its network name.
Default name of testo CU-2 is 'MATTER-[Serial number]', e.g.: 'MATTER-101999'
•
The AK port addresses can be configured in the testo NanoMet software. Each port must
be a number between 0 and 65535. Default values are 49152 (Host A) and 49153 (Host
B).
Both ports are used at the two IP addresses, respectively LAN ports.
Numbers from 0 up to 49151 should not be used, because they are officially registered
and reserved.
7.3.
AK Protocol Specification
7.3.1.
AK Command Telegram
protocol:
hex:
description
1. Byte
STX
HEAD
02
start byte
2. Byte
DON'T CARE
(30)
any byte, configurable in testo
NanoMet software
default = 30 h = '0'
3. Byte
FUNCT.CODE1
function code, 4 bytes
4. Byte
FUNCT.CODE2
5. Byte
FUNCT.CODE3
6. Byte
FUNCT.CODE4
7. Byte
BLANK
VARIABLE DATA
(length depending
on functional code)
20
blank (space, 20 h)
8. Byte
'K'
4B
K for channel
/
device with
following number
9. Byte
NUMBER
device number,
always
=
0, 1 byte
DATA
data depending on functional
code
n. Byte
ETX
END
03
end byte
7.3.2.
AK Response Telegram
protocol:
hex:
description
1. Byte
STX
HEAD
02
start byte
2. Byte
DON'T CARE
(30)
any byte, configurable in testo
NanoMet software
default
=
30
h
=
'0'
3. Byte
FUNCT.CODE1
function code, 4 bytes