AdvancedHMI is awesome!
I have an older machine that is experiencing an issue at random times for no clear reason.
There are three carts that must move in sequence with each other, positioning is tracked via proximity switch.
The carts will, without warning, lose position and crash into each other. The frequency is random as well, from not at all to a couple times an hour.
So far we have identified no problem that will stop the issue from occurring.
There is no error log on the machine, and even if there was the error message are too vague to amount to much.
Motor drives check out fine. Visual inspection of wiring uncovers no problems. Any mechanical issue related to the carts has been corrected. Validation of prox adjustments found no problems.
At this point I am stumped. I feel like it is either a short in a wire or a timing issue. So, I am writing an app to track the prox activation's vs time. There are 24 prox switches of immediate interest and 32 of secondary interest, plus some other braking and drive functions I would like to keep track of vs time.
A simple datalog that I can then import into excel for analysis is my goal.
The processor is an SLC5/04 and its RS232 port is in use. I have the DH+ and DF1 port available. I also have a card, Prosoft I think, to convert from DH+ to Ethernet.
With about 75 values I need to get out of the processor, what is the best route to take? I have been looking at the simple datalog example and like the concept, just not sure how to apply it to the SLC. Would I use the bit address in place of the tagname when writing data to the file? Should I use a ...? A little prod in the right direction would be great!
TIA!
I am fairly familiar with VB having used it off and on for years. Most of my AdvancedHMI is on compact logic processors though.
DC