Jump to content

Eschubertsson

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Eschubertsson

  1. 15 hours ago, Flex727 said:

    Another option for you that's a bit more straightforward, if a bit more cumbersome: If you can group your 60 Program IDs into some logical grouping, say 6 groups (each on a separate HMI screen) of 10 program IDs, you could just have pushbuttons for each program ID. Label each pushbutton with the program ID instead of having the operator enter it each time on the HMI (which can be a pain). Pressing the button turns on a bit that activates the cycle associated with that program ID.

    Sure, that could be a solution if I really really couldn't get my head around data tables. But I feel like the customer would be more happy with a single screen (plus one or two for alarm, different status of the different main components of the machine). Sleek was a word he often said during the "consultation", so to speak. 

     

  2. 16 hours ago, Flex727 said:

    What would be an example of a "Program ID" that would be entered into the text box?

    An example would be RV12345

    15 hours ago, Flex727 said:

    Just to shortcut this a bit. I would enter the 60 Program IDs into a Data Table then use the "Find Row" function to compare the HMI entry to the Data Table column with the Program IDs. This function will return the row number which you can then use to key the 60 different cycles.

    I'll try getting datatables working with the example Joe gave me and see if I can make better progress that way,

     

    1 hour ago, Joe Tauser said:

    Understand that all data (including strings) is stored as an integer.  Each character requires 8 bits (one byte), and two characters are stored as hex in a regular 16 bit MI.  

    That doesn't mean you have to decipher MI values into hexadecimal string values.  The data table search and string HMI elements will do that for you.

    Read the Help on how Data Tables work.  They are a little daunting but very powerful.  You can enter data into the table on your PC, but don't forget to download it.  It doesn't go down when you download the program.  You may or may not want additional screens to enter data on the PLC. 

    Experiment with your code on a live unit until you understand them.  If you have questions, post your code.  Troubleshooting ladder logic with words is hard.

    I've attached an example.

    Joe T.

     

    Data table lookup example.vlp

    Thanks! I'll try this and see if I can get this working! It'll probably be a whole lot easier to upgrade with more programs if the customer would like in the future!

  3. I am trying to build a machine that is going to make 60ish different parts.  And I want it to be as simple as this:

    1. Operator enters program ID into a text box on the HMI.
    2. The PLS takes the String/Program ID and loads it into an ML.
    3. Then it takes that ML value and compares it to the database of 60ish programID's, and finds the program associated with that program ID and loads it. 
    4. Then finally when the operator presses cycle start it starts the cycle and loops the loaded program until the operator presses cycle stop.
  4. Hi!

    I have a project where I need to connect a PLS to a Universal Robot via MODBUS and have it run different programs based on user input.

    The idea is basically this

    • Display a screen asking for a part ID 
    • Operator enters part ID based on the part he wants the machine to make
    • Based on the partID the PLS will send a signal via modbus telling it to setup for that program, and the PLS will load a certain ladder logic path for that specific program.

    I tried to do this on a Samba 4.3 but I got stuck on in two places which seem to be hardware limited

    1.It didn't allow me to have more than 5 digits in a numeric input, I'd prefer it to have 7 since that's how long the part ID's of the customer is

    2.I didn't find a way to mix letter and number in a input box

    Is this a a hardware limitation of the Samba, if so is there a PLS/HMI you offer which could support the requirements I have?

    If the other PLS system supported a keyboard that would also be a bonus, typing on a keyboard is a lot better than a touchpad.

×
×
  • Create New...