Analog Output Card not Outputting?

What would cause the math underflow or overflow errors? I've never really seen many PLC faults before.

Any division by zero, or any other math operation that could cause an overflow or underflow.

Typically, for SLC Programs, as the very last rung of LAD-2, people will put in an unconditional latch of S:5/0 (the math overflow trap bit) to prevent the processor from hard faulting. It only hard faults if that bit is set at the beginning of the program scan.

Whenever unconditionally resetting the overflow trap, I like to include one more rung just above that, so that if S:5/0 is set, I latch another internal bit so that if I'm ever looking online at the program, I can see that an overflow has happened.

All of these fault bits are explained very well in the help files loaded with Logix 500.
 
What would cause the math underflow or overflow errors? I've never really seen many PLC faults before.

A divide by zero or a result that is too large to be stored in the destination register. Add a rung at the end of the main program file that unconditionally sets bit S:5/0 if you don't want a math error to fault your processor.
 
Further info: Unfortunately, it wasn't a math overflow error. We got a 358h alarm, which is a non-recoverable specialty card fault. I had them reset it, and when they went back into run mode, it faulted again, this time giving the 355h alarm. Going to call AB tech support.

Thanks for the help so far. Will keep updating.
 
Followup: Contacted AB tech support. Analog input card (1746-NI8) is definitely bad. Unfortunately, we purchased it in November of 2012 even though we just installed it last year, so it's out of warranty. We're going to contact our local distributor to see how much it would be to repair it.

Thanks for the help!
 
What would cause the math underflow or overflow errors? I've never really seen many PLC faults before.



Great advice - I'll definitely have my electrician do that, and follow up to get to the root cause of the error.

Most common cause is Divide by 0. Any divide math statements should always be preceded by a NEQ check that the divisor isn't zero.

FYI, for a SLC processor, it doesn't fault unless the overflow flag is set at the end of scan. It doesn't actually fault at the rung with the offending divide by zero. So, a common practice to avoid a faulted processor is in the last rung of the main routine put an OTU S:5/0.
 

Similar Topics

I have a Mitsubishi FX2N-64MR-UA1 processor. The 1st analog output card is an FX2N-4DA. It requires 24VDC power. That card is obsolete. The card...
Replies
1
Views
1,563
Hello, As you may remember, I posted in January about an issue we were having with our micro850 controllers (2080-LC50-48AWB) to operate...
Replies
16
Views
4,260
Hello, We are using 80 micro850 controllers (2080-LC50-48AWB) to operate irrigation booms in our nursery. We are using an analog output card...
Replies
15
Views
7,234
Greetings, I have been charged with a project to link data from a Beckhoff PLC using Allen Bradley Point IO to a PLC 5. The PLC5 does not have...
Replies
10
Views
3,997
Hi All: I was hoping someone could help point me in the right direction as to how to setup a Flex IO AO Card in RSLogix500. As it stands I have...
Replies
4
Views
2,499
Back
Top Bottom