EasyManua.ls Logo

Webdyn WebdynSunPM - Page 48

Webdyn WebdynSunPM
56 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...
49
USER GUIDE WebdynSunPM
WebdynSunPM User guide Version 1.0
- Definition files (DEF)
Currently, only Modbus devices are managed by the WebdynSunPM concentrator. The files
defining these devices are contained in the "MODBUS/" subdirectory of the definition
directory (by default, "DEF/").
These files describe the variables of the Modbus slaves connected to the concentrator, and
the method (requests) for retrieving them.
Each file contains two declaration tables:
- "Modbus_RequestsTables" declarations are shown in the table below. Each element
in this table is defined by 10 fields separated by a semicolon.
Champ
Description
reqId
Request index from 1 to N
reqName
Name of Modbus request
readFunctionCode
Function code and sub-code (read only)
Standard codes managed:
1 => “read coils
2 => “read discrete inputs”
3 => “read holding registers”
4 => “read input registers”
writeFunctionCode
Function code and sub-code (read/write)
Standard codes managed:
5 => “write single coils”
6 => “write single register”
15 => “write multiple coils”
16 => “write multiple registers”
startRegister
Address of the first Modbus register
0 to 65535
size
Response size without header or CRC (in octets)
1 to 250
Modbus_RequestsTables={
reqId;reqName;readFunctionCode;writeFunctionCode;startRegister;size;enableReading;enableWritin
g;option1;option2
}
Modbus_VariablesTables={
varId;indexRequest;varName;type;signed;position;option1;option2;coefA;coefB;unit;action
}

Other manuals for Webdyn WebdynSunPM