Jump to content
OMRON Forums

HANDWHELL INCREMENT


G. BAUTISTA

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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

Link to comment
Share on other sites

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

 

 

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

60930427_systemdefinition.thumb.jpg.e7e2c072fc90b0c051e4c44519d8aaa7.jpg

Link to comment
Share on other sites

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.

 

 

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

 

 

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...