17.12.2012 Views

MODBUS/TCP Fieldbus manual - Koco Motion GmbH

MODBUS/TCP Fieldbus manual - Koco Motion GmbH

MODBUS/TCP Fieldbus manual - Koco Motion GmbH

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.

Revision R020111<br />

<strong>MODBUS</strong>/<strong>TCP</strong> <strong>Fieldbus</strong> <strong>manual</strong> 4 Function codes<br />

Trip on relative position The ASCII of the command mnemonic is sent in revers order in the request PDU i.e.<br />

RT. The parameter string is written or read in normal sequence.<br />

Note the the only trip function available is trip on relative position. to re-enable the trip,<br />

use register 0x007D.<br />

4.3.2 Read manufacturer specifi c – 65 (0x41)<br />

MCode mnemonic TR (Trip on relative position)<br />

Mnemonic<br />

Hi word<br />

Lo word<br />

0x20 0x20<br />

0x52 0x54<br />

Parameter data length Up to 11 bytes<br />

ASCII = 6 5 0 0 0<br />

Hex 3D 36 35 30 30 30<br />

Request Length Value<br />

Function code 1 byte 0x41<br />

Mnemonic Hi word 2 bytes 0x2020 0x2020/2033*<br />

Mnemonic Lo word 2 bytes See section 4.3.1 for listing<br />

*For capture/trip I/O point.<br />

Response Length Value<br />

Function code 1 byte 0x41<br />

Byte count 2 bytes N* (quantity of characters returned)<br />

Response n bytes n=N or N+1<br />

Error Length Value<br />

Error code 1 byte 0xC1<br />

Exception 1 byte 01, 02, 03 or 04<br />

Example Example shows reading the setting of the trip on relative input (TR). The<br />

value reads as 0x35 31 32 30 30 30 or decimal 512000 steps.<br />

Request Response<br />

Function 0x41 Function 0x41<br />

Mnemonic Hi word<br />

Mnemonic Lo word<br />

0x00<br />

0x35<br />

0x00 0x31<br />

0x52<br />

0x54<br />

Response<br />

0x32<br />

0x30<br />

0x30<br />

0x30<br />

4-11

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

Saved successfully!

Ooh no, something went wrong!