Chapter 4 Communication Setting The first data: 0(0x00)*256*256*256+5(0x05)*256*256+155(0x9B)*256+9(0x09)=367369(0.1um) The last data: 0(0x00)*256*256*256+5(0x05)*256*256+155(0x9B)*256+0(0x00)=367360(0.1um) ◎ Communication code can be 1 byte, function code: 06H For example: Write 0201H (device address: 0x02 & baud rate: 0x01) to A029H, the device address is 0x01 and the RTU command is as follows. Command message Reply message For example: Write the lower limit of digital I/O output to the laser displacement meter of device address 0x01 which need to set high byte of lower limit(A7F9H) and low byte of lower limit(A85DH).
The RTU command is as follows Lower limit = 35000 um (high byte is 0x0000, low byte is 0x88b8) Command message Reply message High byte setting Laser Displacement Operating Manual 4-7 Address 0x01 Function code 0x06 Initial address (high) 0xA0 Initial address (low) 0x29 Data content (high) 0x02 Data content (low) 0x01 CRC checksum (low) 0xBA CRC checksum (high) 0xA2 Address 0x01 Function code 0x06 Initial address (high) 0xA0 Initial address (low) 0x29 Data content (high) 0x02 Data content (low) 0x01 CRC checksum (low) 0xBA CRC checksum (high) 0xA2 Address 0x01 Function code 0x06 Initial address (high) 0xA7 Initial address (low) 0xF9 Data content (high) 0x00 Data content (low) 0x00 CRC checksum (low) 0x7A CRC checksum (high) 0x8F Address 0x01 Function code 0x06 Initial address (high) 0xA7 Initial address (low) 0xF9 Data content (high) 0x00 Data content (low) 0x00 CRC checksum (low) 0x78 CRC checksum (high) 0xEF