$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$ 	Command Map	 			$
$						$
$    	Invalid 		= 	-1	$
$    	Reset IO		=	13	$
$    	Start Bwd		=	0	$
$    	From Stop To Run	=	1	$
$	From Run To Stop	=	2	$
$	From Stop To Jog	=	3	$
$	From Jog To Stop	=	4	$
$	From Run To Jog		=	5	$
$	From Jog To Run		=	6	$
$	Enable Start		=	7	$
$	ByPass All Faults	=	8	$
$	Stop For Fault		=	9	$
$	Slow Down		=	10	$
$	Stop Slow Down		=	11	$
$	Skip Fault		=	12	$
$	Set machine dir fwd	=	14	$
$	Set machine dir bwd	=	15	$
$	OnShowNextDefect 	= 	16	$
$	OnByPassAllFaults	=	17	$
$	OnRecehck		=	18	$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
$Signal strcture:							$
$----------------							$
$ SignalType: 	trigger = 1,level = 0					$
$ Logic: 	positive = 1 negative = 0				$
									$
$ If signal type is trigger enter pulse width as well. 			$
$Example:								$
$	Delay(mSec) Signal_type   RelayID   Logic   Pulse_Width(mSec)	$
$ Sig1 =    500           1         1         0         500		$
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

[General]
 NumCommands=11

$ Reset


[Command 1]
Command=13
NumSignals=6
Active=1
Sig1=0 0 1 0 0 0
Sig2=0 0 2 0 0 0
Sig3=0 0 3 0 0 0
Sig4=0 0 4 0 0 0
Sig5=0 0 5 0 0 0
Sig6=0 0 6 0 0 0
Sig7=0 0 7 0 0
Sig8=0 0 8 0 0
Sig9=0 0 9 0 0
Sig10=0 0 10 0 0
Sig11=0 0 11 0 0 
Sig12=0 0 12 0 0
Sig13=0 0 13 0 0
Sig14=0 0 14 0 0
Sig15=0 0 15 0 0
Sig16=0 0 16 0 0

[Command 2]
Command=9
NumSignals=1
Active=1
Sig1=0 1 1 1 6 0

[Command 3]
Command=8
NumSignals=1
Active=1
Sig1=0 1 2 1 50 0

[Command 4]
Command=25
NumSignals=1
Active=1
Sig1=0 1 3 1 100 0

[Command 5]
Command=17
NumSignals=1
Active=1
Sig1=0 0 6 1 0 0

[Command 6]
Command=18
NumSignals=1
Active=1
Sig1=0 0 6 0 0 0

[Command 7]
Command=22
NumSignals=2
Active=1
Sig1=0 0 4 0 0 0
Sig2=0 0 5 0 0 0

[Command 8]
Command=23
NumSignals=2
Active=1
Sig1=0 0 5 0 0 0
Sig2=0 0 4 1 0 0

[Command 9]
Command=24
NumSignals=2
Active=1
Sig1=0 0 4 0 0 0
Sig2=0 0 5 1 0 0

[Command 10]
Command=32
NumSignals=1
Active=1
Sig1=0 1 2 1 20 1

[Command 11]
Command=33
NumSignals=1
Active=1
Sig1=0 1 1 1 20 1


[Data]
$0 = THREAD_PRIORITY_NORMAL ,1 = THREAD_PRIORITY_ABOVE_NORMAL 
$2 = THREAD_PRIORITY_HIGHEST ,15 = THREAD_PRIORITY_TIME_CRITICAL 
PosThreadPriority=2
PrecitionDistanceAfterTarget=500
PrecitionDistanceBeforeTarget=500
DecitionDistance=-1200
MaxDistanceAfterTarget=1000
HeadDeviceDistance=-1200
DistanceToSendJog=1800
MaxSpeedToSendJog=88
DistanceFromJogToStop=49
Delay=0
$ First Jog Then Stop = 0
$ Stop Before Jog = 1
RewinderScenario=1
PositionCandidateMaster=0
DeltaDistance =100
MultipleFaultsSupport = 1
TimeoutToWaitForZeroSpeed=6000
MaxDistanceBetweenConsecutiveFaultsToSendJog=1200
UseHWPositioning=0

; follow parameters relevant for slitter rewindes with high speed and not linear behaviour between speed and start job distance
; for calibration just need to check different stops with different speeds and put to table. "NumSpeedRecords" should be number of entries in table
; if "NumSpeedRecords" is equal zero then linear behaviour will be applied.
NumSpeedRecords= 0
SpeedList= 30|40|50|60|70|80|100
StoppingDistanceList= 500|700|800|900|1100|1500|2000

[DistancesToInspectionTable]
SupportDifferentDistances=0
Normal=4650
Premium=4650

[Workflow behavior]
CallStartRewinderOnRemoteRecheck=1
CallBypassOnRemoteRecheck=0
CallStartRewinderOnRemoteSkip=0
CallStartRewinderOnLocalRecheck=0
CallBypassOnLocalRecheck=1
CallStartRewinderOnLocalSkip=0
CallBypassOnRemoteSkip=0
CallBypassOnLocalSkip=0
RespondeToRemoteStartRewinder=1
$ 1 = Accept 0 = Reject
DefaultAcceptRejectFlag=0
CallBypassAllFaultsOnStopInspection=1
IsSequenceSupport=0
RemoveDefectsOnRemoteRecheck=0

IsForwardPositioning=1
ReverseDistance=300
ForbitDistanceToSplicerInHardware=1

SendInspectionOnBeforeCapturingMaster=1