Controllogix overflow

Samneggs

Member
Join Date
Apr 2003
Location
SoCal
Posts
37
How is the CPT causing an overflow? My assumption is that AccEX_FillSpd_FPS is causing a Divide-By-Zero when it goes to zero. The problem is that the proceding GRT should not enable the CPT to execute.

Sam
 
could you be dividing by a very small number? that could cause your resultant to be very large, larger than your tag can handle. I'm assuming you result tag is a float also.
 
Sam,

if you're using an SLC you should use the piping symbol (|) for the division, and not the backslash (/). That one is reserved for indicating the bitnumber in a BOOL address. I don't know why this could give you an overflow, but it should difinitely give you an error. I guess it's something similar with ControlLogix, I'll have to check it.

Kind regards,
 
Sam,

I should have checked first. It's OK for ControlLogix to divide with /. I too can not think of anything else than what you've already said: if the condition before the second CPT was true, it would give you an overflow, because AccEX_FillSpd_FPS is shown to be zero, thus giving a division by zero. But because the condition is false, it shouldn't matter. This one will be for the AB specialists here. Now, it's only 30 minutes since you've posted the problem, it shouldn't take more than about another 30 minutes, I figure.

Kind regards,
 

Similar Topics

I'm trying to integrate a Beckhoff IPC with a Controllogix PLC. There is some documentation, on the Beckhoff website, on how to do a PLC-PLC comms...
Replies
0
Views
61
Why does the controllogix redundancy modules use a single mode fiber vs multimode fiber?
Replies
1
Views
87
Hello, I have two 16 point input cards and 1 16 point output card showing module faulted on my IO tree in Logix Designer. The fault code is...
Replies
7
Views
217
Hello, My associate and I are trying to sync up two ControlLogix racks (7-slot chassis) with identical modules. We are able to see the secondary...
Replies
4
Views
200
Trying to setup a message read via Ethernet. I have the path setup as 1, 1, 2, 192.168.66.10 I get an error code 1, ext err 315. I am beating...
Replies
9
Views
237
Back
Top Bottom