miim

### Interface-Specific Options

The following registry entries are available for the LK Direct Serial/GPIB interface. You should leave all other registry entries at their default values of FALSE or 0.

- Controller = COM1 9600 N,8,1 - This registry entry sets the communication protocols for the controller. The default values are communications port 1, 9600 baud, N parity, 8 data bits, and 1 stop bit. You most likely only need to change the communications port.

- GPIB = FALSE - If the controller uses GPIB protocol to communicate, the value must be TRUE.

- LK2000 = TRUE - If the controller is an LK2000, the value must be TRUE.

- LK3000 = TRUE - If the controller is an LK3000, the value must be TRUE. You must also set LK2000 to TRUE.

- DTR = 1 - A value of 1 sends the DTR signal for the controller communications port. A value of 0 clears the DTR signal.

- RTS = 1 - A value of 1 sends the RTS signal for the controller communications port. A value of 0 clears the RTS signal.

- SETPT = 0 - If the machine does not register hits, you may want to set the value to 1. At least one Microndrive controller is known for which SETPT must be set to 0.

- HasPH9 = TRUE - For a PH9, the value must be TRUE.

- NoStartButton = 0 - If the controller (or jog box) does not have a Master Start button, set the value to 1.

- NoHomeOrder = 0 - This registry entry determines the direction that each axis is sent to home the CMM. If the value is 0, PC-DMIS reads the DOWNL.OAD file to determine which direction the machine moves to home. Older controllers may need the value set to 1.

- MoveSpeed = 1.00000 - This registry entry sets the overall move speed. If the move speed is too fast, even when you set it to a slow speed inside of PC-DMIS, you should lower this value.

- HomeVelocity = 1.0000 - This registry entry sets the homing speed. If the machine drives to the limits before it reaches the home position, then this value may be too high. Lower it, power down the controller, and try again. If this value is set correctly, it should reach the limits and then find the home position for each axis.

- MoveHitTolerance = 0.15 - You can use the blue, manual Print button on the LK jog box as the "END" feature key; however, if the machine is moving when you press this button, PC-DMIS interprets it as a hit instead. If you change the value, it affects the ability of PC-DMIS to differentiate between a hit and the "END" key.

- Micron = 0 - If this controller is a Micron Drive, set this value to 1. Note that the Micron Drive controller never uses GPIB communications.

- Wentzville = 0 - This registry entry is only used for a certain GM controller in St. Louis.

- FlowControl = 3 - For hardware flow control, set the value to 3. To use XON/XOFF, set it to 4.

- WaitForPrehit = 0 - Leave the value set to 0.

- MaxBufferedMoves = 10 - This registry entry sets the number of moves that are sent to the controller buffer at one time. Some machines generate errors if too many moves are sent in advance; to help, lower the number. A lower number, however, reduces the system performance. For example, if the value is 1, then only the next move command is sent when the machine finishes the previous one. This causes the machine to pause between moves as each command is sent.

- AutoSpeedOptimize = 0 - Certain LK controllers support Auto Speed Optimization, which is a controller feature that drives each axis at its maximum independent speed for each move. If the controller supports this feature, set this value to 1.

- LongProbeTip = 1 - If you have a large probe extension that causes motion errors as the probe rotates then you can set this option to 1. This disables the probe during rotation. Be careful!

Some controllers do not support the use of this command. PC-DMIS determines whether this can be used by whether an SE, TPLON: command exists in the DOWNL.OAD file. It does not matter whether the value is SE,TPLON:ON or SE,TPLON:OFF. The presence of the command indicates to PC-DMIS that it is OK to send the command for enabling/disabling the probe. Whether it is sent is then determined by the setting for LongProbeTip. In other words, if the SE,TPLON command is present in the DOWNL.OAD file, and if LongProbeTip=1, then PC-DMIS disables the probe during rotations. Otherwise, it is enabled.

- ResolutionX = 10000.000000

- ResolutionY = 10000.000000

- ResolutionZ = 10000.000000 - You can use these values to specify the scale factor for each axis. This is normally a value of 10000. You can change these values to accommodate any linear scale stretch.

- XMax = 999999.000000

- YMax = 999999.000000

- ZMax = 999999.000000

- XMin = -999999.000000

- YMin = -999999.000000

- ZMin = -999999.000000 - You can use these values to specify the maximum axis travel of the CMM. You should specify them in millimeters and they should be from the HOME position with no probe loaded.

- DualRotabInitMode = 0 - Currently, this only applies to a GPIB machine with dual rotary tables. Due to differences in firmware, not all GPIB controllers require the same sequence of commands to initialize with dual rotary tables. The default mode is 0. The other currently-supported mode is 1. If the machine is GPIB with dual rotary tables and does not initialize properly with mode 0, set the value to 1.

- RotaryAvailable = FALSE - If the machine has a rotary table, set the value to TRUE. Remember that the LMS or portlock license must also be programmed for the rotary table.

- RotaryDual = FALSE - If the machine has dual rotary tables, set the value to true. Remember that the LMS or portlock license must also be programmed for the rotary table.

- RotaryOffset1 = 0.000000 - The home position of most LK Rotary tables is not usually at the table zero position. If you want the table to go to the true zero position after homing, then this value is the angle that you want the table to rotate to after homing. The easiest way to find this value is to home the machine in CMES; as it is homing, the rotary offset value displays on the CMES screen.

- RotaryOffset2 = 0.000000 - This registry entry is the same as RotaryOffset1, but it applies to table 2.

- RotaryResolution = 10000.0 - This registry entry specifies the scale factor for the rotary table.

- RotaryMinDelta = 0.5 - This registry entry is the minimum difference between the current table position and the newly requested table position. If the difference is below this amount, the table rotation request is ignored.

- RotaryIsIndex = FALSE - If the rotary table is an index type, set the value to TRUE. If the rotary table is a continuous motion type (essentially the infinite number of available positions), set the value to FALSE.

- PollSerial = FALSE - This registry entry periodically polls the serial port to prevent loss of communication. Only set this option to TRUE if you suspect communication problems. If you get "LK Driver Read Timeout" messages periodically during programming, then you may want to try this option.

- NewInit = FALSE - See "NewInit Option".

- PreInitialize = FALSE - Some LK2000 controllers require a value of TRUE.