Author Topic: FMD88 Interrupt function not working  (Read 11164 times)

CPEng

  • Newbie
  • Posts: 7
  • I'm a llama!
    • View Profile
FMD88 Interrupt function not working
« on: July 12, 2012, 12:23:03 PM »
I have an new FMD88 (r77) firmware trying to count a flow meter and the interrupt seems to be broken.

I read in the manual that inputs #3-#6 can be used interrupt pins, so I hook up the meter to #3 pin.

I create a init function that runs first scan with the code:
intrdef 3,2,1

Then create function #2 "Count" with code
A= A+1

Program and transfer, then online monitoring of A variable and nothing. But I see the light for input #3 flashing.

Just to double check, I comment out the interrupt statement, then use ladder to scan input #3 and run a "diff up" function #2. Variable 'A' increments as it should, so the controller is receiving the signal.

Just to be sure I tried the same thing on input #4.
Is there something I'm missing?

Thanks
« Last Edit: July 12, 2012, 12:24:07 PM by CPEng »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:FMD88 Interrupt function not working
« Reply #1 on: July 13, 2012, 01:02:23 AM »
It should be INTRDEF 1,2,1

Input #3 = Interrupt channel #1.
Input #4 = Interrupt channel #2.
Input #5 = Interrupt channel #3.
Input #6 = Interrupt channel #4.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

CPEng

  • Newbie
  • Posts: 7
  • I'm a llama!
    • View Profile
Re:FMD88 Interrupt function not working
« Reply #2 on: July 13, 2012, 09:32:05 AM »
Thats what it was, thank you.

I couldn't find anything in the manual under the interupt section that states this so it might be helpful for others if its updated.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:FMD88 Interrupt function not working
« Reply #3 on: July 13, 2012, 09:38:38 AM »
Thank you for your feedback. The special digital I/Os are tabled in Chapter 6 but I guess it will help to repeat the info on the interrupt section. We will suggest that for inclusion in future release of the User's Manual.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS