LURBY

MrPLC Member
  • Content count

    52
  • Joined

  • Last visited

Community Reputation

1 Neutral

About LURBY

  • Rank
    Sparky

Contact Methods

  • ICQ 0
  1. Powerflex Step Logic Positioning

    I solved it.  I found the preset inputs.  Selecting them will jump to whichever step you want.
  2. I have an application using a Powerflex 525 for positioning.  I really should be using a servo but the equipment is already in place. I have it set up with three steps.  First step is my feed.  Jump to the second step (rapid return) with a Logic Input 1 command.  Jump to the third step (ends cycle) with a Logic Input 2 command.  I have "Positioning Mode" (parameter 558) set up in StpLogis-Lst so that if I stop at any point in the cycle I can restart where I left off.  Everything works as it should.  It steps through the sequencer just fine.  The only problem that I am having is that if I stop it midway through a step it will not allow me to jump to the next step because the first step has not reached it's position.  For instance:  First step is an absolute feed motion in the forward direction for 5".  The second step returns this motion back to the home position.  If during the first step I stop it at 2" I can restart it and it will continue the last 3" no problem because it is an absolute move.  What if instead I wanted to go back home?  How do I jump to the next step if I have not completed the first step?
  3. I used a "L" data type yesterday and it did not work.  I tried it again today but instead of putting the instance of 388 in the (hex) box like the other parameters I put it in the (dec) box.  That did the trick.  Thank you all for your help.
  4. I tried that and it didn't work. So if the "N" register is 16-bit (2 bytes) and I write the 32-bit parameter to say N14:8 the first 16 bits will fill into N14:8.  Even if I increase the size to 4 bytes where does the rest of it go?  N14:9?
  5. So they are all "N" integers but the number of bytes determine the INT,DINT, or LINT? The first pic (IMG8682) is a screen shot of the MSG instruction for parameter 7.  Writes to N14:6 and the size in bytes (receive) is 2.  It works.  When I look at N14:6 I can see the value of the last fault code. The second pic (IMG8683) shows what I hope to be the MSG instruction for parameter 388.  I have it writing to N14:8?  Should the size be 4?  Will it only write to N14:8 or will it expand?  Where would I look to see the value?
  6. I tried a bunch of different variations LINT and  INT with various sized bytes received.  I keep getting the error code. error code (in upper byte of MGx:y.22) was returned by Comms module or CIP device There must be a way to do this?
  7. You are correct.  They are Read-Only which is all that I am trying to do.  I want to display them on a screen and possibly set the values up in a compare to trigger something else at a certain location.  Like you say I believe my problem is that I was trying to write it to a 16 bit integer slot when it is a 32 bit parameter.  Should I use a Long Integer instead?  Or would would just increasing the size sent work?  How many bytes would this parameter be?  The 16 bit (parameter 7) was 2.  This would be 4?  I'm sorry about the naive question.  I don't know enough about the bits and bytes end of PLC programming to speak intelligently.
  8. I am trying to read and write specific parameters from a Powerflex 525 to a Micrologix 1100.  I followed the instructions from a Knowledgebase and was able to do it.  By using a CIP Generic - Generic Get Attribute Single MSG I can read parameter 7 for instance without any trouble.  I tried to change the instance in the MSG to read another parameter (388 to be exact).  It did not work.  The MSG sent back an error: error code (in upper byte of MGx:y.22) was returned by Comms module or CIP device I switched it back to 7 and it was fine.  I was told by the Knowledgebase that the "instance" was the same as the parameter.  I thought that changing the instance from 7 to 388 would read the value of 388 instead.  Am I doing something wrong?  Are there certain parameters that you can't read?  Is there something else that I need to change?
  9. I have a Panel View 800 HMI communicating with a Micrologix 1100 over Ethernet. My customer wanted password protection for certain screens and certain people.  I set up three users with passwords.  I did not put in a Change Password object because I did not want anyone to mess with it. They called this morning to say that their passwords did not work anymore.  Anyone have any experience with this?  They put in their username and password and a screen pops up that says access denied.  Works one day then does not work the next.
  10. I have written a fairly complicated (at least for me) program for a Micrologix 1100.  I am controlling several Kinetix and Powerflex drives over Ethernet.  There is also a Panelview 800 in the system as well. I have a large list of "parameters" that might change over time.  These are not drive parameters but PLC integer and string values.  They are values that change the feeds and speeds of the drives based on the part that the client wants to run. Is there a way to upload or write to the PLC that doesn't require RSLogix500?  I would like the client to be able to edit a value or two if they want to make a change.  I just don't want to have to be there every time he wants to do it.  I have heard about writing data to Excel but wasn't sure if there was a way to do it the other way. As I write this I realize that it probably can't be done but I thought that I would ask.  Maybe someone has a brilliant idea!   Thanks in advance
  11. DISPLAY A MESSAGE PANELVIEW 800

    I actually have close to 30 different binary "switches" in play.  I have a series of "buttons" on the Panelview that are each tagged to a different binary contact in the PLC.  Each one of the "buttons" has a name (DOOR CLOSE, DOOR OPEN, WATER ON, OIL ON, ETC).  When the button is pressed it closes the tagged binary contact in the PLC and information is moved to a servo drive.  I would like to be able to display the name on a different screen based on which button was pressed.  Not sure I can do that with a multi-state indicator.
  12. I would like to display an alphanumeric message on a Panelview 800.  The PV is connected to a Micrologix 1100 over Ethernet.  I would like the message to be different depending on what happens on the PLC.  For example if B3:0/2 closes I would like to display "DOOR IS OPEN"  If B3:03 closes I would like to display "DOOR IS CLOSED" There is something called STRING DISPLAY but I do not know how it works. Thanks in advance!
  13. I would like to turn a servo motor (slave) relative to the motion of a slide.  The slide will be moved with a hydraulic cylinder.  I would like to attach a linear encoder to the slide and make that encoder the master.  The manual only shows a connection between two servo motors.  I assume that this can be done with just one and an encoder? Does anyone know if there are any specific requirements?  Most linear scales are 5v.  Does it need to be 24v? I don't know much about encoders but the manual shows connection points for A+, A-, B+, and B-.  Seems straight forward enough.......(famous last words)
  14. I am communicating with a Kinetix 300, a Powerflex 525, and a Micrologix 1100 via Ethernet/IP using MSG instructions.  They are all linked through a Stratix 2000 un-managed hub. Everything works fine...most of the time.  Every once in a while I will get a MSG error.  Often happens on startup.  I have written the logic so that it will continue to attempt communication until the error goes away.  It usually does after a few minutes.  Sometimes the error is while trying to communicate with the Powerflex but more often it is with the Kinetix 300. I even tried to eliminate the hub and just direct connect the ML1100 to the Kinetix 300 with an extra cable that I had.  Still got the random error.  Again it corrected itself but I really can't have that happen for no apparent reason. I know that you don't know the exact situation but I wondered if someone might have an idea about what it might be?
  15. Happy New Year    I have a question about homing a Kinetix 300 servo drive.  I am attempting to run this drive in position mode.  The servo motor is connected to a ball screw which in turn is connected to a slide with a tool mounted to it.  I need to define a home position before I can give a position for the motor to travel to.  There appear to be several homing options in the book but they all require motion to a switch or a marker on the encoder.  My method would be touching off the tool and then defining that point as my home position.  I was thinking of jogging back and forth until I reached the point that I wanted to call home and then pressing a "home switch"     The only method that I see that does not require movement prior to homing is method 35.  This is "immediate homing"  This will happen as soon as I enable the drive though.  That might not be correct.  Is there a way that I can use the immediate home method but specify when it will take place?  Is there another method that I am missing?