Chapter 4 Communication Setting For example: When the device address of the laser displacement is 01H and the register is 753BH (PD peak position), the RTU mode command to read the current position is as follows. RTU mode Command message Reply message For example: When the device address of the laser displacement is 01H and the register is 7595H (62 consecutive data), after receiving the command, the laser displacement will read the previous 62 consecutive data and the RTU command is as follows.
Command message Reply message Laser Displacement Operating Manual 4-6 Address 0x01 Function code 0x03 Initial address (high) 0x75 Initial address (low) 0x3B Data entries In bytes (high) 0x00 Data entries In bytes (low) 0x02 CRC checksum (low) 0xAF CRC checksum (high) 0xCA Address 0x01 Function code 0x03 Bits 0x04 Register 30001 (high) 0x32 Register 30001 (low) 0xB0 Register 30002 (high) 0x00 Register 30002 (low) 0x01 CRC checksum (low) 0x34 CRC checksum (high) 0xAC Address 0x01 Address 0x01 Function code 0x03 Function code 0x03 Initial address (high) 0x75 Bits 0xF8 Initial address (low) 0x95 Register 30101 (high) 0x00 Data entries In bytes (high) 0x00 Register 30101 (low) 0x05 Register 30102 (high) 0x9B Data entries In bytes (low) 0x7C Register 30102 (low) 0x09 CRC checksum (low) 0x4E CRC checksum (high) 0x0B Register 30223 (high) 0x00 Register 30223 (low) 0x05 Register 30224 (high) 0x9B Register 30224 (low) 0x00 CRC checksum (low) 0xDB CRC checksum (high) 0x3F