Ethernet I/O ModulesICP DAS CO., LTD. PETL/tET/tPET DIO Series User Manual, Ver. 2.2, Aug. 2017, Page: 861. Net ID (Station Number)The first byte in the frame structure of a Modbus RTU query is the receiver’s address. Availedaddress is in the range of 0 to 247. Address 0 is used for general broadcast, while addresses 1 to247 are given to individual Modbus devices.2. Function CodeThe second byte in the frame structure of a Modbus RTU query is the function code, which describeswhat the slave device is required to do. Valid function codes are between 1 and 255. To answer thequery, the slave device uses the same function code as contained in the request. The highest bit of thefunction code will only be set to ‘1’ if an error occurs in the system. In this way, the master will knowwhether the message has been transmitted correctly or not.Code Function Reference (Address)01 (0x01) Read the Status of the Coils (Readback DOs) 0xxxx02 (0x02) Read the Status of the Input(Reads DIs) 1xxxx03 (0x03) Read the Holding Registers (Readback AOs) 4xxxx04 (0x04) Read the Input Registers (Reads AIs) 3xxxx05 (0x05) Force a Single Coil (Writes DO) 0xxxx06 (0x06) Preset a Single Register (Writes AO) 4xxxx15 (0x0F) Force Multiple Coils (Writes DOs) 0xxxx16 (0x10) Preset Multiple Registers (Writes AOs) 4xxxx