omron — Communication Function

4-2 Function Mode (Example) Loopback 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 2 Function code 08 2 Function code 08 3 Diagnostic sub code (MSB) 00 3 Diagnostic sub code (MSB) 00 4 Diagnostic sub code (LSB) 00 4 Diagnostic sub code (LSB) 00 4 5 Data (MSB) Random 5 Data (MSB) Random 6 Data (LSB) Random 6 Data (LSB) Random Functions 7 CRC-16 (MSB) CRC 7 CRC-16 (MSB) CRC * Broadcasting cannot be performed. 8 CRC-16 (LSB) CRC 8 CRC-16 (LSB) CRC The diagnostic sub code corresponds only with the query data echo (00h, 00h), not any other command. Rewrites consecutive multiple coils.

(Example) Change the status of multi-function inputs S1 to S6 on the Inverter with slave address 5. Set the multi-function input terminals as shown in the following table. Query Response No. Field name Example (HEX) No.

Field name Example (HEX) 1 Slave address *1 05 1 Slave address 05 2 Function code 0F 2 Function code 0F 3 Coil start number (MSB) 00 3 Coil start number (MSB) 00 4 Coil start number (LSB) 07 4 Coil start number (LSB) 07 5 Number of coils (MSB) 00 5 Number of coils (MSB) 00 6 Number of coils (LSB) 06 6 Number of coils (LSB) 06 7 Number of bytes *2 02 7 CRC-16 (MSB) 65 8 Change data (MSB) *2 17 8 CRC-16 (LSB) 8C 10 CRC-16 (MSB) DA 9 Change data (LSB) *2 00 11 CRC-16 (LSB) EF 4-73 Multi-function input terminals S1 S2 S3 S4 S5 S6 Coil No. 7 8 9 10 11 12 Terminal status ON ON ON OFF ON OFF