Download Webdyngate Modbus User`s Manual

Transcript
Webdyngate Modbus Version 1.10 User’s Manual
Function code
01 or 02
03 or 04
05
06
07
08
16
Function
Read n bits
Read n words
Write one bit
Write one word
Quick status read
Looping
Write n words
Depending on the slave retained, all or some of these functions are supported.
Before configuring the Webdyngate gateway, it is important to check which functions
are supported by a slave.
6.2
Configuration of the Modbus interface
At the physical level, the Modbus protocol uses an asynchronous serial port.
Different parameters must be set:
Line speed (bauds)
Number of data bits
Parity
Number of stop bits.
For two devices to be able to dialogue, these parameters must be identical on each
side.
The speed may fall between 2400 bauds and 115200 bauds (by default 19200
bauds).
Page 35
Copyright (C) Webdyn 2003
Reproduction prohibited without written permission from Webdyn