EasyManua.ls Logo

FLIR PTU-5 - ASCII Command Syntax

FLIR PTU-5
54 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Copyright 2017, FLIR Commercial Systems, Inc.
Appendix C: Networking
C-3
C.2.2 - ASCII Command Syntax
This section provides a brief overview of the ASCII command syntax. Please refer to the Pan-Tilt E Series
Command Reference Manual for complete information and instructions.
The PTU uses both commands and queries. A command tells the PTU to do something (such as pan to a
specific angle). A query asks the PTU to return the requested value (such as reporting the current pan
angle).
The basic ASCII command syntax is <command><parameter><delimiter>, where:
<command> is the actual command (such as PP for pan position),
<parameter> is a numerical value (such as the desired pan position), and
<delimiter> is a character used to denote the end of a command. Valid delimiter characters can
be either [SPACE] or [ENTER].
The basic ASCII query syntax is <command><delimiter>, where:
<command> is the actual command (such as PP for pan position),
<delimiter> is a character used to denote the end of a query. Valid delimiter characters can be
either [SPACE] or [ENTER].
For example:
Command: PP<position><delim> sets the desired absolute pan position.
Query: PP<delim> returns the current absolute pan position.
Commands and queries return results that display on the terminal screen, as follows:
A successfully executed command displays * on the terminal screen.
A successfully executed query displays <QueryResult> (where <QueryResult> is the result
of the query you just executed).
A failed command displays! <ErrorMessage> (where <ErrorMessage> describes the error
encountered).
A pan axis limit hit asynchronously displays !P.
A tilt axis limit hit asynchronously displays !T.
This sample command sequence pans the PTU-E46 to the left, waits, and then pans it back to the right:
S
PP-2500 *
A *
PP * Current Pan position is -2500
PP2500 *
A *
PP * Current Pan position is 2500