System EnableSettleChecking

Enables the settle-checking behavior and sets the parameters for the JumpAndFireList and JumpAndDrillList commands. Used to validate the position of the galvos after a move is made and before the laser is fired.

For more detailed information on how to use this command, please refer to the "Drill Shape" section in the SM API documentation.

Syntax

EnableSettleChecking(SettleCheckMode settleCheckMode,SettleCheckPort settleCheckPort, int settleCheckMask, int settleCheckValue, int settleCheckTimeout, int settleCheckDelay)

 

Parameters

settleCheckMode SettleCheckMode Selects the checking behavior.
settleCheckPort SettleCheckPort Ports used to validate the settle-checking behavior
settleCheckMask int Bits to consider (hex) in 32-bit units
settleCheckValue int Bit values when settled (hex) in 32-bit units
settleCheckTimeout int defines how long to wait (in usec) for value to match the mask.
settleCheckDelay int How long to wait (in μsecs) before checking for settling after initiating a jump.

 

Copy
Example
--Enable Lightning II galvo error checking in case of a fault -- single head system
Laser.GalvoErrorCheckEnable(0x0022, 0x0022)

--Alternatively, a dual head system instead
--Laser.GalvoErrorCheckEnable(0x2222, 0x2222)

--Open Loop mode using JumpAndFire requires a jump time calibration to be performed at least once before the drilling operation
--Only needed periodically to maintain accuracy
System.CalibrateJumpTime()

--Open Loop mode drilling we verify after firing the laser.  This settle checks a single Lightning II scan head system
System.EnableSettleChecking(SettleCheckMode.AfterFiring, SettleCheckPort.UseGSBusChannelStatus, 0x0066, 0x0066, 10000, 80)

--Alternatively this settle checks a dual Lightning II scan head system instead
--System.EnableSettleChecking(SettleCheckMode.AfterFiring, SettleCheckPort.UseGSBusChannelStatus, 0x6666, 0x6666, 10000, 80)

ScanAll()