Ken Roach said:
What exactly do you want to see or do with the data value ?
dbh6 said:
Ken its just for "knowing how to do" purposes...value will be displayed in decimal then they would have to look up in the manual what that fault code means.
Donnacha said:
If there are only a small amount it might be as easy to create a small list of faults in the HMI
dbh6 said:
i was thinking of doind that but there are over 44 fault codes
Unless the HMI is very limited in screen size or number of messages it can display, etc, I would have thought this would be the natural way to approach this? HMI allowing, 44+ messages/alarms assigned to the VFD HEX fault codes, which you already have DINT tags for, displaying the exact or abbreviated versions of the manuals description of the faults. This would save time looking up the manual for the fault code description when in a crisis? Again, all Dependant on the HMIs capabilities and/or your access to it for this job.
I display PowerFlex 4 Fault Codes on HMIs. All 24 of them, all written exactly as you would read them from the manual. If there was 50, I'd still do it for what you gain when a drive faults. The operators can read the message and reset if possible or report exactly what's wrong. You can also log the message/alarm on the HMI in layman's terms instead of a numeric value.
What they want doesn't make sense to me? Why go so far and stop so short? I'm sure there is a good reason for it, but what is it?
Sorry my curiosity has gotten the better of me
By the way, I'm not knocking anyone's suggestions as to how to convert this, excellent work, as this provides the "knowing how to do" request. It's just starting to look over complicated to me for what could be easier to do with less code and yield a more verbose result? I know there's something I'm missing here?
EDIT: Ah good TC! I see I wasn't mad after all, you've seen Donnacha's reply. It tweaked my interest at that point too.
G.