Jump to content
OMRON Forums

kramrellim

Members
  • Posts

    30
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by kramrellim

  1. Machine running for many years and now getting random errors. Global Status Resister Bit 22 RTI re-entry error Bit 20 Servo Error Bit 6 TWS varible parity error. Reset and may run for days without an error.
  2. Still having some issues. I'm tying to use G61.1 Xxxx Yxxx Zxxx Bxxx Dxxx Rxxx Fxxx The code is running but the NC is not passing all the variables. I copied all the passed vales for debugging. I'm not getting X Y Z D R values. Here is my code: //--------------------G61.1---------------- ; G61.1 N61100 @SET_ON(VS_GGROUP20_1_M,2) READ(B,F,X,Y,Z,D,R) VS_GGROUP9_1_M == 81 ; check for X,Z,D,F is passed ; ;IF(Q100 & $2 > 0 AND Q100 & $8 >0 AND Q100 & $20 > 0 AND Q100 & $1000000 > 0 AND Q100 & $800000 > 0 AND Q100 & $2000000 > 0) Bcalc = B_ARG_Q +90 Btemp = B_ARG_Q Xtemp = X_ARG_Q Ytemp = Y_ARG_Q Ztemp = Z_ARG_Q Rtemp = R_ARG_Q Dtemp = D_ARG_Q X_POS = X_ARG_Q - (SIN(Bcalc) * D_ARG_Q) Z_POS = Z_ARG_Q - (D_ARG_Q - (COS(Bcalc) * D_ARG_Q)) IF(Q100 & $20000 > 0) ; R word passed a offset is used P1722 = R_ARG_Q X_POS = X_POS - ((SIN(Bcalc) * R_ARG_Q)) Z_POS = Z_POS + (COS(Bcalc) * R_ARG_Q) ENDIF F(F_ARG_Q) GOSUB 1000 X(X_POS) Y(Y_POS) Z(Z_POS) B(B_POS) ;ENDIF @SET_OFF(VS_GGROUP20_1_M,2) RETURN
  3. I have machines running where I have an arduino connected to a Umac via the second serial port. I use a serial level shifter on the arduino side and the second serial port on the Mega. The same can be done using the Pmac primary serial port.
  4. I would like to turn tool tip type programming on and off in a part program. When the NC is launched it sets the motor scaling. Of course to use kinematics the motors are set to I (#1->I) Is there a suggested method to switch in and out of kinematic when running the NC pro2 software?
  5. Are you saying the same folder as the calling program? I read the manual. I did not read anywhere its states where to store the called macro program. See attached error image.
  6. Where should the programs called by a G65 Pxxxx be located? What folder?
  7. G17 G68 X20 Y10 Z-8 R45 Works. Rotation about the Z axis(XY plane) G91 G01 X1.0 F20.0 Y1.0 X-1.0 Y-1.0 G19 G68 X20 Y10 Z-8 R45 Works. Rotation about the X axis(ZY plane) G91 G01 X1.0 F20.0 Y1.0 X-1.0 Y-1.0 G18 G68 X20 Y10 Z-8 R45 No rotation X and Y move as programmed No Z movement G91 G01 X1.0 F20.0 Y1.0 X-1.0 Y-1.0
  8. I'm doing this with PLC 0 and is working fine.
  9. Checking to see if there is a issue with the G68. I can rotate the coord system after a G17 and G19 but not after a G18. I assume the rotation is reformed in the NC software and not in the Pmac.
  10. Steve, Yea I found the setting in the OEM.h file setting up those table entries. Got it squared away.
  11. Is there any thing in the NC pro2 software that sets or changes the encoder conversion table entry's past entry 8?
  12. The NC Setup program would not allow a value of 300 in the Max rpm field. I realize the spindle.plc and override.plc are created automatically by the NC setup. I don't want to edit them. The address mapping does not seem to be changed in the OEM.h file based on the infomation supplied in the NC Setup program. The Nc setup program does not ask about the Encoder registry that you are using.
  13. I need some help setting up the Feed per Rev with the NCpro software. Here's what I have. Umac Motor #5 is my spindle. Max speed is 300rpm. I have 270000 cts per rev. I'm processing the encoder in the encoder conversion table at entry #15 "Timebase conversion with scaled differentiation" The processed data Address is $3515. Looks like there are some addressing in the OEM.h file that needs to be changed? Also, The NC setup will not allow a Max rpm of less than 1000. I force this value in the spindle plc. Any help would be appreciated.
  14. I think I'm going to try option 1. I think may very well work.
  15. If the tool was always in the z axis direction then a cascade loop would be easy, and I have done this before. The tool is not always in the Z direction, it could be in the X, or Y direction , or at some angle in between. Using kinematics may be a problem. Correct me if I'm wrong but with look a head active the kinematics is plotting motor positions well ahead of the current motor positions. The gap sensor is measuring the current gap distance. I guess I could setup the look a head to small number of segments and use the kinematics. I just know how well that would work.
  16. This is a gap sensor to maintain a distance from a metal object. I'm talking about nested loops. I have converted the sensor input to a position that position is the gap distance. I want to use the master following. but at an angle which involves more than one axis.
  17. If I have a rotary axis that rotates about the Y axis. Lets call it B axis. And B axis at zero degrees is with the tool pointing in the Z axis pane. The following is Z axis only. Now if the B axis is at lets say 30 degrees. Both the X and Z need to follow, but of course at different anounts of movement. Can I multiply the master scaling by the SIN and COS to achive the proper following?
  18. I looked in the registry. I did not see the entries mentioned in the manual. Do you have to add the entries? see attached registry backup. NCREGISTRY.txt
  19. Is it possible to have multiple axis following using the master position following address Ix05 based on the angle of a rotary axis? Maybe using the scaling Ix07 factor.
  20. Which user Gcodes are allowed, and is there anything you have to do to active them other than write then in the Gcode motion program?
  21. System was running fine. Now whenever I switch into Auto mode or MDI mode I get this alarm "Syntax Fatal: Can Not Close Rotary Buffer! File C:\Part Progams\......" I noticed the rotary buffer display on the NC display "Buffer Closed" "0/0" This alarm locks up the NC software!
  22. NCpro 5.2 running on Win7. Everything seems to work but the program rewind button. Is this button handled through a PLC or is it handled from within the front end Nc program? If it is handled through a plc, which one, were? Can program rewind be activated from a plc if I want to have some event cause a rewind? Mark
  23. NCpro 5.2 running on Win7. Everything seems to work but the program rewind button. Is this button handled through a PLC or is it handled from within the front end Nc program? If it is handled through a plc, which one, were? Can program rewind be activated from a plc if I want to have some event cause a rewind? Mark
  24. Sina, I've tried these out and they seem to work so far except I have one problem. I'm only sending one value If I set P3001 to the following and set P3000=1 this is the results I removed the CR an LF chars at the end. P3001=12345 49 50 51 52 53 looks OK P3001=9999 57 57 57 57 Ok P3001=1000 49 48 48 48 Ok P3001=10000 58 208 34 188 46 183 Bad P3001=11111 49 49 49 49 49 Ok Got any ideas what could be causing this? Mark Miller
  25. Mike, I can't update the driver on a windows 8.1 machine. The device manager sees the Umac. But I get an error when I try to update the drive. I downloaded the lastest drivers and pwinpro2 from the website. See image Mark
×
×
  • Create New...