omron — Modbus-RTU Method

4-4 Communication Function Writes data into the specified holding register. (Example) Write 50 Hz into the Inverter with slave address 5 as the base frequency (A003). The data resolution of the holding register "1203h" of the base frequency (A003) is 1 Hz. To set 50 Hz, set the change data to "50 (0032h)". Query Response No. Field name Example (HEX) No.

Field name Example (HEX) 1 Slave address *1 05 1 Slave address 05 4 2 Function code 06 2 Function code 06 3 Register start number (MSB) *2 12 3 Register start number (MSB) 12 Functions 4 Register start number (LSB) *2 02 4 Register start number (LSB) 02 5 Change data (MSB) 00 5 Change data (MSB) 00 7 CRC-16 (MSB) AD 7 CRC-16 (MSB) AD 6 Change data (LSB) 32 6 Change data (LSB) 32 8 CRC-16 (LSB) 23 8 CRC-16 (LSB) 23 *1. There is no response for broadcasting. *2. Note that the start number is reduced by 1. If writing into the holding register cannot be performed normally, refer to the "Exception Response" section. Used to check the communications between master and slave.

A random value can be used for test data. (Example) Loop-back test to the Inverter with slave address 1 Query Response No. Field name Example (HEX) No. Field name Example (HEX) 1 Slave address * 01 1 Slave address 01 3 Diagnostic sub code (MSB) 00 3 Diagnostic sub code (MSB) 00 2 Function code 08 2 Function code 08 4 Diagnostic sub code (LSB) 00 4 Diagnostic sub code (LSB) 00 5 Data (MSB) Random 5 Data (MSB) Random 6 Data (LSB) Random 6 Data (LSB) Random 7 CRC-16 (MSB) CRC 7 CRC-16 (MSB) CRC 8 CRC-16 (LSB) CRC 8 CRC-16 (LSB) CRC * Broadcasting cannot be performed. The diagnostic sub code corresponds only with the query data echo (00h, 00h), not any other commands. 4-161