1
Technical support / 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
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