44
From this point, if 2 or more commands in a row are to be sent, wait for the first command (for
normal commands, an ACK or an error message, for query commands, an Inquiry Packet) to be
carried out before sending the next one.
9.2.2.3 Command and inquiry
•
Command
Sends operational commands to the PTC-150.
•
Inquiry
Used for inquiring about the current state of the PTC-150.
Command Packet
Note
Inquiry
8X QQ RR … FF
1)
= Command/Inquiry
RR
2)
= category code
1)
QQ = 01 (Command), 09 (Inquiry)
2)
RR = 00 (Interface), 04 (camera 1), 06 (Pan/Tilter)
X = 1 to 7: PTC-150 address
9.2.2.4 Responses for commands and inquiries
•
ACK message
Returned by the PTC-150 when it receives a command. No ACK message is returned for inquiries.
•
Completion message
Returned by the PTC-150 when execution of commands or inquiries is completed. In the case of
inquiry commands, it will contain reply data for the inquiry after the 3
rd
byte of the packet. If the
ACK message is omitted, the socket number will contain a 0.
Reply Packet
Note
Ack
X0 4Y FF
Y = socket number
Completion (Commands)
X0 5Y FF
Y = socket number
Completion (Inquiries)
X0 5Y … FF
Y = socket number
X = 9 to F: PTC-150 a 8
•
Error message
When a command or inquiry command could not be executed or failed, an error message is
returned.
Error Packet
Description
X0 6Y 01 FF
Message length error
X0 6Y 02 FF
Syntax error
X0 6Y 03 FF
Command buffer full
X0 6Y 04 FF
Command cancelled
X0 6Y 05 FF
No socket (to be cancelled)
X0 6Y 41 FF
Command not executable
X = 9 to F: PTC-150 a 8, Y = socket number
Socket number = 1 (normal)
Содержание PTC-150
Страница 1: ...1 ...
Страница 8: ...8 4 System Diagram ...
Страница 23: ...23 ...
Страница 24: ...24 6 5 Step 5 Mount Camera to Ceiling ...
Страница 52: ...52 11 Dimensions Unit mm ...
Страница 55: ...55 13 Service Support ...