Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HANDWHELL INCREMENT
#1
HI:
I HAVE A ADV 900 WITH BRICK CONTROLLER.
IN THE CNC AUTOPILOT PROGRAM, IN THE AXIS MOTOR WINDOW I SELECTED METRIC(mm) AND IN THE STD. PLC WINDOW I SELECTED IN HANDLE SECTION: ENABLE AND MAX INCREMENT 1.000 AND MIN INCREMENT 0.01.

WHEN I OPEN THE HMI IN THE PMAC-NC PRO2 RUN TIME, IN THE OPERATION MODE SECTION IF I SELECT THE HAND/INC KEY APEAR:
MANUAL X HANDWELL 0.000100 INCREMENTAL 0.000100 WITH THE LO POSITION IN THE SELECTOR. IF I CHANGE IT AT MED POSITION APEAR NOW: MANUAL X HANDWHEEL 0.010000 INCREMENTAL 0.01000.

IT SHOWS THE VALUES AS IF I AM WORKING IN INCH. HOW I CAN CHANGE THIS ?

THANK FOR YOUR HELP. I WISH EXPLAIN THE PROBLEM CORRECTLY

GILBERTO BAUTISTA
MEXICO, CITY
Reply
#2
Be sure your coordinate system definitions is defined for CTS/MM (Pulses Per Unit in the AutoPilot first page).

Then you can modify the Handwheel increments in the CNTPANEL.PLC via the following code to make the increment whatever you want (The following is for 0.0001 - 1.0000):

//------- Distance selection Logic
//If the user wants to change the HANDLE INCREMENT...
//THIS IS THE SECTION where the INCREMENT values can be set.
//----------------------------------------------------------------------------
IF (C_DIST_M > 0)
IF (C_DIST_M = SEL_DIST_10000)
VS_HAND_STEP_M = 1.0000
VS_JOG_STEP_M = 1.0000
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_1000)
VS_HAND_STEP_M = 0.1000
VS_JOG_STEP_M = 0.1000
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_100)
VS_HAND_STEP_M = 0.0100
VS_JOG_STEP_M = 0.0100
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_10)
VS_HAND_STEP_M = 0.0010
VS_JOG_STEP_M = 0.0010
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_1)
VS_HAND_STEP_M = 0.0001
VS_JOG_STEP_M = 0.0001
S_DIST_M = C_DIST_M
ENDIF ENDIF ENDIF ENDIF ENDIF
C_DIST_M = 0
ENDIF
Reply
#3
Thanks Vince:

When you said "Be sure your coordinate system definitions is defined for CTS/MM (Pulses Per Unit in the AutoPilot first page). " I don´t know if you refer to the comment bellow the screen. It appears : "X axis definition. Encoder counts per unit (inch/MM) for X axis" for example?

About the PPU calculation if I am working in mm, the Unit Conversión factor (25.4 mm/inch) is used or not?

regards


(08-07-2014, 09:50 AM)vinceb Wrote: Be sure your coordinate system definitions is defined for CTS/MM (Pulses Per Unit in the AutoPilot first page).

Then you can modify the Handwheel increments in the CNTPANEL.PLC via the following code to make the increment whatever you want (The following is for 0.0001 - 1.0000):

//------- Distance selection Logic
//If the user wants to change the HANDLE INCREMENT...
//THIS IS THE SECTION where the INCREMENT values can be set.
//----------------------------------------------------------------------------
IF (C_DIST_M > 0)
IF (C_DIST_M = SEL_DIST_10000)
VS_HAND_STEP_M = 1.0000
VS_JOG_STEP_M = 1.0000
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_1000)
VS_HAND_STEP_M = 0.1000
VS_JOG_STEP_M = 0.1000
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_100)
VS_HAND_STEP_M = 0.0100
VS_JOG_STEP_M = 0.0100
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_10)
VS_HAND_STEP_M = 0.0010
VS_JOG_STEP_M = 0.0010
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_1)
VS_HAND_STEP_M = 0.0001
VS_JOG_STEP_M = 0.0001
S_DIST_M = C_DIST_M
ENDIF ENDIF ENDIF ENDIF ENDIF
C_DIST_M = 0
ENDIF


Attached Files Image(s)
   
Reply
#4
Be sure your PPU is CTS/MM. Nothing else. If you jog that number of counts in PEWIN, your axis should move exactly 1mm. I believe the comment at the bottom of the AutoPilot is misleading. It is meant to say inches or MM.


(08-07-2014, 11:37 AM)G. BAUTISTA Wrote: Thanks Vince:

When you said "Be sure your coordinate system definitions is defined for CTS/MM (Pulses Per Unit in the AutoPilot first page). " I don´t know if you refer to the comment bellow the screen. It appears : "X axis definition. Encoder counts per unit (inch/MM) for X axis" for example?

About the PPU calculation if I am working in mm, the Unit Conversión factor (25.4 mm/inch) is used or not?

regards


(08-07-2014, 09:50 AM)vinceb Wrote: Be sure your coordinate system definitions is defined for CTS/MM (Pulses Per Unit in the AutoPilot first page).

Then you can modify the Handwheel increments in the CNTPANEL.PLC via the following code to make the increment whatever you want (The following is for 0.0001 - 1.0000):

//------- Distance selection Logic
//If the user wants to change the HANDLE INCREMENT...
//THIS IS THE SECTION where the INCREMENT values can be set.
//----------------------------------------------------------------------------
IF (C_DIST_M > 0)
IF (C_DIST_M = SEL_DIST_10000)
VS_HAND_STEP_M = 1.0000
VS_JOG_STEP_M = 1.0000
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_1000)
VS_HAND_STEP_M = 0.1000
VS_JOG_STEP_M = 0.1000
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_100)
VS_HAND_STEP_M = 0.0100
VS_JOG_STEP_M = 0.0100
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_10)
VS_HAND_STEP_M = 0.0010
VS_JOG_STEP_M = 0.0010
S_DIST_M = C_DIST_M
ELSE IF (C_DIST_M = SEL_DIST_1)
VS_HAND_STEP_M = 0.0001
VS_JOG_STEP_M = 0.0001
S_DIST_M = C_DIST_M
ENDIF ENDIF ENDIF ENDIF ENDIF
C_DIST_M = 0
ENDIF
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)