7i96 step + or -, + other question
- PCW
- Online
- Moderator
Less
More
- Posts: 17937
- Thank you received: 4790
12 Jan 2020 15:08 - 12 Jan 2020 15:08 #154677
by PCW
Replied by PCW on topic 7i96 step + or -, + other question
For hardware PWM there is no output_type 0
(Though I guess the driver could implement this )
So if you enable the hardware PWMgen you get both PWM and direction
on the Step/Dir 4 pins. If you disable the hardware pwmgen (or stepgen4 in
normal firmware) you can use the step/dir 4 pins as general purpose outputs
for software PWM etc
(Though I guess the driver could implement this )
So if you enable the hardware PWMgen you get both PWM and direction
on the Step/Dir 4 pins. If you disable the hardware pwmgen (or stepgen4 in
normal firmware) you can use the step/dir 4 pins as general purpose outputs
for software PWM etc
Last edit: 12 Jan 2020 15:08 by PCW.
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
Less
More
- Posts: 596
- Thank you received: 77
12 Jan 2020 15:13 #154678
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
1 more question,
Does the software pwm on the output generate the 5v signal or am I required to run 5 volts to the output (and the output generates the pulse from that by cycling the relay)
Thanks
Does the software pwm on the output generate the 5v signal or am I required to run 5 volts to the output (and the output generates the pulse from that by cycling the relay)
Thanks
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17937
- Thank you received: 4790
12 Jan 2020 15:19 - 12 Jan 2020 15:25 #154679
by PCW
Replied by PCW on topic 7i96 step + or -, + other question
Which output?
The step/dir outputs are 5V signals but with limited (24 mA) drive
The SSR outputs are switches and can switch 0 to 36V at up to 2A
The step/dir outputs are 5V signals but with limited (24 mA) drive
The SSR outputs are switches and can switch 0 to 36V at up to 2A
Last edit: 12 Jan 2020 15:25 by PCW.
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
Less
More
- Posts: 596
- Thank you received: 77
12 Jan 2020 15:27 - 12 Jan 2020 15:28 #154680
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
One of the isolated ones (ssr)
Last edit: 12 Jan 2020 15:28 by Leon82.
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17937
- Thank you received: 4790
12 Jan 2020 15:36 #154682
by PCW
Replied by PCW on topic 7i96 step + or -, + other question
The SSR outputs are simply switches always require and external supply to power a load
for example
+5V --> OUT00+ ---> OUT00- --> Load+ --> Load- --> GND
for a 5V load device
Note that you need a flyback diode across mechanical relay coils
Also note that the SSR outputs are not protected against shorts so
test with a current limited supply or make sure your circuit works
with a mechanical switch substituted for the SSR outputs before wiring
to the 7I96
for example
+5V --> OUT00+ ---> OUT00- --> Load+ --> Load- --> GND
for a 5V load device
Note that you need a flyback diode across mechanical relay coils
Also note that the SSR outputs are not protected against shorts so
test with a current limited supply or make sure your circuit works
with a mechanical switch substituted for the SSR outputs before wiring
to the 7I96
The following user(s) said Thank You: Leon82
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
Less
More
- Posts: 596
- Thank you received: 77
12 Jan 2020 15:37 #154683
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
Ok, thanks.
I figured, just wanted to make sure
I figured, just wanted to make sure
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
Less
More
- Posts: 596
- Thank you received: 77
12 Jan 2020 15:53 #154685
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
Although it sounds easier to use the dir from step4
Please Log in or Create an account to join the conversation.
- PCW
- Online
- Moderator
Less
More
- Posts: 17937
- Thank you received: 4790
12 Jan 2020 16:06 #154687
by PCW
Replied by PCW on topic 7i96 step + or -, + other question
If you are driving a mechanical relay the SSR output is more suitable
If you are driving an Optocoupler or AC SSR the Step/DIr outputs shoud be fine
The step/dir outputs are only rated 24 mA which will not drive most 5V
mechanical relays. The SSR outputs can drive 5VDC, 12VDC, or 24VDC relays
or contactors
If you are driving an Optocoupler or AC SSR the Step/DIr outputs shoud be fine
The step/dir outputs are only rated 24 mA which will not drive most 5V
mechanical relays. The SSR outputs can drive 5VDC, 12VDC, or 24VDC relays
or contactors
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
Less
More
- Posts: 596
- Thank you received: 77
12 Jan 2020 16:13 - 12 Jan 2020 16:20 #154688
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
I'm going to send the pwm signal to the treadmill motor controller, which only has 1 wire needed
So currently the SSR relay I'm planning to connect to machine on. Which will energize the controller.
Then on spindle on I would start the PWM signal
I'm not sure how I would close the circuit using an output when I only need the 1 wire
So currently the SSR relay I'm planning to connect to machine on. Which will energize the controller.
Then on spindle on I would start the PWM signal
I'm not sure how I would close the circuit using an output when I only need the 1 wire
Last edit: 12 Jan 2020 16:20 by Leon82.
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
Less
More
- Posts: 596
- Thank you received: 77
12 Jan 2020 17:54 #154702
by Leon82
Replied by Leon82 on topic 7i96 step + or -, + other question
How can I change this
net lowfreqpwm hm2_7i96.0.ssr.00.out-00 pwmgen.0.pwm
To make the pulses on step+4 pin on spindle cw? I set it back to 5 step gens
net lowfreqpwm hm2_7i96.0.ssr.00.out-00 pwmgen.0.pwm
To make the pulses on step+4 pin on spindle cw? I set it back to 5 step gens
Please Log in or Create an account to join the conversation.
Time to create page: 0.069 seconds