Jump to content
OMRON Forums

NC Homing


bprall
 Share

Recommended Posts

Working on the PLC of side of the NC homing button. How does the PLC know which axis the NC is set to jog and is trying to home? The example program just homez three motors as opposed to reading the active axis and using a switch to act on that axis and its associated motor.
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This section from the Global Includes file "ppnc_ncinterfacedefinitions.pmh" has some masks that set the bits you are looking for.

 

//PowerPMAC NC Jog Options
#define UI_JogX1		$00001
#define UI_JogX2		$10000
#define UI_JogX3		$00002
#define UI_JogX4		$20000
#define UI_JogX5		$00004

#define UI_Axis_X		16	// $00000010
#define UI_Axis_Y		32	// $00000020
#define UI_Axis_Z		64	// $00000040

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...