background image

L

aser distance sensor user manual

- 5 -

5. Inputs and Outputs

5.1 Communication Setting

Baud rate: 9600 bps,

Parity bit: None,

Data bits: 8, Stop bit:1

5.2 Input data format

There is only one byte in each input data pack. Users could send different
commands to the sensor for different purpose, the functions of command are
shown in the following table.

HEX

0X4F

0X43

0X55

ASCII(Capital

letter)

O

C

U

Functions of

command

Power On &

Trigger Measuring

Continuous

Measuring

Power Off

5.3 Output data format

Digital output data is displayed by ASCII code, there is 7 bytes in every data frame.
The frame header is 0XFF, the next bytes meant measured distance numbers (unit:
mm). A:

hundreds of thousands

, B:

tens of thousands

, C:

thousands

, D:

hundreds

,

E:

tens

, F:

ones

.(Notice: If any byte in a data frame is not used, the sensor will

return 0X20 in that byte.)

Header

A

B

C

D

E

F

0XFF

hundreds of

thousands

tens of

thousands

thousands

hundred

s

tens

ones

The mapping table of HEX and number codes:

HEX

0X30

0X31

0X32

0X33

0X34

。。。 0X37

0X38

0X39

0x2D

0X20

number

0

1

2

3

4

。。。

7

8

9

-

space

For example, if the measured distance data is 3456mm, then the sensor willreturn
data as" 3456"(HEX: FF 20 20 33 34 35 36).
Or the measured distance data is 123456mm, then the sensor will return data as
"123456"(HEX: FF 31 32 33 34 35 36).
If the sensor couldn’t get any available data( out of measurement range or
measured in blind zone), it will return “ - - - -”(HEX:FF 20 2D 2D 2D 2D 20) to
the computer.

Summary of Contents for SKD-40D

Page 1: ...SKD 40D Laser Distance Sensor USER MANUAL Version 3 1 Getting more info supports from http www top1sensor com...

Page 2: ...ions 4 4 1 Definitions of connectioncable 4 4 2 Operating Steps 4 5 Inputs and Outputs 5 5 1 Communication Setting 5 5 2 Input data format 5 5 3 Output data format 5 6 Troubleshooting 6 6 1 Factors af...

Page 3: ...formance laser distance sensor and customized service Top1senser com is our official website for online business Laser distance sensor SKD 40D is a new kind of our laser distance measuring instrument...

Page 4: ...10V analog current voltage output Two way switch output based on thresholds set by users Long life and high reliability with good protection High waterproof and dustproof performance with aircraft gra...

Page 5: ...50 Dimension 110 8 50 40mm Weight 210g Use a target plate to increase the measurement range during daylight or if the target has poor reflection properties The highest operating temperature is 40 whe...

Page 6: ...start to measure distance The sensor will return the measured data like XXXXX ASCII to the serial interface and turn off laser beam when it finished a single measurement 4 2 2 3 Send a command U ASCI...

Page 7: ...s meant measured distance numbers unit mm A hundreds of thousands B tens of thousands C thousands D hundreds E tens F ones Notice If any byte in a data frame is not used the sensor will return 0X20 in...

Page 8: ...mooth surface with good reflection like target plate Deep color and rough surface like green or blue target surface Air visibility Clean air Dust fog storm and rain snow Ambient light Dark environment...

Page 9: ...n E 253 FF 4520 32 3533 Temperature too low Warm device up E 255 FF 4520 32 3535 Received signal too weak time for a measurement too long Use a target plate E 256 FF 4520 32 3536 Received signal too s...

Page 10: ...ontact Us Xi an SANK Optical Electronic CO LTD Tel 86 29 82252810 Fax 86 29 82252811 Mobi 86 15353715490 Mr Yang E mail contact top1sensor com Add No 299 Jinhua North Road Xi an China Getting more inf...

Reviews: