Author Topic: PULSEFREQUENCY  (Read 4875 times)

m.law

  • Newbie
  • Posts: 2
  • I'm a llama!
    • View Profile
PULSEFREQUENCY
« 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.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3170
    • View Profile
    • Internet Programmable PLCs
Re:PULSEFREQUENCY
« Reply #1 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.

« Last Edit: July 09, 2010, 07:34:43 AM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

m.law

  • Newbie
  • Posts: 2
  • I'm a llama!
    • View Profile
Re:PULSEFREQUENCY
« Reply #2 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+.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3170
    • View Profile
    • Internet Programmable PLCs
Re:PULSEFREQUENCY
« Reply #3 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.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS