Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:mervis-ide:30-communication-protocols:30-modbus [2018/11/19 12:01] m.chlupac [Table] |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Modbus ====== | ||
| - | |||
| - | ===== Import Device Definition ===== | ||
| - | |||
| - | You can use simple CSV file to import definition of modbus device into your Mervis IDE project. | ||
| - | |||
| - | ==== Columns ==== | ||
| - | |||
| - | ^ 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, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | 1, | ||
| - | </ | ||
| - | |||