Download Print this page

Parallax TSL1401-DB Instructions Manual page 49

Linescan camera module

Advertisement

Command Summary
Name
Val.
DUMPID
$DD
DUMPFLAGS
$DF
DUMPADR
$DA
SETEXP
$EE
SETBIN
$EC
SETLED
$EB
ACQGRAY
$A0
ACQBIN
$A4
ACQAND
$A1
ACQOR
$A2
ACQXOR
$A3
ACQDIFF
ACQNOTAND
$A5
ACQNOTOR
$A6
ACQXORNOT
$A7
ACQSAME
CNTNEW
$C8
CNTNXT
$C0
FNDNEW
$F8
FNDNXT
$F0
"<"
$3C
">"
$3E
Notes:
1.
The Buffer column indicates whether the command can be buffered.
2.
The Busy column indicates whether the busy bit needs to be read as zero after the command is sent and before further
interaction with the firmware can take place. (Applies only to immediate mode.)
3.
Modifiers are ORed to the command byte, except where noted. Modifiers with a value of zero ($00) may be omitted;
however including them can make a program more readable.
4.
The Results column indicates how many bytes are appended by the command to the results buffer.
5.
INTEN and TIME modify the Value parameter, not the command itself.
6.
FWD and BKWD apply to FNDNEW and FNDNXT only, not to the count routines.
7.
The ">" command can
8.
The number of results produced by a buffered sequence depends on the commands in the buffer and will be the sum of
what the individual commands produce.
© Bueno Systems, Inc. • TSL1401-DB (2009.10.01)
Description
Dumps two-letter ID and
version byte.
Dumps single error byte.
Dumps memory beginning at
Addr, until reset.
Set exposure time to
ExpTime.
Set binary acquisition
parameters.
Set LED brightness
(INTEN|Value) or strobe
time (TIME|Value).
Acquire binary image; dump
gray values.
Acquire binary image.
Acquire and AND new binary
image to old image.
Acquire and OR new binary
image to old image.
Acquire and XOR new binary
image to old image.
Acquire and AND new binary
image to NOT old image.
Acquire and OR new binary
image to NOT old image.
Acquire and XOR new binary
image to NOT old image.
Count pixels/edges between
new limits.
Count pixels/edges between
current limits.
Find
pixels/edges
between
new limits.
Find
pixels/edges
between
current limits.
Begin buffering commands.
End buffering, execute buffer,
then enter immediate mode.
only
be buffered. It cannot be used in immediate mode.
Buf-
2
Busy
Modifiers
1
Fer
No
No
None
No
No
None
No
No
None
Yes
No
None
Yes
No
None
INTEN ($00)
Yes
No
TIME ($80)
No
XTRIG($08)
Yes
Yes
FWD ($00)
BKWD ($04)
DRKPIX ($00)
Yes
Yes
BRTPIX ($02)
DRKEDG ($00)
BRTEDG ($01)
No
No
None
7
Yes
Yes
None
Re-
3
Args
4
sults
None
0
None
0
Addr
0
Exp
0
Thld,
Hyst,
0
Mode
5
Value
0
5
None
5
Begin,
6
End
6
None
1
Begin,
End
None
None
0
0 –
None
8
16
Page 49 of 52

Advertisement

loading