EasyManua.ls Logo

Flexitron Webdyn WebdynModbus - Structure of a Modbus Definition File

Flexitron Webdyn WebdynModbus
73 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
contact@webdyn.com | webdyn.com
V1.0 subject to changes | Webdyn © by Flexitron Group
39
MODBUS_
IpAddr[n]
IP address of the device where
communication is via Modbus
TCP
n=0 to 246 empty
Example:
Conguration 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: specic Mersen Modbus (Type 1), at address 1, named
“SLAVE1” and dened by the denition le MODBUS_GREENSTRING.ini.
Slave 1: Standard Modbus device: Generic Modbus (Type 0), at address 2, named “SLAVE2” and dened
by the denition 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 Denition File
Every Modbus slave declared in the conguration le prexID_daq.ini must have a denition le.
The purpose of this le is to describe the whole set of variables available for a Modbus device.