[version en cours de rédaction] | [version en cours de rédaction] |
Ligne 111 : | Ligne 111 : | ||
|Step_Content=<translate>Using the circuit diagrams, map all the IO ref numbers to the associated IO channels | |Step_Content=<translate>Using the circuit diagrams, map all the IO ref numbers to the associated IO channels | ||
− | # Double click a | + | #Double click a field-bus box or slice |
− | # Ensure you can see the input / Output list (may need some screen resizing | + | #Ensure you can see the input / Output list (may need some screen resizing |
− | # Double click an IO channel | + | #Double click an IO channel |
− | # Enter the number in the search box | + | #Enter the number in the search box |
− | # Double click the associated IO Ref number from ibInputArray(inputs) or qbOutputArray(outputs) | + | #Double click the associated IO Ref number from ibInputArray(inputs) or qbOutputArray(outputs) |
− | <br />{{Warning|...Be very vigilant and ensure you only click on | + | <br />{{Warning|...Be very vigilant and ensure you only click on ibInputArray or qbOutputArray}} |
Repeat for all IO</translate> | Repeat for all IO</translate> | ||
|Step_Picture_00=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143613.jpg | |Step_Picture_00=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143613.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":800,"height":619,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.75,"scaleY":0.75,"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/thumb/9/97/Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143613.jpg/800px-Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143613.jpg","filters":[]},{"type":"wfarrow2line","version":"2.4.6","originX":"center","originY":"center","left":311,"top":262.5,"width":0,"height":35,"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":0,"x2":0,"y1":17.5,"y2":-17.5,"x2a":8,"y2a":2.5,"x2b":-8,"y2b":2.5},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":311,"top":280,"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":311,"top":245,"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":312.5,"top":334,"width":1,"height":76,"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":-0.5,"x2":0.5,"y1":-38,"y2":38,"x2a":8.236172451727887,"y2a":17.896477030203723,"x2b":-7.762442686539308,"y2b":18.10698512412829},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":312,"top":296,"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":313,"top":372,"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":464,"width":600} | ||
|Step_Picture_01=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143629.jpg | |Step_Picture_01=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143629.jpg | ||
+ | |Step_Picture_01_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":800,"height":618,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.75,"scaleY":0.75,"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/thumb/9/90/Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143629.jpg/800px-Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143629.jpg","filters":[]},{"type":"wfrect","version":"2.4.6","originX":"center","originY":"center","left":389.51,"top":314.01,"width":380.01,"height":166.98,"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":463,"width":600} | ||
|Step_Picture_02=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143716.jpg | |Step_Picture_02=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143716.jpg | ||
+ | |Step_Picture_02_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":587,"height":469,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1.02,"scaleY":1.02,"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/2/2f/Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143716.jpg","filters":[]},{"type":"wfellipse","version":"2.4.6","originX":"center","originY":"center","left":89.48,"top":52.48,"width":40.07,"height":40.07,"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":20.035245477855987,"ry":20.035245477855987},{"type":"wfrect","version":"2.4.6","originX":"center","originY":"center","left":249.2,"top":142.55,"width":234.61,"height":20.01,"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":479,"width":600} | ||
|Step_Picture_03=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143739.jpg | |Step_Picture_03=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143739.jpg | ||
+ | |Step_Picture_03_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":584,"height":472,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1.03,"scaleY":1.03,"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/b/bf/Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_143739.jpg","filters":[]},{"type":"wfellipse","version":"2.4.6","originX":"center","originY":"center","left":96.93,"top":52.93,"width":37.16,"height":37.16,"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":18.579995316238357,"ry":18.579995316238357},{"type":"wfrect","version":"2.4.6","originX":"center","originY":"center","left":256.79,"top":145.82,"width":285.42,"height":30.58,"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":485,"width":600} | ||
}} | }} | ||
{{Tuto Step | {{Tuto Step |
How to create a new TwinCAT3 Project from scratch
Auteur Gareth Green | Dernière modification 12/09/2023 par Gareth Green en cours de rédaction ⧼frevu-button-review-label⧽
Pas encore d'image
How to create a new TwinCAT3 Project from scratch
TwinCAT3, Project, New
This creates the template
You may need to Right Click->scan Boxes on the second device if the EtherCAT boxes do not appear
Click twice on each device (not double click) to enable the device to be renamed
rename to convention
Using the circuit diagrams, map all the IO ref numbers to the associated IO channels
Repeat for all IO
Any mistakes made will save hours if spotted here
Axis task may need to be added under the MOTION tree:
If the axes do not exist under MOTION->NC Task->Axes, add them
Repeat for each axis on machine
Repeat for each axis
Using the circuit diagrams, link all the IO refs up to the inputs and outputs
Repeat for all IO
Any mistakes made will save hours if spotted here
Axis task may need to be added under the MOTION tree:
If the axes do not exist under MOTION->NC Task->Axes, add them
Repeat for each axis on machine
Repeat for each axis
en none 0 Draft
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #