8
IM0973142 R1-4
IM0973142 R1-4
9
Installation Manual
Installation Manual
13.1. Old pan/tilt commands (Orlaco specific)
Pan/Tilt speed = 0x00 - 0xff needs to be split into 2 nibbles S1,S2 = 0x00 - 0x0f (speed = (S1 << 4) + S2)
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_MOVE_PAN_TILT> <S1> <S2> <0x00> <0x00> <V_PAN_DIRECTION_RIGHT>
<V_TERMINATOR>
Pan right:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_MOVE_PAN_TILT> <S1> <S2> <0x00> <0x00> <V_PAN_DIRECTION_RIGHT>
<V_TERMINATOR>
Pan Left:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_MOVE_PAN_TILT> <S1> <S2> <0x00> <0x00> <V_PAN_DIRECTION_LEFT>
<V_TERMINATOR>
Tilt up:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_MOVE_PAN_TILT> <0x00> <0x00> <S1> <S2> <V_TILT_DIRECTION_UP> <V_
TERMINATOR>
Tilt down:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_MOVE_PAN_TILT> <0x00> <0x00> <S1> <S2> <V_TILT_DIRECTION_DOWN>
<V_TERMINATOR>
Pan/Tilt stop:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_MOVE_PAN_TILT> <0x00> <0x00> <0x00> <0x00> <V_PAN_TILT_STOP> <V_
TERMINATOR>
Pan/tilt angle is 12bit signed integer in 0.1 degrees
pan range +-170°: -1700 <-0-> +1700 = 0x95C <- 0xFFF,0x000 -> 0x6A4.
tilt range +-90°: -900 <-0-> +900 = 0xC7C <- 0xFFF,0x000 -> 0x384.
Values outside valid range are limited to max range.
Pan angle is split into 3 nibbles, PA1,PA2,PA3 = 0x00 - 0x0f (pan_angle = (PA3 << 8) + (PA2 << 4) + PA1)
Tilt angle is split into 3 nibbles, TA1,TA2,TA3 = 0x00 - 0x0f (tilt_angle = (TA3 << 8) + (TA2 << 4) + TA1)
Pan/tilt angle:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_PAN_TILT_ANGLE> <PA3> <PA2> <PA1> <TA3> <TA2> <TA1> <V_TERMINATOR>
13.2. New pan/tilt commands (General Visca, as of V3.0.0)
Pan/Tilt move:
PAN_SPEED = 0x00 - 0x0F
TILT_SPEED = 0x00 - 0x0F
PAN_DIR = <V_R_PAN_LEFT> | <V_R_PAN_RIGHT> | <V_R_PAN_STOP>
TILT_DIR = V_R_TILT_UP> | <V_R_TILT_DOWN> | <V_R_TILT_STOP>
<0x80 + address> <V_COMMAND> <V_CATEGORY_PANTILT1> <V_R_PAN_TILT_MOVE> <PAN_SPEED> <TILT_SPEED> <PAN_DIR> <TILT_DIR>
<V_TERMINATOR>
Pan/Tilt position:
PAN_SPEED = 0x00 - 0x0F
TILT_SPEED = 0x00 - 0x0F
Pan/tilt angle is 16bit signed integer in 0.01 degrees
pan range +-170°: -17000 <-0-> +17000 = 0xBD98 <- 0xFFFF,0x0000 -> 0x4268.
tilt range +-90°: -9000 <-0-> +9000 = 0xDCD8 <- 0xFFFF,0x0000 -> 0x2328.
Values outside valid range are limited to max range.
Pan angle is split into 4 nibbles, PA1,PA2,PA3,PA4 = 0x00 - 0x0f (pan_angle = (PA4 << 12) + (PA3 << 8) + (PA2 << 4) + PA1)
Tilt angle is split into 4 nibbles, TA1,TA2,TA3,TA4 = 0x00 - 0x0f (tilt_angle = (TA4 << 12) + (TA3 << 8) + (TA2 << 4) + TA1)
<0x80 + address> <V_COMMAND> <V_CATEGORY_PANTILT1> <V_R_PAN_TILT_ABS_POS> <PAN_SPEED> <TILT_SPEED> <PA4> <PA3> <PA2>
<PA1> <TA4> <TA3> <TA2> <TA1> <V_TERMINATOR>
11.3. New pan/tilt commands
V_CATEGORY_PANTILT1
0x06
V_R_PAN_TILT_MOVE 0x01
V_R_PAN_LEFT
0x01
V_R_PAN_RIGHT
0x02
V_R_PAN_STOP
0x03
V_R_TILT_UP
0x01
V_R_TILT_DOWN
0x02
V_R_TILT_STOP
0x03
V_R_PAN_TILT_ABS_POS
0x02
V_R_PAN_TILT_REL_POS
0x03
V_R_PAN_TILT_HOME 0x04
V_R_PAN_TILT_RESET 0x05
V_PRESET 0x3f
V_PRESET_RESET
0x00
V_PRESET_SET
0x01
V_PRESET_RECALL 0x02
V_ORLACO_EXTENSION
0x40
V_ORLACO_WIPE
0x12
V_ORLACO_SET_SYSPROP
0x16
V_CATEGORY_SWITCH
0x40
V_SWITCH_SET_CHANNEL
0x01
V_SWITCH_NEXT_CHANNEL
0x02
Address = 1 - 7
First PTZ in link is always 1, next = 2 etc.
12. Generic serial commands
Address set broadcast
(must be send first to initialize addresses in multiple PTZ setup):
<V_BROADCAST> <V_ADDRESS_SET> <0x01> <V_TERMINATOR>
(Pan/Tilt unit will listen to addres 1 after startup until a valid addres set broadcats is received. The received address will, till power-down power-up,
be the only address the unit responds to). This command causes the first unit in the RS232 chain to have address 1, the next will have address 2 and
so on. The pan/tilt will have the same address as the camera that is mounted on it. This address is assigned automatically but the pan/tilt must be
connected before the camera in the serial communications string (this is automatically correct when standard Orlaco cabling is used).
Pan/tilt/camera preset recall:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_PRESET> <V_PRESET_RECALL> <num preset 0-5> <V_TERMINATOR>
Pan/tilt/camera preset set:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_PRESET> <V_PRESET_SET> <num preset 0-5> <V_TERMINATOR>
Switch camera command
(for ORL537 board and Multiview box):
<0x80> <V_COMMAND> <V_CATEGORY_SWITCH> <V_SWITCH_SET_CHANNEL> <num_camera> <V_TERMINATOR>
13. Pan/Tilt serial commands
Pan/Tilt limits (as of V3.0.0):
Limit_param = PAN_RIGHT = 0x1B, PAN_LEFT = 0x1C, TILT_UP = 0x1D, TILT_DOWN = 0x1E, split in 2 nibbles, L1,L2 (example: TILT_UP, L1=0x01,
L2=0x0D)
Limit_angle:
PAN_RIGHT,PAN_LEFT = 0-157 degrees = 0x00-0x9D,
PAN_RIGHT,PAN_LEFT = 0-170 degrees = 0x00-0xAA,
TILT_UP,TILT_DOWN = 0-90 degrees = 0x00-0x5A split into 2 nibbles A1,A2
Set_limit:
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_ORLACO_EXTENSION> <V_ORLACO_SET_SYSPROP> <0x01> <0x00> <0x00>
<L1> <L2> <A1> <A2> <V_TERMINATOR>
Start wipe/wash cycle (as of V3.1.0):
<0x80 + address> <V_COMMAND> <V_CATEGORY_CAMERA1> <V_ORLACO_EXTENSION> <V_ORLACO_WIPE> <WW_CMD> <V_TERMINATOR>
WW_CMD = 1 - 4, 1 = long wipe/wash cycle, 2 = wipe cycle, 3 = wash cycle, 4 = short wipe/wash cycle.
11. Orlaco visca Pan/Tilt zoom command set:
In this chapter we provide all possible VISCA commands. This review
provides the commands for the ORLACO Cameras AFZ, TIC and PT TIC.
Also, the PELCO-D commands are available, please check with Orlaco.
Orlaco Visca pan/tilt/zoom command set, V1.0
Serial communication: 9600 Baud 8 bits, no parity, 1 stop bit.
11.1. Pan/Tilt serial commands:
V_BROADCAST
0x88
V_COMMAND
0x01
V_ADDRESS_SET
0x30
V_TERMINATOR
0xFF
V_CATEGORY_CAMERA1
0x04
11.2. Old pan/tilt commands
V_SET_PAN_TILT_ANGLE
0x79
V_MOVE_PAN_TILT
0x7A
V_PAN_TILT_STOP
0x00
V_PAN_DIRECTION_RIGHT
0x10
V_PAN_DIRECTION_LEFT
0x20
V_TILT_DIRECTION_UP
0x01
V_TILT_DIRECTION_DOWN
0x02