YO Modbus
User guide
v2.1
page 19/33
-
driverswitchiddletime
: Delay [ms] from 1 ms up to 100 ms for serial TX and RX parameters
between devices in the network.
-
baudrate
: information transfer rate bits per second. Supported baud rates are 1200, 2400,
4800 ,9600
-
databits
: the amount of data in each packet. 7,8,9 formats are not supported with parity
“none” value.
-
parity
: The parity bit, unlike the start and stop bits, is an optional parameter, used in serial
communications to determine if the data character being transmitted is correctly received by
the remote device.
-
stopbits:
the last bit of a one-byte transmission, used for timing or synchronization.
-
responsetimeout
: how long Modbus Poll should wait for a slave device response before
giving up. Default is 1000 ms.
-
delaybetweenpolls
: the minimum delay until the next request is transmitted. Default is
100 ms.
-
name:
name of the query parameter, up to 10 characters. The name can be freely modified by
the user to correspond to the parameter to be read out.
-
slaveaddr:
address of the target slave device.
-
funccode:
function code for the Modbus RTU protocol. Value 1 indicates “read coils”, value 2
= “read contacts”, 3 = “read holding registers”, 4 = “read input registers”.
-
startreg:
starting register, which is the address from which the reading of data from a
particular slave will start.
-
regnbr:
register number of data to read from the slave. Value “1” means that 2 bytes will be
read, value “2” = 4 bytes will be read over the Modbus network..
-
cnt:
packet counter index. The YO Modbus device can handle up to 150 queries. Limitation is
5 variables per query.
-
out:
the query name for output from the slave. Maximum of 5 queries per packet (along with
maximum of 150 queries per Modbus).