C H A P T E R 7 : R A W T C P / I P P R O T O C O L

7 . 2 . 2 R AW T C P / I P R e s p o n s e E x a m p l e

The following is the response to the Read Data command issued in the previous example:

Word

MSB

LSB

Description

 

 

 

 

01

FF

01

“Raw TCP/IP” 2-byte Response Header:

 

 

 

MSB = 0xFF

 

 

 

LSB = Node ID Echo (0x01 for the HS500E)

 

 

 

 

02

00

09

Overall Length of response packet (not

 

 

 

including the 2-byte header)

 

 

 

 

03

AA

02

MSB = AA

 

 

 

LSB = Command Echo: Read Data

 

 

 

 

04

ICV

01

MSB = Instance Counter Value

 

 

 

LSB = Node ID Echo

 

 

 

 

05

05

1b

Time Stamp (Month – Day)

 

 

 

 

06

01

0C

Time Stamp (Hour – Minute)

 

 

 

 

07

21

06

MSB = Time Stamp (Seconds)

 

 

 

LSB = Number of Additional Data Bytes

 

 

 

Returned

 

 

 

 

08

61

62

Returned Data Bytes 1 & 2

 

 

 

 

09

63

64

Returned Data Bytes 3 & 4

 

 

 

 

0A

65

66

Returned Data Bytes 5 & 6

 

 

 

 

H S 5 0 0 E – O P E R A T O R ’ S M A N U A L

P / N : 1 7 - 1 3 0 5 R E V 0 2 ( 1 2 - 0 5 )

 

P A G E 5 9 O F 8 2

Page 59
Image 59
Emsa HS500E manual AW T C P / I P R e s p o n s e E x a m p l e