Jump to content
OMRON Forums

windell747

Members
  • Posts

    119
  • Joined

  • Last visited

Posts posted by windell747

  1. Hi,

     

    I've followed the instructions in the manual to changing the IP address of my PMAC via the GUI, however, when I change my default gateway to what it should be, it keeps going back to what it used to be and makes the PMAC inaccessible.

     

    1) How do I properly change my default gateway IP address so that it sticks?

    2) Is there any way that I can change the IP address via line command?

     

    thanks

    windell

     

    Answering my own question. Not sure why the GUI wasn't allowing me to change the gateway address, but I found the answer here

     

    In summary, I pretty much just edited the "interfaces" file in the PowerPmacIP folder on the flash disk with the correct IP, subnet mask, and gateway address. As the link above stresses, make sure to make a backup just in case. Putting the card back into the PMAC ( I guess alternatively you could edit the file by ssh-ing into the PMAC) and upon power up, the PMAC will take on the new settings.

     

    thanks for your help!

  2. Hi,

     

    I've followed the instructions in the manual to changing the IP address of my PMAC via the GUI, however, when I change my default gateway to what it should be, it keeps going back to what it used to be and makes the PMAC inaccessible.

     

    1) How do I properly change my default gateway IP address so that it sticks?

    2) Is there any way that I can change the IP address via line command?

     

    thanks

    windell

  3. Hi All,

     

    I saw a previous thread, but I want to repost to see if anyone has any more input.

     

    I'm uploading a set of code to the PMAC and it says "Mapping Power PMAC variables Failed" when I do a build.

     

    I looked at other threads and saw the suggestion to make sure the pp_disable.txt exists in the Log folder. However, I don't have one in my Log folder and it used to build fine. So I'm not sure what I could be doing wrong.

     

    Any suggestions?

     

    thanks,

    windell

  4. The version I'm using is 1.6.0.109. The firmware on the PMAC is 1.5.8.0.

     

    The variables I'm changing are

    Motor[x].MaxPos

    Motor[x].MinPos

    Motor[x].JogSpeed

    Motor[x].MaxSpeed

    Motor[x].Servo.Kp

    Motor[x].Servo.Kvfb

    Motor[x].Servo.Ki

     

    thank you very much for your time!

     

     

     

     

     

     

    What version of the IDE are you using? In our previous patch, the SAVE command was failing, though this was just recently fixed with our most recent patch. Also, can you give us an example of one of the variables that is being reset?

  5. Thanks Steve.

     

    Its odd, I've tried doing that, but when I do a reboot the configuration goes back to what it was before.

     

    Here is what I'm doing. I launch the IDE, and open the configuration file via DeltaTau-->Configure-->Setup Variables. It prompts me if I want to load the file to the PMAC. I choose load and it uploads. Then check the variables manually via the terminal window to check to see if they've changed. They do. Then I do a save and a reboot. When the system comes back up I check the variables again and they have changed back.

     

    Is there something that you see that I'm doing wrong?

     

    To make any changes to your PMAC configuration permanent issue the "SAVE" command in the terminal.

  6. Hi,

     

    I'm attempting to upload a new configuration file via Setup Variables. However after uploading it I've done a reboot and I've realized that the configuration changed back. How do I permanently apply my changes? I've issued a Sys.WpKey=$AAAAAAAA command before doing so, but it didn't help.

     

    thanks,

    windell

  7. Aloha,

     

    I have a setup that uses absolute encoders for crude positioning and then incremental encoders for tracking. Maybe this is obvious, but I'm new to PMACs, how would be a command that I would issue to reset the incremental count when I'm switching between encoders?

     

    My motors are 0 and 2 and the encoder table entries are

    EncTable[1].a for incremental for motor 0.

    EncTable[3].a for incremental for motor 2.

     

    thanks

    windell

  8. If you are asking about C Language source code in the Power PMAC then yes this is possible. In the Properties page for the project (right-mouse click and select properties) under “Power PMAC project general properties” there is a switch to select “Download C Source Files”.

     

    The C-code is compiled on the PC using a cross compiler. The object code is sent to the PMAC.

     

    Wonderful! Thanks! After I set this, where would the source code be located on the PMAC?

  9. No, PMAC does not store the source code for code which is compiled (i.e. compiled PLCs or open servo algorithms).

     

    Forgive me, but when I compile my code I see in the build feedback "Downloading x.c to power pmac". This leads me to believe that the source is uploaded to the pmac and then is compile onboard. I apologize if this is a dumb question or and RTFM answer.

  10. thank you very much for making my eyes look elsewhere! It all makes sense now.

     

    Hi,

     

    First, you need to bring your ADC channels into the Encoder Conversion Table (ECT) like the ACC-59E3 manual describes on page 19.

     

    Next, if you must stick to using #2 (i.e. commands related to motor 2), you can redirect Motor[2].pEnc for position and Motor[2].pEnc2 for velocity to EncTable[n].a, where n corresponds with the ECT entry associated with the channel you want to read.

     

    Note that if the analog voltage you are reading represents a tachometer reading, you don't need to issue #2v, as that would be giving you the derivative of the voltage, which would represent acceleration. You can just issue #2p to read the tachometer speed in voltage directly.

     

    Further note that if you simply need to read the ADC result, you can use the ptr variable assignments given on page 15 directly and not bother with the ECT or motor assignments.

  11. thank you very much for making my eyes look elsewhere! It all makes sense now.

     

    Hi,

     

    First, you need to bring your ADC channels into the Encoder Conversion Table (ECT) like the ACC-59E3 manual describes on page 19.

     

    Next, if you must stick to using #2 (i.e. commands related to motor 2), you can redirect Motor[2].pEnc for position and Motor[2].pEnc2 for velocity to EncTable[n].a, where n corresponds with the ECT entry associated with the channel you want to read.

     

    Note that if the analog voltage you are reading represents a tachometer reading, you don't need to issue #2v, as that would be giving you the derivative of the voltage, which would represent acceleration. You can just issue #2p to read the tachometer speed in voltage directly.

     

    Further note that if you simply need to read the ADC result, you can use the ptr variable assignments given on page 15 directly and not bother with the ECT or motor assignments.

×
×
  • Create New...