Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - CPEng

Pages: [1]
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

2
Technical support / Nano network lockup
« on: March 23, 2012, 11:30:46 PM »
Hello,

I've been having alot of difficulty with a Nano 10 PLC getting into a state where it appears the Ethernet locks up every 1-2 days. The PLC gets to a state where it's webpage will not load fully, it loses packets on an echo request and most importantly remote file services stops working and I get no logs. Since the PLC is remote the easiest way to get it to work again is to reprogram it and do a Power ON reset, a simple reset from the from remote monitoring will not fix remote file services. I thought the issue was related to power so I added a 470 micro farad capacitor on the input, and eventually added a separate power supply, one that we got through TRi.

The setup is a Nano 10 with Fram rtc 256. Its firmware is R77. This Plc reads pulses at a rate of 100-200 hz using an interrupt and a 32 bit Var as a counter. Jumper 1 is set to keep all data over power ups, which means I assume that it adds overhead to my interrupt service routine incrementing the variable.

As I said earlier it happens every 1-2 days, but works perfectly otherwise. My remote file services waits at least 10 seconds before resending data, and the ladder logic looks to be working fine during the Ethernet lock ups. I can remote monitor over the Ethernet port but only just barely as it becomes very slow.

I'm at my wits end, please help.

CPEng

3
Technical support / Initial Value during Programming
« on: August 29, 2011, 04:00:51 PM »
I'm trying to figure out the best way to initialize non-volatile memory variable to default values during programming.

I have a F1616-BA PLC and have switched DIP #1 to "on" to make DM[300] and above non-volatile.

I thought 1st scan would work but in testing that runs after every power cycle. I need the variables to retain their set values during a power failure, but they need to be initialized to a default value during programming.

Thanks for any help.

Pages: [1]