File tree Expand file tree Collapse file tree
src/hal/drivers/mesa-hostmot2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -327,8 +327,7 @@ Tx+ to Rx+ and Tx- to Rx-.
327327
328328Note that there are differing naming standards for Modbus pins.
329329Typically Rx+ and TX+ will connect to the B- pin on the modbus device
330- and Rx- and Tx- will connect to the A+ pin. (ie, +/- will appear
331- reversed.
330+ and Rx- and Tx- will connect to the A+ pin, i.e., +/- will appear reversed.
332331
333332
334333=== Ad-hoc Modbus device access ===
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ HALUI = halui
2323
2424To connect a remote program start button to LinuxCNC you use the
2525`halui.program.run` pin and the `halui.mode.auto` pin.
26- You have to insure that it is OK to run first by using the
26+ You have to ensure that it is OK to run first by using the
2727`halui.mode.is-auto` pin. You do this with an `and2`
2828component. The following figure shows how this is done.
2929When the Remote Run Button is pressed it is connected to
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ static int hm2_plx9054_reset(hm2_lowlevel_io_t *this) {
394394 control = status | DONE_ENABLE_5I22 | _PROG_ENABLE_5I22 ;
395395 rtapi_outl (control , board -> ctrl_base_addr + CTRL_STAT_OFFSET_5I22 );
396396
397- // Turn off /PROGRAM bit and insure that DONE isn't asserted
397+ // Turn off /PROGRAM bit and ensure that DONE is not asserted
398398 rtapi_outl (control & ~_PROGRAM_MASK_5I22 , board -> ctrl_base_addr + CTRL_STAT_OFFSET_5I22 );
399399
400400 status = rtapi_inl (board -> ctrl_base_addr + CTRL_STAT_OFFSET_5I22 );
@@ -411,7 +411,7 @@ static int hm2_plx9054_reset(hm2_lowlevel_io_t *this) {
411411
412412 // Delay for at least 100 uS. to allow the FPGA to finish its reset
413413 // sequencing. 3300 reads is at least 100 us, could be as long as a
414- // few ms
414+ // few ms.
415415 for (i = 0 ; i < 3300 ; i ++ ) {
416416 status = rtapi_inl (board -> ctrl_base_addr + CTRL_STAT_OFFSET );
417417 }
You can’t perform that action at this time.
0 commit comments