Telemetrics CP-RMR-S Скачать руководство пользователя страница 10

9

APPENDIX

Telemetrics Serial Data Protocol

Telemetrics provides for serial control of many of our camera control products.  This
summary briefly describes the protocol for serial control of these devices.  In the
summary, the Telemetrics controlled device will be referred to as the “controller” and
the device commanding the controller will be referred to as the “host”.

Control is accomplished by sending commands consisting of ASCII characters
terminated by an ASCII carriage return (<CR>, hex 0D).  In most cases, several
commands may be sent together on the same line before sending the <CR>.  However,
in the case of the recall preset command, other commands may precede it but any
commands following it on the same line are ignored.  A command line will not be
executed until the <CR> is received.  ASCII backspace (<BS>, hex 08) can be used to
correct errors in the command line.  After the command line has been executed, a
<CR> will be sent back to the host to acknowledge completion.

Communication rate is 9600 BAUD.  Protocol is 8 data bits, one stop bit, and no parity.

Each command consists of either one or two letters, followed by any numerical
parameters needed for the command.  (

Note

:  The commands are CASE SENSITIVE.)

Numerical parameters are specified by the string of ASCII digits representing the
decimal value.  For example, a value of 26 is sent as a ‘2’ followed by a ‘6’, (i.e., hex 32,
hex 36).  Where a command has more than one parameter, the parameters should be
separated by a space.  No other spaces are necessary, though they may be used if
desired.

Important Note

: In cases where the host does not monitor responding

carriage returns from the controller, the host will not know whether a command
line has been completed.  The controller can receive new commands while it
is processing previous commands except when the controller is processing a
preset position recall.  During a preset recall, all incoming characters are
ignored except for an ASCII cancel character (<CAN>, control-X, hex 18)
which tells the controller to abort the recall.  Therefore, the host should send a
<CAN> preceding all command lines.  This way, if a recall was in progress, it
will be aborted and the controller will accept the command.  If no recall was in
progress, the <CAN> will be ignored.

The remainder of this summary describes the general methods for serial camera
control.  Commands will be introduced as they are needed.  Note that while examples
are shown enclosed in single quotes, only the characters within the quotes are to be
sent; the quotes are simply for clarity.  In addition, the examples may use unnecessary
spaces for clarity, which need not be used for the actual application.

Manual Camera Motion

Содержание CP-RMR-S

Страница 1: ...Operation Installation Manual Serial Receiver Model CP RMR S 92 50939 000 P N 92 50939 000 11 ...

Страница 2: ... Hook up 3 6 0 Connector Function 7 7 0 DIP Switch Settings 8 List of Figures Figure 1 Front View 3 Figure 2 Rear View 3 Figure 3 Power Supply Cable 4 Figure 4 Control Power Cable 5 Figure 5 Serial Data Cable 5 Figure 6 Typical System Hook up Diagram 5 Figure 7 DIP Switch Settings for Lens Function and Baud Rate 8 ...

Страница 3: ...unctions can operate in proportional mode or in preset mode The unit incorporates external DC power and control signals for the pan tilt onto one cable Optional output functions such as Iris Control and Trolley Control are also available 3 0 Specifications Communications RS 232 or RS 422 bi directional serial port 300 38 400 BPS 9600 default 8 bits no parity 1 stop bit Proportional Control 15 bit ...

Страница 4: ...ed a CR will be sent back to the host to acknowledge completion Communication rate is 9600 BAUD Protocol is 8 data bits one stop bit and no parity 5 0 Installation and Hook up The Serial Receiver is designed to mount directly into a 19 inch rack configuration The front of the unit has an AC power switch and a Ready light The light will illuminate when the power switch is turned to the on position ...

Страница 5: ...d depends on how many pan tilt heads are being controlled The other end of interconnect cable connects to the external power supply Figure 3 Power Supply Cable 1 9 1 9 WIRE SIDE WIRE SIDE 15 D Female 15 D Male To Preset Panel To Power Supply 8 15 8 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Not Used 15V 15V RET 15V 15V RET 15V 15V RET 15V 15V RET 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...

Страница 6: ...om the control panel is made via serial data cable 92 51349 XXX to the 9 pin serial data connector located on the rear of the unit Units built for RS 232 can have a maximum distance of 100 feet between the unit and the control panel Units built for RS 422 can have a maximum distance of 4000 feet between the unit and the control panel Note Units are built to accept either RS 232 or RS 422 at the fa...

Страница 7: ...Control Receiver CP RMR S P OWER REA DY P OWER REA DY LOCAL REM OT E P RES ET CONTROL UNIT T I L T CA MERA 1 2 3 4 Z O O M FOCUS ENTER SHOT REA DY SHOT 1 9 13 5 2 10 14 6 3 11 15 7 4 12 16 8 PAN Compact Pan Tilt PTO CP P Compact Pan Tilt PTO CP P Compact Pan Tilt PTO CP P Compact Pan Tilt PTO CP P Figure 6 Typical System Hook up Diagram ...

Страница 8: ...7 6 0 Connector Function ...

Страница 9: ...Assignments 1 3 Set Communication Baud Rate see chart below 4 Test Routine must be left on at all times 5 Reverses Zoom Pot polarity 6 Reverses Focus Pot polarity 7 Reverses Zoom Joystick direction 8 Reverses Focus Joystick direction 38 400 1 1 1 19 200 0 1 1 9600 1 0 1 4800 0 0 1 2400 1 1 0 1200 0 1 0 600 1 0 0 Baud Rate Sw 1 Sw 2 Sw 3 Important Unit power must be turned off and on after changing...

Страница 10: ...specified by the string of ASCII digits representing the decimal value For example a value of 26 is sent as a 2 followed by a 6 i e hex 32 hex 36 Where a command has more than one parameter the parameters should be separated by a space No other spaces are necessary though they may be used if desired Important Note In cases where the host does not monitor responding carriage returns from the contro...

Страница 11: ...et using the P T Z and F commands respectively An X command is also available to control the trolley if used The commands have a single numerical parameter determining the voltage to which the output is set The value of the parameter is in the range of 0 to 32767 A parameter value of 16383 is the point at which no motion occurs As the value moves away from 16383 the speed of motion increases and t...

Страница 12: ...re are 64 preset positions numbered 0 to 63 available in the SRD s non volatile memory The normal method for preset control is as follows Disable camera using an L command delay second Read and store preset position with the E command Enable camera using an L command Recall position using the C command If necessary as described in note above The host can also store presets in its own memory by rea...

Страница 13: ... and focus to be stored into the preset These data are all in the range of 0 to 4095 They are actually 12 bit two s complement values Consequently the range is 2048 to 2047 which when viewed as unsigned numbers would progress from 2048 to 4095 then 0 up to 2047 All position data for the SRD is in this format In most installations the 0 position is approximately the center position of the full rang...

Страница 14: ...ing to the pan tilt zoom and focus positions respectively These data are in the same range for position data as described in the previous section CX 123 456 789 10 CR Preset Position Data Reporting The e command whose parameter is a preset number sends back to the host the four position data stored in that preset number in pan tilt zoom focus order These data are in the range for position data des...

Страница 15: ...all control voltages to no motion p Read pan position of currently selected camera t z f Read tilt zoom focus respectively as in p command C preset num Move the camera to position stored in preset num CX pan pos tilt pos zoom pos focus pos Move the camera to pan pos tilt pos zoom pos focus pos E preset num Store position of the camera in preset preset num EX preset num pan pos tilt pos zoom pos fo...

Отзывы: