<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Limit-switches in user-space</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/010e0e1a6c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/010e0e1a6c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/010e0e1a6c/</id><updated>2020-02-27T18:27:53.663000Z</updated><subtitle>Recent posts to Limit-switches in user-space</subtitle><entry><title>Limit-switches in user-space</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/010e0e1a6c/?limit=25#432b" rel="alternate"/><published>2020-02-27T18:27:53.663000Z</published><updated>2020-02-27T18:27:53.663000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com4f4895ac3a0f7ffe95ec85226712f62d3a61574a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Nicolai_Hanssing&lt;/p&gt;
&lt;p&gt;Soem investigation shows these FB might be relevant:&lt;/p&gt;
&lt;p&gt;SMC_HardwareEndSwitches(&lt;br/&gt;
    bLow:= , &lt;br/&gt;
    bHigh:= , &lt;br/&gt;
    Axis:= , &lt;br/&gt;
    bOutOfArea=&amp;gt; );&lt;/p&gt;
&lt;p&gt;SMC_HardwareEndSwitches_Config(&lt;br/&gt;
    bLow:= , &lt;br/&gt;
    bHigh:= , &lt;br/&gt;
    Axis:= , &lt;br/&gt;
    bOutOfArea=&amp;gt; );&lt;/p&gt;
&lt;p&gt;From the text-description it is not clear exactly how this could be used, but I suppose it would normally reside in the Drive-cycle Execute_Start-call handled by the driver-lib.&lt;br/&gt;
But which to use, and how to use it in user-space?&lt;/p&gt;
&lt;p&gt;Nicolai Hanssing&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Limit-switches in user-space</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/010e0e1a6c/?limit=25#8775" rel="alternate"/><published>2020-02-27T18:27:52.529000Z</published><updated>2020-02-27T18:27:52.529000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com4708dd861f69408e8e293aa3ff3b49205d94ba4f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Nicolai_Hanssing&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am currently working with a PLC-Open implementation that does not support hardware limit-switches in the Target.&lt;/p&gt;
&lt;p&gt;Is there anyway that I can map/update the limit-switch structure in user application-space?&lt;br/&gt;
Paramenter #1206 AXIS_REF.bHWLimitEnable must ofcourse be true, but where and how it the pointer-mapping and/or update for these inputs done?&lt;/p&gt;
&lt;p&gt;I need this on a modulo-configered axis, which is actually a linear axis, but needs modulo-positioning due to absolute position excceding 2^31 increments which is not handled correctly in PLC-Open Softmotion.&lt;/p&gt;
&lt;p&gt;Right now I have my own handling implemented, but I would like to also pass limit-switches to the Softmotion-library to have 'belt &amp;amp; suspenders' solution.&lt;/p&gt;
&lt;p&gt;Regards&lt;br/&gt;
  Nicolai Hanssing&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>