miim

### New format of the [Config] section configuration file

1. The [Config] section has an alternative format. It is simple statement with format <option_name>=<value> or simply <option_name>. The value can be character string or integer number.

   The example of TCP/IP addresses can be written as:

   IP_ADDRESS="192.4.1.200"

   IP_PORT="4712"

   HOST_IP_ADDRESS="192.4.1.155"

   HOST_IP_PORT="4710"

   The probe type definition and definition of scale parsing string can be written as

   RDS_PROBE_TYPE

   SCALE_PARSE_XYZ_W

   Note that the old format can be used.

2. New command line utility ZeissConfigurationTool.exe has been developed to support configuration file authoring

The utility is always compiled with the latest version of Zeiss interface and it can be downloaded for FTP.

ftp://files.wilcoxassoc.com/Hardware/CMM/Zeiss/Config_Files/ ZeissConfigurationTool_version_interface_version_number.zip

The latest version in the time of writing is:

ftp://files.wilcoxassoc.com/Hardware/CMM/Zeiss/Config_Files/ ZeissConfigurationTool_1.15_interface_1.75n.zip

A) Get all parameters

$ ZeissConfigurationTool.exe –h

ZeissConfigurationTool [-h] [-v] [-d] [-[ctr] config_file] -R [file]

-h -- this help

-v -- verbose other options and show version

-d -- list of configuration database options

-c -- Parse [Config] section of configuration file

-t -- Convert [Config] section of configuration file to new format – outputs to stdout

-p -- Parse all sections and check for syntax errors

-r -- test probe changer configuration file

-R -- output default probe changer variables and variables from Zeiss registry

B) Show version information

$ ZeissConfigurationTool.exe –v

ZEISS.DLL version: 1.75,0,1

ZeissConfigurationTool.exe version: 1.15

C) List all options in triads of <option_name> <internal_number> <value>

$ ZeissConfigurationTool.exe –v –d

ZEISS.DLL version: 1.75,0,1

ZeissConfigurationTool.exe version: 1.15

GPIB_COMM 202 String

RS232_COMM 203 String

TCP_COMM 204 None

UDP_COMM 205 None

ST_PROBE_TYPE 232 None

VAST_PROBE_TYPE 206 None

RDS_PROBE_TYPE 207 None

DSE_PROBE_TYPE 208 None

RDS_XXT_PROBE_TYPE 233 None

RDS_VAST_PROBE_TYPE 233 None

ANALOG_PROBE_TYPE 209 None

PH9_DIRECT_PROBE_TYPE 230 None

PH9_USES_CMM_PROBE_TYPE 231 None

USES_INTERRUPTS 210 Number

IP_ADDRESS 211 String

IP_PORT 212 String

HOST_IP_ADDRESS 213 String

HOST_IP_PORT 214 String

BEEP 220 Number

LIMIT_PLUS_X 221 Number

LIMIT_MINUS_X 222 Number

LIMIT_PLUS_Y 223 Number

LIMIT_MINUS_Y 224 Number

LIMIT_PLUS_Z 225 Number

LIMIT_MINUS_Z 226 Number

ROTAB_MAX_SPEED 240 Number

ROTAB_MIN_SPEED 241 Number

ROTAB_SCALE 242 Number

MAX_SPEED 250 Number

ACCELERATION 251 Number

JOGBOX_SPEED 255 Number

MIN_TOUCHSPEED 256 Number

DOUBLE_CMD_DELAY 260 Number

CONTROLLER_8_BIT 261 Number

HIT_NEEDS_STOP 262 Number

SCALE_PARSE_XYZ 280 None

SCALE_PARSE_XYZ_W 281 None

SCALE_PARSE_XYZ_AB_W 282 None

SCALE_PARSE_XYZ_W_AB 288 None

SCALE_PARSE_XYZ_W_IJK 283 None

SCALE_PARSE_XYZ_W_IJK_FxFyFz 284 No

SCALE_PARSE_X_Fx_Y_Fy_Z_Fz_W_IJK 28

SCALE_PARSE_X_I_Y_J_Z_K_W_FxFyFz 28

SCALE_PARSE_X_I_Y_J_Z_K_W_AB 287 No

SCALE_PARSE_X_fFx_Y_fFy_fFz_W_AB 28

CONTROLLER_16BIT_SCANNING 290 Number

CIRCULAR_MOVES_SUPPORTED 300 Number

CONTROLLER_NEEDS_PROBE_MATRIX 301 N

IGNORE_ERROR_INITIALIZATION 302 Number

DEVELOPMENT_TEST 350 Number

MANUAL_PROBE_MODE 303 Number

IGNORE_ERROR_LIST 304 String

WAIT_OPTIMIZATION 305 Number

WAIT_OPTIMIZATION_TC 306 Number

SET_RDS_PROBING 314 None

SET_XXT_PROBING 315 None

CALCPOINT_VAST 316 Number

CALCPOINT_ADD_DEFLECTION 317 Number

CALCVECTOR_TYPE 318 Number

TC_SPEED 310 Number

D) Show translated option from [Config] section in old format

$ ZeissConfigurationTool.exe –t PCD_tcpRDSconfig.txt

TCP_COMM

RDS_PROBE_TYPE

IP_ADDRESS="192.4.1.200"

IP_PORT="4712"

BEEP=1

LIMIT_PLUS_X=999999

LIMIT_MINUS_X=-999999

LIMIT_PLUS_Y=999999

LIMIT_MINUS_Y=-999999

LIMIT_PLUS_Z=999999

LIMIT_MINUS_Z=-999999

SCALE_PARSE_XYZ_W_IJK

CIRCULAR_MOVES_SUPPORTED=1

MAX_SPEED=413

ACCELERATION=200

JOGBOX_SPEED=100

ROTAB_MAX_SPEED=300

ROTAB_MIN_SPEED=1

ROTAB_SCALE=3600

DOUBLE_CMD_DELAY=0

E) Write translated options from [Config] section in old format into new_config_section.txt

$ ZeissConfigurationTool.exe –t PCD_tcpRDSconfig.txt >new_config.txt

F) Parse all configuration file and check for errors (with verbose output including version information)

$ ZeissConfigurationTool.exe -v -p PCD_tcpRDSconfig.txt

For ZeissConfigurationTool.exe 1.22 (Zeiss interface ver 1.89n)

G) Run complete cold or warm boot (the program will pop up message with question about homing if necessary). It is much faster than PCDMIS and uses the same interface code as PC-DMIS.

$ ZeissConfigurationTool.exe –I PCD_tcpRDSconfig.txt

1.90n (Tool 1.32) adds more output it with –v option

$ ZeissConfigurationTool.exe –v –I PCD_tcpRDSconfig.txt

All executed commands and their outputs can be followed on stdout screen if not redirected to a file.

H) Run [Test] section

$ ZeissConfigurationTool.exe –F PCD_tcpRDSconfig.txt

Example of test section:

[Test]

; F parameters go from F000 up to F113

"D1\x0D\x0A D50\x0D\x0A F000\x0D\x0A", 300, 1, "F", 1, 0, 0

"D1\x0D\x0A D50\x0D\x0A F116\x0D\x0A", 300, 1, "F", 1, 0, 0

"\xFF", 0, 0, "", 105, 0, 0

I) Run [FparamMI] and [FparamRun] sections with iterators 400 times (0 to 399)

FparamMI stores MI (number of axes for each F param. It ranges from -1 to 9)

FparamRun uses MI or 0 if they don’t exist

$ ZeissConfigurationTool.exe –G PCD_tcpRDSconfig.txt

UDP and TCP version:

[FparamMI]

"D50;F%d , MI\x0D\x0A", 0, 0, "", 0, 0, 1

"\x01", 0, 1, "F", 1, 0, 2

[FparamRun]

"D25;F%d , %d\x0D\x0A", 0, 0, "", 0, 0, 1

"\x01", 0, 1, "F", 1, 0, 2

"D50;F%d , %d\x0D\x0A", 0, 0, "", 0, 0, 1

"\x01", 0, 1, "F", 1, 0, 2

GPIB version:

[FparamMI]

; empty

[FparamRun]

"D1\x0D\x0A D25\x0D\x0A F%03d\x0D\x0A", 300, 1, "F", 1, 0, 0

"D1\x0D\x0A D50\x0D\x0A F%03d\x0D\x0A", 300, 1, "F", 1, 0, 0