Hello,
I am going to use an HMI for a 4 digit military rime entry. I want to compare this value against the curr_hour and curr_minute in the control logix processor. My question is how to break up the 4 digit number with the two upper, and two lower values that I can use to directly compare against curr_hour and curr_minute?
I could have two different entries on the HMI to accomplish this, but I liked the idea of just having one.
I am using Rslogix 5000 with structured text.
Thanks!
I am going to use an HMI for a 4 digit military rime entry. I want to compare this value against the curr_hour and curr_minute in the control logix processor. My question is how to break up the 4 digit number with the two upper, and two lower values that I can use to directly compare against curr_hour and curr_minute?
I could have two different entries on the HMI to accomplish this, but I liked the idea of just having one.
I am using Rslogix 5000 with structured text.
Thanks!