<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Problem using MeasureFrequence FB</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/68b0494e86/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/68b0494e86/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/68b0494e86/</id><updated>2024-06-24T07:43:18.204000Z</updated><subtitle>Recent posts to Problem using MeasureFrequence FB</subtitle><entry><title>Problem using MeasureFrequence FB</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/68b0494e86/?limit=25#863a" rel="alternate"/><published>2024-06-24T07:43:18.204000Z</published><updated>2024-06-24T07:43:18.204000Z</updated><author><name>mp9876</name><uri>https://forge.codesys.com/u/mp9876/</uri></author><id>https://forge.codesys.com35f2aacc4419a1e7e177aed591d7ed01f223dfc7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone, new at Codesys and PLC programming in general.  I am using Codesys Win V3.5 SP20  I would like to measure an encoder's frequency output (obtaining that pulse train from Factory IO) and intended to use the MeasureFrequence FB (Intern/CAA/Utilities/CAA Mathematics/3.5.19.0).  As mentioned in the title what I need to measure is low frequency, such as lower than 40hz (a cycle every 25mS) or so; I could even go lower frequency if required as this is for test purposes) therefore I am not expecting problem measuring a low frequency with that FB&lt;/p&gt;
&lt;p&gt;The library in question appears to be installed as I can retrieve it from the Library Repository.  I can also see it from the Device's Library Manager.&lt;/p&gt;
&lt;p&gt;Problem arises when I am trying to instantiate this particular FB.  I go like this:&lt;/p&gt;
&lt;p&gt;VAR&lt;br/&gt;
   MeasF:MeasureFrequence;&lt;/p&gt;
&lt;p&gt;END_VAR&lt;/p&gt;
&lt;p&gt;Please note that as soon as I start typing the "MeasureFrequence", the MeasureFrequence comes out as a viable option in auto-typing; seems to indicate that the FB is recognized somehow.&lt;/p&gt;
&lt;p&gt;But there is no way I can compile this as it comes back with the following: C0046: Identifier 'MeasureFrequence' not defined.  Tried to rename that to ABC instead of MeasF; same issue.&lt;/p&gt;
&lt;p&gt;Possibly that the library is not properly installed ?  Placeholder ?  &lt;/p&gt;
&lt;p&gt;I would greatly appreciate a bit of guidance if possible.&lt;/p&gt;
&lt;p&gt;Thank you and regards,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>