mesa 7i47S as 3 axis stepper driver

More
08 Feb 2018 16:06 #105582 by mpvriens
no voltage between RXN and /RXN
only +5volt , and on P4 pin 6 and 3 from board

Have setp output from false to true, but no outputvlotage on output pin on the board
Attachments:

Please Log in or Create an account to join the conversation.

More
08 Feb 2018 16:30 #105584 by PCW
If you dont have differential voltage across the RXN, /RXN inputs you will not read the encoder,
so if the encoder does have differential outputs its possible you have a wiring error of
some kind.

GPIO I/O on hostmot2 cards starts in input mode and must be set to output mode to use GPIO pins as outputs
Output mode is selected by setting the is_output attribute for each GPIO pin you wish to be an output, for example:

setp hm2_5i24.0.gpio.040.is_output true

Please Log in or Create an account to join the conversation.

More
08 Feb 2018 17:20 #105592 by mpvriens
I’ll check wiring

Have set all the output pins into my hall file
Output 40 till 47 to be true (see attachement before)
Setp hm2_5i24.0.gpio.040.is_output true
But still no output, have put 24 volt on + and measure on - output pin to ground, also don’t measure signal on gate of mosfet

Please Log in or Create an account to join the conversation.

More
08 Feb 2018 17:29 - 08 Feb 2018 17:29 #105593 by PCW
the output levels (at the cable) need to be low to enable the 7I37TA output
Last edit: 08 Feb 2018 17:29 by PCW.

Please Log in or Create an account to join the conversation.

More
09 Feb 2018 07:44 #105621 by mpvriens
I this a setting? how can i fix this

Please Log in or Create an account to join the conversation.

More
09 Feb 2018 14:03 - 09 Feb 2018 14:04 #105636 by PCW
Did you set the is-output attributes of the GPIO pins you need to be outputs?
If not you can change the output state but the external pin will remain an input (and stuck high)
Last edit: 09 Feb 2018 14:04 by PCW.

Please Log in or Create an account to join the conversation.

More
09 Feb 2018 14:38 #105637 by mpvriens
For me i have done it, please see atachement
Hal
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Feb 2018 14:57 #105638 by PCW
OK that looks right (for a 7I37TA on the middle 5I24 connection)
If you toggle the output state of say GPIO040 does the GPIO040 input state also toggle?
( the input GPIO pin reads the external pin state )

Please Log in or Create an account to join the conversation.

More
09 Feb 2018 15:05 #105639 by mpvriens
If i toggle the output of GPIO040 , the input does not toggle,

Please Log in or Create an account to join the conversation.

More
09 Feb 2018 15:11 #105640 by PCW
Make sure you are using watch or halmeter ( "show" doesn't show the current state of pins )

If "watch" or halmeter don't show the inputs following the output state ( and the is_output attribute is set for that pin)
this suggests that the watchdog has bitten

Please Log in or Create an account to join the conversation.

Time to create page: 0.377 seconds
Powered by Kunena Forum