contact@webdyn.com | webdyn.com
V1.0 subject to changes | Webdyn © by Flexitron Group
MODBUS_
IpAddr[n]
IP address of the device where
communication is via Modbus
TCP
n=0 to 246 empty
Example:
• Conguration of the bus:
Mode RS485, 2 wires, baud rate: 19200 baud, 8 data bits, 1 stop bit, no parity.
MODBUS_Mode=1
MODBUS_BaudRate=19200
MODBUS_DataBit=8
MODBUS_StopBit=1
MODBUS_Parity=1
• Declaration of Modbus slaves:
Slave 0: Mersen GreenString junction box: specic Mersen Modbus (Type 1), at address 1, named
“SLAVE1” and dened by the denition le MODBUS_GREENSTRING.ini.
Slave 1: Standard Modbus device: Generic Modbus (Type 0), at address 2, named “SLAVE2” and dened
by the denition le MODBUS_SLAVE.ini.
MODBUS_Type[0]=1
MODBUS_Addr[0]=1
MODBUS_Name[0]= SLAVE1
MODBUS_FileDefName[0]=MODBUS_GREENSTRING.ini
MODBUS_Type[1]=0
MODBUS_Addr[1]=2
MODBUS_Name[1]=SLAVE2
MODBUS_FileDefName[1]=MODBUS_SLAVE.ini
7.3 Structure of a Modbus Denition File
Every Modbus slave declared in the conguration le prexID_daq.ini must have a denition le.
The purpose of this le is to describe the whole set of variables available for a Modbus device.