Jump to content
OMRON Forums

Eric Hotchkiss

Omron
  • Posts

    558
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Eric Hotchkiss

  1. I can start gathering by running a C program with the following line after using the plot tool to initialize settings.

    pshm->Gather.Enable=2;

    I have a feeling the issue lies in the setup of the "Gather." variables usually configured by the plot tool. Can you try using the tool to set these up as a test? You should be able to close it before your actual gathering and keep the settings.

    • Like 1
  2. I was not able to replicate the issue by manually pasting lines into the terminal of IDE 4.5.2.9. I was able to get the IDE to freeze for a few seconds after dragging in 500 lines of "#1p" from the text editor.

    Does this happen when the computer is connected directly to the PMAC by an ethernet cable?
    Are these lines being issued programmatically? If so it may be preferable to go through an SSH connection.

  3. The plot tool does not actually gather Sys.Time by default, it gathers Sys.ServoCount and does further processing before the plot is created. Try setting:

    Gather.Addr[1] = Sys.ServoCount.a

    This matches the Gather.Addr[0] value when using the plot tool.

  4. From the “Backup Restore” window, "Restore" is the second option on the left. Then "Project from Power PMAC usrflash memory" is the third option on the right. Then scroll down to select usrflash.1. You may need to expand the window to hit the "Proceed" button.
  5. This would be very complicated if the program is compiled outside of the IDE.

     

    This could be done easily with a background C Application ("C Language" -> "Background Programs" -> "capp1"). Just declare a gobal variable in script and use it as a double in C. Printf statements will be visible over SSH.

     

    To call the program.

    From IDE Terminal/GPASCII:
    system /var/ftp/usrflash/Project/C\ Language/Background\ Programs/capp1.out
    From Script PLCs/Motion Programs:
    system "/var/ftp/usrflash/Project/C\ Language/Background\ Programs/capp1.out“
    

  6. It seems to work for my system. I set pBreakeOut to Sys.Udata[10].a and the value changed when I issued a J/. Did you upload the settings to the project like in this thread?

     

    Is anything red in the motor status window?

  7. You could rearrange the motors so you don't have to change the channel settings if you want. This is what I would try:

     

    1. For each motor, manually set the following:

    Motor[x].pEncStatus=CK3WAX.Chan[j].Status.a

    Motor[x].pEncCtrl=CK3WAX.Chan[j].OutCtrl.a

    Motor[x].pCaptFlag=CK3WAX.Chan[j].Status.a

    Motor[x].pCaptPos=CK3WAX.Chan[j].HomeCapt.a

     

    2. Sync motors with project as shown in the attached picture.

     

    I have alerted the software team that there is no way to change these settings from the wizard.

    868348944_syncmotors.png.87ac0f59886efefb595838d3a087fa7d.png

  8. According to the compatibility table in the IDE manual firmware 2.3.2.5 is compatible with IDE 3.1.4.0. The table does not go back to 3.1.2.2, but I would assume it is the same as 3.1.4.0.

     

    I think you need to right click "usercode.c", select properties, and change build action from content to compile. This will get rid of the red symbol next to the fire in the solution explorer.

×
×
  • Create New...