// Slim-1200 RtScan.DLL Version 1.1.8.2 (04/14)
// speed test time :
// preview : 5.4sec
//           100     300    600    1200
//  B/W :    5.8     14.8   45.8   179.0
//  GRAY:    5.8     14.8   45.8   179.0
//  COLOR:   9.8     29.8   115.0  460.0
//  test ok 04/02/2002
[Output]

[INIT]
//LogPath=c:\Temp\
//LogData=1
VendorID=0x0461
ProductID=0x0377
Threshold=110
ID=0x71
EnableOutput=0
DECSEL=2
TpaConnect=2	// 0:Off, 1:On, 2:Autodetect
DisableButtons=0
AteGain=1,1,1   // 0:0.5  0.25/step
AteOffset=92, 86, 103	//100,100,100   
STOPTIM=1
BulkCmdDelay=50
WarmupTime=45
SleepTime=30
LineDistance=24
StaggeredLine=4
BGRLine=1
MotorDPI=1200
FastBaseSpeed=4000
FastSpeed=600
FastFactor=500
DisableGamma=0
StartPos=-1,-1,150,360
AutoPos=28,160,0x2000,0x2000,100, 4
LockCheck=144

OpticalBlack=13,62
OpticalPixel=10872
ShadingDPI=1200
ShadingStep=0,200
ShadingLines=32
ShadingLevel=0xC000,0xC000
ShadingSkip=4,12  
ShadingAverage=-1
DarkLines=0
DarkSkip=2,2
AverageDark=0
LampPwmLimit=0xD000
AfeWhite=0xF000,0xF000,0xF200 //0xF000,0xF000,0xF200
ExpWhite=0xFC00,0xFB00,0xF800	//RGB  0xFC00,0xFB00,0xF900
AfeDark=0x0100,0x0100,0x0100		//Line dark  0x0300,0x0300,0x0300
ExpDark=0x0000,0x0000,0x0000 //0x0000,0x0000,0x0000		//Pixel dark

AtLed=3,3,0	//LED always light-on.


DPIHW=1
DVDSET=1			// 0: disable shading, 1: enable shading
LAMPPWR=1			// 0: init lamp off, 1:init lamp on
LAMPPWM=511
GAIN4=1
OPTEST=0			// 0: normal, 2: pattern test
FSTPSEL=1
STRPIXEL=16			//85
ENDPIXEL=11000
LPERIOD=11000
BWHI=110
BWLOW=110

[REFLECTION]
Color=50:0,150:1,300:2,600:3,1200:4
Gray=50:10,100:11,150:12,300:13,600:14,1200:15
BW=50:10,100:11,150:12,300:13,600:14,1200:15

// color 50
[SET_0]

AddLine=0
ScanBaseSpeed=5000
ScanFactor=600	
LPERIOD=12000	 
STEPSEL=1
AVEENB=0
STEPNO=255
FWDSTEP=64
BWDSTEP=64
FASTNO=255
MTRPWM=2

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11
BackOffset=94,97,97
BackGain=1,0,1

// color 150
[SET_1]

AddLine=0
ScanBaseSpeed=5000
ScanFactor=600	
LPERIOD=11000
STEPSEL=1
AVEENB=0
STEPNO=255
FWDSTEP=64
BWDSTEP=64
FASTNO=255
MTRPWM=2

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11

// color 300
[SET_2]

ScanBaseSpeed=4000
ScanFactor=400	
LPERIOD=5500
STEPSEL=1
AVEENB=0
STEPNO=64
FWDSTEP=32
BWDSTEP=32
FASTNO=64
MTRPWM=0

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11

// color 600
[SET_3]

ScanBaseSpeed=4000
ScanFactor=400	
LPERIOD=11000
STEPSEL=1
AVEENB=0
STEPNO=32
FWDSTEP=32
BWDSTEP=32
FASTNO=32
MTRPWM=0

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11

// color 1200
[SET_4]

ScanBaseSpeed=4000
ScanFactor=400	
LPERIOD=11000
STEPSEL=2
STEPNO=16
FWDSTEP=146
BWDSTEP=146
FASTNO=16
AVEENB=0
MTRPWM=0


// Gray 50
[SET_10]

ScanBaseSpeed=5000
ScanFactor=600	
LPERIOD=11000
STEPSEL=1
AVEENB=0
STEPNO=255
FWDSTEP=64
BWDSTEP=64
FASTNO=255
FILTER=2
MTRPWM=2

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11

// Gray 100
[SET_11]

ScanBaseSpeed=5000
ScanFactor=600	
LPERIOD=6500
STEPSEL=1
AVEENB=0
STEPNO=255
FWDSTEP=64
BWDSTEP=64
FASTNO=255
FILTER=2
MTRPWM=2

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11

// Gray 150
[SET_12]

ScanBaseSpeed=5000
ScanFactor=600
LPERIOD=5500
STEPSEL=1
AVEENB=0
STEPNO=255
FWDSTEP=64
BWDSTEP=64
FASTNO=255
FILTER=2
MTRPWM=2

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11

// Gray 300 -- black line
[SET_13]

ScanBaseSpeed=5000
ScanFactor=600	
LPERIOD=5500	
STEPSEL=1
AVEENB=0
STEPNO=255  
FWDSTEP=64
BWDSTEP=64
FASTNO=255  
FILTER=2
MTRPWM=0

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11

// Gray 600
[SET_14]

ScanBaseSpeed=5000
ScanFactor=600
LPERIOD=8500
STEPSEL=1
AVEENB=0
STEPNO=255
FWDSTEP=64
BWDSTEP=64
FASTNO=255
FILTER=2
MTRPWM=0

SensorSpeed=2
RSH=0
RSL=5
CPH=6
CPL=8
CKTOGGLE=0
CKDELAY=2
VSMP=16
RHI=15
RLOW=19
GHI=23
GLOW=3
BHI=7
BLOW=11

// Gray 1200
[SET_15]

ScanBaseSpeed=4000
ScanFactor=600	
LPERIOD=11000
STEPSEL=2
STEPNO=32
FWDSTEP=64
BWDSTEP=64
FASTNO=32
AVEENB=0
FILTER=2
MTRPWM=0
DummyLine=-1
LAMPPWM=250
