====== Command:CUSTOMB (CCB) ====== Not implemented in Tiger except for programmable logic card, for that see [[:tiger_programmable_logic_card|Tiger Programmable Logic Card (TGPLC)]] documentation and ignore this page. ^Shortcut |CCB | ^Format |CCB Z=[1 to 8] | ^Units |None| ^Remembered |Using SS Z | ^Firmware Required | [[:planar_correction|PLANAR CORRECTION]] | Planar correction requires the ''PLANAR CORRECTION'' firmware module. CCB Z=1 - Set the current position to point x1, y1, z1. \\ CCB Z=2 - Set the current position to point x2, y2, z2. \\ CCB Z=3 - Set the current position to point x3, y3, z3. \\ Set the current xyz position to the values ''x1, y1, z1 … x3, y3, z3'' respectively. CCB Z=4 - Calculate coefficients for planar correction function. __Enable__ planar correction. \\ CCB Z=5 - __Disable__ planar correction. \\ CCB Z=6 - Displays actual planar corrected current Z position as long integer. \\ **Note:** ''WHERE Z'' displays the target position of Z based on the most recently sent ''MOVE'', ''MOVEREL'', or ''HERE'' command. CCB Z=7 - Re-initialize to zero all planar correction variables including ''x1, y1, z1 … x3, y3, z3'' and planar correction function coefficients. __Disable__ planar correction. CCB Z=8 - Return the current [[:planar_correction#lcd_display|planar correction state]], ''Z'' if enabled, ''G'' if disabled. MS-2000 firmware v9.54 required CCB Z=9 - Return the limit check status character. The limit status does not show up on the LCD. The planar correction index will not move past the stage limits set by the [[:commands:setup|SU]] and [[:commands:setlow|SL]] commands. ^Character^Description^ | N | Not at either limit | | U | At the upper limit | | L | At the lower limit | == Example == Enable planar correction, check z position, and check if planar correction is enabled. $ CCB Z=4 :A $ CCB Z=6 :A Z=12345 $ CCB Z=8 :A Z == Version History == ^ Version ^^ ^ ^ MS ^ TG ^ Description ^ | ''9.54'' | - | ''CCB Z=8'' displays the planar correction state | {{tag>commands tiger ms2000 planar }}