Friday, June 24, 2022

How to use Mitutoyo Digimatic Indicator Interface cable ( USB-ITN ) by VCP(serial) API




Mitsutoyo digimatic dial indicator has 10 pin idc connector. port interface is not standard spec. It needs USB cable for this device and computer programming.



USB-ITN cable runs as HID device, HID device has no COM port. 

Mitsutoyo supplies VCP driver for using as Serial port(COM port).


1. download VCP driver bellow link.

https://drive.google.com/file/d/1Jqvw-fO2zItXSliuVXSOlYRzt5G7uoM9/view?usp=sharing

2. download API manual 
3. Install VCP driver.
   Right click the file "usb-itn.inf" and run "install driver".
4. connect USB-ITN cable to computer.
   it will be installed automatically.
5. Open serial terminal program and connect to COM port.
6. typing "1" and press Enter key.



---------------------------------------------------
command syntax
---------------------------------------------------
request:
[1 byte command ][carridge return]

response:
[1 byte command ][1byte channel][1 byte type][ variable length data ......][carridge return]




---------------------------------------------------
command list 
---------------------------------------------------

V : DEVICE INFORMATION
1 : DATA REQ CMD
0 : MEASURED DATA RESPONSE
8 : FOOT SWITCH
9 : STATUS

ETX : 0x0d (\r)


---------------------------------------------------
example
---------------------------------------------------

REQ RES
-------------------------------
V 1ITN49001557
1 01A+0003.770


---------------------------------------------------
packet description
---------------------------------------------------
0 data command
1 channel (1, fixed)
A normal data(A, fixed)
+ sign
0 value
0
0
3
.
7
7
0
0x0d(\r)