close

Mini Mux輸出模式的格式


1.RAW Format


The Mitutoyo RAW format consists of a string with up to 13 characters in it. It looks like this:


 


FFFFSRRRRRRUP


+++++++++++++


0000000001111


1234567890123


 


The four characters is always F. S is the sign, which can be 0 or 1. RRRRRR is the reading. U is the unit. P is the decimal point.



 


2.DECIMAL Format


In the decimal format, the output string will look like this:


 


SRRRRRRRR<CR>


+++++++++


123456789


 


Where RRRRRRR is the reading and S is a signal. It is followed by a carriage return. As an example, a gage with an output of -1.234mm would look like:


 


-1.2340MM<CR>


+++++++++


123456789


 


3.MITUTOYO Format


The Mitutoyo Mux-10 format consists of a string with up to 13 characters in it. It looks like this:


 


0CASRRRRRRRR<CR>


+++++++++++++


0000000001111


1234567890123


 


The first character is always 0. C identifies the channel number.The third character is A or B.A is computer command and B is the data button is pressed. S identifies the sign, which can be + or -. RRRRRRRR is the reading. As an example, a gage with an output of – 1.234mm plugged into Port 1 would look like:


 


01A-001.2340<CR>


+++++++++++++


0000000001111


1234567890123


 


3.COMMA Format


Full Comma-Delimited Format


In the full comma-delimited format, the output string will looklike this:


 


NNN,SRRRRRRRRR,SMMM,SCC<CR>


+++++++++++++++++++++++


00000000011111111112222


12345678901234567890123


 


Where NNN is the reading number, RRRRRRRRR is the reading,MMM is the mode, (MIN, MAX, TIR, NRM), S is a space and CC is the channel number. It is followed by a carriage return. As an example, two consecutive readings from a gage with an output of – 1.234mm plugged into Port 1 running in normal mode would look like:


 


001, -001.2340, NRM, 01<CR>


002, -001.2340, NRM, 01<CR>


+++++++++++++++++++++++


00000000011111111112222


12345678901234567890123



 


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 goofydog 的頭像
    goofydog

    高飛狗

    goofydog 發表在 痞客邦 留言(0) 人氣()