View Full Version : Allen Bradley 9/240 input parameters?


JSaindon
09-14-2007, 02:52 PM
I have a machine that locks up on a subroutine, or at least I think thats where it locks up. No alarm code comes up and the program just halts with the coolant blasting until you shut down and restart the machine. I narrowed it down to an input parameter I wanted to inspect further but it is listed nowhere in the documentation what this paramater is or how to access it. I want to know how to find out where to access parameters #1032 - #1035.
Here is the code I think it is hanging on.

G4P[60*#13/#1034]; (gives divide by zero during test runs)
G52X0Y0Z0;
G1G90Y#547T1F0;
IF[#1000NE0]GOTO99;

What happens is when I run a part, it calls up the dressing subroutine and after the wheel dresses it raises up to home then hangs on the line:
IF[#1000NE0]GOTO99;
Only happens intermittently though. Plus after it hangs and you manually reboot the machine it will run the 2nd part in the fixture twice. If I can find out what #1000 and #1034 are I could troubleshoot further but I am stuck here since they aren't in either the A-B docs or the docs from the co. that built the machine. A-B doc says to "See the documentation prepared by your system installer for a detailed description of the use and operation of these input flags." They don't list it anywhere either. Just the common parameters.
Could #1034 be a hardware status input ? Do I need the ODS software to access/edit these "special" parameters? If anyone knows about AB 9 series controllers and wants to chime in, feel free. I will be here pulling some hairs trying to find these parameters. The only tech support guy I know that could help with this issue is gone for 2 weeks on vacation. Just my luck.