SuperCam's Commands Listed in alphabetical order


homeHomes the attached mechanism, but it must be first selected. First it moves to engage the Z axis limit switch then the X & Y limit switches. The speed of movement is controlled by the setzmaxsss command for the Z axis and setxmaxsss command for the X & Y axis, the axis will move at maximum starting steps per second to find the table limits. Then moves to the location specified by the sethome command.
All |First |Previous |Next |Last
* Indicates the command is in the MCHNCTRL.DAT file.
Home Command
This command is used to reinitialize the attached mechanism.  It can be found atthe bottom of the list of items on the pull down menu that at the topright. 

First it moves the Z axis in the direction of the limit switchesuntil it engages the Z axis limit switch.  

The direction that it moves to engage the limit switch is eitherINC or DEC, which is controlled by the MCONFIGcommand or the sethmdir command.  INC meansincremental movement in a positive direction, where the coordinate value isincreasing.  DEC means decrement movement in a negative direction, wherethe coordinate value is decreasing.  The speed that it moves the Z axis isdetermined by the maximum starting steps per second for the Z axis, this iscontrolled by the MCONFIG command or the setzmaxssscommand.  The limit switch for the Z axis is sensed on pin 13 of theparallel port.  It is either considered engaged with the signal is high(+5V) or low (0V), this is controlled by the MCONFIGcommand or the setlmtmd command.

Once the Z axis engages the limit switches, SuperCam beginsmoving the X and Y axis motors in the direction of their respective limitswitches.  The direction that it moves to engage the limit switch is eitherINC or DEC, which is controlled by the MCONFIGcommand or the sethmdir command.  INC meansincremental movement in a positive direction, where the coordinate value isincreasing.  DEC means decrement movement in a negative direction, wherethe coordinate value is decreasing.  The speed that it moves the Z axis isdetermined by the maximum starting steps per second for the Z axis, this iscontrolled by the MCONFIG command or the setxymaxssscommand.  The limit switch is sensed on pin 11 for the X axis and pin 12for the Y axis, of the parallel port.  It is either considered engaged withthe signal is high (+5V) or low (0V), this is controlled by the MCONFIGcommand or the setlmtmd command.

When SuperCam is controlling dual drive controllers, thecontroller is Y motor that engages the limit switch first, has the step signalto it's driver interrupted.  The Y motor that has not engaged the limitswitch continues to receive step signals and moves until it also engages thelimit switch.  The Y limit switches are not sensed as engaged unless bothare.   To only use one motor in a synchronized setup, the unused motordrive must have the limit switch hardwired to the engaged condition.  Thisis normally done by shorting pin 8 and 9 on the DB9 connector of the controller.

When the all limit switches have been engaged.  Thecoordinates for the mechanism are set equal to the values specified by the sethmlocor the MCONFIG command.  SuperCam reverts to the speeds defined for travelrate, travel slew and travel ramp to perform a moveto to the coordinatesspecified by the MCONFIG command or the sethomecommand.  This is normally set to the maximum value for the Z axis and zerofor the X & Y coordinates. 

Once the move to destination is reached the command is done andreturns to the main input loop.

CAM File Format


Home Page at http://www.super-tech.com

http://www.super-tech.com/root/supercam/cmmds/default.asp
Copyright 2004-2006 Dennis L. Bohlke
Revised 05/31/06 Gallery Cell Record Not Found