<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Using CAM</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/eba5b92fd4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/eba5b92fd4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/eba5b92fd4/</id><updated>2020-02-27T14:26:09.080000Z</updated><subtitle>Recent posts to Using CAM</subtitle><entry><title>Using CAM</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/eba5b92fd4/?limit=25#7330" rel="alternate"/><published>2020-02-27T14:26:09.080000Z</published><updated>2020-02-27T14:26:09.080000Z</updated><author><name>Kim</name><uri>https://forge.codesys.com/u/kim/</uri></author><id>https://forge.codesys.comca9bdf57f2f57f9447d152b782f117e5ec6e249b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Bumping this thread as I have the exact same question in #1 and it still remains unanswered after several months.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
While the CAM operates, how do I know its current position?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;We have succeeded in obtaining this information by accessing the internal variable "xr" within the function block MC_CamIn, but we think there should be a more user-friendly way of doing this, such as an output pin or a dedicated function. Accessing internal variables seems a bit dangerous as their purpose could very well change between versions.&lt;/p&gt;
&lt;p&gt;Would be great if we could get an answer to this!&lt;/p&gt;
&lt;p&gt;Kim Hansen&lt;br/&gt;
Beijer Electronics Automation AB&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using CAM</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/eba5b92fd4/?limit=25#f583" rel="alternate"/><published>2020-02-27T14:26:08.639000Z</published><updated>2020-02-27T14:26:08.639000Z</updated><author><name>alonohev</name><uri>https://forge.codesys.com/u/alonohev/</uri></author><id>https://forge.codesys.comb5a9855b911cbe8ed757260bae4dddbc1441a087</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;br/&gt;
I'm constructing an online changing set of cams, and have a a few questions about that. In order to make an online change, I have constructed my own structure TYPE "SMC_CAMTable_LREAL_1000_2" with a 1000 points array. The online data is received in sections at a time, and I wish to stop at the end of each section and wait for the following section data.&lt;br/&gt;
1. While the CAM operates, how do I know its current position? I want to know when the CAM is at the defined set points, at the end of the interpolated segment.&lt;br/&gt;
2. Using the "MC_CAM_REF" FB, what should be the "nElements" input value? Can I use it as an end position marker?&lt;br/&gt;
3. In order to set the cam timing, do I set the virtual master axis with a set of &lt;span&gt;[x,x]&lt;/span&gt; values, and a constant 1&lt;span&gt;[u/s]&lt;/span&gt; velocity? &lt;/p&gt;
&lt;p&gt;Thanks &lt;br/&gt;
Alon.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>