JonSaundersTechEE
Member
I'm have been tasked with re-engineering the Error logic footprint of our machine Ladder program. I have the following issues to consider:
1.) Converting from processor type to another
2.) Interfacing with HMI's for Msg. Display
3.) Bit Mapping for proper error to Msg. alignment
4.) Memory conservation (this is where the indirect addressing comes in)
I have divided the errors into 5 groups to include priority order.
N12:1 - Major errors
N12:2-3 Machine device input errors
N12:4 - Mechanical Feedback Errors
N12:5 - Interface and low priority Errors
I wanted to use N12:0 as the Control Word in the Msg. display and PLC. I want to use N12:0 to determine the Error priority. For example. If an error occurs within B3/0-15, N12:1 will contain the mapping from the PLC to the HMI. and display the message via N12:0. If an error occurs within B3/16 - 46, N12:2-3 will contain the mapping from the PLC to the HMI. And display the message via N12:0 (Indirectly)
This should allow me to use N12:0/x to call the corresponding screen and still use the same Tag (N12:0)
I have heard of this type of programming method being used on Motor Control adjustment Screens but I have never designed one myself. If anyone can help, please contact me. I'm not looking for someone to do the work for me just point me in the right direction.
I am well versed in PID control and have written many modified PI routines. If I can be of help just ask.
We all have our strong points I hope someone will be willing to share theirs.
1.) Converting from processor type to another
2.) Interfacing with HMI's for Msg. Display
3.) Bit Mapping for proper error to Msg. alignment
4.) Memory conservation (this is where the indirect addressing comes in)
I have divided the errors into 5 groups to include priority order.
N12:1 - Major errors
N12:2-3 Machine device input errors
N12:4 - Mechanical Feedback Errors
N12:5 - Interface and low priority Errors
I wanted to use N12:0 as the Control Word in the Msg. display and PLC. I want to use N12:0 to determine the Error priority. For example. If an error occurs within B3/0-15, N12:1 will contain the mapping from the PLC to the HMI. and display the message via N12:0. If an error occurs within B3/16 - 46, N12:2-3 will contain the mapping from the PLC to the HMI. And display the message via N12:0 (Indirectly)
This should allow me to use N12:0/x to call the corresponding screen and still use the same Tag (N12:0)
I have heard of this type of programming method being used on Motor Control adjustment Screens but I have never designed one myself. If anyone can help, please contact me. I'm not looking for someone to do the work for me just point me in the right direction.
I am well versed in PID control and have written many modified PI routines. If I can be of help just ask.
We all have our strong points I hope someone will be willing to share theirs.