Ascii Command Syntax - FLIR E Series User Manual

Pan-tilt unit
Hide thumbs Also See for E Series:
Table of Contents

Advertisement

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
Appendix C: Networking
Copyright 2016, FLIR Commercial Systems, Inc.
C-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ptu-d48ePtu-d100ePtu-d300e

Table of Contents