![ALFAtron ALF-12X-4KCAM Manual Download Page 28](http://html1.mh-extra.com/html/alfatron/alf-12x-4kcam/alf-12x-4kcam_manual_2895695028.webp)
ALFATRON ALF-5X/12X-4KCAM
- 25
5. Serial Port Communication and Control
The camera can be controlled through RS232/ RS485 interface; the RS232C serial parameters are as
follows:
Baud rate: 2400/ 4800/ 9600/ 115200 bits / sec; Start bit: 1; data bits: 8; Stop bit: 1; Parity: None.
After power on, the camera performs a self-test. The self-test is finished when the camera zoom lens is
moved to the farthest and then back to the nearest position. If the camera has a saved 0/ Home preset, it
will revert to the ‘Home” position after initialization. At this point, the user can control the camera via the
serial commands.
5.1 VISCA Protocol Return Command
Ack/Completion Message
Command packet
Note
ACK
z0 41 FF
Returned when the command is accepted.
Completion
z0 51 FF
Returned when the command has been executed.
z = camera a 8
Error Messages
Command packet
Note
Syntax Error
z0 60 02 FF
Returned when the command format is different or when a
command with illegal command parameters is accepted
Command Not Executable z0 61 41 FF
Returned when a command cannot be executed due to current
conditions. For example, when commands controlling the focus
manually are received during auto focus.
5.2 VISCA Protocol Control Command
Command
Function
Command packet
Note
AddressSet
Broadcast
88 30 0p FF
p
:
Address setting
IF_Clear
Broadcast
88 01 00 01 FF
I/F Clear
CommandCancel
8x 21 FF
CAM_Power
On
8x 01 04 00 02 FF
Power ON/OFF
Off
8x 01 04 00 03 FF
CAM_Zoom
Stop
8x 01 04 07 00 FF
Tele(Standard)
8x 01 04 07 02 FF
Wide(Standard)
8x 01 04 07 03 FF
Tele(Variable)
8x 01 04 07 2p FF
p = 0(low) - F(high)
Wide(Variable)
8x 01 04 07 3p FF
Direct
8x 01 04 47 0p 0q 0r 0s FF
pqrs: Zoom Position
CAM _Focus
Stop
8x 01 04 08 00 FF
Far(Standard)
8x 01 04 08 02 FF
Near(Standard)
8x 01 04 08 03 FF
Far(Variable)
8x 01 04 08 2p FF
p = 0(low) - F(high)
Near (Variable)
8x 01 04 08 3p FF
Direct
8x 01 04 48 0p 0q 0r 0s FF
pqrs: Focus Position