BPyles
Member
I have a 4 line display (OptiMate 640). I need to feed it the four highest priority faults. I currently keep track of faults in N7:50.xx where xx is the fault number (16 total) 0 is high priority and 15 is low priority.
To move the message to the display I just need to MOV an Int with the message ## (0-160) into N7:xx where xx represents the line number (0-3) in the HMI. The HMI stores all the text for the messages.
Any suggestion on how either to prioritize the messages and display the 4 highest priority messages OR cycle through all the messages without any spaces (i.e. remove the non-active faults from the N7:50)?
NOte: I am using MicroLogix1000 and don't believe I can use indirect addressing! Normally I would run a loop with a counter and indirect address the C.ACC to the Message.
To move the message to the display I just need to MOV an Int with the message ## (0-160) into N7:xx where xx represents the line number (0-3) in the HMI. The HMI stores all the text for the messages.
Any suggestion on how either to prioritize the messages and display the 4 highest priority messages OR cycle through all the messages without any spaces (i.e. remove the non-active faults from the N7:50)?
NOte: I am using MicroLogix1000 and don't believe I can use indirect addressing! Normally I would run a loop with a counter and indirect address the C.ACC to the Message.