Jump to content
OMRON Forums

JBauer

Members
  • Posts

    11
  • Joined

  • Last visited

Posts posted by JBauer

  1.  

    Also let me know if I need to put in lot of effort if I use BIN Rot or DPRAM option for sending the ASCII code. Can you share the PMAC interrupt and data gather option as well. I would request you to suggest me the easier option so that i can wind-up this project

     

    It is not easy for me to tell how to do in C++, because I write my software for IPAD in objective C, but my experience is : Do not send the "CLOSE" command before PR is 0.

     

    Jorgen

  2. Does the PMAC continue to execute motion lines?

     

    How does you program open the buffer at the beginning of the "for" loop?

     

    No, The program stops exactly after executing 600 lines. But the lines are sent to the rotary buffer which is 1200 provided by PR command once after the motion is stopped. Also the GUI get back to the update thread since the PR value is more than 750.

     

    The first rotary open is as follows

     

    PMACCom("A");

    PMACCom("&1");

    PMACCom("Q CLOSE I9=0");

    PMACCom("&1 DEL ROT");

    PMACCom("CLS");

    PMACCom("CLR");

    sprintf( strCom, "&1 DEFINE ROT %d",BufferSize);

    PMACCom(strCom);

    PMACCom("DELETE TRACE");

    PMACCom("DELETE GATHER");

    PMACCom("&1 DEFINE LOOKAHEAD 1000,500");

    PMACCom("&1B0");

    PMACCom("&1 OPEN ROT CLR");

     

    And the subsequent open is as in the code snippet provided.

     

    The code execution is fine, if I don't close the buffer until all the NC codes are sent to the buffer. Hope you could provide a solution for this problem since we are struggling with it for long time now.

     

    In your code:

     

    LineIndex++;

    if(LineIndex>=(total_line_count))

    {

    PMACCom("CLOSE");

    tmrUpdateMachineState->Enabled = true;

    return;

    }

    }

    }

    else

    {

    PMACCom("CLOSE");

    tmrUpdateMachineState->Enabled = true;

     

    }

    }

    else

    {

    PMACCom("CLOSE");

    tmrUpdateMachineState->Enabled = true;

    return;

    }

     

    //******************************************************

     

    I would comment out the PMACCom("CLOSE"); and see what happened.

    I´m almost sure it will make it.

     

    This code:

    if(LineIndex>=(total_line_count))

    {

    PMACCom("CLOSE");

     

    ->will stop execution before it is finish.

     

    Instead of sending "CLOSE" ,send a M30 and make a CMD"CLOSE" inside the M30, but first try the

    comment out of the PMACCom("CLOSE"); and test it.

     

    //**********************************************

    To find out pmac need more lines I use to read this address

    ry:$203f

    Read bit 17 :

    pmac need more lines if (readresult and 65536)=0

     

    I only use the PR command for fun to display a progressbar.

     

    The CLOSE after

     

    if(LineIndex>=(total_line_count))

    {

    PMACCom("CLOSE");

     

    and the last close after the last else is to close the buffer once all the NC codes are sent to PMAC. So I had commented the 2nd "CLOSE" and just enabled the machine timer.

     

    I tried with commenting the "Close" command. But there is memory violation errors popping out. I hope since the buffer is open and i try to update the machine status, PMAC creates an error since the UI queries the M variables.

     

    //******************************************

     

    Instead of comment out the PMACCom("CLOSE");

    //PMACCom("CLOSE");

    you can change it to PMACCom("M30"); But not the first Close command in the top of your program

     

    or you can make a BIIG delay (10 sek or more) before all the the PMACCom("CLOSE"); and

    if it makes a different

  3. Does the PMAC continue to execute motion lines?

     

    How does you program open the buffer at the beginning of the "for" loop?

     

    No, The program stops exactly after executing 600 lines. But the lines are sent to the rotary buffer which is 1200 provided by PR command once after the motion is stopped. Also the GUI get back to the update thread since the PR value is more than 750.

     

    The first rotary open is as follows

     

    PMACCom("A");

    PMACCom("&1");

    PMACCom("Q CLOSE I9=0");

    PMACCom("&1 DEL ROT");

    PMACCom("CLS");

    PMACCom("CLR");

    sprintf( strCom, "&1 DEFINE ROT %d",BufferSize);

    PMACCom(strCom);

    PMACCom("DELETE TRACE");

    PMACCom("DELETE GATHER");

    PMACCom("&1 DEFINE LOOKAHEAD 1000,500");

    PMACCom("&1B0");

    PMACCom("&1 OPEN ROT CLR");

     

    And the subsequent open is as in the code snippet provided.

     

    The code execution is fine, if I don't close the buffer until all the NC codes are sent to the buffer. Hope you could provide a solution for this problem since we are struggling with it for long time now.

     

    In your code:

     

    LineIndex++;

    if(LineIndex>=(total_line_count))

    {

    PMACCom("CLOSE");

    tmrUpdateMachineState->Enabled = true;

    return;

    }

    }

    }

    else

    {

    PMACCom("CLOSE");

    tmrUpdateMachineState->Enabled = true;

     

    }

    }

    else

    {

    PMACCom("CLOSE");

    tmrUpdateMachineState->Enabled = true;

    return;

    }

     

    //******************************************************

     

    I would comment out the PMACCom("CLOSE"); and see what happend.

    I´m almost sure it will make it.

     

    This code:

    if(LineIndex>=(total_line_count))

    {

    PMACCom("CLOSE");

     

    ->will stop execution before it is finish.

     

    Instead of sending "CLOSE" ,send a M30 and make a CMD"CLOSE" inside the M30, but first try the

    comment out of the PMACCom("CLOSE"); and test it.

     

    //**********************************************

    To find out pmac need more lines I use to read this address

    ry:$203f

    Read bit 17 :

    pmac need more lines if (readresult and 65536)=0

     

    I only use the PR command for fun to display a progressbar.

  4. Hi

    I want to change the IP addrress in my Clipper board.

    I've read this thread:

    http://forums.deltatau.com/attachment.php?aid=471

     

    I followed the steps in the link , the latest software is installed, connected to USB port, No other software is running, wrote the new IP address 192.168.0.103 select "PC104", Click "Store IP" I got the message

    "IP address succesfully stored in EEPROM"

    and "Done". Then I powered the Clipper off and on again.

    After that I hook the Clipper up with ethernet connection and the IP address is still the same old one: 192.6.94.5

     

    What am I doing wrong ?

  5. I have an Advantage 900 system with Turbo PMAC-2 Clipper. I've built CNC retrofit systems before but this one doesn't seem to have any sort of guide as to where to start. There seems to be three different software packages for configuration, one for the PMAC, one for the NC and then the NC/CNC software itself.

     

    Any advice or guides available would be very helpful. My system consists of scales for the linear motors, x and z. A spindle with traditional encoder. Nothing complicated at all.

     

    This is very basic

    Clipper Quick Start Guide - Proposed.pdf

  6. This can be an electrical noise problem.

    Try running your program without the spindle running. If it works without this "random stopping" then replace your EMI filter, if you have one, if you dont have an EMI filter, insert an EMI filter before the spindle. Let us know the result.

  7. Hi I have a clipper board and I'm trying to get the inverse kinematic to work, but no motion happend, no error messages. The runtime error bit (22) for the C.S 1 is going to 1. I have done a very small test using the X and Y axis: settings: #1->I #2->I I5150=1 enable kinematic for C.S 1 uploaded kinematic program: &1 OPEN INVERSE ; Inverse kinematics for CS 1 CLEAR P1 = Q7 * 1000 ; X axis P2 = Q8 * 1000 ; Y axis CLOSE and the program to run: OPEN PROG 6 CLEAR RAPID X0 Y0 LINEAR X30 Y20 F200 CLOSE Can any one tell me what I am doing wrong ? best regards Jorgen
  8. Hi I have a Pmac Clipper board. I want to know how to set I variables to get my spindle running (milling spindle). The spindle motor is controlled by a frequency inverter. I'm using motor #6 DAC differential ended output connected to the inverter using +/-10V and GND. The spindle has no feedback, the spindle must run in open loop mode. I have set these I variables: I600=1 I602=$78102 I7126=1 Is this right and are there more I variables I need to set ? Thanks ! Jorgen
×
×
  • Create New...