Line Scan Camera SK6288GKOC-L Manual (06.2015) • shar
ed_AdvancedSyncCtrl(1)_AdvancedT
riggerFct-SyncCtrlReg_ML.indd (06.2015)
24
4 Advanced SkLineScan Software Functions
SK6288GKOC-L
Instruction Manual
(06.2015)
© 2015
Schäfter + Kirchhoff GmbH
•
Hamburg
4 Advanced SkLineScan Softwar
e Functions
Advanced Trigger Functions and Sync Control Register Settings
4.2 Advanced Synchronization Control
• Basic synchronization function, 'Camera Control' dialog settings are valid
A
•
Detection
of
direction
B
,
C
,
D
,
E
• Trigger pulses are valid only in one direction, trigger pulses in the other direction are ignored
B
• Trigger on 4 edges
D
,
E
•
Suppression of machine-encoded jitter, programmable hysteresis for trigger control
E
Sync Control Register (SCR)
SyC7 SyC6 SyC5 SyC4 SyC3 SyC2 SyC1 SyC0
default
x
x
x
x
x
x
0
0
pixel #1 data = external trigger input states
x
x
x
x
x
x
0
1
pixel #1 data = Linecounter (8 bit)
x
x
x
x
x
x
1
0
pixel #1, #2 data = ext. trigger states (3 bit) +
line counter (13 bit)
x
x
x
x
x
x
1
1
ExSOS and Sync at LINE SYNC A (Mode5)
x
x
x
x
x
0
x
x
ExSOS at LINE SYNC B,
Sync at LINE SYNC A (Mode5)
x
x
x
x
x
1
x
x
Jitter Hysterese off
x
x
x
0
0
x
x
x
Jitter Hysterese 4
x
x
x
0
1
x
x
x
Jitter Hysterese 16
x
x
x
1
0
x
x
x
Jitter Hysterese 64
x
x
x
1
1
x
x
x
Sync 1x Enable
x
x
0
x
x
x
x
x
Sync 4x Enable
x
x
1
x
x
x
x
x
Sync up Enable / down disable
x
0
x
x
x
x
x
x
Sync up/down Enable
x
1
x
x
x
x
x
x
Sync Control Disable
0
x
x
x
x
x
x
x
Sync Control Enable
1
x
x
x
x
x
x
x
128
64
32
16
8
4
2
1
For diagnostic purposes, the
present state of external trigger
inputs (LINE SYNC A, LINE
SYNC B, FRAME SYNC) or the
internal line counter can be output
instead of pixel #1 and/or pixel #2
data.
SCR
Pixel #1 Data (lowByte)
Pixel #2 Data (lowByte)
xxxxxx
00
intensity
intensity
xxxxxx
01
D7 = FRAME SYNC
D6 = LINE SYNC A
D5 = LINE SYNC B
D4 ... D0 = 0
intensity
xxxxxx
10
internal line counter (8 bit)
intensity
xxxxxx
11
D7 = FRAME SYNC
D6 = LINE SYNC A
D5 = LINE SYNC B
D4 ... D0 = line counter (bit 12 ... 8)
internal line counter (bit 7 ... 0)
The basic synchronization function makes use of the trigger input LINE SYNC A. The trigger mode is determined by
the settings in the "Camera Control" dialog, e.g. LineStart (1) or ExposureStart (4).
Advanced trigger functions are provided by combining LINE SYNC A with a second trigger input LINE SYNC B. The
operation mode is controlled by the entries in the
Sync Control Register (SCR)
.
Use control commands to write to or to read from the Sync
Control Register:
Y
ppp
<CR>
set sync control
with
ppp
= 0...255 (decimal)
Return value: 0 = OK; 1 = not OK
I29<CR>
return sync control
Return value: SyC:
yyyyy
(5-digits integer value as ASCII)
Example:
Y232
ppp
= 232(dec) = 11101000(bin)
new SCR value: 11101000
E