Sale!

2M 4M Laser Ranging Sensor RS232 RS485 Modbus RTU PLC

$51.50$60.00

SKU: 4000906521275 Category:

Description

Modbus laser-ranging-sensor is a non-contact ranging product, which can be used for the measurement of various liquid levels and solid particle levels, as well as for the avoidance of obstacles by AGVs and robots. The probe is completely waterproof and can be applied to out door environment with strong anti-interference ability and high accuracy, it can be used for precise non-contact positioning, using Modbus-RTU protocol, and connecting with various PLC and configuration software.

software suite

factory default protocol parameters:

  1. communication Interface: RS485.
  2. Communication Format: 1 start bit, 8 data bits, no verification, 1 stop bit.
  3. Baud rate: 9600 (Can be changed by software, Max 19200bps).
  4. Address: 1 (can be changed by software).
  5. Communication mode: the monitoring host and the device adopt one-to-one (or one-to-many) master-slave query mode.
  6. Data Protocol: MODBUS-RTU
  7. measuring range: 5-180cm
  8. resolution: 1mm
  9. precision: 2mm (within 1 meter) 5mm(2 meters)
  10. power supply voltage: DC 9-36V
  11. pin definition: Red: 24V + Shield: GND yellow: 485A Green: 485B
  12. protection Grade: IP54

the laser head characteristics

  1. 940nm laser meets the class 1 operating conditions specified in IEC 60825-1:2014 3rd edition
  2. the measurement range has nothing to do with the reflection of the target object
  3. high optical crosstalk compensation

 

MODBUS Protocol command, detailed explanation, example

note: If not specified, the data in all the following commands is 16decimal, and the slave address is the default 01.

Register Address table:

register Address

(16bit/word)

read/write characteristics

MODBUS address

stored content

00H

read

40001

first distance value

                              

     

caution,:Do not connect the power supply voltage to other terminals except the power supply, otherwise the module will be burnt.

Read data from the code:

read the first distance measurement data:

transmission: 01 03 00 00 00 02 C4 0B

returns: 01 03 04 00 00 00 00 FA 33

set station number (Function Code: 16 h)

for example, if the initial station number is 01, set the station number to 02.

Host: 01 16 00 00 00 02 C9 C8 (00 02 indicating that the setting of the station number)

slave return: 02 16 00 00 00 FF 08 7A (indicates that the setting is completed and the station number takes effect immediately)

 

for example, if the initial station number is 01, set the station number to 03.

Host: 01 16 00 00 00 03 08 08(00 03 indicates that the settings of the station number)

slave return: 03 16 00 00 00 FF 09 AB (indicates that the setting is completed and the station number takes effect immediately)

 

for example, if the initial station number is 03, set the station number to 04.

Host: 03 16 00 00 00 04 48 28(00 04 indicating that the setting of the station number)

slave return: 04 16 00 00 00 FF 08 1C (indicates that the setting is completed and the station number takes effect immediately)

(0)