12.07.2015 Views

Connecting UniOP to Modbus/TCP

Connecting UniOP to Modbus/TCP

Connecting UniOP to Modbus/TCP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tech-noteAppendix B. Implementation DetailsThis <strong>Modbus</strong>/<strong>TCP</strong> implementation supports only a subset of the standard <strong>Modbus</strong>/<strong>TCP</strong> FunctionCodes.The supported Function Codes are listed in the table below.Code FunctionDescription01 Read Coil Status Reads multiple bits in the <strong>UniOP</strong> Coil area02 Read Input Status Read the ON/OFF status of the discrete inputs (1xreference) in the slave03 Read Holding Registers Read multiple Registers04 Read Input Registers Reads the binary contents of input registers (3xreference) in the slave05 Force Single Coil Forces a single Coil <strong>to</strong> either ON or OFF06 Preset Single Register* Presets a value in a Register16 Preset Multiple Registers* Presets value in multiple Registers* When the “Generic <strong>Modbus</strong><strong>TCP</strong>” PLC model is selected in the Controller Setup (see chapter 3.1),function code 16 (preset multiple registers) will always be used for writing Holding Registers, even ifthere is no need <strong>to</strong> write more than a single Holding Register. Instead, when the “Generic<strong>Modbus</strong><strong>TCP</strong> – no data blocks” PLC model is selected, function 06 (preset single register) will bealways used for writing <strong>to</strong> Holding Registers data type.tn165-5.doc - 8.06.2005<strong>Connecting</strong> <strong>UniOP</strong> <strong>to</strong> <strong>Modbus</strong>/<strong>TCP</strong> 9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!