@@ -89,7 +89,7 @@ gm.0.gpio.0.in-0
8989----
9090
9191indicates the state of the first pin of the first GPIO
92- connector on the GM6-PCI card. Hal pins are updated by function
92+ connector on the GM6-PCI card. HAL pins are updated by function
9393
9494----
9595gm.<nr of card>.read
@@ -180,7 +180,7 @@ gm.0.encoder.0.position
180180refers to the position of encoder module of axis 0.
181181
182182The GM6-PCI card counts the encoder signal independently from LinuxCNC.
183- Hal pins are updated by function:
183+ HAL pins are updated by function:
184184
185185----
186186gm.<nr of card>.read
@@ -197,7 +197,7 @@ gm.<nr of card>.read
197197| .index-enabled | (bit, IO) | When True, counts and position are rounded or reset
198198 (depends on index-mode) on next rising edge of channel-I.
199199 Every time position is reset because of Index, index-enabled
200- pin is set to 0 and remain 0 until connected hal pin does
200+ pin is set to 0 and remain 0 until connected HAL pin does
201201 not set it.
202202| .velocity | (float, Out) | Velocity in scaled units per second. GM encoder uses high
203203 frequency hardware timer to measure time between encoder
@@ -262,14 +262,14 @@ Connect encoder position to LinuxCNC position feedback:
262262net Xpos-fb gm.0.encoder.0.position => joint.0.motor-pos-fb
263263----
264264
265- === Stepgen module
265+ === StepGen module
266266
267- The GM6-PCI motion control card has six stepgen modules, one for each joint.
267+ The GM6-PCI motion control card has six StepGen modules, one for each joint.
268268Each module has two output signals. It can produce Step/Direction,
269- Up/Down or Quadrature (A/B) pulses. Each stepgen module is connected
269+ Up/Down or Quadrature (A/B) pulses. Each StepGen module is connected
270270to the pins of the corresponding RJ50 axis connector.
271271
272- Every stepgen pin and parameter name begins as follows:
272+ Every StepGen pin and parameter name begins as follows:
273273
274274----
275275gm.<nr of card>.stepgen.<nr of axis>
@@ -281,10 +281,10 @@ where nr of axis is from 0 to 5. For example:
281281gm.0.stepgen.0.position-cmd
282282----
283283
284- refers to the position command of stepgen module of axis 0 on card 0.
284+ refers to the position command of StepGen module of axis 0 on card 0.
285285
286286The GM6-PCI card generates step pulses independently from LinuxCNC.
287- Hal pins are updated by function
287+ HAL pins are updated by function
288288
289289----
290290gm.<nr of card>.write
@@ -309,10 +309,10 @@ gm.<nr of card>.write
309309| Parameters | Type and Read/Write | Parameter description
310310| .step-type | (u32, R/W) | When 0, module produces Step/Dir signal. When 1, it
311311 produces Up/Down step signals. And when it is 2, it
312- produces quadrature output signals.
312+ produces quadrature output signals.
313313| .control-type | (bit, R/W) | When True, .velocity-cmd is used as reference and velocity
314314 control calculate pulse rate output. When False, .position-cmd
315- is used as reference and position control calculate pulse rate output.
315+ is used as reference and position control calculate pulse rate output.
316316| .invert-step1 | (bit, R/W) | Invert the output of channel 1 (Step signal in StepDir mode)
317317| .invert-step2 | (bit, R/W) | Invert the output of channel 2 (Dir signal in StepDir mode)
318318| .maxvel | (float, R/W) | Maximum velocity in position units per second. If it is set to 0.0,
@@ -332,7 +332,7 @@ image::images/GM_RefSignals.png["Reference signal timing diagrams",align="center
332332
333333.HAL example
334334
335- Setting stepgen module of axis 0 to generate 1000 step pulse per position unit:
335+ Setting StepGen module of axis 0 to generate 1000 step pulse per position unit:
336336
337337----
338338setp gm.0.stepgen.0.step-type 0 # 0:stepDir, 1:UpDown, 2:Quad
@@ -349,7 +349,7 @@ setp gm.0.stepgen.0.stepspace1000 # 1000 ns = 1 us
349349setp gm.0.stepgen.0.dirdelay 2000 # 2000 ns = 2 us
350350----
351351
352- Connect stepgen to axis 0 position reference and enable pins:
352+ Connect StepGen to axis 0 position reference and enable pins:
353353
354354----
355355net Xpos-cmd joint.0.motor-pos-cmd => gm.0.stepgen.0.position-cmd
@@ -362,7 +362,7 @@ The GM6-PCI motion control card has one enable output and one fault
362362input HAL pins, both are connected to each RJ50 axis connector
363363and to the CAN connector.
364364
365- Hal pins are updated by function:
365+ HAL pins are updated by function:
366366
367367----
368368gm.<nr of card>.read
@@ -400,7 +400,7 @@ gm.0.dac.0.value
400400----
401401
402402refers to the output voltage of DAC module of axis 0.
403- Hal pins are updated by function:
403+ HAL pins are updated by function:
404404
405405----
406406gm.<nr of card>.write
@@ -469,7 +469,7 @@ gm.0.can-gm.0.position
469469
470470refers to the output position of axis 0 in position units.
471471
472- Hal pins are updated by function:
472+ HAL pins are updated by function:
473473
474474----
475475gm.<nr of card>.write
@@ -566,7 +566,7 @@ gm.0.joint.0.home-sw-in
566566
567567indicates the state of the axis 0 home switch.
568568
569- Hal pins are updated by function:
569+ HAL pins are updated by function:
570570
571571----
572572gm.<nr of card>.read
0 commit comments