[version en cours de rédaction] | [version en cours de rédaction] |
(Page créée avec « {{Tuto Details |Description=<translate>How to create a TwinCAT project from an existing project on a similar machine</translate> |Categories=Software |Difficulty=Very har... ») |
|||
(Une révision intermédiaire par le même utilisateur non affichée) | |||
Ligne 8 : | Ligne 8 : | ||
}} | }} | ||
{{Introduction | {{Introduction | ||
− | |Introduction=<translate>If you are confident and proficient in using the Visual Studio editor to | + | |Introduction=<translate>If you are confident and proficient in using the Visual Studio editor to create TwinCAT projects, you can shortcut a lot of the data inputting by copying and modifying an existing project. This will keep the naming conventions and links exactly the same |
{{Warning|...This should only be attempted if the machine has exactly the same EtherCAT box, drive and module setup}}<br /></translate> | {{Warning|...This should only be attempted if the machine has exactly the same EtherCAT box, drive and module setup}}<br /></translate> | ||
Ligne 27 : | Ligne 27 : | ||
|Step_Title=<translate>Paste the solution</translate> | |Step_Title=<translate>Paste the solution</translate> | ||
|Step_Content=<translate>Paste the solution on the ZX5 front end PC in C:/TwinCAT/Stuga.</translate> | |Step_Content=<translate>Paste the solution on the ZX5 front end PC in C:/TwinCAT/Stuga.</translate> | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>Open and rename</translate> | ||
+ | |Step_Content=<translate>Open Solution and... | ||
+ | |||
+ | 1: rename the solution to the current build (i.e. Z067). | ||
+ | |||
+ | 2: rename the project to the current build. </translate> | ||
+ | |Step_Picture_00=TB0422_Commissioning_ZX5_Software_2018_4d0422_Commissioning_ZX5_Software_2018.jpg | ||
+ | |Step_Picture_00_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":-8,"top":8,"width":1067,"height":651,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":2.17,"scaleY":2.17,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/a/ac/TB0422_Commissioning_ZX5_Software_2018_4d0422_Commissioning_ZX5_Software_2018.jpg","filters":[]},{"type":"wfnumberedbullet","version":"2.4.6","originX":"left","originY":"top","left":371,"top":191.98,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"2.4.6","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"2.4.6","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"1","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":1},{"type":"wfnumberedbullet","version":"2.4.6","originX":"left","originY":"top","left":179,"top":226.97,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"2.4.6","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"2.4.6","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"2","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":2}],"height":447.13375796178343,"width":600} | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>Update MAC address</translate> | ||
+ | |Step_Content=<translate>{{Info|...Because you are working on a new PC, the physical hardware has changed. You need tell the project that the hardware is different}} | ||
+ | |||
+ | The hardware can use 1 or 2 devices. For the EtherCAT network port device: | ||
+ | |||
+ | # Double click | ||
+ | # Device MAC Addresses, Device 4 > Adapter > select OS (NDIS) > Search > EtherCAT. This should automatically update the mac address. | ||
+ | |||
+ | |||
+ | For the NDIS (PCI) Device | ||
+ | |||
+ | Device 1 > Adapter > PIC > Search > BUS.</translate> | ||
+ | |Step_Picture_00=TB0422_Commissioning_ZX5_Software_2018_4d0422_Commissioning_ZX5_Software_2018.jpg | ||
+ | |Step_Picture_01=TB0422_Commissioning_ZX5_Software_2018_5d0422_Commissioning_ZX5_Software_2018.jpg | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>Update EtherCAT devices</translate> | ||
+ | |Step_Content=<translate>Update EtherCAT devices. This compares the solution’s EtherCAT boxes to the ones on the current build. Any differences between the current solution and the current build will be highlighted and explained by the system. Issues highlighted in RED are completely different to what the solution would expect. Issues highlighted in BLUE are ok, this suggests that a new version of hardware is being used but is compatible with the solution. | ||
+ | |||
+ | To do this right click on the target device and press “Scan”. | ||
+ | |||
+ | NOTE: If this does not work, repeat steps, save changes and online reset (Right click device x).</translate> | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>TwinSAFE System</translate> | ||
+ | |Step_Content=<translate>AmsNetID the same on SYSTEM > Routes > “Target net ID”, must be the same as: SAFETY > ZX5_2_1 > ZX5_2_1 Project > Target System (Figure 1).</translate> | ||
+ | |Step_Picture_00=TB0422_Commissioning_ZX5_Software_2018_8d0422_Commissioning_ZX5_Software_2018.jpg | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>Check safety options</translate> | ||
+ | |Step_Content=<translate>To get the safety toolbar go to: View > Toolbars > Check '''TwinCAT Safety'''. This will show the safety options.</translate> | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>Check safety</translate> | ||
+ | |Step_Content=<translate>Go to: SAFETY > ZX5_2_1 > ZX5_2_1 Project > Target System. Press the refresh button to update the AmsNetID as it will currently have the ID if the machine that the software was copied from. </translate> | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>Copy serial number</translate> | ||
+ | |Step_Content=<translate>Copy the '''serial number''' (Figure 2) for use in next step</translate> | ||
+ | |Step_Picture_00=TB0422_Commissioning_ZX5_Software_2018_9d0422_Commissioning_ZX5_Software_2018.jpg | ||
+ | |Step_Picture_00_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":1379,"height":748,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.44,"scaleY":0.44,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/6/65/TB0422_Commissioning_ZX5_Software_2018_9d0422_Commissioning_ZX5_Software_2018.jpg","filters":[]},{"type":"wfrect","version":"2.4.6","originX":"center","originY":"center","left":321.03,"top":100.65,"width":60.61,"height":15,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":2,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"rx":0,"ry":0}],"height":325,"width":600} | ||
+ | |Step_Picture_01=TB0422_Commissioning_ZX5_Software_2018_10d0422_Commissioning_ZX5_Software_2018.jpg | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>Verify Safety Project</translate> | ||
+ | |Step_Content=<translate># '''Verify Complete Safety Project''' | ||
+ | # Then '''Verify Complete Safety Project (Hardware Level)'''</translate> | ||
+ | |Step_Picture_00=TB0422_Commissioning_ZX5_Software_2018_11d0422_Commissioning_ZX5_Software_2018.jpg | ||
+ | |Step_Picture_00_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":15,"top":12,"width":1920,"height":1038,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.78,"scaleY":0.78,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/a/a6/TB0422_Commissioning_ZX5_Software_2018_11d0422_Commissioning_ZX5_Software_2018.jpg","filters":[]},{"type":"wfnumberedbullet","version":"2.4.6","originX":"left","originY":"top","left":10,"top":139.97,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"2.4.6","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"2.4.6","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"1","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":1},{"type":"wfnumberedbullet","version":"2.4.6","originX":"left","originY":"top","left":95,"top":147.95,"width":25,"height":25,"fill":"rgb(0,0,0)","stroke":"#FF0000","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"objects":[{"type":"circle","version":"2.4.6","originX":"center","originY":"center","left":0,"top":0,"width":24,"height":24,"fill":"#FF0000","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":12,"startAngle":0,"endAngle":6.283185307179586},{"type":"text","version":"2.4.6","originX":"center","originY":"center","left":0,"top":0,"width":7.79,"height":15.82,"fill":"rgba(255,255,255,255)","stroke":null,"strokeWidth":1,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"text":"2","fontSize":14,"fontWeight":"normal","fontFamily":"arial","fontStyle":"normal","lineHeight":1.16,"underline":false,"overline":false,"linethrough":false,"textAlign":"left","textBackgroundColor":"","charSpacing":0,"styles":{} }],"number":2},{"type":"wfarrow2line","version":"2.4.6","originX":"center","originY":"center","left":32.5,"top":108.4,"width":7,"height":64.89,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":4,"strokeDashArray":null,"strokeLineCap":"round","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"x1":-3.5,"x2":3.5,"y1":32.44568245125348,"y2":-32.44568245125348,"x2a":9.308848505504603,"y2a":-11.703038477061162,"x2b":-6.5988641678706825,"y2b":-13.419044742007594},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":29,"top":140.85,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":36,"top":75.96,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfarrow2line","version":"2.4.6","originX":"center","originY":"center","left":82.5,"top":105.91,"width":45,"height":79.87,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":4,"strokeDashArray":null,"strokeLineCap":"round","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"x1":22.5,"x2":-22.5,"y1":39.93314763231197,"y2":-39.93314763231197,"x2a":-19.652111174581925,"y2a":-18.581577918633805,"x2b":-5.71251518595369,"y2b":-26.435727374419557},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":105,"top":145.84,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":60,"top":65.97,"width":16,"height":16,"fill":"#aaa","stroke":"#666","strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":0.5,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"radius":8,"startAngle":0,"endAngle":6.283185307179586}],"height":448.7603305785124,"width":600} | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>Download Safety Project</translate> | ||
+ | |Step_Content=<translate>'''TwinSAFE Wizard:''' | ||
+ | |||
+ | # When prompted input, username: Administrator, | ||
+ | # Serial Number: (Copied from step above), | ||
+ | # Password: TwinSAFE. | ||
+ | # Then confirm.</translate> | ||
+ | |Step_Picture_00=TB0422_Commissioning_ZX5_Software_2018_11d0422_Commissioning_ZX5_Software_2018.jpg | ||
+ | |Step_Picture_00_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":4,"top":18,"width":1920,"height":1038,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1.11,"scaleY":1.11,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/a/a6/TB0422_Commissioning_ZX5_Software_2018_11d0422_Commissioning_ZX5_Software_2018.jpg","filters":[]},{"type":"wfrect","version":"2.4.6","originX":"center","originY":"center","left":93.96,"top":89.96,"width":37.81,"height":37.81,"fill":"rgba(255,0,0,0)","stroke":"#FF0000","strokeWidth":2,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1,"scaleY":1,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"rx":0,"ry":0}],"height":449.12280701754383,"width":600} | ||
+ | }} | ||
+ | {{Tuto Step | ||
+ | |Step_Title=<translate>View Safety Project</translate> | ||
+ | |Step_Content=<translate>Go to SAFETY > ZX5_2_1 > ZX5_2_1 Project > TwinSafeGroup1 > TwinSafeGroup1.sal, and press the '''Safety Goggles Icon''' (Figure 3). This should show the Estop circuit in green if working correctly.</translate> | ||
+ | |Step_Picture_00=TB0422_Commissioning_ZX5_Software_2018_10d0422_Commissioning_ZX5_Software_2018.jpg | ||
}} | }} | ||
{{Notes}} | {{Notes}} | ||
{{PageLang | {{PageLang | ||
+ | |Language=en | ||
|SourceLanguage=none | |SourceLanguage=none | ||
|IsTranslation=0 | |IsTranslation=0 | ||
− | |||
}} | }} | ||
{{Tuto Status | {{Tuto Status | ||
|Complete=Draft | |Complete=Draft | ||
}} | }} |
How to create a TwinCAT project from an existing project on a similar machine
Auteur Gareth Green | Dernière modification 21/11/2019 par Gareth Green en cours de rédaction ⧼frevu-button-review-label⧽
Pas encore d'image
How to create a TwinCAT project from an existing project on a similar machine
TwinCAT, Project, Existing
If you are confident and proficient in using the Visual Studio editor to create TwinCAT projects, you can shortcut a lot of the data inputting by copying and modifying an existing project. This will keep the naming conventions and links exactly the same
The build needs to be the same machine type and have an identical EtherCAT box and drive setup
You can create a backup in three ways
Paste the solution on the ZX5 front end PC in C:/TwinCAT/Stuga.
Open Solution and...
1: rename the solution to the current build (i.e. Z067).
2: rename the project to the current build.
The hardware can use 1 or 2 devices. For the EtherCAT network port device:
For the NDIS (PCI) Device
Device 1 > Adapter > PIC > Search > BUS.
Update EtherCAT devices. This compares the solution’s EtherCAT boxes to the ones on the current build. Any differences between the current solution and the current build will be highlighted and explained by the system. Issues highlighted in RED are completely different to what the solution would expect. Issues highlighted in BLUE are ok, this suggests that a new version of hardware is being used but is compatible with the solution.
To do this right click on the target device and press “Scan”.
NOTE: If this does not work, repeat steps, save changes and online reset (Right click device x).
AmsNetID the same on SYSTEM > Routes > “Target net ID”, must be the same as: SAFETY > ZX5_2_1 > ZX5_2_1 Project > Target System (Figure 1).
To get the safety toolbar go to: View > Toolbars > Check TwinCAT Safety. This will show the safety options.
Go to: SAFETY > ZX5_2_1 > ZX5_2_1 Project > Target System. Press the refresh button to update the AmsNetID as it will currently have the ID if the machine that the software was copied from.
TwinSAFE Wizard:
Go to SAFETY > ZX5_2_1 > ZX5_2_1 Project > TwinSafeGroup1 > TwinSafeGroup1.sal, and press the Safety Goggles Icon (Figure 3). This should show the Estop circuit in green if working correctly.
en none 0 Draft
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #