11:lang: en
2+ :toc:
23
3- [[cha:mesa_modbusl ]]
4+ [[cha:mesa_modbus ]]
45
56= Mesa Modbus =
67
@@ -11,27 +12,29 @@ There are several existing ways to control Modbus devices with LinuxCNC,
1112and those should also be considered.
1213They include, but are not limited to:
1314
14- <<cha:mb2hal>>
15+ <<cha:mb2hal,MB2HAL >>
1516
1617https://forum.linuxcnc.org/24-hal-components/38733-vfdmod-an-easy-vfd-control-over-modbus-rtu?start=0#162435[vfdmod]
1718
18- <<cha:cl-programming>>
19+ <<cha:cl-programming,Classic Ladder >>
1920
2021There are also several drivers for specific VFDs, for example
2122
22- <<cha:mitsub>>
23+ <<cha:mitsub,Mitsubishi VFD >>
2324
24- <<hy_gt_vfd >>
25+ <<cha:vfs11-vfd,Toshiba-Schneider VF-S11 VFD >>
2526
26- <<hy_vfd >>
27+ <<cha:vfs11-vfd,Toshiba-Schneider VF-S11 VFD >>
2728
28- <<gs2_vfd>>
29+ hy-vfd - HuangYang VFD
2930
30- <<vfdb_vfd>>
31+ hy-gt-vfd - HuangYang GT VFD
3132
32- <<vfs11_vfd>>
33+ gs2-vfd - Automation Direct GS2 VFD
3334
34- <<wj200_vfd>>
35+ vfdb-vfd - Delta VFD-B VFD
36+
37+ wj200-vfd - Hitachi wj200 VFD
3538
3639For most applications (especially the "hy" (HuangYang) VFDs which do not
3740actually conform to true modbus) it is likely to be less work to use
@@ -152,6 +155,7 @@ system runs as fast as it can.
152155
153156The fault codes returned in "last error" are
154157
158+ [width="90%",options="header"]
155159|===
156160|Code|Fault
157161|1|Illegal Function
@@ -256,8 +260,9 @@ HAL_S32.
256260
257261The supported Modbus command types are:
258262
259- [cols=description, code ]
263+ [width="90%",options="header" ]
260264|===
265+ |Description|Code|
261266|Read Coils|1|
262267|Read Discrete Inputs|2|
263268|Read Multiple Holding Registers|3|
@@ -288,9 +293,11 @@ necessary except in the special case of the 'modcompile all' command,
288293which will compile and install all .mod files in the current directory.
289294
290295----
291- . /modcompile my_file.mod
296+ /modcompile my_file.mod
292297----
298+
293299or
300+
294301----
295302./modcompile all
296303----
300307----
301308sudo apt-get install linuxcnc-uspace-dev
302309----
310+
303311or
312+
304313----
305314sudo apt-get install linuxcnc-dev
306315----
316+
307317if using RTAI kernel realtime.
308318
309319Alternatively the package should be installable with the Synaptic
@@ -315,7 +325,7 @@ The Mesa serial ports have separate pins for Tx and Tx pairs. For RS422
315325Modbus RTU communications these should be connected at the Mesa card
316326Tx+ to Rx+ and Tx- to Rx-.
317327
318- Nore that there are differing naming standards for Modbus pins.
328+ Note that there are differing naming standards for Modbus pins.
319329Typically Rx+ and TX+ will connect to the B- pin on the modbus device
320330and Rx- and Tx- will connect to the A+ pin. (ie, +/- will appear
321331reversed.
@@ -365,3 +375,4 @@ mesaflash --device 7i96 --addr 10.10.10.10 --rpo 0x6500
365375mesaflash --device 7i96 --addr 10.10.10.10 --rpo 0x6500
366376----
367377
378+ // vim: set syntax=asciidoc:
0 commit comments