Internet PLC Forum

General => Technical support => Topic started by: m.law on July 09, 2010, 06:36:02 AM

Title: PULSEFREQUENCY
Post by: m.law on July 09, 2010, 06:36:02 AM
I'm pretty new to the PLC/TBASIC game and the PULSEFREQUENCY function is giving me some trouble.

I'm just trying to simulate a pulse using a .02s clock and a custom function to display the frequency on the LCD screen. I"m basically doing what they did on this post: http://www.tri-plc.com/yabbse/index.php?board=1;action=display;threadid=1392;start=msg4419#msg4419

and it's just not working. Any help is appreciated.
Title: Re:PULSEFREQUENCY
Post by: support on July 09, 2010, 07:33:51 AM
Which PLC model are you using? Note that the pulse measurement inputs are mapped differently for different PLC models. These are usually explained in Chapter 1 of the PLC's User's Manual.

So if you are using Nano-10 the PMON 1 maps to DI #1, whereas on the T100MD+ it is mapped to DI #3.

Title: Re:PULSEFREQUENCY
Post by: m.law on July 09, 2010, 08:24:57 AM
I'm currently just simulating it using i-TRiLOGI Version 6.31 software. But we're planning on implementing the T100MD+.
Title: Re:PULSEFREQUENCY
Post by: support on July 09, 2010, 02:38:06 PM
Pulse measurement cannot be simulated since it is implemented by hardware interrupt service. Once you load the actual program into the PLC it will work immediately. There shouldn't be a problem.