Skip to content

Commit 4ec47f2

Browse files
committed
Merge branch '2.9'
2 parents b541821 + 7baecb6 commit 4ec47f2

5 files changed

Lines changed: 31 additions & 13 deletions

File tree

docs/src/Submakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ DOC_SRCS_EN := \
6666
drivers/gs2.adoc \
6767
drivers/hostmot2.adoc \
6868
drivers/mb2hal.adoc \
69+
drivers/mesa_modbus.adoc \
6970
drivers/motenc.adoc \
7071
drivers/opto22.adoc \
7172
drivers/pico-ppmc.adoc \

docs/src/drivers/mesa_modbus.adoc

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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,
1112
and those should also be considered.
1213
They include, but are not limited to:
1314

14-
<<cha:mb2hal>>
15+
<<cha:mb2hal,MB2HAL>>
1516

1617
https://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

2021
There 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

3639
For most applications (especially the "hy" (HuangYang) VFDs which do not
3740
actually 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

153156
The 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

257261
The 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,
288293
which 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+
293299
or
300+
294301
----
295302
./modcompile all
296303
----
@@ -300,10 +307,13 @@ or
300307
----
301308
sudo apt-get install linuxcnc-uspace-dev
302309
----
310+
303311
or
312+
304313
----
305314
sudo apt-get install linuxcnc-dev
306315
----
316+
307317
if using RTAI kernel realtime.
308318

309319
Alternatively 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
315325
Modbus RTU communications these should be connected at the Mesa card
316326
Tx+ 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.
319329
Typically Rx+ and TX+ will connect to the B- pin on the modbus device
320330
and Rx- and Tx- will connect to the A+ pin. (ie, +/- will appear
321331
reversed.
@@ -365,3 +375,4 @@ mesaflash --device 7i96 --addr 10.10.10.10 --rpo 0x6500
365375
mesaflash --device 7i96 --addr 10.10.10.10 --rpo 0x6500
366376
----
367377

378+
// vim: set syntax=asciidoc:

docs/src/gui/qtdragon.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,10 @@ It is up to the end user to supply the appropriate driver and HAL file connectio
567567
QtDragon can be set up to automatically raise and lower the Z axis when the spindle is paused. +
568568
When a program is paused, then you press the 'Spindle Pause' button to stop the spindle and raise it in Z. +
569569
Press the button again to start spindle and lower it, then unpause the program. +
570+
If you have the HAL pin 'spindle.0.at-speed' connected to a driving pin, the spindle will not lower until the pin is true +
571+
You typically connect this to a timer or logic that detects the speed of the spindle. +
572+
If that pin is not connected to a driving pin, a dialog will pop up to warn you to wait for the spindle response. +
573+
The spindle will lower when you close that dialog. +
570574
The amount to raise is set in the 'Settings' tab under the heading 'SPINDLE RAISE'. +
571575
This line edit box can only be directly set when not in Auto mode. +
572576
The up/down buttons can be used to adjust the raise amount at any time, including when the spindle is already raised. +

docs/src/index.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ function setup_page(){
209209
<li><a href="drivers/gs2.html">GS2 Driver</a></li>
210210
<li><a href="drivers/hostmot2.html">Mesa HostMot2 Driver</a></li>
211211
<li><a href="drivers/mb2hal.html">Modbus to HAL Driver</a></li>
212+
<li><a href="drivers/mesa_modbus.html">Modbus framework for Mesa cards</a></li>
212213
<li><a href="drivers/mitsub-vfd.html">Mitsubishi VFD Driver</a></li>
213214
<li><a href="drivers/motenc.html">Motenc Driver</a></li>
214215
<li><a href="drivers/opto22.html">Opto22 Driver</a></li>

lib/python/qtvcp/widgets/basic_probe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def homed_on_status():
125125

126126
# must directly initialize
127127
self.statuslabel_motiontype.hal_init()
128+
self.led_probe.hal_init()
128129

129130
if self.PREFS_:
130131
self.lineEdit_probe_tool.setText(self.PREFS_.getpref('Probe tool', '0', str, 'PROBE OPTIONS'))

0 commit comments

Comments
 (0)