Jump to content
OMRON Forums

pzhuproax.ca

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by pzhuproax.ca

  1. The easiest way to do this may be to add them to pp_custom_save.tpl. If you simply list the names of your variables there, build and download the project, and then issue a "save" or "fsave", they should be saved just like an I Variable would be.

     

    That said, are these parameters that you need to be able to save, or just parameters that you want initialized to a specific value? If you simply declare and set them in your project (such as by putting "GLOBAL MyVar = 5" in a file in your "Global Includes" folder), that would also allow them to initialize with your pre-set values.

     

    I am using an Omron HMI to communicate with CK3E controller through Modbus Tcp. And I just noticed that save command can only be sent from IDE. Is there any other way I can send the save command through the HMI or plc program in Ppmac?

    thanks,

  2. I tried to download the project through the menu of "build and download all program" in solution explorer. But I found from compare project after I reboot the controller which is CK3E, some configuration is missing, like globe definitions.pmh, ecatmap.pmh, prog1.pmc, and plc1.plc.

    1354074640_projectdownload.JPG.529df40aed425ee116a4908d0f821ea6.JPG

  3. Is this a ethercat G5 in position mode? It may be that ethercat is not enabled. What are the values of ECAT[0].Enable and ECAT[0].MasterState?

     

    This is an Ethercat G5 in position mode. The Ethercat is enabled.

    ECAT[0].Enable=1 and ECAT[0].MasterState=8

     

    Now the motors are moving. I might miss one step before.

     

    But the motors are still not tuned. In the tune window there is no motor.

  4. What firmware version do you have installed? Somewhere in IDE 4 development, we started required firmware 2.5+ for the tuning done at the end of system setup. The motor may be un-tuned still.

     

    it's 2.5.1.7.

     

    The motor is not tuned. In Tune window, no motor there, motor is offline. Here is the description "Cannot determine Local IP.Cannot determine Local IP.Cannot Determine Host IP".

  5. Now I just try to manually set up the motor. At the last step, I try to jog the motor, but it won't move. "motor not moving". I have no problem setup the motor following the instruction from Omron called "Startup Guide G5-series Servo Drivers(IDEV4)" on IDE 4.1. Now I am following the user manual of PowerPMAC IDE O016-E-05, I am not able to jog the motor.

     

    What is your system setup GUI?

     

    Thanks,

  6. You will also want to check that Motor[*].InvAmax is set according to what your motor/drive is capable of.

    If it is set at default value, likely that is limiting your acceleration, not your TA statements.

    thank you Dave, this works.

    another question, how can i reset the fault on servo drive through PowerPMAC?

     

    Thanks,

  7. I started to learn Delta Tau recently. I have a CK3E and two R88D servo systems. i am able to run the two motors through CK3E. But I have the problem to get them to run faster. Whatever I changed the command F, like F50, F200, F1000, F10000, it looks like the speed of the motor is the same.

     

    Here is the setting in global definitions.pmh

    Motor[1].FatalFeLimit=0;

    Motor[1].AbortTa=-0.1;

    Motor[1].AbortTs=0;

    Motor[1].MaxSpeed=50000;

    Motor[1].JogTa=-0.1;

    Motor[1].JogTs=-1;

    Motor[1].JogSpeed=1000;

    Motor[1].HomeVel=1000;

     

    Coord[1].Tm=100;

    Coord[1].FeedTime=60000;

    Coord[1].MaxFeedRate=5000;

    Coord[1].Td=-0.1;

    Coord[1].Ta=-0.1;

    Coord[1].Ts=-1;

     

    Here is the program in Motion Programs.

    I just tried run motor 1.

    undefine all;

    &1; //Select C.S. #1

    #1->131072X; //Assign motor 1 to X axis w/131072 counts per user unit

    #2->1048576Y; // Assign motor 2 to Y axis w/10000 counts per user unit

     

     

    OPEN PROG 1

     

    INC; //increamental position programming mode

    TA80; //800 ms acceleration time

    TS30; //300 ms s-curve time

    LINEAR; //Linear move mode

     

    while(1<2)

    {

    TA80;

    TS30;

    // TM300; //3000ms move time before deceleration

    //Total move time is TM+TA=3800msclose

    // frax(x,y);

    F1000;

    // X20 Y1;

    x20;

    DWELL2000;

    // frax(x,y);

    F2000;

    // X-20 Y-1;

    x-20;

     

    DWELL2000;

    }

×
×
  • Create New...