Description of the loglux, I5 cl communication log – Kamera Werk Dresden CMOS User Manual

Page 28

Advertising
background image

Version 1.08 (04/07)

Manual: CMOS Industrial Camera LOGLUX

i5



Page 28 of 46

KAMERA WERK DRESDEN GmbH

Description of the LOGLUX

i5 CL communication log

The configuration data are exchanged between the host system (PC/IPC) and LOGLUX

i5 CL

camera by way of a line-oriented ASCII log. This method allows a platform-independent configuration
of the camera from any terminal.

All configuration commands consist of an command character string of up to four characters (letters)
and of max. four parameters, depending on the command.

Command and parameter are separated by a space character ($20, 'Space bar'). By actuating the
ENTER key ($0D $0A) - alternatively, by appending a nil character ($00) - the configuration data are
sent to the camera.

A comment may be appended to the configuration data by using a semicolon; the characters following
the semicolon are ignored as configuration data.

The following commands are available:

Syntax

Command

Description

Parameter

help

Help

Displays a help text

none

ver

Version

Displays the current software version

none

w ADR VAL

Write register

Writes value VAL to register ADR

ADR = [$0...$FFFFFFFF]
VAL = depends on register

r ADR

Read register

Reads value from register ADR

ADR = [$0...$FFFFFFFF]

d ADR

Dump register

Reads register bank as from register
ADR (e.g. from the first register of a
function group)

ADR = [$0, $100, $200 ...]
see following description of
the function groups

Table 1 : List of camera configuration commands

The following parameter notations are possible:

Number system/data format

Syntax

Value range

Hexadecimal byte

$B

$00...$FF

Binary byte

%B

%00000000...%11111111

Decimal byte

#B

#0...#255

Hexadecimal word

$W

$0000...$FFFF

Binary word

%W

%0000000000000000...%1111111111111111

Decimal word

#W

#0...#65535

Hexadecimal long

$L

$00000000...$FFFFFFFF

Binary long

%L

%00000000000000000000000000000000...
%11111111111111111111111111111111

Decimal long

#L

#0...#4294967295

Character string

"String"

Max. 255 char. with ASCII codes $21...$7E

Character

'C

Character with ASCII code $21...$7E

Table 2 : Parameter notation for camera configuration

The above notation method is applied both to parameters transmitted to the camera and to data output
from the camera.

In case of the parameters, left-hand zeros may be omitted. Strings up to a length of 32 characters are
accepted.

The camera responds to a command request in a chronological order. However, prior to or after the
request for a command a message may be sent which is not related to that command.
Every line of a message or response is closed with a cr character ($0D).
Messages always have the following format:

+Maskbyte String

Advertising