peterhart
Goto Top

Hilfe bei der Erstellung einer Batchdatei

Hallo,
ich brauche Hilfe bei der Erstellung einer Batchdatei.

In einer Datei test.ini stehen z. B. diese Infos:

<W-AXIS>
    <TransmissionMotor Value="18" RawValue="3240" />  
    <TransmissionSpindle Value="40" RawValue="4440" />  
    <StepsPerRevolution Value="3200" />  
    <Mode Value="1" />  
  </W-AXIS>
  <SAFETY>
    **<Mode Value="1" />**  
    <Flag Value="0" />  
    <ReducedSpeed>
      <AxesSpeed Value="30" />  
      <UAxisSpeed Value="1000" />  
      <CAxisSpeed Value="1000" />  
    </ReducedSpeed>
    <ReducedCurrentLevels>
      <CurrentLevelX Value="1" />  
      <CurrentLevelY Value="1" />  
      <CurrentLevelZ Value="1" />  
      <CurrentLevelU Value="1" />  
      <CurrentLevelC Value="1" />  
    </ReducedCurrentLevels>
    <PauseBAE Value="60" />  
  </SAFETY>

Die Zeile 8 <Mode Value="1" /> soll überprüft, ausgelesen und geändert werden.
Dazu soll dann der String <Mode Value="1" /> in <Mode Value="2" /> geändert werden.
Leider reicht es nicht aus nach <Mode Value="1" /> zu suchen und diese Zeichenfolge zu ersetzten, da wie oben angegeben diese Zeilenfolge an mehreren Stellen existiert.

Kann mir jemand helfen.
Leiter bin ich in der Batchprogrammierung nicht mehr fit.

Gruß
Peter

Content-ID: 313723

Url: https://administrator.de/contentid/313723

Ausgedruckt am: 22.11.2024 um 13:11 Uhr

H41mSh1C0R
Lösung H41mSh1C0R 26.08.2016 um 17:21:44 Uhr
Goto Top
gibt es den SAFETY Block öfter in der ini? Wenn nicht nehm doch noch den Safety Block als Such Kriterium und ersetze die Zeile danach?

gruß
peterhart
peterhart 26.08.2016 um 17:43:23 Uhr
Goto Top
Hallo,
nein den SAFETY Block gibt es nur einmal.
Ich kann nach den SAFETY Block suchen, weiß aber nicht wie ich die Zeile danach überprüfen und ersetzen kann.
Wie gesagt, ich habe seit sehr vielen Jahren nichts mit Batchprogrammierung gemacht und so ziemlich alles vergessen.

Danke.
Gruß
Peter
rubberman
Lösung rubberman 26.08.2016 aktualisiert um 18:03:15 Uhr
Goto Top
Hallo Peter,

das ist XML und das parst und bearbeitet man mit dem DOM, nicht mit Texterkennung/Regex, denn im Zweifelsfall ist bereits die Codierung UTF-8, wo mit Batch Ebbe ist.
Um genaueres sagen zu können müsste man aber den kompletten Aufbau der Datei kennen, ein Ausschnitt reicht nicht. Die Umsetzung in einem Script wäre dann sicher kein Problem.

Grüße
rubberman
peterhart
peterhart 26.08.2016, aktualisiert am 27.08.2016 um 08:38:24 Uhr
Goto Top
Ich habe hier die komplette Datei eingestellt.
Mit DOM habe ich noch gar nichts zu tun gehabt.
Aber wenn es zu komplex wird dann lohnt es ggf. den Aufwand nicht.
Der Hintergrund warum ich nach einer Lösung suche ist folgender:
Der Wert 2 versetzt eine CNC-Maschine in den Service-Mode = schnelle Fahrwege und das sollte so bleiben.
Die Software ist aber so programmiert das beim Beenden dieser String wieder auf den Wert <Mode Value="1"
zurückgeschrieben wird. Der Wert 1 ist ein Standardsicherheitsmodus = langsame Fahrwege, wenn z. B. die Schutzhaube geöffnet wird.
Ich könnte natürlich den einfachen Weg wählen und die Datei komplett zurückschreiben.
Nachteil wäre hier, dass evtl. neue Einstellungen verloren gehen würden.
Oder die Hardcore Methode einfach den Sicherheitsschalter der Schutzhaube überbrücken.


 
<?xml version="1.0" encoding="utf-8"?> 
<!--de-DE  deu  DEU  Deutsch (Deutschland)  German (Germany)-->
<nccad8.ini>
  <IniFileVersion Value="8005" /> 
  <MachineType>
    <KOSY4A4 />
  </MachineType>
  <TABLESIZE>
    <ExtraFormats Value="TRUE" /> 
    <X-Y-Axis Value="0" /> 
    <Z-Axis Value="0" /> 
    <MaxX Value="295" RawValue="707240" /> 
    <MaxY Value="210" RawValue="406A40" /> 
    <MaxZ Value="108" RawValue="5B40" /> 
    <MaxA Value="100" RawValue="5940" /> 
    <MaxB Value="100" RawValue="5940" /> 
    <MaxC Value="3600" RawValue="20AC40" /> 
    <MaxU Value="3600" RawValue="20AC40" /> 
    <MaxV Value="100" RawValue="5940" /> 
    <MaxW Value="100" RawValue="5940" /> 
  </TABLESIZE>
  <AXISFACTOR>
    <X Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <Y Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <Z Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <A Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <B Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <U Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <V Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <W Value="0.00125" RawValue="7B14AE47E17A543F" /> 
  </AXISFACTOR>
  <TABLEPOS>
    <X Value="0" RawValue="0" /> 
    <Y Value="0" RawValue="0" /> 
    <Z Value="0" RawValue="0" /> 
    <A Value="0" RawValue="0" /> 
    <B Value="0" RawValue="0" /> 
    <C Value="0" RawValue="0" /> 
    <U Value="0" RawValue="0" /> 
    <V Value="0" RawValue="0" /> 
    <W Value="0" RawValue="0" /> 
  </TABLEPOS>
  <ZEROPOINTS>
    <Zeropoint>
      <Number Value="1" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[Basis Werkstück-Nullpunkt (BWNP)]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="2" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="3" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="4" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="5" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="6" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="7" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="8" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="9" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="10" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="11" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="12" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="13" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="14" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="15" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="16" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="17" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="18" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="19" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="20" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
  </ZEROPOINTS>
  <SPOOLER>
    <Active Value="TRUE" /> 
    <LookAhead Value="TRUE" /> 
    <StartSize Value="0" /> 
    <StartSizeNew Value="0" /> 
  </SPOOLER>
  <HELIX>
    <HelixInUse Value="FALSE" /> 
    <HelixRadius Value="100" /> 
  </HELIX>
  <SPEED>
    <Speedfactor>
      <AllAxes Value="100" /> 
      <X Value="100" /> 
      <Y Value="100" /> 
      <Z Value="60" /> 
      <A Value="100" /> 
      <B Value="100" /> 
      <U Value="25" /> 
      <V Value="100" /> 
      <W Value="100" /> 
      <C Value="50" /> 
    </Speedfactor>
    <Ramp Value="7" /> 
    <RampStart Value="90" /> 
    <RampZ Value="4" /> 
    <RampStartZ Value="80" /> 
    <UserDefinedRamp Value="0" /> 
    <WaitingTimeRamp Value="1" /> 
    <UseVGZActive Value="TRUE" /> 
    <CorrFactorCursorX Value="1" /> 
    <CorrFactorCursorY Value="1" /> 
    <CorrFactorCursorZ Value="1" /> 
    <UserDefinedRampZ Value="0" /> 
    <WaitingTimeRampZ Value="1" /> 
    <G00Max>
      <Axis1 Value="800" /> 
      <Axes2 Value="800" /> 
      <Axes3 Value="800" /> 
      <Axes4 Value="800" /> 
    </G00Max>
    <G01Max>
      <Axis1 Value="600" /> 
      <Axes2 Value="600" /> 
      <Axes3 Value="600" /> 
      <Axes4 Value="600" /> 
      <circle Value="600" /> 
    </G01Max>
    <FadingOutAngle>
      <Start Value="40" RawValue="2042" /> 
      <End Value="50" RawValue="4842" /> 
      <Factor Value="100" /> 
      <Feed Value="80" /> 
    </FadingOutAngle>
    <Override>
      <FeedActivated Value="FALSE" /> 
      <FeedPercent Value="15" /> 
      <FeedFreqJump Value="15" /> 
      <SpeedActivated Value="FALSE" /> 
      <SpeedPercent Value="15" /> 
    </Override>
  </SPEED>
  <ADDRESSING>
    <Slaves>
      <X Value="4" /> 
      <Y Value="2" /> 
      <Z Value="5" /> 
      <U Value="1" /> 
      <C Value="6" /> 
      <A Value="7" /> 
      <B Value="8" /> 
      <Relais Value="0" /> 
      <ParallelX Value="9" /> 
      <ParallelY Value="3" /> 
      <ParallelZ Value="10" /> 
      <V Value="11" /> 
      <W Value="12" /> 
    </Slaves>
    <Configuration Value="0" /> 
    <StandardType Value="0" /> 
    <ParallelXYZ Value="0" /> 
    <ParallelX Value="9" /> 
    <ParallelY Value="3" /> 
    <ParallelZ Value="10" /> 
  </ADDRESSING>
  <MACHININGUNITS>
    <Type Value="2" /> 
    <C-Axis>
      <Activated Value="-1" /> 
      <Mode Value="0" /> 
      <TransmissionMotor Value="18" RawValue="3240" /> 
      <TransmissionSpindle Value="40" RawValue="4440" /> 
      <StepsPerRevolution Value="3200" /> 
      <Encoder Value="1" /> 
      <MaxRpmCAxis Value="3000" /> 
    </C-Axis>
    <HighPowerC-Axis>
      <Activated Value="0" /> 
      <Ramp Value="5" /> 
      <EmergencyRamp Value="5" /> 
      <Direction Value="0" /> 
      <MaxRpmServo Value="4500" /> 
    </HighPowerC-Axis>
    <HighSpeedSpindle>
      <MinRevs Value="1000" /> 
      <MaxRevs Value="50000" /> 
      <MinVoltage Value="0.1" RawValue="CDCCCC3D" /> 
      <MaxVoltage Value="10" RawValue="2041" /> 
    </HighSpeedSpindle>
    <ThreePhaseSpindle>
      <MinRevs Value="3000" /> 
      <MaxRevs Value="11500" /> 
      <MinVoltage Value="0.1" RawValue="CDCCCC3D" /> 
      <MaxVoltage Value="5" RawValue="A040" /> 
    </ThreePhaseSpindle>
    <Osada>
      <MinRevs Value="1000" /> 
      <MaxRevs Value="40000" /> 
      <MinVoltage Value="0.1" RawValue="CDCCCC3D" /> 
      <MaxVoltage Value="5" RawValue="A040" /> 
    </Osada>
    <Scan>
      <PicExtension><![CDATA[.jpg]]></PicExtension>
      <ScanSpeed Value="5" RawValue="1440" /> 
    </Scan>
    <BAEMAKROSTART Value="FALSE" /> 
    <BAEMAKROSTOP Value="FALSE" /> 
  </MACHININGUNITS>
  <BASICMAKROS>
    <USEG76MAKRO Value="FALSE" /> 
    <USEG77MAKRO Value="FALSE" /> 
    <USEG78MAKRO Value="FALSE" /> 
    <MANUALCONTROLCLOSE Value="FALSE" /> 
    <MANUALCONTROLOPEN Value="FALSE" /> 
    <PROGRAMEND Value="FALSE" /> 
    <PROGRAMENDALWAYS Value="FALSE" /> 
    <PROGRAMSTART Value="FALSE" /> 
  </BASICMAKROS>
  <ENDSWITCH>
    <X>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </X>
    <Y>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </Y>
    <Z>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </Z>
    <A>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </A>
    <B>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </B>
    <c>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </c>
    <U>
      <Type Value="0" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </U>
    <V>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </V>
    <W>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </W>
    <Position Value="0" /> 
    <NoUEndSwitch Value="FALSE" /> 
    <NoVEndSwitch Value="FALSE" /> 
    <TouchWay Value="10" RawValue="2440" /> 
  </ENDSWITCH>
  <AMPLIFIER>
    <X>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </X>
    <Y>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </Y>
    <Z>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </Z>
    <A>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </A>
    <B>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </B>
    <c>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </c>
    <U>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </U>
    <V>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </V>
    <W>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </W>
  </AMPLIFIER>
  <RELAYS>
    <RELAY>
      <Number Value="1" /> 
      <Remark><![CDATA[Relais 1]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="2" /> 
      <Remark><![CDATA[Relais 2]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="3" /> 
      <Remark><![CDATA[Relais 3]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="4" /> 
      <Remark><![CDATA[Relais 4]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="5" /> 
      <Remark><![CDATA[Relais 5]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="6" /> 
      <Remark><![CDATA[Relais 6]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="7" /> 
      <Remark><![CDATA[Relais 7]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="8" /> 
      <Remark><![CDATA[Relais 8]]></Remark>
    </RELAY>
  </RELAYS>
  <DOUTSRELAY>
    <DOUTRELAY>
      <Number Value="1" /> 
      <Remark><![CDATA[DOutText1]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="2" /> 
      <Remark><![CDATA[DOutText2]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="3" /> 
      <Remark><![CDATA[DOutText3]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="4" /> 
      <Remark><![CDATA[DOutText4]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="5" /> 
      <Remark><![CDATA[DOutText5]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="6" /> 
      <Remark><![CDATA[DOutText6]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="7" /> 
      <Remark><![CDATA[DOutText7]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="8" /> 
      <Remark><![CDATA[DOutText8]]></Remark>
    </DOUTRELAY>
  </DOUTSRELAY>
  <DOUTSAXES>
    <DOUTAXIS>
      <Number Value="1" /> 
      <Remark><![CDATA[DOutAxisText1]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="2" /> 
      <Remark><![CDATA[DOutAxisText2]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="3" /> 
      <Remark><![CDATA[DOutAxisText3]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="4" /> 
      <Remark><![CDATA[DOutAxisText4]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="5" /> 
      <Remark><![CDATA[DOutAxisText5]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="6" /> 
      <Remark><![CDATA[DOutAxisText6]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="7" /> 
      <Remark><![CDATA[DOutAxisText7]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="8" /> 
      <Remark><![CDATA[DOutAxisText8]]></Remark>
    </DOUTAXIS>
  </DOUTSAXES>
  <Labels>
    <DINOnText1><![CDATA[DinOnText1]]></DINOnText1>
    <DINOffText1><![CDATA[DinOffText1]]></DINOffText1>
    <DINOnText2><![CDATA[DinOnText2]]></DINOnText2>
    <DINOffText2><![CDATA[DinOffText2]]></DINOffText2>
    <DINOnText3><![CDATA[DinOnText3]]></DINOnText3>
    <DINOffText3><![CDATA[DinOffText3]]></DINOffText3>
    <DINOnText4><![CDATA[DinOnText4]]></DINOnText4>
    <DINOffText4><![CDATA[DinOffText4]]></DINOffText4>
    <DINOnText5><![CDATA[DinOnText5]]></DINOnText5>
    <DINOffText5><![CDATA[DinOffText5]]></DINOffText5>
    <DINOnText6><![CDATA[DinOnText6]]></DINOnText6>
    <DINOffText6><![CDATA[DinOffText6]]></DINOffText6>
    <DINOnText7><![CDATA[DinOnText7]]></DINOnText7>
    <DINOffText7><![CDATA[DinOffText7]]></DINOffText7>
    <DINOnText8><![CDATA[DinOnText8]]></DINOnText8>
    <DINOffText8><![CDATA[DinOffText8]]></DINOffText8>
    <VoltageU1><![CDATA[Spannung U1]]></VoltageU1>
    <VoltageU1k><![CDATA[Spannung U1k]]></VoltageU1k>
  </Labels>
  <A-AXIS>
    <TransmissionMotor Value="18" RawValue="3240" /> 
    <TransmissionSpindle Value="40" RawValue="4440" /> 
    <StepsPerRevolution Value="3200" /> 
    <Mode Value="0" /> 
  </A-AXIS>
  <B-AXIS>
    <TransmissionMotor Value="18" RawValue="3240" /> 
    <TransmissionSpindle Value="40" RawValue="4440" /> 
    <StepsPerRevolution Value="3200" /> 
    <Mode Value="0" /> 
    <VerticalPosition Value="0" RawValue="0" /> 
    <OverRun Value="0" RawValue="0" /> 
    <SpindleFailure Value="0" RawValue="0" /> 
  </B-AXIS>
  <U-AXIS>
    <UAxisMotor Value="1" /> 
    <Option Value="0" /> 
    <Position Value="0" /> 
    <Checked Value="FALSE" /> 
    <TransmissionMotor Value="3" RawValue="840" /> 
    <TransmissionSpindle Value="1" RawValue="F03F" /> 
    <StepsPerRevolution Value="3200" /> 
    <ServoMotor>
      <EmergencyRamp Value="5" /> 
      <Direction Value="0" /> 
      <ZeroCrossingServo Value="FALSE" /> 
    </ServoMotor>
    <SteppingMotor>
      <Ramp Value="0" /> 
      <RampStart Value="50" /> 
      <MaxRpm Value="600" /> 
      <MaxRpmServo Value="4500" /> 
    </SteppingMotor>
  </U-AXIS>
  <V-AXIS>
    <Mode Value="0" /> 
    <VAxisMotor Value="1" /> 
    <Option Value="0" /> 
    <Position Value="0" /> 
    <Checked Value="FALSE" /> 
    <TransmissionMotor Value="18" RawValue="3240" /> 
    <TransmissionSpindle Value="40" RawValue="4440" /> 
    <StepsPerRevolution Value="3200" /> 
    <ServoMotor>
      <EmergencyRamp Value="0" /> 
      <Direction Value="0" /> 
      <ZeroCrossingServo Value="FALSE" /> 
    </ServoMotor>
    <SteppingMotor>
      <Ramp Value="4" /> 
      <RampStart Value="5" /> 
      <MaxRpm Value="600" /> 
      <MaxRpmServo Value="4500" /> 
    </SteppingMotor>
  </V-AXIS>
  <W-AXIS>
    <TransmissionMotor Value="18" RawValue="3240" /> 
    <TransmissionSpindle Value="40" RawValue="4440" /> 
    <StepsPerRevolution Value="3200" /> 
    <Mode Value="0" /> 
  </W-AXIS>
  <SAFETY>
    <Mode Value="1" /> 
    <Flag Value="0" /> 
    <ReducedSpeed>
      <AxesSpeed Value="30" /> 
      <UAxisSpeed Value="1000" /> 
      <CAxisSpeed Value="1000" /> 
    </ReducedSpeed>
    <ReducedCurrentLevels>
      <CurrentLevelX Value="1" /> 
      <CurrentLevelY Value="1" /> 
      <CurrentLevelZ Value="1" /> 
      <CurrentLevelU Value="1" /> 
      <CurrentLevelC Value="1" /> 
    </ReducedCurrentLevels>
    <PauseBAE Value="60" /> 
  </SAFETY>
  <VERSIONS>
    <NccadVersion><![CDATA[9.29.9.29.62.24]]></NccadVersion>
  </VERSIONS>
  <ADMINISTRATOR>
    <ContactKosyServer Value="FALSE" /> 
    <KosyServerName><![CDATA[Fertigung 01]]></KosyServerName>
    <KosyServerPort Value="2000" /> 
  </ADMINISTRATOR>
  <MISCELLANEOUS>
    <AutoHomeRunOn Value="0" /> 
    <DepthControlling Value="FALSE" /> 
    <Lathe Value="FALSE" /> 
    <DxfInchFlag Value="0" /> 
    <HpglInchFlag Value="1" /> 
    <DxfImportType Value="1" /> 
    <SerialPort Value="1" /> 
    <OperatingTimes Value="0" /> 
    <MovingTimes Value="0" /> 
    <COPIES>
      <CopyActive Value="FALSE" /> 
      <X Value="0" /> 
      <Y Value="0" /> 
    </COPIES>
    <CopyOffset>
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
    </CopyOffset>
    <VerifyValue Value="0" /> 
    <ControlVoltage Value="10" RawValue="2041" /> 
    <SpindleFailure>
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
    </SpindleFailure>
    <Counter>
      <Start Value="0" RawValue="0" /> 
      <Step Value="0" RawValue="0" /> 
      <Current Value="0" RawValue="0" /> 
    </Counter>
    <AnglePerPulse Value="0.36" RawValue="AD7A3703D0AD73F" /> 
    <DimensionsFontHeigh Value="6" RawValue="1840" /> 
    <DimensionsDecimalDigits Value="131" /> 
    <FontUnit Value="0" /> 
    <Cycle Value="FALSE" /> 
    <TabWidth Value="2" /> 
  </MISCELLANEOUS>
  <DefaultPath>
    <USE_INDIVIDUAL_PATHES Value="FALSE" /> 
    <CAD><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL]]></CAD>
    <CNC><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL]]></CNC>
    <DXF><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL\2_Beispiele_Examples\DXF]]></DXF>
    <HPGL><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL\2_Beispiele_Examples\HPGL]]></HPGL>
    <STL><![CDATA[C:\Users\Public\MAXcomputer\nccad\GLOBAL\STL]]></STL>
    <SURFACE><![CDATA[C:\Users\Public\MAXcomputer\nccad\SCAN\Surfaces]]></SURFACE>
    <BMP><![CDATA[C:\Users\Public\MAXcomputer\nccad\GLOBAL\Bilder_Pictures]]></BMP>
    <SYMBOL><![CDATA[C:\Program Files (x86)\nccad9\Symbols]]></SYMBOL>
    <HELP><![CDATA[C:\Program Files (x86)\nccad9\2_Help]]></HELP>
    <VIDEO><![CDATA[C:\Program Files (x86)\nccad9\Videos]]></VIDEO>
    <ScanProjects><![CDATA[C:\Users\Public\MAXcomputer\nccad\SCAN\1_Eigene_MyProjects]]></ScanProjects>
    <TOOLS><![CDATA[C:\ProgramData\nccad\nccad8\Tools]]></TOOLS>
    <MAKRO_BASIC><![CDATA[C:\Program Files (x86)\nccad9\Makros\Basic]]></MAKRO_BASIC>
    <MAKRO_INDIVIDUAL><![CDATA[C:\Users\Public\MAXcomputer\nccad\GLOBAL\Makros\Individual]]></MAKRO_INDIVIDUAL>
    <LICENCE><![CDATA[C:\ProgramData\nccad\nccad8\Licence\nccad.lic]]></LICENCE>
    <ScanApplication><![CDATA[C:\Program Files (x86)]]></ScanApplication>
    <SERVICE><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL\Inbetriebnahme_Startup]]></SERVICE>
    <PUBLIC_ROOT><![CDATA[C:\Users\Public\MAXcomputer\nccad]]></PUBLIC_ROOT>
    <PUBLIC_ROOT_GLOBAL><![CDATA[C:\Users\Public\MAXcomputer\nccad\GLOBAL]]></PUBLIC_ROOT_GLOBAL>
    <PUBLIC_ROOT_MILL><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL]]></PUBLIC_ROOT_MILL>
    <PUBLIC_ROOT_PRINT><![CDATA[C:\Users\Public\MAXcomputer\nccad\PRINT]]></PUBLIC_ROOT_PRINT>
    <PUBLIC_ROOT_SCAN><![CDATA[C:\Users\Public\MAXcomputer\nccad\SCAN]]></PUBLIC_ROOT_SCAN>
    <PUBLIC_ROOT_TURN><![CDATA[C:\Users\Public\MAXcomputer\nccad\TURN]]></PUBLIC_ROOT_TURN>
  </DefaultPath>
  <CADSettings>
    <STLFACETING Value="0.2" RawValue="CDCC4C3E" /> 
    <ChordLength Value="1" RawValue="F03F" /> 
    <Sagitta Value="0.2" RawValue="9A9999999999C93F" /> 
    <ChordResolution Value="TRUE" /> 
  </CADSettings>
  <HANDWHEELS>
    <Mounted Value="FALSE" /> 
    <Type Value="2" /> 
    <X>
      <Fine Value="0" /> 
      <Rough Value="0" /> 
      <Direction Value="FALSE" /> 
    </X>
    <Y>
      <Fine Value="0" /> 
      <Rough Value="0" /> 
      <Direction Value="FALSE" /> 
    </Y>
    <Z>
      <Fine Value="0" /> 
      <Rough Value="0" /> 
      <Direction Value="FALSE" /> 
    </Z>
    <U>
      <Fine Value="0" /> 
      <Rough Value="4" /> 
      <Direction Value="FALSE" /> 
    </U>
    <A>
      <Fine Value="0" /> 
      <Rough Value="4" /> 
      <Direction Value="FALSE" /> 
    </A>
    <B>
      <Fine Value="0" /> 
      <Rough Value="4" /> 
      <Direction Value="FALSE" /> 
    </B>
    <c>
      <Fine Value="0" /> 
      <Rough Value="4" /> 
      <Direction Value="FALSE" /> 
    </c>
  </HANDWHEELS>
  <MEASURINGSYSTEM>
    <Activated Value="FALSE" /> 
    <XYZ Value="0" /> 
    <Tolerance>
      <X Value="0.5" RawValue="E03F" /> 
      <Y Value="0.5" RawValue="E03F" /> 
      <Z Value="0.5" RawValue="E03F" /> 
    </Tolerance>
    <Resolution>
      <X Value="2" RawValue="40" /> 
      <Y Value="2" RawValue="40" /> 
      <Z Value="2" RawValue="40" /> 
    </Resolution>
    <Mode>
      <X Value="1" /> 
      <Y Value="1" /> 
      <Z Value="1" /> 
    </Mode>
    <ReferenceMode>
      <X Value="0" /> 
      <Y Value="0" /> 
      <Z Value="0" /> 
    </ReferenceMode>
    <ControlRadius>
      <X Value="1" RawValue="F03F" /> 
      <Y Value="1" RawValue="F03F" /> 
      <Z Value="1" RawValue="F03F" /> 
    </ControlRadius>
    <MaxControlPath>
      <X Value="1" RawValue="F03F" /> 
      <Y Value="1" RawValue="F03F" /> 
      <Z Value="1" RawValue="F03F" /> 
    </MaxControlPath>
    <ControlInterval>
      <X Value="1.25" RawValue="F43F" /> 
      <Y Value="1.25" RawValue="F43F" /> 
      <Z Value="1.25" RawValue="F43F" /> 
    </ControlInterval>
  </MEASURINGSYSTEM>
  <TOOLCHANGER>
    <Present Value="FALSE" /> 
    <ActiveTool Value="0" /> 
    <ToolFileName>
      <ToolFileName1><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set 1mm.tol]]></ToolFileName1>
      <ToolFileName2><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set 2mm.tol]]></ToolFileName2>
      <ToolFileName3><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set 3mm.tol]]></ToolFileName3>
      <ToolFileName4><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set Grav 60°.tol]]></ToolFileName4>
      <ToolFileName5><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Zahn M4M6.tol]]></ToolFileName5>
      <ToolFileName6><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set 6mm.tol]]></ToolFileName6>
      <ToolFileName7><![CDATA[]]></ToolFileName7>
      <ToolFileName8><![CDATA[]]></ToolFileName8>
      <ToolFileName9><![CDATA[]]></ToolFileName9>
      <ToolFileName10><![CDATA[]]></ToolFileName10>
      <ToolFileName11><![CDATA[]]></ToolFileName11>
      <ToolFileName12><![CDATA[]]></ToolFileName12>
      <ToolFileName13><![CDATA[]]></ToolFileName13>
      <ToolFileName14><![CDATA[]]></ToolFileName14>
      <ToolFileName15><![CDATA[]]></ToolFileName15>
      <ToolFileName16><![CDATA[]]></ToolFileName16>
      <ToolFileName17><![CDATA[]]></ToolFileName17>
      <ToolFileName18><![CDATA[]]></ToolFileName18>
      <ToolFileName19><![CDATA[]]></ToolFileName19>
      <ToolFileName20><![CDATA[]]></ToolFileName20>
    </ToolFileName>
    <FixedToolCorrection Value="TRUE" /> 
    <ToolsTolerance Value="10" RawValue="2440" /> 
    <UPos>
      <UPos1 Value="0" RawValue="0" /> 
      <UPos2 Value="0" RawValue="0" /> 
      <UPos3 Value="0" RawValue="0" /> 
      <UPos4 Value="0" RawValue="0" /> 
      <UPos5 Value="0" RawValue="0" /> 
      <UPos6 Value="0" RawValue="0" /> 
      <UPos7 Value="0" RawValue="0" /> 
      <UPos8 Value="0" RawValue="0" /> 
      <UPos9 Value="0" RawValue="0" /> 
      <UPos10 Value="0" RawValue="0" /> 
      <UPos11 Value="0" RawValue="0" /> 
      <UPos12 Value="0" RawValue="0" /> 
      <UPos13 Value="0" RawValue="0" /> 
      <UPos14 Value="0" RawValue="0" /> 
      <UPos15 Value="0" RawValue="0" /> 
      <UPos16 Value="0" RawValue="0" /> 
      <UPos17 Value="0" RawValue="0" /> 
      <UPos18 Value="0" RawValue="0" /> 
      <UPos19 Value="0" RawValue="0" /> 
      <UPos20 Value="0" RawValue="0" /> 
    </UPos>
    <UPosFor Value="60" RawValue="4E40" /> 
    <UPosBack Value="50" RawValue="4940" /> 
  </TOOLCHANGER>
  <TOOLMEASURE>
    <TLRefX Value="0" RawValue="0" /> 
    <TLRefY Value="0" RawValue="0" /> 
    <TLRefZ Value="0" RawValue="0" /> 
    <TLAbsZOld Value="25" RawValue="3940" /> 
    <ToolWidth Value="0" RawValue="0" /> 
    <ToolMeasured Value="FALSE" /> 
    <ToolMeasureMode Value="0" /> 
    <Checked Value="FALSE" /> 
    <TLMopener Value="TRUE" /> 
    <CheckToolTolerance Value="FALSE" /> 
  </TOOLMEASURE>
  <AXISBREAKS>
    <X>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </X>
    <Y>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </Y>
    <Z>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </Z>
    <U>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
      <BRAKECONNECTIONU Value="0" /> 
    </U>
    <c>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </c>
    <B>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </B>
    <A>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </A>
    <W>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </W>
  </AXISBREAKS>
  <TMRanalog>
    <TMRaWegProWert Value="0.01" RawValue="7B14AE47E17A843F" /> 
    <TMRaMindAenderung Value="4" /> 
    <TMRaSchritteProZyklus Value="4" /> 
    <TMRaMaxRegelSchritte Value="8000" /> 
    <TMRaReferenz Value="-1" /> 
    <TMRaAntast Value="-1" /> 
    <TMRaReferenzZ Value="0" RawValue="0" /> 
    <TMRaReferenzZold Value="0" RawValue="0" /> 
    <TMRaAntastX Value="0" RawValue="0" /> 
    <TMRaAntastY Value="0" RawValue="0" /> 
    <TMRaAntastZ Value="0" RawValue="0" /> 
    <TMRaAntastZold Value="0" RawValue="0" /> 
  </TMRanalog>
  <HEATER1>
    <SETPOINT Value="0" RawValue="0" /> 
    <TOLERANCE Value="20" /> 
    <HYSTERESIS Value="8" /> 
    <OVERRIDEFACTOR Value="25" /> 
    <HOTPOINT Value="50" /> 
    <OUTMODE Value="FALSE" /> 
    <NTCEXTERN Value="FALSE" /> 
    <HEATERACTIVE Value="FALSE" /> 
  </HEATER1>
  <HEATER2>
    <SETPOINT Value="0" RawValue="0" /> 
    <TOLERANCE Value="20" /> 
    <HYSTERESIS Value="8" /> 
    <OVERRIDEFACTOR Value="25" /> 
    <HOTPOINT Value="50" /> 
    <OUTMODE Value="FALSE" /> 
    <NTCEXTERN Value="FALSE" /> 
    <HEATERACTIVE Value="FALSE" /> 
  </HEATER2>
  <Workpiece>
    <X_MIN Value="0" RawValue="0" /> 
    <X_MAX Value="100" RawValue="5940" /> 
    <Y_MIN Value="0" RawValue="0" /> 
    <Y_MAX Value="136" RawValue="6140" /> 
    <Z_MIN Value="0" RawValue="0" /> 
    <Z_MAX Value="8" RawValue="2040" /> 
    <OuterDiameter Value="0" RawValue="0" /> 
    <InnerDiameter Value="0" RawValue="0" /> 
    <Length Value="-10" RawValue="24C0" /> 
    <ClampingLength Value="15" RawValue="2E40" /> 
    <OuterClamping Value="FALSE" /> 
    <MATERIAL>
      <Red Value="0.3" RawValue="9A99993E" /> 
      <Green Value="0.3" RawValue="9A99993E" /> 
      <Blue Value="0.7" RawValue="3433333F" /> 
      <Alpha Value="0.25" RawValue="803E" /> 
      <Number Value="0" RawValue="0" /> 
    </MATERIAL>
  </Workpiece>
  <WorkpieceTurningMilling>
    <X_MIN Value="0" RawValue="0" /> 
    <X_MAX Value="0" RawValue="0" /> 
    <Y_MIN Value="0" RawValue="0" /> 
    <Y_MAX Value="0" RawValue="0" /> 
    <Z_MIN Value="0" RawValue="0" /> 
    <Z_MAX Value="0" RawValue="0" /> 
    <OuterDiameter Value="0" RawValue="0" /> 
    <InnerDiameter Value="0" RawValue="0" /> 
    <Length Value="0" RawValue="0" /> 
    <ClampingLength Value="0" RawValue="0" /> 
    <OuterClamping Value="FALSE" /> 
    <MATERIAL>
      <Red Value="0" RawValue="0" /> 
      <Green Value="0" RawValue="0" /> 
      <Blue Value="0" RawValue="0" /> 
      <Alpha Value="0" RawValue="0" /> 
      <Number Value="0" RawValue="0" /> 
    </MATERIAL>
  </WorkpieceTurningMilling>
  <Printing>
    <PageMargins>
      <Left Value="18" RawValue="9041" /> 
      <Right Value="10" RawValue="2041" /> 
      <Top Value="10" RawValue="2041" /> 
      <Bottom Value="10" RawValue="2041" /> 
    </PageMargins>
    <Settings>
      <Flags Value="3" /> 
      <PrintOK Value="0" /> 
    </Settings>
    <ScaleDrawing Value="1" RawValue="803F" /> 
    <ScalePrinter Value="1" RawValue="803F" /> 
    <Option Value="1" /> 
    <Orientation Value="-1" /> 
  </Printing>
  <PAPER>
    <Size Value="0" /> 
    <Format Value="FALSE" /> 
    <Portrait Value="FALSE" /> 
    <Breadth Value="0" RawValue="0" /> 
    <Height Value="0" RawValue="0" /> 
    <Margin Value="0" RawValue="0" /> 
  </PAPER>
</nccad8.ini>
129813
Lösung 129813 26.08.2016 aktualisiert um 20:56:52 Uhr
Goto Top
Hi, you can use this in your batch to change the desired value in a 'safe' way face-wink
@echo off
set "xmlpath=C:\test.ini"  
powershell -Executionpolicy ByPass -Command "$xml = New-Object XML; $xml.Load('%xmlpath%');$xml.DocumentElement.SAFETY.Mode.Value = '2'; $xml.Save('%xmlpath%')"  
Regards
rubberman
Lösung rubberman 26.08.2016 um 20:57:18 Uhr
Goto Top
Magst du da mal bitte Code Tags drum setzen, damit man was erkennen kann?

Grüße
rubberman
peterhart
peterhart 26.08.2016 um 21:02:19 Uhr
Goto Top
Hello,
Thank you very much!!!
Although I do not know exactly what happened there, but it seems to work.
Maybe someone can explain the commands and syntax times briefly?

greeting
Peter
peterhart
peterhart 26.08.2016 aktualisiert um 21:08:28 Uhr
Goto Top
Entschuldigung für die Unleserlichkeit!
Es ist die Zeile 726


<?xml version="1.0" encoding="utf-8"?> 
<!--de-DE  deu  DEU  Deutsch (Deutschland)  German (Germany)-->
<nccad8.ini>
  <IniFileVersion Value="8005" /> 
  <MachineType>
    <KOSY4A4 />
  </MachineType>
  <TABLESIZE>
    <ExtraFormats Value="TRUE" /> 
    <X-Y-Axis Value="0" /> 
    <Z-Axis Value="0" /> 
    <MaxX Value="295" RawValue="707240" /> 
    <MaxY Value="210" RawValue="406A40" /> 
    <MaxZ Value="108" RawValue="5B40" /> 
    <MaxA Value="100" RawValue="5940" /> 
    <MaxB Value="100" RawValue="5940" /> 
    <MaxC Value="3600" RawValue="20AC40" /> 
    <MaxU Value="3600" RawValue="20AC40" /> 
    <MaxV Value="100" RawValue="5940" /> 
    <MaxW Value="100" RawValue="5940" /> 
  </TABLESIZE>
  <AXISFACTOR>
    <X Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <Y Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <Z Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <A Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <B Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <U Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <V Value="0.00125" RawValue="7B14AE47E17A543F" /> 
    <W Value="0.00125" RawValue="7B14AE47E17A543F" /> 
  </AXISFACTOR>
  <TABLEPOS>
    <X Value="0" RawValue="0" /> 
    <Y Value="0" RawValue="0" /> 
    <Z Value="0" RawValue="0" /> 
    <A Value="0" RawValue="0" /> 
    <B Value="0" RawValue="0" /> 
    <C Value="0" RawValue="0" /> 
    <U Value="0" RawValue="0" /> 
    <V Value="0" RawValue="0" /> 
    <W Value="0" RawValue="0" /> 
  </TABLEPOS>
  <ZEROPOINTS>
    <Zeropoint>
      <Number Value="1" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[Basis Werkstück-Nullpunkt (BWNP)]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="2" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="3" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="4" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="5" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="6" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="7" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="8" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="9" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="10" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="11" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="12" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="13" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="14" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="15" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="16" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="17" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="18" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="19" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
    <Zeropoint>
      <Number Value="20" /> 
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
      <A Value="0" RawValue="0" /> 
      <B Value="0" RawValue="0" /> 
      <C Value="0" RawValue="0" /> 
      <U Value="0" RawValue="0" /> 
      <V Value="0" RawValue="0" /> 
      <W Value="0" RawValue="0" /> 
      <Remark><![CDATA[unbenutzt]]></Remark>
    </Zeropoint>
  </ZEROPOINTS>
  <SPOOLER>
    <Active Value="TRUE" /> 
    <LookAhead Value="TRUE" /> 
    <StartSize Value="0" /> 
    <StartSizeNew Value="0" /> 
  </SPOOLER>
  <HELIX>
    <HelixInUse Value="FALSE" /> 
    <HelixRadius Value="100" /> 
  </HELIX>
  <SPEED>
    <Speedfactor>
      <AllAxes Value="100" /> 
      <X Value="100" /> 
      <Y Value="100" /> 
      <Z Value="60" /> 
      <A Value="100" /> 
      <B Value="100" /> 
      <U Value="25" /> 
      <V Value="100" /> 
      <W Value="100" /> 
      <C Value="50" /> 
    </Speedfactor>
    <Ramp Value="7" /> 
    <RampStart Value="90" /> 
    <RampZ Value="4" /> 
    <RampStartZ Value="80" /> 
    <UserDefinedRamp Value="0" /> 
    <WaitingTimeRamp Value="1" /> 
    <UseVGZActive Value="TRUE" /> 
    <CorrFactorCursorX Value="1" /> 
    <CorrFactorCursorY Value="1" /> 
    <CorrFactorCursorZ Value="1" /> 
    <UserDefinedRampZ Value="0" /> 
    <WaitingTimeRampZ Value="1" /> 
    <G00Max>
      <Axis1 Value="800" /> 
      <Axes2 Value="800" /> 
      <Axes3 Value="800" /> 
      <Axes4 Value="800" /> 
    </G00Max>
    <G01Max>
      <Axis1 Value="600" /> 
      <Axes2 Value="600" /> 
      <Axes3 Value="600" /> 
      <Axes4 Value="600" /> 
      <circle Value="600" /> 
    </G01Max>
    <FadingOutAngle>
      <Start Value="40" RawValue="2042" /> 
      <End Value="50" RawValue="4842" /> 
      <Factor Value="100" /> 
      <Feed Value="80" /> 
    </FadingOutAngle>
    <Override>
      <FeedActivated Value="FALSE" /> 
      <FeedPercent Value="15" /> 
      <FeedFreqJump Value="15" /> 
      <SpeedActivated Value="FALSE" /> 
      <SpeedPercent Value="15" /> 
    </Override>
  </SPEED>
  <ADDRESSING>
    <Slaves>
      <X Value="4" /> 
      <Y Value="2" /> 
      <Z Value="5" /> 
      <U Value="1" /> 
      <C Value="6" /> 
      <A Value="7" /> 
      <B Value="8" /> 
      <Relais Value="0" /> 
      <ParallelX Value="9" /> 
      <ParallelY Value="3" /> 
      <ParallelZ Value="10" /> 
      <V Value="11" /> 
      <W Value="12" /> 
    </Slaves>
    <Configuration Value="0" /> 
    <StandardType Value="0" /> 
    <ParallelXYZ Value="0" /> 
    <ParallelX Value="9" /> 
    <ParallelY Value="3" /> 
    <ParallelZ Value="10" /> 
  </ADDRESSING>
  <MACHININGUNITS>
    <Type Value="2" /> 
    <C-Axis>
      <Activated Value="-1" /> 
      <Mode Value="0" /> 
      <TransmissionMotor Value="18" RawValue="3240" /> 
      <TransmissionSpindle Value="40" RawValue="4440" /> 
      <StepsPerRevolution Value="3200" /> 
      <Encoder Value="1" /> 
      <MaxRpmCAxis Value="3000" /> 
    </C-Axis>
    <HighPowerC-Axis>
      <Activated Value="0" /> 
      <Ramp Value="5" /> 
      <EmergencyRamp Value="5" /> 
      <Direction Value="0" /> 
      <MaxRpmServo Value="4500" /> 
    </HighPowerC-Axis>
    <HighSpeedSpindle>
      <MinRevs Value="1000" /> 
      <MaxRevs Value="50000" /> 
      <MinVoltage Value="0.1" RawValue="CDCCCC3D" /> 
      <MaxVoltage Value="10" RawValue="2041" /> 
    </HighSpeedSpindle>
    <ThreePhaseSpindle>
      <MinRevs Value="3000" /> 
      <MaxRevs Value="11500" /> 
      <MinVoltage Value="0.1" RawValue="CDCCCC3D" /> 
      <MaxVoltage Value="5" RawValue="A040" /> 
    </ThreePhaseSpindle>
    <Osada>
      <MinRevs Value="1000" /> 
      <MaxRevs Value="40000" /> 
      <MinVoltage Value="0.1" RawValue="CDCCCC3D" /> 
      <MaxVoltage Value="5" RawValue="A040" /> 
    </Osada>
    <Scan>
      <PicExtension><![CDATA[.jpg]]></PicExtension>
      <ScanSpeed Value="5" RawValue="1440" /> 
    </Scan>
    <BAEMAKROSTART Value="FALSE" /> 
    <BAEMAKROSTOP Value="FALSE" /> 
  </MACHININGUNITS>
  <BASICMAKROS>
    <USEG76MAKRO Value="FALSE" /> 
    <USEG77MAKRO Value="FALSE" /> 
    <USEG78MAKRO Value="FALSE" /> 
    <MANUALCONTROLCLOSE Value="FALSE" /> 
    <MANUALCONTROLOPEN Value="FALSE" /> 
    <PROGRAMEND Value="FALSE" /> 
    <PROGRAMENDALWAYS Value="FALSE" /> 
    <PROGRAMSTART Value="FALSE" /> 
  </BASICMAKROS>
  <ENDSWITCH>
    <X>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </X>
    <Y>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </Y>
    <Z>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </Z>
    <A>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </A>
    <B>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </B>
    <c>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </c>
    <U>
      <Type Value="0" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </U>
    <V>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </V>
    <W>
      <Type Value="1" /> 
      <SafetyDistance Value="510" /> 
      <MaxLooseningSteps Value="2400" /> 
    </W>
    <Position Value="0" /> 
    <NoUEndSwitch Value="FALSE" /> 
    <NoVEndSwitch Value="FALSE" /> 
    <TouchWay Value="10" RawValue="2440" /> 
  </ENDSWITCH>
  <AMPLIFIER>
    <X>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </X>
    <Y>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </Y>
    <Z>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </Z>
    <A>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </A>
    <B>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </B>
    <c>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </c>
    <U>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </U>
    <V>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </V>
    <W>
      <Type Value="0" /> 
      <MinPulseLength Value="1" /> 
      <MOTORTYP Value="2" /> 
    </W>
  </AMPLIFIER>
  <RELAYS>
    <RELAY>
      <Number Value="1" /> 
      <Remark><![CDATA[Relais 1]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="2" /> 
      <Remark><![CDATA[Relais 2]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="3" /> 
      <Remark><![CDATA[Relais 3]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="4" /> 
      <Remark><![CDATA[Relais 4]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="5" /> 
      <Remark><![CDATA[Relais 5]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="6" /> 
      <Remark><![CDATA[Relais 6]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="7" /> 
      <Remark><![CDATA[Relais 7]]></Remark>
    </RELAY>
    <RELAY>
      <Number Value="8" /> 
      <Remark><![CDATA[Relais 8]]></Remark>
    </RELAY>
  </RELAYS>
  <DOUTSRELAY>
    <DOUTRELAY>
      <Number Value="1" /> 
      <Remark><![CDATA[DOutText1]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="2" /> 
      <Remark><![CDATA[DOutText2]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="3" /> 
      <Remark><![CDATA[DOutText3]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="4" /> 
      <Remark><![CDATA[DOutText4]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="5" /> 
      <Remark><![CDATA[DOutText5]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="6" /> 
      <Remark><![CDATA[DOutText6]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="7" /> 
      <Remark><![CDATA[DOutText7]]></Remark>
    </DOUTRELAY>
    <DOUTRELAY>
      <Number Value="8" /> 
      <Remark><![CDATA[DOutText8]]></Remark>
    </DOUTRELAY>
  </DOUTSRELAY>
  <DOUTSAXES>
    <DOUTAXIS>
      <Number Value="1" /> 
      <Remark><![CDATA[DOutAxisText1]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="2" /> 
      <Remark><![CDATA[DOutAxisText2]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="3" /> 
      <Remark><![CDATA[DOutAxisText3]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="4" /> 
      <Remark><![CDATA[DOutAxisText4]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="5" /> 
      <Remark><![CDATA[DOutAxisText5]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="6" /> 
      <Remark><![CDATA[DOutAxisText6]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="7" /> 
      <Remark><![CDATA[DOutAxisText7]]></Remark>
    </DOUTAXIS>
    <DOUTAXIS>
      <Number Value="8" /> 
      <Remark><![CDATA[DOutAxisText8]]></Remark>
    </DOUTAXIS>
  </DOUTSAXES>
  <Labels>
    <DINOnText1><![CDATA[DinOnText1]]></DINOnText1>
    <DINOffText1><![CDATA[DinOffText1]]></DINOffText1>
    <DINOnText2><![CDATA[DinOnText2]]></DINOnText2>
    <DINOffText2><![CDATA[DinOffText2]]></DINOffText2>
    <DINOnText3><![CDATA[DinOnText3]]></DINOnText3>
    <DINOffText3><![CDATA[DinOffText3]]></DINOffText3>
    <DINOnText4><![CDATA[DinOnText4]]></DINOnText4>
    <DINOffText4><![CDATA[DinOffText4]]></DINOffText4>
    <DINOnText5><![CDATA[DinOnText5]]></DINOnText5>
    <DINOffText5><![CDATA[DinOffText5]]></DINOffText5>
    <DINOnText6><![CDATA[DinOnText6]]></DINOnText6>
    <DINOffText6><![CDATA[DinOffText6]]></DINOffText6>
    <DINOnText7><![CDATA[DinOnText7]]></DINOnText7>
    <DINOffText7><![CDATA[DinOffText7]]></DINOffText7>
    <DINOnText8><![CDATA[DinOnText8]]></DINOnText8>
    <DINOffText8><![CDATA[DinOffText8]]></DINOffText8>
    <VoltageU1><![CDATA[Spannung U1]]></VoltageU1>
    <VoltageU1k><![CDATA[Spannung U1k]]></VoltageU1k>
  </Labels>
  <A-AXIS>
    <TransmissionMotor Value="18" RawValue="3240" /> 
    <TransmissionSpindle Value="40" RawValue="4440" /> 
    <StepsPerRevolution Value="3200" /> 
    <Mode Value="0" /> 
  </A-AXIS>
  <B-AXIS>
    <TransmissionMotor Value="18" RawValue="3240" /> 
    <TransmissionSpindle Value="40" RawValue="4440" /> 
    <StepsPerRevolution Value="3200" /> 
    <Mode Value="0" /> 
    <VerticalPosition Value="0" RawValue="0" /> 
    <OverRun Value="0" RawValue="0" /> 
    <SpindleFailure Value="0" RawValue="0" /> 
  </B-AXIS>
  <U-AXIS>
    <UAxisMotor Value="1" /> 
    <Option Value="0" /> 
    <Position Value="0" /> 
    <Checked Value="FALSE" /> 
    <TransmissionMotor Value="3" RawValue="840" /> 
    <TransmissionSpindle Value="1" RawValue="F03F" /> 
    <StepsPerRevolution Value="3200" /> 
    <ServoMotor>
      <EmergencyRamp Value="5" /> 
      <Direction Value="0" /> 
      <ZeroCrossingServo Value="FALSE" /> 
    </ServoMotor>
    <SteppingMotor>
      <Ramp Value="0" /> 
      <RampStart Value="50" /> 
      <MaxRpm Value="600" /> 
      <MaxRpmServo Value="4500" /> 
    </SteppingMotor>
  </U-AXIS>
  <V-AXIS>
    <Mode Value="0" /> 
    <VAxisMotor Value="1" /> 
    <Option Value="0" /> 
    <Position Value="0" /> 
    <Checked Value="FALSE" /> 
    <TransmissionMotor Value="18" RawValue="3240" /> 
    <TransmissionSpindle Value="40" RawValue="4440" /> 
    <StepsPerRevolution Value="3200" /> 
    <ServoMotor>
      <EmergencyRamp Value="0" /> 
      <Direction Value="0" /> 
      <ZeroCrossingServo Value="FALSE" /> 
    </ServoMotor>
    <SteppingMotor>
      <Ramp Value="4" /> 
      <RampStart Value="5" /> 
      <MaxRpm Value="600" /> 
      <MaxRpmServo Value="4500" /> 
    </SteppingMotor>
  </V-AXIS>
  <W-AXIS>
    <TransmissionMotor Value="18" RawValue="3240" /> 
    <TransmissionSpindle Value="40" RawValue="4440" /> 
    <StepsPerRevolution Value="3200" /> 
    <Mode Value="0" /> 
  </W-AXIS>
  <SAFETY>
    <Mode Value="1" /> 
    <Flag Value="0" /> 
    <ReducedSpeed>
      <AxesSpeed Value="30" /> 
      <UAxisSpeed Value="1000" /> 
      <CAxisSpeed Value="1000" /> 
    </ReducedSpeed>
    <ReducedCurrentLevels>
      <CurrentLevelX Value="1" /> 
      <CurrentLevelY Value="1" /> 
      <CurrentLevelZ Value="1" /> 
      <CurrentLevelU Value="1" /> 
      <CurrentLevelC Value="1" /> 
    </ReducedCurrentLevels>
    <PauseBAE Value="60" /> 
  </SAFETY>
  <VERSIONS>
    <NccadVersion><![CDATA[9.29.9.29.62.24]]></NccadVersion>
  </VERSIONS>
  <ADMINISTRATOR>
    <ContactKosyServer Value="FALSE" /> 
    <KosyServerName><![CDATA[Fertigung 01]]></KosyServerName>
    <KosyServerPort Value="2000" /> 
  </ADMINISTRATOR>
  <MISCELLANEOUS>
    <AutoHomeRunOn Value="0" /> 
    <DepthControlling Value="FALSE" /> 
    <Lathe Value="FALSE" /> 
    <DxfInchFlag Value="0" /> 
    <HpglInchFlag Value="1" /> 
    <DxfImportType Value="1" /> 
    <SerialPort Value="1" /> 
    <OperatingTimes Value="0" /> 
    <MovingTimes Value="0" /> 
    <COPIES>
      <CopyActive Value="FALSE" /> 
      <X Value="0" /> 
      <Y Value="0" /> 
    </COPIES>
    <CopyOffset>
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
    </CopyOffset>
    <VerifyValue Value="0" /> 
    <ControlVoltage Value="10" RawValue="2041" /> 
    <SpindleFailure>
      <X Value="0" RawValue="0" /> 
      <Y Value="0" RawValue="0" /> 
      <Z Value="0" RawValue="0" /> 
    </SpindleFailure>
    <Counter>
      <Start Value="0" RawValue="0" /> 
      <Step Value="0" RawValue="0" /> 
      <Current Value="0" RawValue="0" /> 
    </Counter>
    <AnglePerPulse Value="0.36" RawValue="AD7A3703D0AD73F" /> 
    <DimensionsFontHeigh Value="6" RawValue="1840" /> 
    <DimensionsDecimalDigits Value="131" /> 
    <FontUnit Value="0" /> 
    <Cycle Value="FALSE" /> 
    <TabWidth Value="2" /> 
  </MISCELLANEOUS>
  <DefaultPath>
    <USE_INDIVIDUAL_PATHES Value="FALSE" /> 
    <CAD><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL]]></CAD>
    <CNC><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL]]></CNC>
    <DXF><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL\2_Beispiele_Examples\DXF]]></DXF>
    <HPGL><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL\2_Beispiele_Examples\HPGL]]></HPGL>
    <STL><![CDATA[C:\Users\Public\MAXcomputer\nccad\GLOBAL\STL]]></STL>
    <SURFACE><![CDATA[C:\Users\Public\MAXcomputer\nccad\SCAN\Surfaces]]></SURFACE>
    <BMP><![CDATA[C:\Users\Public\MAXcomputer\nccad\GLOBAL\Bilder_Pictures]]></BMP>
    <SYMBOL><![CDATA[C:\Program Files (x86)\nccad9\Symbols]]></SYMBOL>
    <HELP><![CDATA[C:\Program Files (x86)\nccad9\2_Help]]></HELP>
    <VIDEO><![CDATA[C:\Program Files (x86)\nccad9\Videos]]></VIDEO>
    <ScanProjects><![CDATA[C:\Users\Public\MAXcomputer\nccad\SCAN\1_Eigene_MyProjects]]></ScanProjects>
    <TOOLS><![CDATA[C:\ProgramData\nccad\nccad8\Tools]]></TOOLS>
    <MAKRO_BASIC><![CDATA[C:\Program Files (x86)\nccad9\Makros\Basic]]></MAKRO_BASIC>
    <MAKRO_INDIVIDUAL><![CDATA[C:\Users\Public\MAXcomputer\nccad\GLOBAL\Makros\Individual]]></MAKRO_INDIVIDUAL>
    <LICENCE><![CDATA[C:\ProgramData\nccad\nccad8\Licence\nccad.lic]]></LICENCE>
    <ScanApplication><![CDATA[C:\Program Files (x86)]]></ScanApplication>
    <SERVICE><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL\Inbetriebnahme_Startup]]></SERVICE>
    <PUBLIC_ROOT><![CDATA[C:\Users\Public\MAXcomputer\nccad]]></PUBLIC_ROOT>
    <PUBLIC_ROOT_GLOBAL><![CDATA[C:\Users\Public\MAXcomputer\nccad\GLOBAL]]></PUBLIC_ROOT_GLOBAL>
    <PUBLIC_ROOT_MILL><![CDATA[C:\Users\Public\MAXcomputer\nccad\MILL]]></PUBLIC_ROOT_MILL>
    <PUBLIC_ROOT_PRINT><![CDATA[C:\Users\Public\MAXcomputer\nccad\PRINT]]></PUBLIC_ROOT_PRINT>
    <PUBLIC_ROOT_SCAN><![CDATA[C:\Users\Public\MAXcomputer\nccad\SCAN]]></PUBLIC_ROOT_SCAN>
    <PUBLIC_ROOT_TURN><![CDATA[C:\Users\Public\MAXcomputer\nccad\TURN]]></PUBLIC_ROOT_TURN>
  </DefaultPath>
  <CADSettings>
    <STLFACETING Value="0.2" RawValue="CDCC4C3E" /> 
    <ChordLength Value="1" RawValue="F03F" /> 
    <Sagitta Value="0.2" RawValue="9A9999999999C93F" /> 
    <ChordResolution Value="TRUE" /> 
  </CADSettings>
  <HANDWHEELS>
    <Mounted Value="FALSE" /> 
    <Type Value="2" /> 
    <X>
      <Fine Value="0" /> 
      <Rough Value="0" /> 
      <Direction Value="FALSE" /> 
    </X>
    <Y>
      <Fine Value="0" /> 
      <Rough Value="0" /> 
      <Direction Value="FALSE" /> 
    </Y>
    <Z>
      <Fine Value="0" /> 
      <Rough Value="0" /> 
      <Direction Value="FALSE" /> 
    </Z>
    <U>
      <Fine Value="0" /> 
      <Rough Value="4" /> 
      <Direction Value="FALSE" /> 
    </U>
    <A>
      <Fine Value="0" /> 
      <Rough Value="4" /> 
      <Direction Value="FALSE" /> 
    </A>
    <B>
      <Fine Value="0" /> 
      <Rough Value="4" /> 
      <Direction Value="FALSE" /> 
    </B>
    <c>
      <Fine Value="0" /> 
      <Rough Value="4" /> 
      <Direction Value="FALSE" /> 
    </c>
  </HANDWHEELS>
  <MEASURINGSYSTEM>
    <Activated Value="FALSE" /> 
    <XYZ Value="0" /> 
    <Tolerance>
      <X Value="0.5" RawValue="E03F" /> 
      <Y Value="0.5" RawValue="E03F" /> 
      <Z Value="0.5" RawValue="E03F" /> 
    </Tolerance>
    <Resolution>
      <X Value="2" RawValue="40" /> 
      <Y Value="2" RawValue="40" /> 
      <Z Value="2" RawValue="40" /> 
    </Resolution>
    <Mode>
      <X Value="1" /> 
      <Y Value="1" /> 
      <Z Value="1" /> 
    </Mode>
    <ReferenceMode>
      <X Value="0" /> 
      <Y Value="0" /> 
      <Z Value="0" /> 
    </ReferenceMode>
    <ControlRadius>
      <X Value="1" RawValue="F03F" /> 
      <Y Value="1" RawValue="F03F" /> 
      <Z Value="1" RawValue="F03F" /> 
    </ControlRadius>
    <MaxControlPath>
      <X Value="1" RawValue="F03F" /> 
      <Y Value="1" RawValue="F03F" /> 
      <Z Value="1" RawValue="F03F" /> 
    </MaxControlPath>
    <ControlInterval>
      <X Value="1.25" RawValue="F43F" /> 
      <Y Value="1.25" RawValue="F43F" /> 
      <Z Value="1.25" RawValue="F43F" /> 
    </ControlInterval>
  </MEASURINGSYSTEM>
  <TOOLCHANGER>
    <Present Value="FALSE" /> 
    <ActiveTool Value="0" /> 
    <ToolFileName>
      <ToolFileName1><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set 1mm.tol]]></ToolFileName1>
      <ToolFileName2><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set 2mm.tol]]></ToolFileName2>
      <ToolFileName3><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set 3mm.tol]]></ToolFileName3>
      <ToolFileName4><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set Grav 60°.tol]]></ToolFileName4>
      <ToolFileName5><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Zahn M4M6.tol]]></ToolFileName5>
      <ToolFileName6><![CDATA[C:\ProgramData\nccad\nccad8\Tools\Milling\Set 6mm.tol]]></ToolFileName6>
      <ToolFileName7><![CDATA[]]></ToolFileName7>
      <ToolFileName8><![CDATA[]]></ToolFileName8>
      <ToolFileName9><![CDATA[]]></ToolFileName9>
      <ToolFileName10><![CDATA[]]></ToolFileName10>
      <ToolFileName11><![CDATA[]]></ToolFileName11>
      <ToolFileName12><![CDATA[]]></ToolFileName12>
      <ToolFileName13><![CDATA[]]></ToolFileName13>
      <ToolFileName14><![CDATA[]]></ToolFileName14>
      <ToolFileName15><![CDATA[]]></ToolFileName15>
      <ToolFileName16><![CDATA[]]></ToolFileName16>
      <ToolFileName17><![CDATA[]]></ToolFileName17>
      <ToolFileName18><![CDATA[]]></ToolFileName18>
      <ToolFileName19><![CDATA[]]></ToolFileName19>
      <ToolFileName20><![CDATA[]]></ToolFileName20>
    </ToolFileName>
    <FixedToolCorrection Value="TRUE" /> 
    <ToolsTolerance Value="10" RawValue="2440" /> 
    <UPos>
      <UPos1 Value="0" RawValue="0" /> 
      <UPos2 Value="0" RawValue="0" /> 
      <UPos3 Value="0" RawValue="0" /> 
      <UPos4 Value="0" RawValue="0" /> 
      <UPos5 Value="0" RawValue="0" /> 
      <UPos6 Value="0" RawValue="0" /> 
      <UPos7 Value="0" RawValue="0" /> 
      <UPos8 Value="0" RawValue="0" /> 
      <UPos9 Value="0" RawValue="0" /> 
      <UPos10 Value="0" RawValue="0" /> 
      <UPos11 Value="0" RawValue="0" /> 
      <UPos12 Value="0" RawValue="0" /> 
      <UPos13 Value="0" RawValue="0" /> 
      <UPos14 Value="0" RawValue="0" /> 
      <UPos15 Value="0" RawValue="0" /> 
      <UPos16 Value="0" RawValue="0" /> 
      <UPos17 Value="0" RawValue="0" /> 
      <UPos18 Value="0" RawValue="0" /> 
      <UPos19 Value="0" RawValue="0" /> 
      <UPos20 Value="0" RawValue="0" /> 
    </UPos>
    <UPosFor Value="60" RawValue="4E40" /> 
    <UPosBack Value="50" RawValue="4940" /> 
  </TOOLCHANGER>
  <TOOLMEASURE>
    <TLRefX Value="0" RawValue="0" /> 
    <TLRefY Value="0" RawValue="0" /> 
    <TLRefZ Value="0" RawValue="0" /> 
    <TLAbsZOld Value="25" RawValue="3940" /> 
    <ToolWidth Value="0" RawValue="0" /> 
    <ToolMeasured Value="FALSE" /> 
    <ToolMeasureMode Value="0" /> 
    <Checked Value="FALSE" /> 
    <TLMopener Value="TRUE" /> 
    <CheckToolTolerance Value="FALSE" /> 
  </TOOLMEASURE>
  <AXISBREAKS>
    <X>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </X>
    <Y>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </Y>
    <Z>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </Z>
    <U>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
      <BRAKECONNECTIONU Value="0" /> 
    </U>
    <c>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </c>
    <B>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </B>
    <A>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </A>
    <W>
      <ACTIVE Value="FALSE" /> 
      <DELAYOPEN Value="0" /> 
      <DELAYCLOSE Value="0" /> 
      <DELAYBEFORECLOSE Value="0" /> 
    </W>
  </AXISBREAKS>
  <TMRanalog>
    <TMRaWegProWert Value="0.01" RawValue="7B14AE47E17A843F" /> 
    <TMRaMindAenderung Value="4" /> 
    <TMRaSchritteProZyklus Value="4" /> 
    <TMRaMaxRegelSchritte Value="8000" /> 
    <TMRaReferenz Value="-1" /> 
    <TMRaAntast Value="-1" /> 
    <TMRaReferenzZ Value="0" RawValue="0" /> 
    <TMRaReferenzZold Value="0" RawValue="0" /> 
    <TMRaAntastX Value="0" RawValue="0" /> 
    <TMRaAntastY Value="0" RawValue="0" /> 
    <TMRaAntastZ Value="0" RawValue="0" /> 
    <TMRaAntastZold Value="0" RawValue="0" /> 
  </TMRanalog>
  <HEATER1>
    <SETPOINT Value="0" RawValue="0" /> 
    <TOLERANCE Value="20" /> 
    <HYSTERESIS Value="8" /> 
    <OVERRIDEFACTOR Value="25" /> 
    <HOTPOINT Value="50" /> 
    <OUTMODE Value="FALSE" /> 
    <NTCEXTERN Value="FALSE" /> 
    <HEATERACTIVE Value="FALSE" /> 
  </HEATER1>
  <HEATER2>
    <SETPOINT Value="0" RawValue="0" /> 
    <TOLERANCE Value="20" /> 
    <HYSTERESIS Value="8" /> 
    <OVERRIDEFACTOR Value="25" /> 
    <HOTPOINT Value="50" /> 
    <OUTMODE Value="FALSE" /> 
    <NTCEXTERN Value="FALSE" /> 
    <HEATERACTIVE Value="FALSE" /> 
  </HEATER2>
  <Workpiece>
    <X_MIN Value="0" RawValue="0" /> 
    <X_MAX Value="100" RawValue="5940" /> 
    <Y_MIN Value="0" RawValue="0" /> 
    <Y_MAX Value="136" RawValue="6140" /> 
    <Z_MIN Value="0" RawValue="0" /> 
    <Z_MAX Value="8" RawValue="2040" /> 
    <OuterDiameter Value="0" RawValue="0" /> 
    <InnerDiameter Value="0" RawValue="0" /> 
    <Length Value="-10" RawValue="24C0" /> 
    <ClampingLength Value="15" RawValue="2E40" /> 
    <OuterClamping Value="FALSE" /> 
    <MATERIAL>
      <Red Value="0.3" RawValue="9A99993E" /> 
      <Green Value="0.3" RawValue="9A99993E" /> 
      <Blue Value="0.7" RawValue="3433333F" /> 
      <Alpha Value="0.25" RawValue="803E" /> 
      <Number Value="0" RawValue="0" /> 
    </MATERIAL>
  </Workpiece>
  <WorkpieceTurningMilling>
    <X_MIN Value="0" RawValue="0" /> 
    <X_MAX Value="0" RawValue="0" /> 
    <Y_MIN Value="0" RawValue="0" /> 
    <Y_MAX Value="0" RawValue="0" /> 
    <Z_MIN Value="0" RawValue="0" /> 
    <Z_MAX Value="0" RawValue="0" /> 
    <OuterDiameter Value="0" RawValue="0" /> 
    <InnerDiameter Value="0" RawValue="0" /> 
    <Length Value="0" RawValue="0" /> 
    <ClampingLength Value="0" RawValue="0" /> 
    <OuterClamping Value="FALSE" /> 
    <MATERIAL>
      <Red Value="0" RawValue="0" /> 
      <Green Value="0" RawValue="0" /> 
      <Blue Value="0" RawValue="0" /> 
      <Alpha Value="0" RawValue="0" /> 
      <Number Value="0" RawValue="0" /> 
    </MATERIAL>
  </WorkpieceTurningMilling>
  <Printing>
    <PageMargins>
      <Left Value="18" RawValue="9041" /> 
      <Right Value="10" RawValue="2041" /> 
      <Top Value="10" RawValue="2041" /> 
      <Bottom Value="10" RawValue="2041" /> 
    </PageMargins>
    <Settings>
      <Flags Value="3" /> 
      <PrintOK Value="0" /> 
    </Settings>
    <ScaleDrawing Value="1" RawValue="803F" /> 
    <ScalePrinter Value="1" RawValue="803F" /> 
    <Option Value="1" /> 
    <Orientation Value="-1" /> 
  </Printing>
  <PAPER>
    <Size Value="0" /> 
    <Format Value="FALSE" /> 
    <Portrait Value="FALSE" /> 
    <Breadth Value="0" RawValue="0" /> 
    <Height Value="0" RawValue="0" /> 
    <Margin Value="0" RawValue="0" /> 
  </PAPER>
</nccad8.ini>
rubberman
Lösung rubberman 26.08.2016 um 21:17:23 Uhr
Goto Top
Batch unterstützt das XML DOM nicht. Highload ruft PowerShell auf. Dort wird ein XML Objekt erstellt und der Inhalt der Datei hineingeladen. Danach wird dem Pfad der Knoten gefolgt (was der Grund ist warum man den gesamten Aufbau der Datei benötigt) und der Wert geändert. Wenn das passiert ist, wird der geänderte XML Code in die Datei zurück gespeichert.
Du hättest übrigens dein Post oben einfach editieren können...

Brauchst du noch eine Alternativlösung? (irgend eine Sprache mit der du dich besser auskennst als PowerShell)

@129813
Hats off. I wasn't even able to follow the node structure without indentations.

Grüße
rubberman
peterhart
peterhart 26.08.2016 aktualisiert um 21:31:19 Uhr
Goto Top
Ihr seit wirklich Spitze!
Selten so eine schnelle und kompetente Lösung bekommen.
Wirklich, vielen Dank dafür, auch für die verständliche Erklärung!
Ich bin zwar kein Programmierer (bin mehr in der Hardware verankert) aber ich werde mich mit PowerShell beschäftigen.


@129813
Thank you very much!!!

Gruß
Peter