Host Serial Port And Control; Configuring Host Serial Port Baud And Communications - FLIR PTU-D300 User Manual

Computer controlled pan-tilt unit
Hide thumbs Also See for PTU-D300:
Table of Contents

Advertisement

PTU-D300 User's Manual (v2.19)
Example
Related Topics
• It is not recommended that an axis be in transit more than 20% of the time

4.7 Host Serial Port and Control

As was described in Section 3, default host computer communications with the pan-tilt
controller is 9600 baud. Host computer communications can be via RS-232, or as described in
Section 7 it can be via the built-in RS-485.
Host serial port baud rates can be modified from the default. Also, a character delay may be
specified for applications that cannot consume pan-tilt output rapidly enough.

4.7.1 Configuring Host Serial Port Baud and Communications

Description
Command specifies the baud rate for the host serial port RS232/RS485
communications with the pan-tilt controller. Only baud rate can be modified.
The pan-tilt controller RS232/485 communications always use 1 start and
stop bit, 8 data bits and no handshaking. The command also allows a
transmission delay to be placed between bytes output by the pan-tilt
controller.
when the controller is not networked (i.e., the unit ID is the default of 0).
When the controller is networked (i.e., unit ID is greater than 0), the host
serial port communications rate is automatically set to the default and it
cannot be modified by this command: the default is 9600 baud, 8 data bits, 1
start and stop bit, no parity, no handshaking, and no byte transmission delay.
This ensures that networked controllers will always communicate at the same
baud rate, and that higher data rates will not unduly burden pan-tilt controller
processors.
Syntax
@(<baud>,<byte delay in msec>,<startup default>)<delim>
where:
<baud>
<byte delay in msec>
<startup default>
Example
The following command sets the host serial port RS232/RS485 to a baud rate
of 38,400 bits/second (8 data bits per byte, no parity, no handshaking), no
delay in controller outbound byte transmission, and the power up baud rate is
the system default of 9600 baud.
@(38400,0,F) *
PM * Pan in REGULAR move power mode
PML *
PM * Pan in LOW move power mode
when in High Move Power Mode (i.e., a 20% duty cycle).
The host serial port command in this Section 4.7.1 is only available
may be
600, 1200, 2400, 4800, 9600, 19200
sec
waits between transmitting output data. If no delay is desired, use a
parameter of 0, otherwise, the delay may vary from 10 ms to 1000 ms.
If
applied at power up; otherwise, the power up default is 9600 baud with
no byte transmission delay.
is the time in milliseconds the pan-tilt controller
and
T, <baud>
<byte delay in msec>
COMMAND REFERENCE
or
bits/
38400
are
page 25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents