Differences
This shows you the differences between two versions of the page.
en:mervis-ide:30-communication-protocols:30-modbus [2020/11/04 08:58] m.chlupac |
en:mervis-ide:30-communication-protocols:30-modbus [2024/05/08 10:42] |
||
---|---|---|---|
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, | ||
- | </ | ||
- | |||
- | <code csv ModbusDefinition2.csv> | ||
- | 1, | ||
- | 1, | ||
- | 1, | ||
- | </ | ||
- | |||