25.10.2012 Views

DANGER - Blemo

DANGER - Blemo

DANGER - Blemo

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Modbus Function<br />

Write one output word<br />

Request<br />

Response<br />

Error<br />

Example<br />

Request and response (the frame format is identical)<br />

Example: write value 16#0008 in word W0022 (16#2329) in slave 2 Snb Number of starts 8.<br />

70<br />

Function code 1 Byte 0x06<br />

Register Address 2 Bytes 0x0000 to 0xFFFF<br />

Register value 2 Bytes 0x0000 to 0xFFFF<br />

Function code 1 Byte 0x06<br />

Register Address 2 Bytes 0x0000 to 0xFFFF<br />

Register value 2 Bytes 0x0000 to 0xFFFF<br />

Error code 1 Byte 0x86<br />

Exception code 1 Byte 01 or 02 or 03 or 04 (see details on<br />

page 72)<br />

Slave<br />

no.<br />

06 Word number Value of word CRC16<br />

Hi Lo Hi Lo Lo Hi<br />

1 byte 1 byte 2 bytes 2 bytes 2 bytes<br />

Request and response 02 06 0016 0008 CRC16

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

Saved successfully!

Ooh no, something went wrong!