[Main]
;0=USB 1=PCIE
CardType=0
CardVertion=6
nHardWareVertion=2
bConfiguration=0
bJustM25p64=1
bCmdWithNum=1
bRecordWhenMark=2
nYlogLevel=1		;YLOG_TRACE=0,	YLOG_INFO,	YLOG_WARNING,	YLOG_ERROR
bPrintTime = 0
bRecordInThread=0
bAutoCheckMarkInfoFB=0
nRecordMask=-4194305  	;7FBFFFFF 2147483647 2143289343 -4194305
bRecordScan=1
bRecordDA=1
bRecordCheck=1
nRecordSleep=3
bUpdateParaInCardWhenOpen=1
nThreadPriority = 1	;可设0、1、2，值越小，优先级越低，使用CPU资源越少
MarkEndResetDaToZero =1
HowLongTimeFirstBuf =1000000
wob=0
bPduOSS=0
nCheckFlashType=1	;硬件是否支持脱机功能 	0=不支持 1=支持	2=在线检测是否支持
bMessageBoxUsbLongTime=1
bNewBoxCali=1
nBufDataCheckType=2
bIgnoreSubCard=0

[HARDWARE]
PID=32768
PID_pre=32768
CARDNO=0
bHighPrecisionCali=0
bHighPrecisionCaliR=0
ORG_X=0
ORG_Y=0
Rotate=0
COORD_TYPE=4
FRAME_SPEED=3000
MARKEND_X=0
MARKEND_Y=0
MARKEND_Z=0
OverTimeAlarm=20001
nWobDocNoStableTmUs=3200
dbValideBufferSpacePercent=0.4
;范围在1~99之间,越大越不容易断流，板卡版本6A及以上
nBufFullStartSize=10
dbValideBufPercentTransThread=0.999
dbCanSleepValidSpacePercent=0.8
nUpFifoEmptyCanSleepMs=10
EN_TK_CALI=0
QualityPeriod=512
dbLostRatio2Fail=0.6
dbLostRatio2Link=0.1

[FLY]
dbMeasMarkDisMM=200
dbEncMaxSpeedMMPS=200
nFlyType=0
FlyXTrans=0
FlyYTrans=1.2
bEncEx=0
bEnEncInner=0
nEncInnerPeriodUS=200
nEncInnerDirectNeg=0
nEncOutnerDirectNeg=0
nEncRange=10000
bEncRange=0
nEncPPM=1000
dbFlyRotateCentX=3.3
dbFlyRotateCentY=2.75
FlyAngelTrans=1.0
bFlyMarkRangeEn=0
dbFlyMarkRangeScanPos=0
bEncIsAdd=1
nFlyOffHome=0
bEnInnerEncValidByIO =0
InnerEncValidByIO_idx =15
nFlyDir=0
nFlyDirAngle=0
dbMarkBeforeSafeRat=0.05
dbMarkAfterSafeRat=0.50
[LASER]
bLockLaserAllow=0
nLockLaserSwitchIO=7
bForbidLaserIOEn=0
nForbidLaserIOMask=1024
nPrrBeforeMoPaUS=5000
nPowLockWidthUS=20
WaveNoLock=0
ChangeWaveNoDelay_ms=5
TopSoftWareControlRed=0
TopSoftWareControlYlrEnable=0
bCloseMoEachLaser=0
YLRReadyAfterEnableMS=20
YLSReadyAfterEnableMS=7
;enable后等待多久开始出光;
LaserReadyAfterEnableMS = 8
nDaOutBeforeLaserMS=4
bWaitLaserEnableReady=0
bForceSwitchLs=0
nPrePwmH=0
nPrePwmL=396
nPrePwmTimeMS=10
dbFloatPwm = 0.3
dbFloatPwmHighRat = 0.2
bFirstQKill=0
nFirstQKillTimeUS=20
nFirstQKillTimeBeforePwm=0
bLaserOverTimeAlarmEn=0
dbLaserOverTimeAlarmCntMs=500
nLaserOverTimeAlarmSrcSel=0
nLaserOverTimeAlarmIO_idx=15
bLaserOverTimeAlarmScanMvEn=0
nLaserDelayZoom=1
bManualPa=0
nPaNoCus=-1
nWaveNo0Cus=-1
nSampleLaserIO=1
bPaNotOff=0

bYLS=0
LASER_TYPE=0
LASER_TYPE_pre=0
LASER_IPG100W_TYPE=0
OSS_TYPE=0
IoInFromOss=1
bIgnoreOssIdle=0
nRedModeNoOss=0
nIO_OSS_Energy_Trig_I = 11
nIO_OSS_Energy_Host_Trig_O = 3
nIO_OSS_Energy_Host_Ready_I = 12
nIO_OSS_Energy_Dev_Ready_O = 3
bOssCusApplyAckIO = 1
nOssNeedApplyIO = 30
nOssNeedAckIO = 23

;单位（%0.4）
nAdFilter=4
LASER_OFF_ON_INTEVAL=2000
[YAG]
LASER_OFF_ON_INTEVAL=3000
[YLR]
LASER_OFF_ON_INTEVAL=3000
[FIBER]
LASER_OFF_ON_INTEVAL=20
MarkEndResetDaToZero =0
nIdlePwmH=4
nIdlePwmL=36
bAllowFiberPwmDutyChange=0
[SPI]
LASER_OFF_ON_INTEVAL=20
bO29WaveNoSPI=0
[EP]
LASER_OFF_ON_INTEVAL=200
[eBUS]
nTypeBus=0
powerBusSel=6

[SCAN]
bFiltLine=1
dbFiltLineLen=10000
dbFiltLineAng=0.4
nPreRunScanMM=0
BASETIME=10
MIRCO_MOVE_VEL=5
nArriveTime=300
nArriveNear=10
bCloseFeedback=0
;范围100~60000
nScanFeedbackDisLimit=500
nScanFeedbackTimeAllowMs=5
;0=PD振镜  1=瑞雷2代无位置反馈 2=瑞雷3代带位置反馈 3=x电平报警  4=仅位置反馈2路 5=y电平报警 6=xy电平报警
nScanType=0
nScanFeedBackAlarmOkV=1
;231=忽略振镜头反馈的“位置超限报警”  255=启用振镜头反馈的“位置超限报警” 
nScanFbCheckMask=231
nScanFbCheckDst=253
bScanSpiClose=1
bCardNotCaliBox=0
bHaveScanZ=0
dbZBox=100
bScanDriveMotor=0
bScanY2Motor=0
motorCaliSpeedK=1
dbMotorAccLenMM=5
motorSpeedMax=30
bPolygonBreak=0
dbPolygonBreakAng=45
dbDisMaxTwoLineConnectMM=0.001
bScanNotBack=1
nScanStepLimit=1000
bScanLimitErrEn=0
dbScanLimitP0=50
dbScanLimitN0=-50
dbScanLimitP1=50
dbScanLimitN1=-50
nDashedlineLayNo=-1

[ParaAxisZ]
dbBaseFocusLen=230
dbZMoveLen=40
dbZCaliBottom=0
dbZCaliBase=0
dbZCaliTop=0

[POWER]
CURRENT_RANGE_DA_OUT = 10.0
CURRENT_RANGE_LASER_IN = 10.0
CURRENT_RANGE_DA_OUT_2 = 10.0
CURRENT_RANGE_LASER_IN_2 = 10.0

[Calibration]
PDU1000_NO0_File=Calib_PD.cl
PDU1001_NO0_File=Calib_PD.cl
PDU1002_NO0_File=Calib_PD.cl
PDU1003_NO0_File=Calib_PD.cl
PDU1004_NO0_File=Calib_PD.cl
PDU1005_NO0_File=Calib_PD.cl
PDU1006_NO0_File=Calib_PD.cl
PDU1007_NO0_File=Calib_PD.cl
PDU1008_NO0_File=Calib_PD.cl
PDU1009_NO0_File=Calib_PD.cl
PDU10010_NO0_File=Calib_PD.cl
PDU10011_NO0_File=Calib_PD.cl
PDU10012_NO0_File=Calib_PD.cl
PDU10013_NO0_File=Calib_PD.cl
PDU10014_NO0_File=Calib_PD.cl
PDU10015_NO0_File=Calib_PD.cl
PDU1000_NO0_CaliKx=1327535
PDU1000_NO0_CaliKy=1327535
PDU1001_NO0_CaliKx=3702501
PDU1001_NO0_CaliKy=3702501
PDU1002_NO0_CaliKx=3834733
PDU1002_NO0_CaliKy=3834733
PDU1003_NO0_CaliKx=3834733
PDU1003_NO0_CaliKy=3834733
PDU10015_NO0_CaliKx=3834733
PDU10015_NO0_CaliKy=3834733
[MOTOR]
bNewAxisFileName=1
PULSE_EQU=0.01
MAXL=200
MAXR=200
RUN_SPEED=5
ACC_TIME=100
DIR=0
SOFT_HOME=0
CUR_POS=0
M_MIN_SPEED=1
bEnLimitP0=1
bEnLimitN0=1
bEnLimitH0=0
bEnLimitP1=1
bEnLimitN1=1
bEnLimitH1=0
bEnLimitP2=1
bEnLimitN2=1
bEnLimitH2=0

[SAFEDOOR]
BENABLE=0

[EDIT]
B_SHOW_DOT_INDEX=1

[CCDCOMM]
TIMEOUT=300
;0:115200 1: 38400 2: 9600 3:57600
BAUD=1
EParity=0
MODE=1
[Uart]
;0none,1CW,2Red,3YLPN,
nSerialFor3YLPN2Red1CW0none=0
;0:115200 1: 38400 2: 9600 3:57600
BAUD=0
EParity=0
[UartCW]
;0:115200 1: 38400 2: 9600 3:57600
BAUD=3
EParity=0
[UartRed]
;0:115200 1: 38400 2: 9600 3:57600
BAUD=0
EParity=0

[OTHER]
nOutRev=0
bOut0IsRun=1
bOut1IsLaser=1
bOut3IsSwClosed=0
bIn6IsErrorReset=0
bMarkAllowPause=1
bEnableSwitchLaserParaWhenLaserOn=0
nDaOutBeforeLaserMS_OnLaserSwitch = 1
nPrrBeforeMoPaUS_OnLaserSwitch = 500
nChangeWaveNoDelay_OnLaserSwitch = 2
;采样周期，可设置范围1~63（单位10us）
scanAdSampleFre10us=8
languageFile=PD_zh.txt
dbBufLenCompFirst=0.6
cntPcieLostSubMax=100
bBufferInAbsTimeList=0

[PDU1000_NO0]
STK_AXIS_CNT=4
AXIS1=X1
AXIS2=Z1
AXIS3=Z
AXIS4=A

[PDU1001_NO0]
STK_AXIS_CNT=4
AXIS1=X1
AXIS2=Z1
AXIS3=Z
AXIS4=A

[PDU1002_NO0]
STK_AXIS_CNT=4
AXIS1=X1
AXIS2=Z1
AXIS3=Z
AXIS4=A

[PDU1003_NO0]
STK_AXIS_CNT=4
AXIS1=X1
AXIS2=Z1
AXIS3=Z
AXIS4=A

[PDU1004_NO0]
STK_AXIS_CNT=4
AXIS1=X1
AXIS2=Z1
AXIS3=Z
AXIS4=A

[PDU1005_NO0]
STK_AXIS_CNT=4
AXIS1=X1
AXIS2=Z1
AXIS3=Z
AXIS4=A

[PDU1006_NO0]
STK_AXIS_CNT=4
AXIS1=X1
AXIS2=Z1
AXIS3=Z
AXIS4=A

[PDU1007_NO0]
STK_AXIS_CNT=4
AXIS1=X1
AXIS2=Z1
AXIS3=Z
AXIS4=A



[PDU1000_NO0_MOTOR_AXIS0]
SoftHome=-20.000
BHome=1
BUseEncode=1
HomeAcc=200.000
HomeBias=5.000
HomeLimitAcc=200.000
HomeLimitVel=35.000
HomeVel=10.000
PosErrLimit=0.500
HomeNo=2
HomeMode=2
Type=0
Ppm=1000.000
WheelRatioV0=4
WheelRatioV1=8
WheelRatioV2=16
WheelRatioV3=32
EmoAcc=1000.000
EncDir=1
LimitNegLevel=0
LimitPosLevel=0
ManualAcc=50.000
ManualVel=10.000
OrgLevel=0
AxisDir=0
PauseLevel=0
StopLevel=0
BUF_ACC=200.000000
BUF_VEL=50.000000
MaxVel=10000.000
[PDU1000_NO0_MOTOR_AXIS1]
SoftHome=0
BHome=1
BUseEncode=1
HomeAcc=200.000
HomeBias=5.000
HomeLimitAcc=200.000
HomeLimitVel=50.000
HomeVel=10.000
PosErrLimit=0.500
HomeNo=1
HomeMode=0
Type=0
Ppm=800.000
WheelRatioV0=4
WheelRatioV1=8
WheelRatioV2=16
WheelRatioV3=32
EmoAcc=1000.000
EncDir=1
LimitNegLevel=0
LimitPosLevel=0
ManualAcc=50.000
ManualVel=10.000
OrgLevel=0
AxisDir=0
PauseLevel=0
StopLevel=0
BUF_ACC=200.000000
BUF_VEL=100.000000
MaxVel=300.000
[PDU1000_NO0_MOTOR_AXIS2]
SoftHome=0.0
BHome=0
BUseEncode=1
HomeAcc=200.000
HomeBias=5.000
HomeLimitAcc=200.000
HomeLimitVel=50.000
HomeVel=10.000
PosErrLimit=0.500
HomeNo=3
HomeMode=2
Type=0
Ppm=819.200
WheelRatioV0=4
WheelRatioV1=8
WheelRatioV2=16
WheelRatioV3=32
EmoAcc=1000.000
EncDir=1
LimitNegLevel=0
LimitPosLevel=0
ManualAcc=50.000
ManualVel=10.000
OrgLevel=0
AxisDir=0
PauseLevel=0
StopLevel=0
BUF_ACC=200.000000
BUF_VEL=10.000000
MaxVel=300.000
[PDU1000_NO0_MOTOR_AXIS3]
SoftHome=0.0
BHome=0
BUseEncode=1
HomeAcc=200.000
HomeBias=5.000
HomeLimitAcc=200.000
HomeLimitVel=50.000
HomeVel=10.000
PosErrLimit=0.500
HomeNo=1
HomeMode=3
Type=0
Ppm=819.200
WheelRatioV0=4
WheelRatioV1=8
WheelRatioV2=16
WheelRatioV3=32
EmoAcc=1000.000
EncDir=1
LimitNegLevel=0
LimitPosLevel=0
ManualAcc=50.000
ManualVel=10.000
OrgLevel=0
AxisDir=0
PauseLevel=0
StopLevel=0
BUF_ACC=200.000000
BUF_VEL=10.000000
MaxVel=300.000
[PDU1001_NO0_MOTOR_AXIS0]
SoftHome=0.000
BHome=1
BUseEncode=1
HomeAcc=200.000
HomeBias=5.000
HomeLimitAcc=200.000
HomeLimitVel=50.000
HomeVel=10.000
PosErrLimit=0.500
HomeNo=1
HomeMode=2
Type=0
Ppm=800.000
WheelRatioV0=4
WheelRatioV1=8
WheelRatioV2=16
WheelRatioV3=32
EmoAcc=1000.000
EncDir=1
LimitNegLevel=0
LimitPosLevel=0
ManualAcc=50.000
ManualVel=10.000
OrgLevel=0
PauseLevel=0
StopLevel=0
AxisDir=0
[PDU1001_NO0_MOTOR_AXIS1]
SoftHome=0.000
BHome=1
BUseEncode=1
HomeAcc=200.000
HomeBias=5.000
HomeLimitAcc=200.000
HomeLimitVel=50.000
HomeVel=10.000
PosErrLimit=0.500
HomeNo=0
HomeMode=3
Type=0
Ppm=800.000
WheelRatioV0=4
WheelRatioV1=8
WheelRatioV2=16
WheelRatioV3=32
EmoAcc=1000.000
EncDir=1
LimitNegLevel=0
LimitPosLevel=0
ManualAcc=50.000
ManualVel=10.000
OrgLevel=0
PauseLevel=0
StopLevel=0
AxisDir=0
[PDU1001_NO0_MOTOR_AXIS2]
SoftHome=0.000
BHome=0
BUseEncode=1
HomeAcc=200.000
HomeBias=5.000
HomeLimitAcc=200.000
HomeLimitVel=50.000
HomeVel=10.000
PosErrLimit=0.500
HomeNo=0
HomeMode=0
Type=0
Ppm=800.000
WheelRatioV0=4
WheelRatioV1=8
WheelRatioV2=16
WheelRatioV3=32
EmoAcc=1000.000
EncDir=1
LimitNegLevel=0
LimitPosLevel=0
ManualAcc=50.000
ManualVel=10.000
OrgLevel=0
PauseLevel=0
StopLevel=0
AxisDir=0
[PDU1001_NO0_MOTOR_AXIS3]
SoftHome=0.000
BHome=0
BUseEncode=1
HomeAcc=200.000
HomeBias=5.000
HomeLimitAcc=200.000
HomeLimitVel=50.000
HomeVel=10.000
PosErrLimit=0.500
HomeNo=0
HomeMode=0
Type=0
Ppm=800.000
WheelRatioV0=4
WheelRatioV1=8
WheelRatioV2=16
WheelRatioV3=32
EmoAcc=1000.000
EncDir=1
LimitNegLevel=0
LimitPosLevel=0
ManualAcc=50.000
ManualVel=10.000
OrgLevel=0
PauseLevel=0
StopLevel=0
AxisDir=0



[MOTOR_WHEEL_PARAMETER]
ENABLEPCWHEELCTRL=1
WHEELAXISN0=0
WHEELVRATE=3

[DRIVER]
TRANS_SIZE= 131072
THREADPRIORITY = 31
MAXTRYTIMES = 5
BUF_SIZE= 2097152
PREPACKNUM = 4

[REM]
BEN_PIN0=0
IN_PIN0=0
OUT_PIN0=0
BEN_PIN1=0
IN_PIN1=0
OUT_PIN1=0
BEN_PIN2=0
IN_PIN2=0
OUT_PIN2=0
BEN_PIN3=0
IN_PIN3=0
OUT_PIN3=0
[PDU1000_NO0_MOTOR]
AutoType=1
