Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jeff164

  • Rank

Profile Information

  • Gender
  1. Working on that today. Part of my problem is I've got too many things going on and I wear many hats here. I get sidelined with field repairs on a constant basis and then it takes me time to get my head back into the groove of this. I don't do programming full time. Let me play with what I've got in my head and I'll post an update at the end of the day. Again I do appreciate your help.
  2. Thanks for your speedy reply. Tommorow I'll have to delve into this and play around with the comparison functions and perhaps some conditional math to make it work. Cant do anything now, all my computers at home are Mac...I only use windows for work.
  3. Hello Gentlemen, thank you for your pointers thus far. I've been sidelined with other work and now I'm needing to return to this project. I reviewed the state machine example, Thank you @Flex727 for the Link, I could never have found it without that. I can more or less follow the logic of the comparison blocks but I'm trying to wrap my head around how I apply that to what I'm trying to do. One particular question: In many of the Comparison "Equals" blocks it is a Comparison between "A" and "B". The A parameter will be some MI value, and the B parameter will be a (D# x) where the x is some numeric value. I saw some at 10 and some at 20. What is meant by the D# ? Joe - you mentioned tying the step pointer to the text display, I guess I need to see how to set up this Step Pointer. (Walk before you run, Jeff) I took the code I have written thus far and stripped it of company information. Posting it here for you to review if you are so inclined. As I mentioned before, this is loosely based on an application written for a different PLC package but we were not using an HMI, and also not using an analog input, I had a sensor with a relay out. That application was functional & successful, but I need to condense it into this package. This project involves allot of firsts for me, IE first time setting up an Analog Input of my own and first HMI job from scratch. And a new software package to make things interesting. The full system will have an A and a B side. I've only written the A side as I wanted to get it functional first and then duplicate it for the B side. thank you both
  4. No offense taken. the application is fairly involved and probably not the best to learn on but its what I need to build. I've got multiple projects going on but tomorrow I will need to carve out some time on this. thanks for your input Jeff
  5. Not an HOA switch. My use of selector was a poor choice of words. A synopsis: my routine is a sampling application: first it does a "pre-check" to see if the sample line is good. If the sample line is good, then it prompts the operator to open the line to the vessel being analyzed and advance the routine to check the product sample. If the sample line test fails, then it prompts the operator to check their connections and re-run the line check. I've got a display set up that uses the binary text boxes for 'pass' or 'fail' indicators, but I'm looking to have more options than just a two state display. I set up a list of texts by pointer, but I'm trying to sort out how to make the system "select" the correct MI . I suppose I can do this with MB contacts and the status of the analytical module, but each screen is going to have multiple windows, was looking for a clean / neat solution, IE trying to not over-complicate this. I've built this application successfully already last year using a Click PLC and pilot lights, but we wanted to explore the Unitronics as its at a lower price point than a Click and and its accompanying AD HMI. I did find some examples of the store function on the help menu...I was looking for these on the Unitronics website, not in the program itself. I should add that I was not looking for you or others to solve it for me, but looking at similar sets of code to see how something is accomplished is helpful.
  6. Thanks, I found the Store Direct function under the Store drop down menu, this seems to be whatever comes in gets written to the output. Is there a way to make this a selector? I was looking at the Logic operands, an OR could be used, but I still need some boolean logic to bring the signal logic in. Also dont see how to have more than one input on an OR. I can make an boolean OR using MB contacts easy enough....not sure if I'm barking up the wrong tree on that one. I've got some reading to do. Spending my lunch in the help files
  7. Hello, Noob at programming here, especially HMI's. I've done some amount of Ladder logic but this is my first ever building an application with an HMI; and also my first Unitronics experience. I'm trying to have a field on the HMI screen be a status box with variable text messages displayed. I was able to do this successfully using the Binary Text / Switch function, but I need more than two states or messages, probably 3 or 4, and the program will select the correct message depending on what step in the program the system is in and the status of some of the inputs. I'm guessing what i need to use is the "List of texts by Pointer" box, and have looked at the help menu for that, and it more or less makes sense, I will need to write the text in the boxes with the line numbers and have a Memory Integer bit (MI) that will call up the various messages based on the value of the MI. So how do I cause the MI to have these values? I searched on MI and not finding much there, other than a brief description of what the Memory Integer is. Was hoping to find some sample programs that I could look at the code and figure it out from there but haven't fount as yet, maybe I'm not looking in the right place. thanks much, Jeff