Common Issue - Initialising - Cannot Connect to PLC : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
(Page créée avec « {{Tuto Details |Main_Picture=Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_102253.jpg |Main_Picture_annotation={"version":"2.4.6","objects":[{"... »)
 
Ligne 6 : Ligne 6 :
 
|Tags=TwinCAT, connection, plc, data
 
|Tags=TwinCAT, connection, plc, data
 
}}
 
}}
<translate>= Symptom =
+
<translate>=Symptom=
 
{{#annotatedImageLight:Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 102253.jpg|0=300px|hash=8d14704e6a1405646f4a7bdcee774bf3|jsondata={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":343,"height":181,"fill":"rgb(0,0,0)","stroke":null,"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,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/5/59/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_102253.jpg","filters":[]}],"height":181,"width":343}|mediaClass=Image|type=frameless|align=right|src=/images/thumb/5/59/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_102253.jpg/ia-8d14704e6a1405646f4a7bdcee774bf3-px-Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_102253.jpg.png|href=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 102253.jpg|resource=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 102253.jpg|caption=|size=300px}}On initialisation, the blue Stuga screen is trying to connect and the tries number keeps counting up.
 
{{#annotatedImageLight:Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 102253.jpg|0=300px|hash=8d14704e6a1405646f4a7bdcee774bf3|jsondata={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":343,"height":181,"fill":"rgb(0,0,0)","stroke":null,"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,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/5/59/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_102253.jpg","filters":[]}],"height":181,"width":343}|mediaClass=Image|type=frameless|align=right|src=/images/thumb/5/59/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_102253.jpg/ia-8d14704e6a1405646f4a7bdcee774bf3-px-Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_102253.jpg.png|href=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 102253.jpg|resource=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 102253.jpg|caption=|size=300px}}On initialisation, the blue Stuga screen is trying to connect and the tries number keeps counting up.
  
Ligne 16 : Ligne 16 :
 
<br />
 
<br />
  
= Potential Solutions =
+
=Potential Solutions=
  
=== Back end PC not switched on ===
+
===Back end PC not switched on===
  
=== Customer Network ===
+
===Customer Network===
 
If connected network on either front and back end PCs is not "Work" or "Private", this can block communication
 
If connected network on either front and back end PCs is not "Work" or "Private", this can block communication
  
=== IP Address change ===
+
===IP Address change===
 
If the back-end PC is not on a fixed IP address, and the route is set to connect to a specific IP address, then any change will lose the route connection
 
If the back-end PC is not on a fixed IP address, and the route is set to connect to a specific IP address, then any change will lose the route connection
  
* Ensure the back end is on a fixed IP address (you will need to get an IP address from the customer's IT representative)
+
*Ensure the back end is on a fixed IP address (you will need to get an IP address from the customer's IT representative)
* or (if customer unable to provide fixed IP address) set the route to NDIS
+
*or (if customer unable to provide fixed IP address) set the route to NDIS
  
=== Back end PC Router Needs Clearout ===
+
Then set up the route again from the front end PC
 +
 
 +
<br />
 +
===Back end PC Router Needs Clearout===
 
Log in to back end PC and clear all AMS routes out. This cleans out the system and then you can attempt to create the route again
 
Log in to back end PC and clear all AMS routes out. This cleans out the system and then you can attempt to create the route again
 
<br />
 
<br />
Ligne 41 : Ligne 44 :
 
|1
 
|1
 
|Teamviewer to back end PC and clear out existing routes
 
|Teamviewer to back end PC and clear out existing routes
|{{#annotatedImageLight:Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg|0=300px|hash=277c43f671288384c4e04f821ab8802e|jsondata={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":1038,"height":565,"fill":"rgb(0,0,0)","stroke":null,"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,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/3/36/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093853.jpg","filters":[]},{"type":"wfarrow2line","version":"2.4.6","originX":"center","originY":"center","left":86.5,"top":168.5,"width":71,"height":91,"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":35.5,"x2":-35.5,"y1":45.5,"y2":-45.5,"x2a":-29.504555600247976,"y2a":-24.81051845865919,"x2b":-16.889863337185908,"y2b":-34.65275088368564},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":122,"top":214,"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":51,"top":123,"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":216,"top":486.5,"width":76,"height":61,"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":38,"x2":-38,"y1":-30.5,"y2":30.5,"x2a":-17.395101028140957,"y2a":24.220020831285986,"x2b":-27.41023120569794,"y2b":11.742153724821542},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":254,"top":456,"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":178,"top":517,"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":"wfnumberedbullet","version":"2.4.6","originX":"left","originY":"top","left":114,"top":209,"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":247,"top":441,"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":565,"width":1038}|mediaClass=Image|type=frameless|align=center|src=/images/thumb/3/36/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093853.jpg/ia-277c43f671288384c4e04f821ab8802e-px-Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093853.jpg.png|href=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg|resource=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg|caption=|size=300px}}
+
 
 +
# Right click on the TwinCAT3  icon -> Edit routes
 +
|{{#annotatedImageLight:Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093823.jpg|0=300px|hash=|jsondata=|mediaClass=Image|type=frameless|alt=Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg|align=center|src=https://stuga.dokit.app/images/e/e6/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093823.jpg|href=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093823.jpg|resource=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093823.jpg|caption=|size=300px}}
 
|
 
|
 
|-
 
|-
 +
|2
 +
|Remove all existing Routes
 +
 +
Click on each one in turn and click remove
 +
|{{#annotatedImageLight:Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg|0=300px|hash=b7d2eb9db04b096306a8b4aec0e92d27|jsondata={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":1038,"height":565,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.29,"scaleY":0.29,"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/3/36/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093853.jpg","filters":[]},{"type":"wfnumberedbullet","version":"2.4.6","originX":"left","originY":"top","left":66,"top":54,"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":"wfarrow2line","version":"2.4.6","originX":"center","originY":"center","left":46.5,"top":49.5,"width":47,"height":23,"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":23.5,"x2":-23.5,"y1":11.5,"y2":-11.5,"x2a":-9.052088470891086,"y2a":4.476791055998748,"x2b":-2.0192426471978564,"y2b":-9.894676496765676},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":70,"top":61,"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":23,"top":38,"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":76,"top":128,"width":30,"height":40,"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":15,"x2":-15,"y1":-20,"y2":20,"x2a":3.4000000000000004,"y2a":8.8,"x2b":-9.4,"y2b":-0.7999999999999998},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":91,"top":108,"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":61,"top":148,"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":"wfnumberedbullet","version":"2.4.6","originX":"left","originY":"top","left":85,"top":92,"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":163,"width":300}|mediaClass=Image|type=frameless|align=center|src=/images/thumb/3/36/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093853.jpg/ia-b7d2eb9db04b096306a8b4aec0e92d27-px-Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093853.jpg.png|href=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg|resource=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg|caption=|size=300px}}
 
|
 
|
|
+
|-
|
+
|3
 +
|Restart TwinCAT
 +
|{{#annotatedImageLight:Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093823.jpg|0=300px|hash=42d2b45620a0d266d556dc3e9c6bd731|jsondata={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":0,"top":0,"width":1534,"height":1195,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":0.2,"scaleY":0.2,"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/e/e6/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093823.jpg","filters":[]},{"type":"wfarrow2line","version":"2.4.6","originX":"center","originY":"center","left":157,"top":204,"width":126,"height":30,"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":-63,"x2":63,"y1":-15,"y2":15,"x2a":45.39683992474099,"y2a":2.58513973639627,"x2b":41.690911487844346,"y2b":18.15003917136214},{"type":"wfarrow2circle","version":"2.4.6","originX":"center","originY":"center","left":94,"top":189,"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":220,"top":219,"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":234,"width":300}|mediaClass=Image|type=frameless|align=center|src=/images/thumb/e/e6/Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093823.jpg/ia-42d2b45620a0d266d556dc3e9c6bd731-px-Common_Issue_-_Initialising_-_Cannot_Connect_to_PLC_Annotation_2020-02-24_093823.jpg.png|href=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093823.jpg|resource=./Fichier:Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093823.jpg|caption=|size=300px}}
 
|
 
|
 
|-
 
|-
|
+
|4
|
+
|Log in to the front end PC and set up the route again
 
|
 
|
 
|
 
|
 
|}</translate>
 
|}</translate>
 
{{PageLang
 
{{PageLang
 +
|Language=en
 
|SourceLanguage=none
 
|SourceLanguage=none
 
|IsTranslation=0
 
|IsTranslation=0
|Language=en
 
 
}}
 
}}
 
{{AddComments}}
 
{{AddComments}}

Version du 24 février 2020 à 12:58

Auteur avatarGareth Green | Dernière modification 24/02/2020 par Gareth Green en cours de rédaction

Symptom

Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 102253.jpg

On initialisation, the blue Stuga screen is trying to connect and the tries number keeps counting up.

Generally, this indicates a problem with the route between the front end and back end PC


...First thing to try is a simple full power off and on again



Potential Solutions

Back end PC not switched on

Customer Network

If connected network on either front and back end PCs is not "Work" or "Private", this can block communication

IP Address change

If the back-end PC is not on a fixed IP address, and the route is set to connect to a specific IP address, then any change will lose the route connection

  • Ensure the back end is on a fixed IP address (you will need to get an IP address from the customer's IT representative)
  • or (if customer unable to provide fixed IP address) set the route to NDIS

Then set up the route again from the front end PC


Back end PC Router Needs Clearout

Log in to back end PC and clear all AMS routes out. This cleans out the system and then you can attempt to create the route again

Step Pic Notes
1 Teamviewer to back end PC and clear out existing routes
  1. Right click on the TwinCAT3 icon -> Edit routes
Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg
2 Remove all existing Routes

Click on each one in turn and click remove

Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093853.jpg
3 Restart TwinCAT
Common Issue - Initialising - Cannot Connect to PLC Annotation 2020-02-24 093823.jpg
4 Log in to the front end PC and set up the route again

Commentaires

Draft