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 [2017/08/21 14:19] t.hora [Columns] |
— (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^ | ||
| - | ^StationName|Modbus server address| | ||
| - | ^Name|Variable name| | ||
| - | ^Element|Register address| | ||
| - | ^Count|Number of modbus elements to be read/ | ||
| - | ^Function|Coil/ | ||
| - | ^Writable|0/ | ||
| - | ^StType|Standard Mervis IDE variable type| | ||
| - | ^ByteOrder|Leave empty for default byte order| | ||
| - | ^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, | ||
| - | </ | ||
| - | |||