<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/</id><updated>2020-02-27T17:29:59.782000Z</updated><subtitle>Recent posts to Using Piface with ladder example</subtitle><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#8f5d" rel="alternate"/><published>2020-02-27T17:29:59.782000Z</published><updated>2020-02-27T17:29:59.782000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comcbedfc7f3b6807133b5d753456e49e546dbfa262</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Screenshot?&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Update.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=943"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#5928" rel="alternate"/><published>2020-02-27T17:29:58.790000Z</published><updated>2020-02-27T17:29:58.790000Z</updated><author><name>frb</name><uri>https://forge.codesys.com/u/frb/</uri></author><id>https://forge.codesys.com4f2e454ce846d73ec945d5e60b350aceb9902aa9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;I'm sorry, but it doesn't work on his way!  l &lt;a class="" href="http://forum.codesys.com/posting.php?mode=reply&amp;amp;f=21&amp;amp;t=5989#" rel="nofollow"&gt;posting.php?mode=reply&amp;amp;f=21&amp;amp;t=5989#&lt;/a&gt; l &lt;br/&gt;
Is it because i'm on version 3.5.5.2 and the first error wants to include &amp;lt; Bibliothek SM3_Basic, 3.5.4.0 &amp;gt; and the second &amp;lt;bibliothek 3.5.4.0="" sm3_cnc,=""&amp;gt;and the third &amp;lt;bibliothek 3.5.4.0="" iostandard,=""&amp;gt;???&amp;lt;/bibliothek&amp;gt;&amp;lt;/bibliothek&amp;gt;&lt;/p&gt;
&lt;p&gt;Excuse me, there is no &amp;lt;update-posibillity&amp;gt; after right-click.&lt;br/&gt;
The &amp;lt;compiler and="" version="" visuprofile=""&amp;gt; is updated - Thangs.&lt;br/&gt;
But it doesn't work!&amp;lt;/compiler&amp;gt;&amp;lt;/update-posibillity&amp;gt;&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
frb&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: PiFaceIoDrv_LadderExample Probleme 03.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=906"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#79c7" rel="alternate"/><published>2020-02-27T17:29:55.822000Z</published><updated>2020-02-27T17:29:55.822000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comdbb7b2daa862e3ca84f7494eaed495bab1ccad05</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you need to right click to the raspberry pi device in the device tree,&lt;br/&gt;
then update device (to your version)&lt;br/&gt;
then set compiler version and visuprofile to current version,&lt;br/&gt;
then it should work.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#1b82" rel="alternate"/><published>2020-02-27T17:29:54.751000Z</published><updated>2020-02-27T17:29:54.751000Z</updated><author><name>frb</name><uri>https://forge.codesys.com/u/frb/</uri></author><id>https://forge.codesys.comeca94d28be7db404bef5f556a88e2cf5e0a80cb1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br/&gt;
I'm new on working with, RPi and PiFaceDigital.&lt;br/&gt;
So this is very interesting for me. But the projekt PiFaceIoDrv_LadderExample doesn't work on my system! &lt;br/&gt;
After starting, and updating (it was asked for) there are over 500 errors.&lt;br/&gt;
It seems to be that there are missing or bad configured iodriver interfaces, visuelembase, ... .&lt;br/&gt;
The GPIOs_A_B is missing too.&lt;br/&gt;
What's wrong?&lt;/p&gt;
&lt;p&gt;Many thangs&lt;br/&gt;
frb&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: PiFaceIoDrv_LadderExample Probleme 02.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=904"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: PiFaceIoDrv_LadderExample Probleme 01.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=903"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#3bc6" rel="alternate"/><published>2020-02-27T17:29:51.906000Z</published><updated>2020-02-27T17:29:51.906000Z</updated><author><name>jsolderitsch</name><uri>https://forge.codesys.com/u/jsolderitsch/</uri></author><id>https://forge.codesys.com3c84dacdbea2a92d51738b120d44c9d509ec26a3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes -- that's what I needed. I did not know to open this element of the Visualization UI to find this setting. Once I make the change, then the UI in the browser looks exactly like the UI representation in Codesys.&lt;/p&gt;
&lt;p&gt;I am running the English text version of the Codesys UI and I notice that the word for this in my English version is still the German word: Web-Visualisierung and perhaps that can be a point of confusion for new users like me. Almost all of the other words in the UI are translated to English.&lt;/p&gt;
&lt;p&gt;I appreciate the timely posts to this forum to my observations.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#9874" rel="alternate"/><published>2020-02-27T17:29:50.883000Z</published><updated>2020-02-27T17:29:50.883000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com6fb683678126c1903643e2f0a7a260650a274651</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you need to change to fixed client size not best fit.&lt;/p&gt;
&lt;p&gt;See screenshot.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: FixedClientSize.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=899"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#3b43" rel="alternate"/><published>2020-02-27T17:29:48.066000Z</published><updated>2020-02-27T17:29:48.066000Z</updated><author><name>jsolderitsch</name><uri>https://forge.codesys.com/u/jsolderitsch/</uri></author><id>https://forge.codesys.com8abe23f552f21441c2897365f04506967555c635</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I can confirm that the image is now present in the visualization and when viewed from the Codesys IDE it looks good: the HMI items are overlaid on the image just fine. When viewed in a browser (tried Chrome on Mac and PC) the alignment of the HMI elements (switches and leds) is bad. The switches are represented as ovals and are too widely spaced. The Led boxes are bigger than they should be and are not centered properly. Attaching a screenshot.&lt;/p&gt;
&lt;p&gt;Not a big deal but curious if anyone else sees the same thing.&lt;/p&gt;
&lt;p&gt;Turns out that if I group the HMI elements with the PiFace image, I get a better alignment. Attaching a screenshot from Chrome on Windows. The image still seems unnecessarily elongated -- stretched and the aspect ratio is not respected. When I browse from Safari on my iPhone, I get a weird vertical stretch but at least the buttons and leds remain aligned.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: HMI" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=898"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: UnalignedHMI.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=897"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#cacb" rel="alternate"/><published>2020-02-27T17:29:47.047000Z</published><updated>2020-02-27T17:29:47.047000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com7d487c3ad1ce1457a86e0034621e5d4f49c66c96</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
thank's for the feedback. You are right, the image should be embedded into the project.&lt;br/&gt;
I've changed it and now it is in the project in the first post.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#9bc5" rel="alternate"/><published>2020-02-27T17:29:46.034000Z</published><updated>2020-02-27T17:29:46.034000Z</updated><author><name>jsolderitsch</name><uri>https://forge.codesys.com/u/jsolderitsch/</uri></author><id>https://forge.codesys.com821438b8e838ede66d6015193568ccb7cbe2af88</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes, this example works like I expected the original one to work. I guess I was right in expecting that the switches in the ladder logic needed to be bound to the variables available on the PiFace. They are no longer part of the declaration section of the POU as they were in the original example.&lt;/p&gt;
&lt;p&gt;The visualization works as well except I don't have the background graphic of the PiFace board to provide the image under the visualized switches and leds. Was that graphic meant to be part of the project file? My visualization just shows a white background.&lt;/p&gt;
&lt;p&gt;I also like how the ladder also shows the switch boolean values and then the led indicators as you manipulate the switches on the PiFace. And the fourth switch does require a continuous press of 2 seconds before the led lights up because of the timer component on that rail.&lt;/p&gt;
&lt;p&gt;Thanks for the quick extension of this example. This will be very beneficial. I want to implement a 2-way traffic light concept in ladder logic and I have an example from a MicroLogic PLC that I want to adapt for this purpose. I think I have enough info now to start this. I will connect the inputs and outputs from the PiFace to a real circuit board where I have green, yellow and red leds as well as actual switches. The timers will give me the ability to automatically progress through a sequence of Green, then Yellow and then Red where the intersecting direction shows the corresponding change from Red to Green.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using Piface with ladder example</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d244a2f0a6/?limit=25#3833" rel="alternate"/><published>2020-02-27T17:29:43.197000Z</published><updated>2020-02-27T17:29:43.197000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com3e4db1a4ec332c49c9176f84fa673899bcb64f4c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have added a more detailed example in the first post.&lt;br/&gt;
This should show how tp map the piface variables and use WebVisualisation.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>