Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:mervis-ide:30-communication-protocols:30-modbus [2017/07/25 15:35] m.chlupac created |
en:mervis-ide:30-communication-protocols:30-modbus [2024/05/08 10:42] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Import Device Definition ===== | ===== Import Device Definition ===== | ||
- | You can use use simple CSV file to import definition of modbus device into your Mervis IDE project. | + | You can use simple CSV file to import definition of modbus device into your Mervis IDE project. |
- | <code csv ModbusDefinition.csv> | + | ==== Columns ==== |
- | StationNumber,Name,Element,Count,Function,Writable, | + | |
- | StationNumber, | + | ^ Name ^ Description |
+ | ^ StationNumber | ||
+ | ^ Name | Variable name | | ||
+ | ^ Element | ||
+ | ^ Count | Number of modbus elements to be read/ | ||
+ | ^ Function | ||
+ | ^ Writable | ||
+ | ^ StType | ||
+ | ^ ByteOrder | ||
+ | ^ K | Transformation parameter for y = Kx + Q | | ||
+ | ^ Q | Transformation parameter for y = Kx + Q | | ||
+ | ^ X1 | Alternative definition for y = Kx + Q, where the parameters are computed from [X1,Y1], [X2,Y2] points of the line. | | ||
+ | ^ Y1 | Alternative definition for y = Kx + Q, where the parameters are computed from [X1,Y1], [X2,Y2] points of the line. | | ||
+ | ^ X2 | Alternative definition for y = Kx + Q, where the parameters are computed from [X1,Y1], [X2,Y2] points of the line. | | ||
+ | ^ Y2 | Alternative definition for y = Kx + Q, where the parameters are computed from [X1,Y1], [X2,Y2] points of the line. | | ||
+ | |||
+ | |||
+ | <code csv ModbusDefinition.csv> | ||
1, | 1, | ||
1, | 1, | ||
Line 15: | Line 32: | ||
1, | 1, | ||
1, | 1, | ||
- | 1, | + | 1, |
1, | 1, | ||
1, | 1, | ||
Line 23: | Line 40: | ||
1, | 1, | ||
1, | 1, | ||
- | 1, | + | 1, |
1, | 1, | ||
1, | 1, | ||
1, | 1, | ||
+ | </ | ||
+ | |||
+ | <code csv ModbusDefinition2.csv> | ||
+ | 1, | ||
+ | 1, | ||
+ | 1, | ||
</ | </ | ||