
Modbus Programming Manual ABOUT THIS MANUAL
Version 2 9
Copyright © 2012 by Despatch Industries.
All rights reserved. No part of the contents of this manual may be reproduced, copied or transmitted in any form or by any
means including graphic, electronic, or mechanical methods or photocopying, recording, or information storage and
retrieval systems without the written permission of Despatch Industries, unless for purchaser's personal use.
1.4.6. Supported Modbus Functions
Modbus defines several function types. The following types are supported by this instrument:
Read Holding/Input registers
Read current binary value of specified number of
parameters at given address. Up to 64 parameters
can be accessed with one Query.
Writes two bytes to a specified word address.
Used for loopback test only.
Writes up to 253 bytes of data to the specified
address range.
Read/Write Multiple Registers
Reads and Writes 253 bytes of data to the specified
address ranges.
1.4.7. Function Descriptions
The following is interpreted from the Modbus Protocol Description obtainable from
http://www.modbus.org/. Refer to that document if clarification is required.
In the function descriptions below, the preceding device address value is assumed, as is the
correctly formed two-byte CRC value at the end of the QUERY and RESPONSE frames.
Function 03 / 04 - Read Holding/Input Registers
Reads current binary value of data at the specified word addresses.
In the response the “Number of Bytes” indicates the number of data bytes read from the
instrument. E.g. if 5 words are read, the count will be 10 (A hex). The maximum number of
words that can be read is 64. If a parameter does not exist at one of the addresses read, then a
value of 0000h is returned for that word.
Komentarze do niniejszej Instrukcji