Vizio VS-900 manual Log Data, All Exchanges, ON/OFF Status, 31H = On 30H=Off

Page 10

TOA VS-900 Programmer’s Guide

3. Log Data Request

The data string below requests Log Data from Exchange #1 (only). After the Log Data Request has been sent, the Log Data string will be sent to the PC in the format shown on the next page (Example 4. Log Data Format).

Field Name

Length

Value

Description

Direction

 

(Bytes)

 

 

 

DLE

1

10H

Delimiter

VS-900MF to PC

ENQ

1

05H

Enquiry

 

DLE

1

10H

Delimiter

PC to VS-900MF

ACK

1

06H

Acknowledge

 

DLE

1

10H

Delimiter

 

STX

1

02H

Start Of Text

 

Log Data

1

4FH

Log Data Request

 

All Exchanges

2

30H 30H

 

 

ON/OFF Status

16

31H 30H 30H 30H 30H 30H

Exchange #1 Log Data

VS-900MF to PC

 

 

30H 30H 30H 30H 30H 30H

31H = “On" 30H=”Off”

DLE

 

30H 30H 30H 30H

 

 

1

10H

Delimiter

 

ETX

1

03H

End Of Text

 

BCC

1

5DH

Block Check Character*

 

DLE

1

10H

Delimiter

PC to VS-900MF

ACK

1

06H

Acknowledge

 

DLE

1

10H

Delimiter

VS-900MF to PC

EOT

1

04H

End of Transmission

 

4. Log Data Format

This example illustrates five data strings that occur when “Normal” priority Sub-station #105 initiates a call to Master Station #200 at 16:37:23.

Call From Normal Sub-station

Field Name

Length

Value

Description

Direction

 

(Bytes)

 

 

 

 

 

 

 

 

 

DLE

1

10H

Delimiter

VS-900 to PC

ENQ

1

05H

Enquiry

 

DLE

1

10H

Delimiter

PC to VS-900

ACK

1

06H

Acknowledge

 

DLE

1

10H

Delimiter

 

STX

1

02H

Start Of Text

 

Log Data

1

6FH

Log Data

 

Exchange #

2

30H

31H

Exchange # “01”

 

Time (HH:MM:SS)

6

31H 36H 33H

37H 32H 33H

Time: “16:37:23"

 

Line #1

6

31H 30H 35H

20H 20H 20H

Calling Station # “105”

 

Line #2

6

32H 30H 30H

20H 20H 20H

Called Station # “200”

VS-900MF to PC

Line #3

6

20H 20H 20H

20H 20H 20H

Not Used (Blank)

 

Line #4

6

20H 20H 20H

20H 20H 20H

Not Used (Blank)

 

Status #

2

30H

31H

“01” (Call from Normal

 

 

 

 

 

Sub-station)

 

DLE

1

10H

Delimiter

 

ETX

1

03H

End Of Text

 

BCC

1

78H

Block Check Character

 

DLE

1

10H

Delimiter

PC to VS-900

ACK

1

06H

Acknowledge

 

 

 

 

 

 

DLE

1

10H

Delimiter

VS-900MF to PC

EOT

1

04H

End of Transmission

 

 

 

 

 

 

 

10

Image 10
Contents VS-900 Table of Contents VS-900 Documentation OverviewUseful Software Tools Connecting to the VS-900MF Mainframe Message Packaging Communication SpecificationsSTX Message Remote Dial Command Command Remote Dial Exchange #Log Data Output Request Examples Remote DialingRemote Dial Exchange # Master Station # Dialing Contents Remote Dialing All Call PagingON/OFF Status Log DataAll Exchanges 31H = On 30H=OffStation Call Reception Call Operation CompletionStart of normal Start of Normal ConversationTime ConversationCall From Normal Sub-station Decimal equivalent of aboveAppendix a Log Status Messages Status # 2 Bytes Description Line Dec HexCall Appendix B Ascii Character Codes