142
• When an ANSWER command is required
The unit sends back the status or data, as shown in the figure.
• About ACK code
After receiving a command from the PC, the unit sends back the ACK code to the PC in 20 ms or less.
[ACK] = Reception succeeded (ASCII code: 06H)
After the ACK code has been sent back and the command processing has been completed, the unit sends back the
response command to the PC.
Example:
These are examples for the following operations.
1. Login with the user name of "ADMIN" and with password of "12345".
2. Display images from camera channel 1 on monitor 2.
3. Start playback from the point of January 1 2003, 3:00 p.m.
4. Logout
(1) (This unit -> PC) Login
[STX]AD001;OLI:ADMIN[SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP]
[SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP]:12345[SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP]
[SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP] [SP][ETX]
When receiving the command above, this unit will start the login procession of the user name of "ADMIN".
(2) (This unit -> PC) Response against (1).
[STX]AD001;OLI:1[ETX]
(3) (PC -> This unit) Select the monitor 2
[STX]AD001;OMS:001[ETX]
(4) (This unit -> PC) Response against (3).
[STX]AD001;OLI:1[ETX]
(5) (PC -> This unit) Display images from the camera channel 1.
[STX]AD001;OCS:00001[ETX]
(6) (This unit - > PC) Response against (5).
[STX]AD001;OCS:00002[ETX]
(7) (PC -> This unit) Playback from the designated time point.
[STX]AD001;ZTP:20030101150000[ETX]
When receiving the command above, this unit will start playback from the point of January 1 2003, 3:00 p.m.
(8) (This unit - > PC) Response against (7).
[STX]AD001;ZTP: 200301011500000[ETX]
[STX]
[ETX]
QOP
Status inquiry command
Status information command
Transmission command (
→
The unit)
Response command (
←
The unit)
[STX]
[ETX]
OPL
[STX]
[ETX]
QRV
Version inquiry command
Sends back data.
Transmission command (
→
The unit)
Response command (
←
The unit)
[STX]
[ETX]
QRV:1.01:1.01:1.00:1.10