12.07.2015 Views

Altistart 22 - Schneider Electric

Altistart 22 - Schneider Electric

Altistart 22 - Schneider Electric

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

Modbus FunctionThe following paragraphs describes each supported function.Read Holding registersRequestFunction code 1 Byte 0x03Starting Address 2 Bytes 0x0000 to 0xFFFFQuantity of Registers 2 Bytes 1 to 63 (0x 3F)ResponseFunction code 1 Byte 0x03Byte count 1 Byte 2 x N*Register valueN* x 2 Bytes*N: Quantity of RegistersErrorError code 1 Byte 0x83Exception code 1 Byte 01 or 02 or 03 or 04 (see details onpage 72)ExampleNote: Hi = high order byte, Lo = low order byte.This function can be used to read all ATS<strong>22</strong> words, both input words and output words.RequestSlaveno.03 No. of first word Number of words CRC16Hi Lo Hi Lo Lo Hi1 byte 1 byte 2 bytes 2 bytes 2 bytesResponseSlaveno.03 Number ofbytes readFirst word value ------- Last word value CRC16Hi Lo Hi Lo Lo Hi1 byte 1 byte 1 byte 2 bytes 2 bytes 2 bytesExample: read 2 words 'ACC and DEC at Modbus address 19 and 20 to W3105 (16#0013 to 16#0014) in slave 2, using function 3, where:• ACC - Acceleration = 10• DEC - Deceleration = 0Request 02 03 0019 0002 CRC16Response 02 03 04 000A 0000 CRC16Value of: W0019 W020Parameters: ACC DECBBV51330 08/2012 69

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

Saved successfully!

Ooh no, something went wrong!