<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Help understanding analog in-/outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/521961ada5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/521961ada5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/521961ada5/</id><updated>2024-12-15T16:46:28.961000Z</updated><subtitle>Recent posts to Help understanding analog in-/outputs</subtitle><entry><title>Help understanding analog in-/outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/521961ada5/?limit=25#6061" rel="alternate"/><published>2024-12-15T16:46:28.961000Z</published><updated>2024-12-15T16:46:28.961000Z</updated><author><name>durallymax</name><uri>https://forge.codesys.com/u/durallymax/</uri></author><id>https://forge.codesys.com540b9f57a9620e5a4bba2c41bb61854d7f323bc1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;WAGO will use 0-32767 as the raw units. Note a value of 3 means over/under range. Map that IO however you please, then scale in your program using any of the available libraries or with your own simple y=mx+b scaling formula to get to the engineering units you desire. Inverse for the AO to get back to 0-32767.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Help understanding analog in-/outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/521961ada5/?limit=25#96c8" rel="alternate"/><published>2024-12-15T08:10:53.837000Z</published><updated>2024-12-15T08:10:53.837000Z</updated><author><name>ben1</name><uri>https://forge.codesys.com/u/ben1/</uri></author><id>https://forge.codesys.com47f21b5c3f7b439e307d7e7fcb88aee9622a72d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi there mate&lt;/p&gt;
&lt;p&gt;Most PLC's have a very similar concept with AI/AO - have you used any other software before?&lt;/p&gt;
&lt;p&gt;I have not used a Wago before myself, but I assume the concept would very much be:&lt;br/&gt;
1. Add the analog in &amp;amp; out cards to your hardware config.&lt;br/&gt;
2. Setup the raw input scaling on the hardware (eg. 4 - 20mA = 4000 - 20000)&lt;br/&gt;
3. Use a built in or homemade scaling block to scale your input as needed (eg. 4000 - 20000 = -100 - 2000kPa.&lt;br/&gt;
4. Write code as required&lt;br/&gt;
5. Scale output as needed (eg. 0 - 100% = 0-10000 = 0 - 10V)&lt;/p&gt;
&lt;p&gt;Is this the information you require?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Help understanding analog in-/outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/521961ada5/?limit=25#19ac" rel="alternate"/><published>2024-12-11T16:26:29.106000Z</published><updated>2024-12-11T16:26:29.106000Z</updated><author><name>hyys12</name><uri>https://forge.codesys.com/u/hyys12/</uri></author><id>https://forge.codesys.com8334ddd5eb9c26df0a29bdd01619533fd007ee44</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I am currently working on a WAGO PLC, where I am trying to wrap my head around how the analog inputs and outputs work in codesys.&lt;br/&gt;
I have looked far and wide on the internet, for a general introduction to the whole concept, but I have not had any luck with finding anything that helped me understand it better. The whole goal is for me to be able to read an analog input from a temperature sensor, as well as using an analog output, to control a frequency inverter. I know these have nothing to do with each other, but that is all I have on hand right now.&lt;/p&gt;
&lt;p&gt;I am trying to program this using Ladder Diagram. The only thing is, that every video/guide I have seen/read using LD, just adds a whole lot of function blocks, to do all kinds of stuff they don't explain.&lt;br/&gt;
My general question is, how would one go ahead and read the analog input, as well as transmit an analog output? Is there some kind of specific function block I would have to use for this, or some great video I can watch, to understand the inner workings.&lt;br/&gt;
Is it somehow possible to see the values the PLC recieved/sends?&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>