Omron CQM1H-SCB41 Computer Hardware User Manual


 
Appendix K3Z4L Laser Micrometer Protocol
334
Offset Contents
(data format)
Data
+0 Number of receive data
words (4 digits BCD)
0019 (fixed)
+1 Program number
(1digit BCD)
0 to 9
+2 to
+3
Number of statistic data
(6 digits BCD)
000000 to 999999
+4 Average value (decimal
portion) (4 digits BCD)
0000 to 9999
Example 123.4567
+5 Average value (integer
portion) (4 digits BCD)
000 to 999
4 5 6 7
0 1 2 3
+4
+5
+6 Average value (Sign) (BIN) If +: 0
If : F
F 0 0 0+6
+7 to
+9
Maximum value Same as average value
+10 to
+12
Minimum value Same as average value
+13 to
+15
Range Same as average value
+16 to
+18
Standard deviation Same as average value
Note The number of digits of the Decimal portion is fixed to 4 digits. If a deviation calculation results in a value
with 5 decimal places, it will be stored with one digit overflowing into the integer portion.
Examples: The value 0.1234 is stored as follows:
Area of decimal portion: 1234; Area of integer portion: 0000; Sign area: F000
The value 0.12345 is stored as follows:
Area of decimal portion: 2345; Area of integer portion: 0001; Sign area: F000