7i96 step + or -, + other question

More
11 Dec 2019 09:56 #152476 by Leon82
I used axis and gmocappy.
I'll take a look at halscope after work today

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

More
11 Dec 2019 22:26 #152500 by Leon82
Using qtpyvcp it goes on solidly. No blink

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

More
11 Dec 2019 22:57 #152502 by PCW
It may have to do with your specific hal connections
I don't see any blink with Axis either
The following user(s) said Thank You: Leon82

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

More
11 Dec 2019 23:34 #152504 by grandixximo
Can you post your qtpyvcp and your axis Hal and ini files?

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

More
11 Dec 2019 23:44 #152505 by Leon82
here are the hal and ini

File Attachment:

File Name: io.hal
File Size:1 KB

File Attachment:

File Name: x3mesa.hal
File Size:8 KB

File Attachment:

File Name: x3mesa.ini
File Size:4 KB



qtpyvcp

github.com/leonpk82/vcp2

github.com/leonpk82/vcp2.git
Attachments:
The following user(s) said Thank You: grandixximo

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

More
12 Dec 2019 00:18 #152506 by grandixximo
I think your problem maybe here.


net estop-loopout iocontrol.0.emc-enable-in <= estop-latch.0.ok-out
net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in
net estop-reset iocontrol.0.user-request-enable => estop-latch.0.reset
net remote-estop estop-latch.0.fault-in <= hm2_7i96.0.gpio.000.in



Try to change to a simpler

net estop-test hm2_7i96.0.gpio.000.in => iocontrol.0.emc-enable-in
The following user(s) said Thank You: Leon82

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

More
09 Jan 2020 23:09 #154497 by Leon82
So, for software pwm on an output....

Do i supply 5 volts to the output and it will cycle the relay at the frequency?

I need type,0 1 wire

20 Hertz frequency
Duty cycle min 15-20
Duty cycle max 90-94(motor stalls at 95)

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

More
12 Jan 2020 14:07 #154671 by Leon82
It looks like the card doesn't like pwm mode 0.

Can you run mode 1 without the dir signal?

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

More
12 Jan 2020 14:21 #154672 by PCW
Its not the mode, its that the standard firmware has no pwmgen

If you want a low frequency PWM on an isolated output you would have to load the software PWM component:

loadrt pwmgen output_type=0
addf pwmgen.update servo-thread
addf pwmgen.make-pulses servo-thread
setp pwmgen.0.pwm-freq 20
setp pwmgen.0.enable true
net lowfreqpwm hm2_7i96.0.ssr.00.out-00 pwmgen.0.pwm
The following user(s) said Thank You: Leon82

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

More
12 Jan 2020 14:53 #154675 by Leon82
Thank you,

I did load the 4 step +q pwm from big John's tool

I will experiment with the software pwm

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

Time to create page: 0.079 seconds
Powered by Kunena Forum