
MIKROTRON GmbH / EoSens 3CL
/
CAMMC301x-RG / 2020
3-15
ASCII commands instruction set
Overview
Table of commands
Each command is described in one table row. The first command in
a row is the write command (e.g. :b<x>) the next one the read com
-
mand (e.g. :b?).
In order to check your input, set the acknowledge flag with the com
-
mand :A<y>. If the acknowledge flag is set, each write command will
either be acknowledged with ACK (0x06) if it was successful or with
NAK (0x15), if it was not successful. NAK will also be returned, if the
command or its parameters are incorrect.
Syntax
Value range
Answer
Comment
:A<x>
:A?
<x> = y/n (Y/N)
--
1
y / n
2
set acknowledge flag to yes or
no
:b<x>
:b?
<x> = 0 …4
--
<x>
2
select baudrate
0 = 9600 (default)
1 = 19200
2 = 38400
3 = 57600
4 = 115200
:B
--
OK or ERROR: xxxx
2
send last error to PC
(max. 45 chars)
:c
--
--
reset camera and load power
up profile
:d<aaa><bbb>
<ccc><ddd>
:d?
<aaa> = x-start 0…600
hex
<bbb> = y-start 0…6AC
hex
<ccc> = x-width
78…6A0
hex
<ddd> = y-height 1…6AE
hex
--
<aaa><bbb><ccc><ddd>
2
set ROI start- and end position
(data area)
:f<n>
<n> = 0…7
--
load factory profile <n>
:g<n>
<n> = 0…7
--
load user profile in bank <n>
bank „c“ = PowerUpProfile
:h<n>
:h?
<x> = 0…2
--
<x>
2
shutter
0 = free run
1 = PWC
2 = timer
:H<n>
:H?
<x> = 0, 1
--
<x>
2
set shutter pulse polarity
0 = positive edge
1 = negative edge
1. If the acknowledge flag is set, either ACK or NAK will be returned.
2. The answer is followed by a carriage return (CR/0x0d) trailer.