
[Press]
; inverse engines side (OS=>DS, DS=>OS)
InverseEngineSide=0

; 1 - Enable 0 - Disable 
PressCommunicationEnable=1

; ask press for GetPosition
GetPosFromPress=0


; Number of stations in CI. 
NumberOfColorStations=8

;  Inverse the x movement send to hardware.
InverseXCorrection=1

;  Inverse the y movement send to hardware.
InverseYCorrection=1

; send Move commands with thread
SendWithThread=0

; Send Notify Msg Upon Communication Error or Renewing
SendNotifyMsgUponCommError=1

; How often to monitor if communication with press is OK in seconds
InitialMonitorTime_Sec=60

; How often to monitor if communication with press is OK after failure in seconds
SecondMonitorTime_Sec=600

; Maximum time without communication in minutes
MaxTimeWithoutCommunication_Min=300

LoggerPath=D:\PressCtrlSave

; distance between printing units in mm
Deck1=600
Deck2=600
Deck3=600
Deck4=600
Deck5=600
Deck6=600
Deck7=600
Deck8=600
Deck9=600
Deck10=600
Deck11=600
Deck12=600


[LCCD Pressure]

CoarseInitialPressureAdd= 50
CoarseAniluxRange	= 320
CoarseAniluxStep	= 80
CoarsePlateRange	= 320
CoarsePlateStep		= 80
CoarseLongtituteMoveInOpenSceneRepeats = 8
CoarseRepeatsForMeasureBK = 4
CoarsePadRepeatsForMeasureBK=2
CoarseRepeatsPerTransition = 4
CoarseRepeatsPerStep = 1
CoarseMakeAllParalell	= 0
CoarseUnderPressureCorrection=200
CoarseUnderPressureSemiCorrection=120
CoarseUnderPressureSemiRange=220
CoarseUnderPressureRange=320
CoarseOverPressureSemiCorrection=-200
CoarseOverPressureSemiRange=220
CoarseOverPressureCorrection=-320
CoarseOverPressureRange=320



FineTuneInitialPressureAdd= 0
FineTuneAniluxRange	=200
FineTuneAniluxStep	=20
FineTunePlateRange	=200
FineTunePlateStep	=20
FineTuneLongtituteMoveInOpenSceneRepeats = 8
FineTuneRepeatsForMeasureBK =4
FineTunePadRepeatsForMeasureBK=2
FineTuneRepeatsPerTransition =4
FineTuneRepeatsPerStep = 1
FineTuneMakeAllParalell	= 0
FineTuneUnderPressureCorrection=0
FineTuneUnderPressureSemiCorrection=0
FineTuneUnderPressureSemiRange=0
FineTuneUnderPressureRange=0
FineTuneOverPressureSemiCorrection=0
FineTuneOverPressureSemiRange=0
FineTuneOverPressureCorrection=0
FineTuneOverPressureRange=0


ComexiFineTuneAniluxRange1 = 280
ComexiFineTuneAniluxRange2 = 160
ComexiFineTuneAniluxRange3 = 280
ComexiFineTuneAniluxRange4 = 160
ComexiFineTuneAniluxStep   = 20

ComexiFineTunePlateRange1 = 280
ComexiFineTunePlateRange2 = 280
ComexiFineTunePlateRange3 = 160
ComexiFineTunePlateRange4 = 160
ComexiFineTunePlateStep   = 20
ComexiFineTuneLinear	  = 0



; MM per second  for motor movement
AniluxMotorSpeedMMPerSecond = 10
PlateMotorSpeedMMPerSecond = 10

; Meter/sec
m_PressSpeedForCalc=120

LinearMovement=0

CameraDistanceSurface	=19.00
CameraDistanceReverse	=19.00
BufSizeMB		= 50
fScaleFactor		=0.5
RefDeck 		= -1

LogImages		= 1
ScaleLoggedImageFactor	= 5
MetersToWaitForDigitalInputToArrive=25.00

; if left side of the camera is on the OS put 1
; if left side of the camera is on the DS put 0
IsLeftSideIsOS =1 

; how many percents to reduce from job width for Alg
PercentToReduceFromJobWidth= 1

; press widh in MM
PressWidth=2048

RunAlg=1

SendResultsToPress=1

MotorDelayMiliSec = 0

; Meter/Second
MinSpeedForPressCtrl =30

; Stop Press When Finish -> after sending results only
StopPressWhenFinish = 0

; Stop Press When Finish -> after sending results only -> without waiting for camera distance
StopPressWhenFinishImmediately =1

; Timeout in seconds to wait press to start
TimeOutForWaitingPressSeconds=300

; Use pressure alg with compare
; 0=none
; 1=comexi
; 2=Phase1 GD
; 3=comexi2 new concept test
; 4=comexi3 one seqence optimal
; 5=new Conecpt PC
UsePressureAlgWithCompare =1

; log the diff images to disc
LogDiffImages=0

; repeats for Plate cleaning
RepeatsForPlateCleaning=8

;Number of threads to make reample
NumThreadsForResample=1

;  Inverse the x movement send to hardware for LCCD camera
LCCDInverseXCorrection=0

;  Inverse the y movement send to hardware for LCCD camera
LCCDInverseYCorrection=1

;  pdf resultion in micron needed for register
PDFResInMicron=170

;  calc the Inverse the x,y movement send to hardware for LCCD camera at runtime based on pv flags
CalcLCCDMotorCorrectionAtRuntime=1

;  use open scene
UseOpenScene=1

; what is the tolerance during surface run for the materil in Meters
CameraDistanceSurfaceTolerance	=4.00

; what is the tolerance during reverse run for the materil in Meters
CameraDistanceReverseTolerance	=4.00


; should check internalline during 100% pressctrl
CheckInternalLines = 1

; should check grabber override during 100% pressctrl
CheckOverride = 1


; Default speed for PressCtrl
PressCtrlDefaultSpeed =85

; Default directory for pdf
PressCtrlDefaultPDFDirectory =d:\pdf files
; will open the pdf in 400dpi and scale it down to the required resolution
UseHighDPIForpdfSampling =0

; how much to scale image for register 1= no scaling 
ScaleFactorForRegister =1

ShowAdvancedOptionsInSaveWebDlg = 1

; should go to 100% gain when starting?
SetGainTo100=0

AllowedZeroDeviaiton=10

; use overprint pdf.
UseOverprintToConvertPDF=0

; Should flip register y results when CalcLCCDMotorCorrectionAtRuntime=0 ?
ShouldFlipYResultsUponReverse=1

; check if to remove decks from seqence if the height is different
ShouldRemoveDecksWithDiffernetHeight=1

; how many repeats to keep for cleaning in the end.
RepeatsToCleanInTheEnd =4


; this section is for UsePressureAlgWithCompare =3/4
Enhanced1RunAgainAniluxRange	= 100
Enhanced1RunAgainAniluxStep	= 25
Enhanced1RunAgainPlateRange	= 100
Enhanced1RunAgainPlateStep	= 25

; number of zero images in enhanced mode
Enhanced1NumberOfZeroImages=1

; MM to wait the movement during seqence will be applied
MMToWaitToMaunalMovementDuringSeqWillFinish=4000
AbortSeqenceWhenAllLedsAreOn=1

;make the anilux compare on transition repeat relevant for optimized seqence only ( 3=comexi2 new concept test 4=comexi3 one seqence optimal )
MakeAniluxCompareOnTransition=1

; should clean last deck in the second seqence? relevant for optimized seqence only (4=comexi3 one seqence optimal )
CleanLastDeck=0

LeftForceLimit= 0 
RightForceLimit= 2048

MoveAniloxToInitialInSecondIterationWithDeckResults=1

AbortSeqenceWhenAllLedsAreOn=1

InitialMovementAnilux =0

InitialMovementPlate=0

; how much mm consider the optic ref when calc the limits
OpticRefSizeInMM=35
