<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://kallileo.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://kallileo.github.io/" rel="alternate" type="text/html" /><updated>2024-11-21T17:52:16+00:00</updated><id>https://kallileo.github.io/feed.xml</id><title type="html">Leon’s blog</title><subtitle>Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.</subtitle><author><name>Leon Kallis</name></author><entry><title type="html">STM32 Cortex-M0+: Internal vs External clock sources</title><link href="https://kallileo.github.io/blog/STM32-Internal-vs-External-clock-source/" rel="alternate" type="text/html" title="STM32 Cortex-M0+: Internal vs External clock sources" /><published>2024-11-21T00:00:00+00:00</published><updated>2024-11-21T00:00:00+00:00</updated><id>https://kallileo.github.io/blog/STM32-Internal-vs-External-clock-source</id><content type="html" xml:base="https://kallileo.github.io/blog/STM32-Internal-vs-External-clock-source/"><![CDATA[]]></content><author><name>Leon Kallis</name></author><category term="Blog" /><category term="stm32" /><category term="cortexm0+" /><summary type="html"><![CDATA[]]></summary></entry><entry><title type="html">Modbus TCP Client example by using sockets in C#</title><link href="https://kallileo.github.io/blog/Modbus-TCP-Client-Sockets-C/" rel="alternate" type="text/html" title="Modbus TCP Client example by using sockets in C#" /><published>2022-12-17T00:00:00+00:00</published><updated>2022-12-17T00:00:00+00:00</updated><id>https://kallileo.github.io/blog/Modbus-TCP-Client-Sockets-C</id><content type="html" xml:base="https://kallileo.github.io/blog/Modbus-TCP-Client-Sockets-C/"><![CDATA[<p>Very simple Modbus TCP Client example coded in C# that uses network .NET sockets library (System.Net.Sockets) to read holding registers from a Modbus TCP Server device. 
No EXTERNAL Modbus libraries like EasymodbusTCP are used.</p>

<p>Firstly the connection through a network socket is established, then a Modbus request message is constructed and sent to the ModbusTCP Server. Lastly the socket is waiting for response from Modbus TCP Server. 
ModRSsim2 can be used to simulate the Modbus TCP Server device.</p>

<p><a href="https://github.com/kallileo/Modbus-TCP-Client-Example">Modbus TCP Client example by using sockets in C# - GitHub</a></p>]]></content><author><name>Leon Kallis</name></author><category term="blog" /><summary type="html"><![CDATA[Very simple Modbus TCP Client example coded in C# that uses network .NET sockets library (System.Net.Sockets) to read holding registers from a Modbus TCP Server device. No EXTERNAL Modbus libraries like EasymodbusTCP are used.]]></summary></entry><entry><title type="html">Handling digital I/O in PLC (Codesys)</title><link href="https://kallileo.github.io/blog/handling-digital-io-signals-in-plc/" rel="alternate" type="text/html" title="Handling digital I/O in PLC (Codesys)" /><published>2022-12-11T00:00:00+00:00</published><updated>2022-12-11T00:00:00+00:00</updated><id>https://kallileo.github.io/blog/handling-digital-io-signals-in-plc</id><content type="html" xml:base="https://kallileo.github.io/blog/handling-digital-io-signals-in-plc/"><![CDATA[<p>A simple example of how to efficiently handle digital input and output signals in Codesys and other PLC IDEs using digital I/O handler function block coded in Structured Text.</p>

<p>Created in Codesys V3.5 SP16.</p>

<p><a href="https://github.com/kallileo/Digital-I-O-Handler">Handling digital I/O in PLC (Codesys) - GitHub</a></p>

<iframe width="560" height="315" src="https://www.youtube.com/embed/2cZZPW0MGn4" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>]]></content><author><name>Leon Kallis</name></author><category term="blog" /><summary type="html"><![CDATA[A simple example of how to efficiently handle digital input and output signals in Codesys and other PLC IDEs using digital I/O handler function block coded in Structured Text.]]></summary></entry><entry><title type="html">Post: Link</title><link href="https://kallileo.github.io/blog/post-link/" rel="alternate" type="text/html" title="Post: Link" /><published>2010-03-07T00:00:00+00:00</published><updated>2010-03-07T00:00:00+00:00</updated><id>https://kallileo.github.io/blog/post-link</id><content type="html" xml:base="https://kallileo.github.io/blog/post-link/"><![CDATA[<p>This theme supports <strong>link posts</strong>, made famous by John Gruber. To use, just add <code class="language-plaintext highlighter-rouge">link: http://url-you-want-linked</code> to the post’s YAML front matter and you’re done.</p>

<blockquote>
  <p>And this is how a quote looks.</p>
</blockquote>

<p>Some <a href="#">link</a> can also be shown.</p>]]></content><author><name>Leon Kallis</name></author><category term="Blog" /><category term="link" /><category term="Post Formats" /><summary type="html"><![CDATA[This theme supports link posts, made famous by John Gruber. To use, just add link: http://url-you-want-linked to the post’s YAML front matter and you’re done.]]></summary></entry><entry><title type="html">Post: Standard</title><link href="https://kallileo.github.io/blog/post-standard/" rel="alternate" type="text/html" title="Post: Standard" /><published>2010-01-07T00:00:00+00:00</published><updated>2010-01-07T00:00:00+00:00</updated><id>https://kallileo.github.io/blog/post-standard</id><content type="html" xml:base="https://kallileo.github.io/blog/post-standard/"><![CDATA[<p>All children, except one, grow up. They soon know that they will grow up, and the way Wendy knew was this. One day when she was two years old she was playing in a garden, and she plucked another flower and ran with it to her mother. I suppose she must have looked rather delightful, for Mrs. Darling put her hand to her heart and cried, “Oh, why can’t you remain like this for ever!” This was all that passed between them on the subject, but henceforth Wendy knew that she must grow up. You always know after you are two. Two is the beginning of the end.</p>

<p>Mrs. Darling first heard of Peter when she was tidying up her children’s minds. It is the nightly custom of every good mother after her children are asleep to rummage in their minds and put things straight for next morning, repacking into their proper places the many articles that have wandered during the day.</p>

<!--more-->

<p>This post has a manual excerpt <code class="language-plaintext highlighter-rouge">&lt;!--more--&gt;</code> set after the second paragraph. The following YAML Front Matter has also be applied:</p>

<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">excerpt_separator</span><span class="pi">:</span> <span class="s2">"</span><span class="s">&lt;!--more--&gt;"</span>
</code></pre></div></div>

<p>If you could keep awake (but of course you can’t) you would see your own mother doing this, and you would find it very interesting to watch her. It is quite like tidying up drawers. You would see her on her knees, I expect, lingering humorously over some of your contents, wondering where on earth you had picked this thing up, making discoveries sweet and not so sweet, pressing this to her cheek as if it were as nice as a kitten, and hurriedly stowing that out of sight. When you wake in the morning, the naughtiness and evil passions with which you went to bed have been folded up small and placed at the bottom of your mind and on the top, beautifully aired, are spread out your prettier thoughts, ready for you to put on.</p>

<p>I don’t know whether you have ever seen a map of a person’s mind. Doctors sometimes draw maps of other parts of you, and your own map can become intensely interesting, but catch them trying to draw a map of a child’s mind, which is not only confused, but keeps going round all the time. There are zigzag lines on it, just like your temperature on a card, and these are probably roads in the island, for the Neverland is always more or less an island, with astonishing splashes of colour here and there, and coral reefs and rakish-looking craft in the offing, and savages and lonely lairs, and gnomes who are mostly tailors, and caves through which a river runs, and princes with six elder brothers, and a hut fast going to decay, and one very small old lady with a hooked nose. It would be an easy map if that were all, but there is also first day at school, religion, fathers, the round pond, needle-work, murders, hangings, verbs that take the dative, chocolate pudding day, getting into braces, say ninety-nine, three-pence for pulling out your tooth yourself, and so on, and either these are part of the island or they are another map showing through, and it is all rather confusing, especially as nothing will stand still.</p>

<p>Of course the Neverlands vary a good deal. John’s, for instance, had a lagoon with flamingoes flying over it at which John was shooting, while Michael, who was very small, had a flamingo with lagoons flying over it. John lived in a boat turned upside down on the sands, Michael in a wigwam, Wendy in a house of leaves deftly sewn together. John had no friends, Michael had friends at night, Wendy had a pet wolf forsaken by its parents, but on the whole the Neverlands have a family resemblance, and if they stood still in a row you could say of them that they have each other’s nose, and so forth. On these magic shores children at play are for ever beaching their coracles [simple boat]. We too have been there; we can still hear the sound of the surf, though we shall land no more.</p>

<p>Of all delectable islands the Neverland is the snuggest and most compact, not large and sprawly, you know, with tedious distances between one adventure and another, but nicely crammed. When you play at it by day with the chairs and table-cloth, it is not in the least alarming, but in the two minutes before you go to sleep it becomes very real. That is why there are night-lights.</p>

<p>Occasionally in her travels through her children’s minds Mrs. Darling found things she could not understand, and of these quite the most perplexing was the word Peter. She knew of no Peter, and yet he was here and there in John and Michael’s minds, while Wendy’s began to be scrawled all over with him. The name stood out in bolder letters than any of the other words, and as Mrs. Darling gazed she felt that it had an oddly cocky appearance.</p>]]></content><author><name>Leon Kallis</name></author><category term="Blog" /><category term="Post Formats" /><category term="readability" /><category term="standard" /><summary type="html"><![CDATA[All children, except one, grow up. They soon know that they will grow up, and the way Wendy knew was this. One day when she was two years old she was playing in a garden, and she plucked another flower and ran with it to her mother. I suppose she must have looked rather delightful, for Mrs. Darling put her hand to her heart and cried, “Oh, why can’t you remain like this for ever!” This was all that passed between them on the subject, but henceforth Wendy knew that she must grow up. You always know after you are two. Two is the beginning of the end. Mrs. Darling first heard of Peter when she was tidying up her children’s minds. It is the nightly custom of every good mother after her children are asleep to rummage in their minds and put things straight for next morning, repacking into their proper places the many articles that have wandered during the day.]]></summary></entry></feed>