Function Code 5: Write Single Coil Request 1 Byte 1 to 255 PLC Node Address 1 Byte 0x05 Function Code 2 Bytes 0x0000 to 0xFFFF Output Address 2 Bytes 0x0000 or 0xFF00 Output Value Response 1 Byte 1 to 255 PLC Node Address 1 Byte 0x05 Function Code 2 Bytes 0x0000 to 0xFFFF Output Address 2 Bytes 0x0000 or 0xFF00 Output Value Function Code 6: Write Single Register Request 1 Byte 1 to 255 PLC Node Address 1 Byte 0x06 Function Code 2 Bytes 0x0000 to 0xFFFF Register Address 2 Bytes 0x0000 to 0xFFFF Register Value Response 1 Byte 1 to 255 PLC Node Address 1 Byte 0x06 Function Code 2 Bytes 0x0000 to 0xFFFF Register Address 2 Bytes 0x0000 to 0xFFFF Register Value
Function Code 5: Write Single Coil Request PLC Node Address 1 Byte 1 to 255 Function Code 1 Byte 0x05 Output Address 2 Bytes 0x0000 to 0xFFFF Output Value 2 Bytes 0x0000 or 0xFF00 Response PLC Node Address 1 Byte 1 to 255 Function Code 1 Byte 0x05 Output Address 2 Bytes 0x0000 to 0xFFFF Output Value 2 Bytes 0x0000 or 0xFF00 Function Code 6: Write Single Register Request PLC Node Address 1 Byte 1 to 255 Function Code 1 Byte 0x06 Register Address 2 Bytes 0x0000 to 0xFFFF Register Value 2 Bytes 0x0000 to 0xFFFF Response PLC Node Address 1 Byte 1 to 255 Function Code 1 Byte 0x06 Register Address 2 Bytes 0x0000 to 0xFFFF Register Value 2 Bytes 0x0000 to 0xFFFF
PI_ModbusE_4.0.2.80.docx