45
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.
10.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
10.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)
Summary of Contents for PTC-150T
Page 1: ...1 ...
Page 9: ...9 5 System Diagram ...
Page 24: ...24 ...
Page 25: ...25 7 5 Step 5 Mount Camera to Ceiling ...
Page 53: ...53 12 Dimensions Unit mm ...
Page 54: ...54 ...
Page 57: ...57 14 Service and Support ...