Jump to content
OMRON Forums

kramrellim

Members
  • Posts

    30
  • Joined

  • Last visited

  • Days Won

    1

kramrellim last won the day on August 2 2022

kramrellim had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

kramrellim's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator Rare
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

1

Reputation

  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.
×
×
  • Create New...