14
Communication Specifications
Communication
Specifications
Serial Communication
Specifications
The camera uses an RS-232C-conforming start-stop
synchronous serial interface.
Sent commands are remotely echoed back.
Baud rate:
38400/19200/9600 bps
Default: 38400 bps
Data length: 8 bits
Parity:
none
Stop bit:
1 bit
Flow control: none
Command Format
Sent commands, consisting of a command name and
appended parameters, are input when followed by a
carriage return ASCII code.
Input syntax
Input example
Command Input and Response
Status
Command Input
The camera accepts the following characters strings as
valid.
When the camera receives a valid character string, it is
remotely echoed back.
Commands may contain up to 64 characters (excluding the
ending CR).
Parameter Entry
Only base-10 (numerical) parameter values are accepted.
Valid values depend on the particular input command.
Commands with non-decimal parameter characters cannot
be processed.
Example. AE-REF (when received with a base-10
parameter)
<<Accepted normally >>
<<Returns the “ERROR PARAMETER” response
status>>
<<Returns the “ERROR PARAMETER” response
status>>
Sign Operators
A “+” or “-” sign may be prepended to a parameter.
<<Accepted normally>>
<<Returns the “ERROR PARAMETER” response
status>>
command param1 param2 param3 [ENTER]
GAIN-STEP 18<CR>
Item
Character
ASCII
Value
Remarks
Alphabetics
‘
A
’
to
‘
Z
’
‘
a
’
to
‘
z
’
0x41 to
0x5A
0x61 to
0x7A
Strings are not
case-sensitive.
Numerics
‘
0
’
to
‘
9
’
0x30 to
0x39
–
Symbols
‘–’
‘
+
’
0x2D
0x2B
Numerical values
may be prepended
by a sign character.
‘
+
’
is allowed, but is
ignored.
Space
‘
’
0x20
Not allowed at the
beginning of a line.
[BackSpace]
BS
(control
character)
0x08
none
[ENTER]
CR
(control
character)
0x0D
none
Note
AE-REF 1023<CR>
AE-REF 3FF<CR>
AE-REF ABC<CR>
AE-REF 1023ABC<CR>
GAIN-FINE +10<CR>
GAIN-FINE -10<CR>
GAIN-FINE +-10<CR>
GAIN-FINE 10-3<CR>
Item
Character
ASCII
Value
Remarks