Mitutoyo MIG-1USB User manual

Mitutoyo MIG-USB Multiplexers
MIG-1USB with 1 Gage Inputs
MIG-2USB with 2 Gage Inputs
MIG-4USB with 4 Gage Inputs
MIG-8USB with 8 Gage Inputs
Configuration Guide
Version 6.0
www.mitutoyo.com

Mitutoyo MIG-USB Multiplexers
Page 1
Table of Contents
General Description ......................................................................................................................................2
Output types: USB VCP, USB HID, and RS232
Front and back panel features
Installation.....................................................................................................................................................3
Connecting and Collecting Data with your new MIG-USB Multiplexers –Quick and Easy
Install USB driver and connect cables and power supply to collect data immediately
Firmware Configuration.................................................................................................................................4
Terminal Software can be used to configure advanced features
Set up advanced data collection, unmatched by any other interface!
Gage types available.....................................................................................................................................5
Select devices connected and capture 1 to 20 readings from a single output string
Digimatic, serial and specialty gage types and cables
Data Send Options........................................................................................................................................6
Customize the flow of data from the MIG-USB to your PC
Send Individual, Global, TIR, Signal, and Selective data options
Input Option setup by port.............................................................................................................................8
Options available to make data collection easier for special gaging
Special Options setup for overall unit ...........................................................................................................9
Change how the MIG-USB operates, including speed of data collection,
and the ability to emulate other interfaces
Pass-Thru Port............................................................................................................................................10
Added port for direct serial gaging or use to Backplane multiple interfaces
Other Main Menu Options and Customizations..........................................................................................11
Serial Decode of any serial string and Programming FlexConnect Cables for Serial Devices
Appendix .....................................................................................................................................................12
Configure USB/HID Settings
Host commands
Serial data collection
Backplane MIG-USB Units
Tips and Tricks and Customizations

Mitutoyo MIG-USB Multiplexers
Page 2
General Description
Congratulations on your new gage interface, the MIG-USB multiplexer. This interface is a USB device that connects
directly to your computer to make data collection fast, easy and accurate. Each unit is shipped with both USB and RS232
serial cables, a power supply, a USB flash drive and a Quick Start Guide. Included on the USB flash drive: MIG-USB
device driver, configuration manual, Quick Start Guide, and free terminal communication software. (No driver is required
for the DB9 serial connection.)
The MIG-USB interfaces have 3 types of output: USB Serial, USB keyboard, and RS232 via DB9*
*Note: The MIG-1USB does not include RS232 output or cable.
USB Serial: The driver creates a Virtual Com Port (VCP) that converts the USB port into a serial port for communication
between gages and software programs. Readings are sent and captured by software for data analysis.
USB Keyboard: The driver for keyboard emulation creates an additional keyboard input. This is the HID (Human
Interface Device) driver for standard keyboards that comes with all Windows Operating Systems. When connected, the
MIG-USB will send readings like they were typed on a numeric keypad; this will allow readings to immediately appear in
spreadsheets and databases. See Configure USB/HID Settings in appendix for advanced settings.
DB9 Serial: This RS232 output* connects to your PC or PLC via an existing serial port. Default is 9600 baud rate
(9600,N,8,1).
*Note: The MIG-1USB does not include RS232 output or cable.
Front Panel:
Input Ports: Industry standard 10-pin connector for gage input –1, 2, 4, or 8 inputs depending on the model.
Trigger Ports: 3.5mm “headphone” style jack –1, 2, 4, or 8 inputs depending on the model. Operators can use a
footswitch or handswitch input to trigger readings; closing contact will trigger gage reading.
Blue LED: “Flashes” to signal data sending. The LED turns on when data is requested and turns off when data is sent.
The high-speed data communications of the MIG-USB result in the LED appearing to flash on and off.
Toggle Switch: On some models, an optional toggle switch is installed for the corresponding input on the front panel.
The switch performs the same function as the Trigger Port.
Back Panel:
USB Output: This port is BOTH USB Serial (VCP) and USB Keyboard (HID). You can select the data sent from this
port to emulate a Virtual Com Port or to emulate a keyboard and act as if readings were typed on a numeric keypad.
(When using the keyboard mode, readings are entered directly into spreadsheets, databases, or any software program).
EIA-232-D Output: Serial port (DB9F) for RS232 data communications. Serial data is transmitted through this port to a
PC or PLC for data collection.
Pass-Thru Port Input: Additional input (DB9M) for connecting directly to an RS232 serial device or to Backplane
(connect/stack) multiple units together and connect them as one to your PC.
Note: See Pass-Thru Port Settings for more details on connecting to this powerful input directly to devices.
Power Jack: Input for power supply. Each interface is shipped with a 7-12vdc power supply with center positive plug.
LED: Power LED will automatically light when power is applied.
Reset Button: Pressing this button will reset the internal CPU of the MIG-USB to a known state.
Note: When using in USB output mode, it is not recommended to reset the unit. Operating software (Microsoft
Windows) will consider a reset a disconnection and shut down the USB connection. Some data collection programs
would then have to be closed and reopened to re-establish a connection. (The reset button is rarely used and is unlikely
to be needed.)

Mitutoyo MIG-USB Multiplexers
Page 3
Installation
Connecting and Collecting Data with Mitutoyo MIG-USB Multiplexer –Quick and Easy
The MIG-USB multiplexer is a USB device and as such may require using a driver located on the USB flash drive included
with the system. Installing the driver for the hardware, as well as loading the included TeraTerm program is
recommended. TeraTerm is a communication program that allows users two-way communication via a serial port.
Driver and software install only required for the first time use. Additional multiplexers will automatically load the driver
already installed. Loading the full driver and communication program TeraTerm, you will have access to all advanced
features regardless of the type of connection selected to send data to computer.
Note: Often on company computers, loading hardware and software is restricted to certain users. Users may need to
get IT personnel or have administrative rights for loading new hardware and software.
USB Connection:
The driver will load the parameters for the MIG-USB to operate as both a VCP and HID device. Once the driver is
installed, connect the interface and you will have a new VCP (Virtual Com port) listed under Ports in the Device
Manager. The computer will automatically assign an available COM port number. Data collection software will be
able to see this new port as well as begin collecting data.
By connecting to the MIG-USB in VCP mode you can access and configure the USB settings. In these settings you
can configure to send data normally or emulate a keyboard. When in HID mode extra keyboard strokes and
commands can be added to gage readings to be sent to PC.
Note: See Configure USB Settings in appendix for more details on USB options.
RS232 Connection:
Just connect the DB9 cable to the output port and then to your computer. Data can be sent immediately.
Next let’s connect the measuring devices to the multiplexer. The default input type for the MIG-USB multiplexer is the
standard Mitutoyo Digimatic Code. This gage output format is a standard for Mitutoyo gages as well as many other
common gage brands. Cables are device specific and allow users to connect a variety of devices directly to the MIG-USB
multiplexers.
Now connect the power supply to the MIG-USB and then the MIG-USB to the USB port on the computer. The computer
will load the driver and assign a serial port for data collection to begin.
At this point you can begin sending real-time gage readings to your PC immediately!
Note: See Firmware Configuration to customize the MIG-USB to match any data collection project.
Collecting Data into ANY software:
When the MIG-USB multiplexer is connected to a serial port or as a Virtual Com Port (VCP) data is sent to your computer
via the communication cable selected. SPC software packages and software wedge programs have a driver that allows
the software to read the communication port and transfer that data into your software. Many programs can even be
programmed to have data readings go to specific part files or characteristics based on the input port to which the gage is
connected.
For programs like Excel, Word, or a custom database, the MIG-USB can be put into HID keyboard mode and readings will
appear like they were typed on the keyboard. Special functions such as Date/Time stamps and data mapping are
standard features of the MIG-USB. Now your data can be easily placed into ANY software you need to collect
measurements.
Because they are designed for use straight from the box, operators can connect gage cables and the power supply to the
interface and begin collecting data immediately. The MIG-USB multiplexer does not use internal or external dipswitches;
it is controlled by firmware built into each MIG-USB. Every MIG-USB multiplexer can be used in standard mode or
configured to utilize many of the advanced features available.

Mitutoyo MIG-USB Multiplexers
Page 4
Firmware Configuration
The MIG-USB multiplexers come with built-in features beyond what is offered by any other interface. The firmware inside
the MIG-USB allows standard data collection or customization that is unsurpassed by even dedicated hardware.
To setup advanced features of the MIG-USB line of interfaces, simply use any terminal program to access the built-in
configuration menu. (TeraTerm terminal software is open source software and is included on the USB flash drive).
The firmware will allow you to configure the many options available in the MIG-USB line. By configuring Data Send and
Options for each input port you can take the standard product and incorporate it into a custom data gathering system.
Global settings for data format and speed are also configurable for complete customization.
Start a Terminal Software
Select the COM port the interface is attached to on the PC and set serial settings to match output settings of the MIG-USB
(printed on bottom of unit). The default settings are 9600 baud, no parity, 8 data bits, 1 stop bit. The Flow control needs
to be set to NONE. (Speed can be increased if required.)
Example: MIG-USB Main Menu Screen
Access MIG-USB firmware
Type: SPC
The main menu of the MIG-USB will be
displayed in the window.
On-screen instructions for setup
The setup allows advanced or custom
features to be accessed.
Features to configure include gage type
connected, data sending sequence,
optional features for individual ports,
and special features for the overall
interface performance.
Main Menu: (See detailed description and application notes)
Gage Type: G## (Change gage type)
Data Send: D## (Configure send options and data flow)
Options: O## (Port specific settings and options)
Pass-Thru Port: PASS (Backplane or extra gage input)
Special options: SPL (Global settings for communications)
Program FlexConnect: F## (Configure a FlexConnect cable connected to the ## port listed)
About screen: AB (Contact info)
Exit and Save: EX (Exit menu and save any changes)
Exit without Saving: QU (Quit the menu and ignore any changes)
Default Configuration: CFG (Reset to factory settings)
Serial Decode: SD (Serial debugger used to locate readings in serial string output)
Program FlexUSB: USB (Configure USB settings; only visible in USB mode)
The variety of options offered in the MIG-USB line of interfaces have built in restrictions for features that are contradictory
and cannot be used together. Error messages will inform users when attempting to combine non-compatible features.
Universal Version Mitutoyo MIG Interface Setup Version 6.0
Port# Gage Type(G) Data Send(D) Options(O)
01 Mitutoyo Individual TO: 3/4
02 Mitutoyo Individual TO: 3/4
03 Mitutoyo Individual TO: 3/4
04 Mitutoyo Individual TO: 3/4
Pass-Thru Port (Default)
Special Options (SO)
Enter column and row to change: (e.g. To change Gage Type on Port 2 = G02)
Gage Type =G## About MIG-USB Interface =AB
Data Send =D## Exit and Save =EX
Options =O## Exit without Saving =QU
Pass-Thru Port =PASS Default Configuration =CFG
Special Options =SPL Serial Decode =SD
Program FlexConnect = F## Program FlexUSB =USB
Enter Choice:

Mitutoyo MIG-USB Multiplexers
Page 5
Gage Type: G##
The MIG-USB multiplexer is a universal interface allowing connection to Mitutoyo as well as a variety of different brands
and output type devices. Gage Type allows users to select the type of gage connected to the MIG-USB. Each port can
be individually configured to a different gage type, speed, format, etc.
Data is either requested from the MIG-USB (via Trigger port with a footswitch or handswitch) or is sent to the MIG-USB
from the device unrequested (gage sends automatically when ready or operator initiates a data send).
Note: The transfer (flow) of data to the computer can be controlled under both Data Send and Input Option menus.
Real-time readings, TIR run-out, Average over time, and more can be sent immediately to computer or can be buffered
and stored inside the MIG-USB.
Gage types available:
No Gage:
This option will turn off the port and the trigger port associated with this input. This is an optional setting and is
not necessary for normal data collection. Most common use combines the No Gage and Global Data Send option
on another port. When users set these options, the input is skipped during global data collection.
Mitutoyo:
This is the default input type - Mitutoyo Digimatic Code. This output is standard for most Mitutoyo tools and is
also compatible with many of our gage cables for other brands as well.
MTI - Hi-Res:
This is a specialized output format for Mitutoyo gages. This format allows for higher resolution gages to be
connected to the interface.
MTI Compat:
This option is for Mitutoyo compatible devices with extended response time. Some gage manufacturers have
created an output format to follow the MTI digimatic output but have slower speeds than standard Mitutoyo brand
gaging. The output is the same, but the time from request for a reading to the response is delayed. This
selections will force the MIG-USB to wait for the response from the slower gaging.
Serial:
This is a customizable driver to decode (parse) incoming data. Each gage input can be configured to match a
different output format. This allows different serial devices to be connected side by side in the interface. To
configure, users enter the output parameters of the gage and the interface will capture the reading and pass it to
the PC. The firmware will walk users through setup by requesting device output format: baud rate, parity, stop
and data bits and the End of Record Indicator. Up to 20 numeric fields can be captured and sent to the PC.
Advanced features:
-Capture, store, clear, and send up to 20 numeric fields from a single gage reading.
-Two-way communication can be sent from PC to the connected device.
Note: See Serial Gage Data Connection in the appendix for more options and details.
Opto-RS232:
This is a preconfigured driver to match the Opto-RS232 output offered by some Fowler/Sylvac gage types.

Mitutoyo MIG-USB Multiplexers
Page 6
Data Send: D##
The Data Send function is an optional feature that allows users to control the flow of data to the PC. This selection will
allow users to control the function of the trigger port for each input.
Note: The Data Send setting only affects the trigger port (and toggle switch, when available). The send button on
the gage or gage cable will still send that individual gage reading.
Part of the power and flexibility of the MIG-USB multiplexer line is the control over data sending. Each input port includes
a trigger port (some models offer toggle switch/footswitch jack combination) and can be configured by the interface to do a
variety of tasks. The default setting is to send a single reading from the corresponding input.
Data send functions available for each port:
- Individual: Sends one reading from selected gage (Default Mode).
- Global: Sends one reading from each port with a gage connected to it. If multiple interfaces are stacked together,
the units will automatically request readings from all ports, up to 99 inputs
- Individual TIR (Total Indicator Runout): This feature will continually read an input over a specified time period and
return the value for the MIN, MAX, TIR or AVG (by continuously monitoring readings from an input to find the desired
response) for the gage requested.
The TIR mode offers 4 choices for output to the PC.
1: MIN Only: The minimum reading taken between data triggers.
2: MAX Only: The maximum reading taken between data triggers.
3: TIR Only: The difference between Min and Max readings taken between data triggers.
4: AVG: Captures all the readings and then calculates the average (median) output for the captured values.
The port monitoring is turned on/off via the trigger port or host command. When a data send is issued, the MIG-
USB will monitor the port until the next data send is issued. When the MIG-USB receives the second data send
request, the MIN/MAX/TIR/AVG is calculated and sent to the PC.
- Global TIR: Same features as the Individual TIR but will trigger readings from all the ports.
- Individual Continuous Send: This feature will continually read input and transfer the reading to the PC. This feature
is turned on/off via the footswitch or host command. When a data send is issued, the MIG-USB will begin sending
readings from the port until the next data send is issued.
In applications where speed is the greatest need, the MIG-USB multiplexer can be configured to output at 38.4k baud
and reduce output characters by selecting the Reading Only output.
- Global Continuous Send:Same as the Individual Continuous Send but will trigger readings from all the ports.
- Signal Trigger: This option is used to create software handshaking with a data collection program running on a PC.
When using the Signal Trigger option, the user configures the PC (SPC software) to request a reading from the
desired port when a footswitch is pressed.
Signal Trigger allows for two types of data collection methods:
Method 1:
The default operation of this feature will send a RS232 string to the PC to indicate that a data request was
received for a specific port. The interface will send the word FOOTSWITCH or REQUEST in the reading field of
the output string sent to PC and be tagged with the port ID so the software can decode which port had the
request.
The Signal Trigger feature is commonly known as the “Mind-Reader”feature. Software running on the PC will
receive the message that a footswitch was pressed and respond by requesting data from ANY port required. For
example, a footswitch is triggered on input #1, the software running on the PC is configured for the currently open

Mitutoyo MIG-USB Multiplexers
Page 7
part/characteristic to use the gage on port #3, so it will send out a request for a reading from port #3. This allows
users to have only 1 footswitch and dynamically read the input required for the characteristic being measured.
Method 2:
When programmed for Signal Trigger the interface can accept a PRE-REQUEST for data. This feature will allow
software on the PC to send a request for the input required before the trigger port is activated. When the trigger
port is active, the PRE-REQUESTED input is immediately sent to the PC.
This allows software to request the part/characteristic required for the next reading. After each data event, the
PRE-REQUEST is cleared. If multiple requests are received, only the last request for data is valid. If two or more
commands are issued, only the last received command is executed when the trigger port is activated.
If no PRE-REQUESTS are received, the interface will send the word FOOTSWITCH or REQUEST in the reading
field. Standard output format: 0001,FOOTSWITCH, ,01<CR><LF> (Data trigger on port #1)
Note: See Appendix: Host Commands - Signal Trigger for additional notes and details.
- Selective Trigger –Great for Fixture Gaging: Allows users to collect readings from multiple inputs simultaneously via
a single data request. Users can configure any trigger port to trigger readings for up to 10 ports at a time. When
triggered, the selected ports will send data to the PC in the order selected. The data request will take place
simultaneously for all ports.
To configure, you simply enter the port numbers required, separating them by a comma. (i.e. P01,P02,P04)
This is great for fixture gaging measuring parts with multiple-gaged characteristics. A common use for this feature is
when there is a two position fixture for a part. Each position reads certain features using a unique combination of
devices. Trigger port 1 is programmed for a set of gages. Trigger port 2 is programmed for another set of gages
(gages can be in both groups). When the part is in one position, readings are sent and then the part is moved or
rotated to another position and another series of readings are taken. Each position will have all the required
measurements taken at the same time and sent to the PC.
- Step Trigger: This feature allows users to select a data collection sequence. The interface will step through the
sequence of ports - one gage input/output per data request - each time you activate the trigger port. This feature can
be used to step through a measurement sequence on a part, taking readings from the port required as the part is
measured.
To configure, simply enter the port numbers required, in the sequence required, with a comma to separate them. For
example: P01,P06,P04. The first use of the trigger port will take a reading on gage input port 1, the next trigger will
take a reading on port 6, and then the next on port number 4. You can select any sequence of ports to be read for up
to 10 ports per trigger input.
Caution for Step Trigger Use: Step trigger is a sequence of events. The software and hardware need to be
setup to collect in the same order. If a data send trigger is sent by accident or a reading needs to be re-taken, the
sequence of readings will become out of sync and lose their continuity. To re-start the sequence, reset the
interface or cycle through to the beginning.
This feature should be used with some software checks to verify that the sequences of data sending and
receiving are at the same point. The best use of this feature is on a fixture where controlling the speed of data
sending is the goal. We strongly recommend the Signal Trigger feature as the preferred solution.
- Timed request: This feature allows the MIG-USB multiplexer to become part of an automated system for monitoring
a process. The MIG-USB will automatically request a reading based on a 24 hour timer (HH:MM:SS). This is helpful
in monitoring process variables such as temperature, humidity or any other variable that requires periodic
measurements.
Note: In addition to the above data sending options, the transfer (flow) of data to the computer can be controlled.
As part of the Options Menu for each input, there is a setting for Gage Response. Readings can be buffered
and stored inside the MIG-USB or can be transferred immediately to PC.

Mitutoyo MIG-USB Multiplexers
Page 8
Input Options: O##
The Input Options are port specific options that can increase the control over the data collected and/or the process of
how the data is collected.
- Force output to inches or millimeters: To protect data integrity against output errors or for gages that do not have the
ability to change between inches and millimeters, the interface will force conversion to the desired format.
- Supply 5 VDC (Default mode is OFF): Optional 5VDC on pin 9 of connector. This is used to supply gages with
power or gage cables with electronics built-in with the power for data transmission. This power output can be used or
not, but it can be turned off if power output on pin 9 is not desired.
- Change Output Sign: The interface can flip-flop the gage output from negative to positive or positive to negative.
- Continuous Serial: This will give users control over data capture from a serial gage that sends continuously. Some
serial gages send readings continuously which can lead to data overload and make data analysis virtually impossible.
The interface can ignore this stream of readings until instructed to capture a reading by the user. When a data request
is received, the next reading is captured and sent to the computer.
This is a very useful option for serial gages that do not accept data requests. You can put the gage (weigh scales,
etc.) in continuous output mode and the interface will ignore those readings until a data request is received. The
result is enabling the use of a trigger for data collection.
- Command serial: Some serial devices require a read request to be sent to the gage to initiate a reading. The MIG-
USB can be configured to output up to 10 ASCII characters required to request a reading. Users enter the HEX code
needed for a request. By using HEX code, any character can be sent including any control characters –i.e. <CTL-B>,
<ESC>, <CR>, <CRLF> or other special commands/characters.
- Time-out feature - Gage time-out (Default mode is ON): This is a practical feature designed for the shop floor. This
default for this option will wait for a gage to respond for ¾ of a second, but if no gage is present or is not ready to
send, the interface will skip the gage, reset the port and go to the next requested port.
The time-out is configurable. Some gages respond very slowly as they calculate the measurements.
By slowing
down the time-out, the MIG-USB can wait for a gage to complete its measurement cycle before moving to the next
requested port.
Selection for time-out is from 1 to 999 seconds.
The time-out feature is helpful when a gage is removed from a collection plan (or errors out/dead battery) and data
collection must continue with the remaining gages. The interface will skip the missing gage, reset the input and
continue to collect data. When the gage is back on-line the next time a request is sent, the gage reading will be
captured and sent to the PC.
By using this feature, operators capture data only from the gages that are actively measuring a part.
- DTR Control: This feature is used in conjunction with serial/RS232 gages. Although RS232 communication is
standardized, actual practice has shown that various gages do not follow industry standard protocols. This feature will
remove any control over the DTR (Data Transmit Ready) line of the serial input. This special use case has been
required for some older or obscure devices.
- Gage Response: This option gives added control over the flow of data to the computer.
Choices for response from data received:
1: No response
Do not send data to PC, buffer reading only
2: Send single field
Send the output as configured (default operation)
3: Send ALL fields
Send all data fields
(Up to 20 fields of data from a single serial output string)

Mitutoyo MIG-USB Multiplexers
Page 9
Special Options: SPL
The Special Options are global settings that affect how the interface communicates with the PC. If a change is made to
these settings, every interface connected via the Pass-Thru Port is adjusted to match these settings.
Note: These settings are NOT changed by the CFG command (return to default mode).
Enable group count: (Default is OFF) (Valid in FULL OUTPUT MODE only)
Each reading sent by the interface is tagged with a count field. This field is a running tally of the number of
readings sent from the individual input. The Group Count feature increments the count based on ANY port
sending data. All data sent via a request is tagged with the same count (i.e. a global trigger will send all ports with
the same count number). This allows software to use this data to verify that all readings are from the same data
request.
Select output format: (Default is MIG Mode)
The data string sent to the PC is configurable. Different versions of the unit have pre-configured default output
settings, but all formats are available regardless of the type of interface unit being used.
Count field: 4 digit tally count of readings sent from port
Reading: 10 digit field, including sign () if required
Mode: 5-character field for special use
ID: 2-digit field for port number, 01 –99 valid ports
Full Output:
26 character output (Count, Reading, Mode, ID <CR><LF>)
Format: ####,##########,#####,##<CR><LF>
ID, Reading:
15 character output (ID, Reading <CR><LF>)
Format: ##,##########<CR><LF>
Reading Only:
12 character output (Reading <CR><LF>)
Format: ##########<CR><LF>
MIG Mode: (Since only 1 digit for ID, only ports 1-8 are valid)
11 character output. (ID, colon :, Plus/Minus sign, Reading,<CR>)
Format: #:#######<CR>
Mux-10 Output:
13 character output. (ID, ‘A’, Plus/Minus, Reading<CR>)
Format: ##A########<CR>
Note: For some advanced options like stacking multiple interfaces together, the output should be changed to Full
Output so that more than 8 inputs can be connected. This also enables host commands for higher ports 9-99 to
be valid for individual inputs.
Select baud rate: (Default is 9600)
The interface output can be configured to vary from 2400 to 38.4K baud. Default is 9600 baud. This change
does not take effect until the configuration has been saved. After this change has been saved, any additional
access to the MIG-USB menu will be at the new baud rate.
Note: Terminal program used for configuration and any data collection software will need to be changed to match
new baud rate.
Sequence output:(Default is ON)
The MIG-USB offers control over the flow of readings sent to the PC by allowing readings to be sent sequentially.
When this feature is enabled, the inputs are sent in numerical order. The lowest ports are sent first, then the next
highest available port (i.e. Port 1, Port 2, Port 3, etc). When sequence output is turned off, the interface will send

Mitutoyo MIG-USB Multiplexers
Page 10
data in FIFO format (fastest gages first). This will allow faster data sending, but the order is controlled by the
speed of the gages connected. (The default mode is sequence output enabled and works best with most SPC
software).
The sequence output enabled will also affect the overall output behavior. If a gage does not respond to a send
request, the MIG-USB will stop and wait for the gage, leaving the LED for the missing port powered on. This is
helpful for monitoring gages that are hard to view and when you want to stop data collection until all gages are
functioning.
Note: A feature that works in conjunction with Sequence output is the Timeout feature under Input Options. By
default, the MIG-USB multiplexer will wait ¾ second before cancelling the read request and moving to the next
port. If a gage does not respond within the specified time period, the interface will reset that port error and will
skip over and go to the next port.
Select Gageport Mode
This is a backward compatible feature for a previously popular interface. Includes handshaking features used on
some dedicated systems.
Ready 4 Resource
This is a specialized feature for use with DB9 serial connection and invokes hardware handshaking.
Pass-Thru Port Settings: PASS
The MIG-USB family includes an ‘extra’ port for connecting gages or to backplane/stack units. To backplane units, simply
connect the DB9 Serial output of one MIG-USB to the Pass-Thru Port of another and they will instantly be ready to send
data. You may stack as many MIG-USB multiplexers together as you need (up to 99 inputs).
Default
Ability to hook up multiple MIG-USB in any combination of 2, 4, and 8 inputs up to 99 inputs.
Backplane
This is a special configuration of the default. When 2 MIG-USBs are connected using this feature, they combine
to act like a single unit. Allowing configuration of input and data send options. This is valid for up to 8 inputs. For
configurations requiring configuration with more than 8 inputs, the units can be individually configured and then
connected.
Serial
The connector is standard DB9 and allows connection of one additional serial device using inexpensive standard
computer cables. Connection for serial gage includes TX, RX and GND lines. (No handshaking lines present; if
required, they must connect to front panel input ports using the corresponding serial cable).
In serial mode, the Pass-Thru Port can capture up to 20 individual numeric fields from a single output string. The
MIG-USB can be configured to send the readings when received or to store in buffer. Host commands can be
used to access or clear readings from the buffer. Data output is the same format from all ports whether it is a
caliper or one of multiple readings from a serial device (CMM, X-Y readout, etc.).
Note: See Serial Data Connection in the appendix for more details:
-Capture, store, clear, and send up to 20 numeric fields from a single gage reading
-Two-way communication can be sent from PC to the desired/selected gage
Light Bar
The MIG-USB has a built-in driver for an external product, the Light Bar, a 3 light tower of yellow, red and green.
This is a product available only from Midwest FlexSystems, Inc. The MIG-USB will flash the yellow light to
indicate a successful data send.
Special host commands allow external lights to be turned on of RED or GREEN. This is helpful for visual
monitoring of a process based on SPC status.

Mitutoyo MIG-USB Multiplexers
Page 11
Other Main Menu Options
Serial Decode: SD
This is a special feature of the MIG-USB for setting up a parse of the incoming data, debugging serial communications
and reading locations. The MIG-USB multiplexer can then program those settings to any port required.
Operators connect the serial device to Port 1 with the appropriate serial cable and enter the baud, parity, data and stop
bit. When a reading is sent from the gage, it is displayed on the screen along with a character counter. Using the
character counter, the location of the reading is found and entered by selecting the first and last character position of the
reading. The MIG-USB can then program those settings to any port desired. The new settings will allow data to be
parsed and sent to the computer.
Program FlexConnect: F##
This is a special feature to configure the special FlexConnect II cables. These cables can be configured to capture a
reading from serial device. The parameters are stored in EEPROM for future use.
These cables Autodetect output parameters and find all the numeric fields in the output. You can then select which
numeric field is sent to the interface as the official reading.
Refer to FlexConnect II manual for more information.
Exit and Save: EX
Exit setup and save new configuration
Exit without Saving: QU
Exit setup without saving changes
Default Configuration: CFG
Resets the configuration to the default settings
Note: The CFG command will reset the configuration, with one exception, the SPL settings. The SPL settings are global
settings for the operation of the multiplexer and do not change unless they are individually accessed.
About MIG Interface: AB
Displays information about the MIG-USB family of interfaces and contact information.
Program FlexUSB: USB
This is a feature packed sub-menu. This allows control over the output via the USB system and how it interacts with the
computer. Configuration includes controlling USB serial and USB keyboard selections as well as adding special
characters for specialized collection plans. Operators can turn on/off keyboard mode and configure extra characters for
use in spreadsheets. (ENTER, TAB, DOWN, RIGHT,etc.)
See Configure USB settings in appendix for more detail and options.

Mitutoyo MIG-USB Multiplexers
Page 12
Appendix
Configure USB/HID Settings for FlexUSB ..................................................................................................13
Configure your MIG-USB as HID keyboard or as USB Serial port for data collection
•FlexUSB Submenu settings
oHID/VCP Setup
oAdditional keystrokes added to reading output
oAdvanced mapping of data to Excel spreadsheet
Serial Data Connection ...............................................................................................................................15
Details on how to connect serial devices to MIG-USB multiplexers
•Connect serial devices directly to MIG-USB
•Program commands for requesting data
•Capture any and all numeric fields in serial string
•Collect 1 –20 readings from a single serial string
•Specialty Serial Cabling - FlexConnect Gage Cables
Host Commands .........................................................................................................................................16
Commands that can be sent from host computer to control the flow of data
•Request real-time readings to be send to PC
•Request stored readings to verify data integrity
•Choosing which numeric field to send to PC from serial strings
•Control the flow of when data is sent to computer
•Pre-request which input port to be sent for the next request
•Trigger notification for data is ready to be requested
•Reset the multiplexer via software command
•Activate Talk Mode and allow direct communication to serial devices from computer
Backplane MIG-USB Unit............................................................................................................................20
Connecting multiple MIG-USB multiplexers to PC
•Connect 2, 4, and 8 input MIG-USB multiplexers together to create data flow from up to 99 inputs
•Use the included DB9 cable to connect each unit together
Tips and Tricks and Customizations...........................................................................................................20
•Change HID keyboard settings with ‘secret’HARDWARE trick
•Customizations of features current or new applications

Mitutoyo MIG-USB Multiplexers
Page 13
Configure USB/HID Settings: FlexUSB
Note: This configuration submenu is accessed within
the MIG-USB multiplexers menu. You will return to the
MIG-USB menu system when finished.
The MIG-USB multiplexer comes with the most advanced
technology in USB connections for gage interfaces...the
FlexUSB output.
FlexUSB output allows the multiplexer to be configured as
VCP (virtual COM port –serial port) or HID (human
interface device –keyboard) or both VCP and HID.
When in HID mode, the FlexUSB system allows users to
control how the multiplexer sends keystrokes to the
computer. In addition to gage reading being captured and
sent, the FlexUSB system can attach ‘extra’characters to
each reading. This gives users customization power over
the data collection process, putting data where it is needed
in spreadsheets and databases.
From the main menu in the MIG-USB multiplexer, Type:
USB : This will display the FlexUSB submenu shown.
FlexUSB Submenu Options Explained:
1: USB Output Type VCP, HID, VCP/HID
This option configures the output type of the USB port. Depending on the setting chosen, the computer will load the
required driver to decode the communication between multiplexer and computer.
HID
This setting will configure the multiplexer to appear as an additional keyboard connected. When enabled, data is
captured from measuring device and is sent to the keyboard buffer and appears in any software at the point of the
cursor.
VCP
This setting configures the multiplexer to appear as a conventional serial port. This is the standard process to
connect external devices that are sending data to computer. Most SPC programs have drivers and protocols
preconfigured to collect the data from a serial port.
HID/VCP
This is combination of both options. Data is sent to the computer twice, once as keyboard and again as serial
port. Use this option only if required, Programs to use both forms of communication should be running or there
will be a data overload on the computer’s buffer. If the buffer overflows the computer will disable the driver and
stop accepting readings from the port.
Note: There is ‘secret’HARDWARE function for changing this setting. Check the Tips and Tricks section in the appendix
2: Termination (CR, TAB, DATE, TIME)
This selects extra keystrokes to be entered at the end of the reading. This allows customized movement to the next
available cell in a spreadsheet. When keystrokes are entered into spreadsheet, sending carriage return (enter) after the
reading signals that number entry is finished with that cell and shifts down to the next row. When TAB is added to the end
of a reading string, it signals entry is finished and moves to the next cell to the right. Date, Time and Date & Time are
available functions in spreadsheets. This setting will tab to the right and then tag date/time data. This will allow time
stamping of readings in standard spreadsheets for tracking.
FlexUSB Configuration Menu - Version 2.7
1:USB output type……...........................................: HID only
2:Termination:.........................................................: CR
3:Terminator Gage Number:...................................: 1
4:Column Mapping:.................................................: No Mapping
5:Excel or Calc:.......................................................: Excel
6:HID keyboard Rate:..............................................: Fastest HID:1 FP:0
7:Tab/Return After Readings:..................................: Tab
8:Send Reading Number (HID):...............................: No
Options Available:
1: Enable/Disable HID keyboard Output
2: Termination (CR, TAB, DATE, TIME)
3: Select Number of Terminator Gage
4: Column Mapping
5: Toggle Excel/Calc
6: Change HID Keyboard Rate
7: Toggle Tab/Return After Non Terminator Gages
8: Toggle Send Reading Number (HID)
CFG: Restore Default
EX: Quit With SAVE
QU: Quit Without save
Enter Choice:

Mitutoyo MIG-USB Multiplexers
Page 14
3: Select Number of Terminator Gage
Designed for interfaces with more than one input. By default, readings are entered across a row, moving left to right; a
reading in each column. When the last reading is sent, the cursor will go down a row and return to the initial starting
column. Setting the terminator gage will declare that as the last output for that row. For use when collecting from less
than the maximum number of inputs in the multiplexer.
For example: If you select 3 gages, first reading will appear in the first column, then TAB to right and enter the next two
readings. It will then return to the first column in the next row for the next set of readings. When combined with date/time,
the complete part is in one row with date and time stamp.
4: Column Mapping
This is a powerful feature when combined with a custom spreadsheet. Instead of data being entered where the cursor is
located, you can select the cell to begin placing readings. If that cell is occupied, then the next available cell down will be
populated. This means that even if you open an existing populated spreadsheet, the data will start collecting right where
you stopped.
This feature is very helpful to ensure readings are placed in the correct location. For example: Operator may enter data
in another cell in the spreadsheet, resulting in the cursor not being at the correct data collection location in the
spreadsheet. Column mapping will put the cursor back into the data collection location for entering readings.
Note: In the data collection spreadsheet, enter a name or header label in the target cell you configured in the MIG-USB.
This will be used as a placeholder for placing new readings. The MIG-USB will go to the target cell and then go down to
the first open row below the target cell and enter the next reading
5: Toggle Excel/Calc
This is to select between the two most popular spreadsheets for movement or date/time stamp commands, Microsoft
Excel and OpenOffice Calc.
6: Change HID Keyboard Rate
This controls the speed of the interface sends keystrokes to the computer. The USB multiplexers can read and transfer
readings so quickly that some PCs and software cannot handle the fast keystroke rates. This option allows you to slow
down the interface if needed.
7: Tab/Return After Non Terminator Gages (toggle between options)
By default, the readings are sent to computer with TAB between each reading moving the cursor across the row for each
input. This setting controls the character sent between readings. If RETURN is selected the readings are terminated with
the ‘enter’key. This will result in the readings being posted on next row in the same column instead of across the row.
8: Send Reading Number (toggle on/off)
This specifies whether the channel/input number is sent with the reading in the next column; helping to identify which input
is sending data in multiple input interfaces. This number pinpoints the input from which the reading originated.
CFG: Restore Default
This will reset the USB setting to the default setting as shipped from factory.
EX: Quit with Save
This will exit the FlexUSB submenu and return to the main MIG-USB menu system while saving the changes made to any
settings for the FlexUSB Output
QU: Quit Without Save
This will exit the FlexUSB submenu and return to the main MIG-USB menu without saving any changes

Mitutoyo MIG-USB Multiplexers
Page 15
Serial Data Connection using MIG-USB Multiplexers
MIG-USB Multiplexers are very powerful data collection devices and one of the biggest features is the way data can be
collected from RS232/Serial devices. Serial output devices measure and report a variety of desired characteristic
measurements. The data reported varies from just a single dimension measurement to a full report on the part.
Serial devices can connect to the MIG-USB using dedicated cabling* that will connect the output of the gage to the front
inputs of the MIG-USB. There is also an additional port on the rear panel of the 2, 4, and 8 input units that allow
connection via a standard DB9 serial output. Data output to the computer is in the same format from all ports whether it is
a caliper or one of multiple readings from a serial device (i.e. CMM, X-Y readout, etc.)
*Contact your Mitutoyo dealer to inquire about specific device cabling.
There are a wide variety of devices used in data collection, many with a single measurement reading being the desired
output. But some devices will output multiple numeric fields …date, time, version #, reading, etc. The MIG-USB
multiplexer can be configured to send just one field or all these fields to the PC. Transferring single readings or multiple
readings to the computer - the choice is up to the data collection plan.
The power of the MIG-USB allows users to connect directly to a serial output device and extract up to 20 numeric fields
from a single output string. Each numeric field is captured and stored for data collection. Special functions like two-way
communication can be used to configure the serial device, special request statements can be programmed in to request
the readings or used to trigger a measuring process to begin. The power is built-in to every MIG-USB multiplexer and
truly allows for customization of the data collection process.
Set Gage Type to: Serial.
Select the output settings of device (communication parameters):
-Baud Rate, Parity, Data bits, and Stop bits
Choose the End of Record Indicator (How will the MIG-USB recognize that the reading output is completed?):
-Carriage Return <cr>
-Carriage Return/Line Feed <cr><lf>
-Reading Length Actual number count of characters in output, including spaces
-Time Out Time period to actively wait for next character before declaring reading complete
- Default of ¾ second
- Enter interval from 1 to 999 seconds
Next you select what to send as a reading from the device. With multiple fields captured from the output, you
then choose which field holds the data desired from the device.
-No Response Sends no data, just buffers readings
-Send Specified Fields Sends the numeric field selected as the reading
-Send All Fields Sends all numeric fields in output string
When specifying fields, users enter the field number or numbers separated by a comma and then hit
return. The MIG-USB can identify up to 40 individual fields of data. (Up to 20 numeric fields are stored.)
Special Note: Some serial devices require a command be sent to trigger a data send. Handshaking may also be
required and can be programmed individually for the device. These options can be found under the Options Menu for
the specific port.
Specialty serial cabling:
The cabling for serial gages can use standard pinout or customized configurations as needed. There are also
FlexConnect Gage Cables that incorporate the serial configuration within the cable for known devices and can be
connected to the MIG-USB multiplexer without the need to configure or change any parameters. Contact your local
Mitutoyo representative to inquire about FlexConnect Gage Cabling for your specific device.

Mitutoyo MIG-USB Multiplexers
Page 16
Host Commands
Requesting Readings with Host Commands:
MIG-USB multiplexers respond to commands sent via the serial connection to the data collection computer (called Host
Commands). The host commands are an added layer of functionality that can integrate the MIG-USB multiplexer as an
important building block in any data collection plan. Host commands allow users to control the content and timing of data
sent to the PC from the MIG-USB.
The most used host commands are for triggering gage readings and sending that data to the computer. The MIG-USB
multiplexers have advanced features that allow users to take control over what and how readings are captured.
There are 3 types of readings available:
Real-time Reading: This is the real-time current reading as it comes in and is immediately sent to computer.
Stored Readings: This is the LAST/PREVIOUS reading taken from the gage. If you need to re-request the
reading it is stored within the MIG-USB. This is very helpful if reading was corrupted or
lost. Some instances the data collection software may not be ready to accept the
reading. This allows the reading to be requested again. Resending the same reading
can be extremely important for SPC processes where multiple gages need to be read
simultaneously vs a new reading being captured.
Field Selected Readings: Serial devices often send more than a single reading or data point. When connected as
a serial device to the MIG-USB, up to 20 numeric fields are stored from the output string.
Users can select which field or fields they require for the part characteristic being
measured. Multiple fields are stored, and all can be sent or retrieved. This can include
date/time stamps and more.
Real-time Reading: ‘R’Command
Read commands trigger the MIG-USB to request the current reading from the connected device. Those readings are then
captured and sent to the computer. The flexibility of the multiplexer allows MIG-USB units to be connected/stacked
together (using the backplane port) to create configurations from 1 to 99 inputs.
To create the most compatible interface on the market, the MIG-USB accepts most data send commands used by
previous versions and brands of interfaces and SPC software.
Action
Command
Response
Read request an input
(Ports 1–99)
R##<CR>
!@R##
Requests reading from gage on port ##
(Replace ## with 2 digit port ID for desired port)
(Use the backplane feature of the Pass-Thru port to connect
multiple multiplexers together to achieve up to 99 inputs)
Read request for ALL inputs
(Ports 1–99)
RG<CR>
!@RG
Requests reading from all gages connected to 99 inputs
(Use the backplane feature of the Pass-Thru port to connect
multiple multiplexers together to achieve up to 99 inputs)
Read request a FIELD from
incoming data string
R##F##<CR>
!@R##F##
R## = port, F## = field
Requests reading from port and field selected
(For Serial Gage Types Only –see Field Selected Readings)
To maintain backward compatibility with previous versions of the MIG. Previous version max inputs = 9
Read request an input
(Ports 1–8)
#<CR>
Requests reading from gage on port #
(Replace # with 1-8 for desired port, this format maintains
backward compatibility with previous version of MIG)
Read request ALL inputs
9<CR>
Requests readings from all gages connected

Mitutoyo MIG-USB Multiplexers
Page 17
Stored Readings: ‘S’Command
For all gage types, the last reading received from any device is stored for retrieval. Digimatic tools and other tools with
simple reading output are saved for easy retrieval. The power of the MIG-USB multiplexer takes data collection to the
next level with serial devices. Some serial devices transmit multiple numeric data fields in the output string. The
MIG-USB will capture and store up to 20 individual numeric fields from connected serial gage types. Host commands
can be sent to access one or more of these stored fields. All the readings are from the last available output string.
Action
Command
Response
Return stored reading
S##<CR>
Returns all stored fields for requested port
If more than one field is stored, each field is returned
in order received FIFO
S##F##<CR>
Returns stored reading from requested field on
requested port
S## = port, F## = field
(Field option valid serial gage types only)
Control and maintenance of the buffered fields the MIG-USB allows ‘house cleaning’of stored data.
Note: When a new reading is received from serial device, the previous data stored is erased/cleared
Clears all buffered fields
C#<CR>
C##<CR>
Clears all fields on Port # or ##
Port specific, other inputs will not be affected
Clears all buffered data for all inputs
C<CR>
CG<CR>
Clears all fields of Serial Gage types
Also clears data on Pass-Thru Port
Clears a specific field
C#F#<CR>
C##F##<CR>
C#F##<CR>
C##F#<CR>
Clears field # or ## on Port # or ##
Port specific, other inputs will not be affected
Field Selected Readings: ‘RF’and ‘SF’commands
Serial gages that have multiple readings in their output strings will be parsed and each numeric field stored in the order
received. All the stored fields are available for requests from host computer. Commands can request reading in real-time
or from previously stored readings. Up to 20 fields are captured and stored from each data send.
Action
Command
Response
Read a FIELD in real-time
output string
(request new reading)
!@R##F##
R##F##<CR>
Read port and parse data for field selected.
R## = port, F## = field
(For Serial Gage Types Only)
Read stored reading
S##F##<CR>
Return STORED reading on a port.
S## = port, F## = field
(Field option for Serial Gage Types Only)
Control and maintenance of the buffered fields the MIG-USB allows ‘house cleaning’of stored data.
Note: When a new reading is received from serial device, the previous data stored is erased/cleared
Clears all buffered fields
C#<CR>
C##<CR>
Clears all fields on Port # or ##
Port specific, other inputs will not be affected
Clears all buffered data for all
inputs
C<CR>
CG<CR>
Clears all fields of Serial Gage types
Also clears data on Pass-Thru Port
Clears a specific field
C#F#<CR>
C##F##<CR>
C#F##<CR>
C##F#<CR>
Clears field # or ## on Port # or ##
Port specific, other inputs will not be affected

Mitutoyo MIG-USB Multiplexers
Page 18
Flow Control using Signal Trigger with Host Commands:
The flow of data going from device to computer passes thru the MIG-USB multiplexers. This means the MIG-USB
controls the flow and timing of data. Normal operation is that the device autonomously sends a reading, or an operator
requests a reading by hitting the send button on device or cable and the result is immediately sent to the computer. One
way to utilize the power built into the MIG-USB multiplexer, the MIG-USB offers a unique function called Signal Trigger.
This is fondly known as the ‘mind-reader’function.
By using Signal Trigger, (under Data Send functions) operators can pre-request a reading from the interface. This
means the computer can inform the multiplexer which input is needed on the next data trigger. Operators can use a
single footswitch or handswitch plugged into any of the ports 1 thru 4. When triggered, the pre-requested port is read and
sent to computer. The requested port can be ANY input on the multiplexer. When a data collection plan is setup, data is
collected into part files in an organized pattern. Utilizing the step trigger function, data collection programs can control the
MIG-USB and which device it wants requested data. When the operator presses a footswitch or handswitch, the MIG-
USB will send the required port.
There are 2 ways Signal Trigger works to make data collection interactive and intuitive with computer software:
1: Pre-request command sent to configure the MIG-USB to send the required input on the next data trigger.
2: Trigger notification configures the MIG-USB to send output string when data trigger received. Monitoring
software on the host can then request the desired input.
Pre-Request Command: ‘F’Command
To inform the MIG-USB of the required input, a command is sent…this command is referenced as the ‘F’ command.
When the ‘F’ command is issued, the MIG-USB multiplexer is then configured to send requested port upon next data
trigger. This creates a handshaking process between the multiplexer and the data collection software. The software
controls with port is requested in dynamic interaction. This allows the user to use only one footswitch or handswitch and
dynamically request the port required for the active characteristic.
Trigger Notification:
When Signal Trigger is active, but no ‘F’ command was issued prior to the footswitch or handswitch being pressed, the
multiplexer will send the word ‘FOOTSWITCH’ (or ‘REQUEST’depending on the output mode) to the computer using the
reading field in the output format. This will inform the computer that a footswitch or handswitch was triggered and the
operator has the part and measuring tool ready to take a real-time reading. The software can then issue a standard
READ command to read the appropriate port and continue to operate.
Interacting with the computer and software…the MIG-USB will read and send the desired gage reading. As the user is
going thru a data collection plan, the software has the part file open and ready for the reading to be sent. The operator
triggers the switch and the software requests and receives the reading as needed. This allows users to have a single
data switch and trigger it for all characteristics and inputs.
These are the reasons we dubbed this the ‘mind-reader’function.
Note: The signal trigger functions are tied to the trigger port. Readings sent unrequested to the MIG-USB will be sent to
the computer as normal.
Action
Command
Response
Pre-Request for the desired
input on NEXT trigger
!@F##
Returns gage reading on port ## when triggered
(Replace ## with 01-99 for desired port)

Mitutoyo MIG-USB Multiplexers
Page 19
Reset the Interface with Host Commands:
Rarely used and not recommended is the Reset Command. This can be used to reset the interface to a known state.
This will also reset the counter for each port that tracks the number of readings sent.
The process of resetting the MIG-USB is not usually necessary. The reason it is no longer recommended is the process
of loading device drivers for the USB connection. Some versions of Windows will remove the connection and disable the
USB serial port when reset. After reset, occasionally Windows will require reload of the driver and will change the port
settings. These port settings are how data collection software connects and collects from the MIG-USB multiplexer.
Action
Command
Response
Reset the unit
!@RST
Will reset the CPU of the multiplexer
Talk Mode to Serial Gages using Host Commands:
Some serial devices need to be configured or go thru a calibration process utilizing two-way communication with
computer. The power of the MIG-USB multiplexer allows direct communication with serial gages connected via the front
panel or the Pass-Thru Port. This is very helpful for gages that need setup commands or configuration changes.
Once the command is issued, the keystrokes sent to the serial port from the computer are transferred directly to the
connected serial device. Any responses from the serial device are sent directly to the computer. No data modification or
change in the data string. Two-way communication is achieved with the selected port. When finished with this process,
simply send the command again and the two-way communication will be ended. When the MIG-USB is actively using
talk mode on any port, all other ports are disabled.
Action
Command
Response
Turn on/off Talk Mode
!@T##
Will open or close direct communication to the port
selected. Any characters sent to the MIG-USB will be
passed along to the port selected. This will continue
until Talk Mode is turned off.
Note: During Talk Mode, all data collection is paused.
(Note: Port must be in Serial Mode to communicate to a gage directly.)
This manual suits for next models
3
Table of contents