omron — 2-5 Modbus TCP Server/Slave Command Examples

2 Operation Additional Information Function Code 04 (Read Input Registers) operates the same as above example. Function Code 05: Write Single Coil  Objective Turn ON bit CIO 1040.05 Additional Information To turn a bit ON, set the Output Value to FF00. To turn a bit OFF, set the Output Value to 0000.  Objective Write a value of 1467 hex to D1099. Grid Connect Modbus/TCP Adapter Application and Setup Guide 2-15 Command Value Command Value Function Code 05 Function Code 05 Starting Address Hi 02 Starting Address Hi 02 Starting Address Lo 85 Starting Address Lo 85 Output Value Hi FF Output Value Hi FF Output Value Lo 00 Output Value Lo 00 Function Code 06:

Wrige Single Register Command Value Command Value Function Code 06 Function Code 06 Starting Address Hi 00 Starting Address Hi 00 Starting Address Lo 63 Starting Address Lo 63 Output Value Hi 14 Output Value Hi 14 Output Value Lo 67 Output Value Lo 67