VIZIO VS-900 Manual Do Utilizador

Página de 16
TOA VS-900 Programmer’s Guide
10
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
(Bytes)
Value
Description
Direction
DLE
1
10H
Delimiter
ENQ
1
05H
Enquiry
VS-900MF to PC
DLE
1
10H
Delimiter
ACK
1
06H
Acknowledge
PC to VS-900MF
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
30H 30H 30H 30H 30H 30H
30H 30H 30H 30H
Exchange #1 Log Data
31H = “On"  30H=”Off”
DLE
1
10H
Delimiter
ETX
1
03H
End Of Text
BCC
1
5DH
Block Check Character*
VS-900MF to PC
DLE
1
10H
Delimiter
ACK
1
06H
Acknowledge
PC to VS-900MF
DLE
1
10H
Delimiter
EOT
1
04H
End of Transmission
VS-900MF to PC
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
(Bytes)
Value
Description
Direction
DLE
1
10H
Delimiter
ENQ
1
05H
Enquiry
VS-900 to PC
DLE
1
10H
Delimiter
ACK
1
06H
Acknowledge
PC to VS-900
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”
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
VS-900MF to PC
DLE
1
10H
Delimiter
ACK
1
06H
Acknowledge
PC to VS-900
DLE
1
10H
Delimiter
EOT
1
04H
End of Transmission
VS-900MF to PC