Using a 7i83 to control a DYN4 servo using analog -+10v
- JohnnyCNC
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 543
- Thank you received: 100
16 Jul 2018 00:44 #114252
by JohnnyCNC
Using a 7i83 to control a DYN4 servo using analog -+10v was created by JohnnyCNC
I'm trying to control a DYN4 1.8kw servo being used as a spindle motor via analog -+10v. I have a Mesa 5i25+7i76+7i83 running under LinuxCNC. I have 24v field power connected to the 7i83 and I have this connection in the HAL and I and see the value on the hm2_5i25.0.7i83.0.1.analogout0 pin the HAL watch but I am not measuring any voltage above .3mv on the AGND and AOUT pins (3 & 4).
net spindle-output => hm2_5i25.0.7i83.0.1.analogout0
I think I am alright on the LinuxCNC part but maybe not.
I thought all I would need to do is to hook the 7i83 AGND to the DYN4 AIN- and the 7i83 AOUT to the DYN4 AIN+. But before I actually made the connection I thought I would check the voltage and I'm not reading anything. Any ideas?
Thanks
John
net spindle-output => hm2_5i25.0.7i83.0.1.analogout0
I think I am alright on the LinuxCNC part but maybe not.
I thought all I would need to do is to hook the 7i83 AGND to the DYN4 AIN- and the 7i83 AOUT to the DYN4 AIN+. But before I actually made the connection I thought I would check the voltage and I'm not reading anything. Any ideas?
Thanks
John
Please Log in or Create an account to join the conversation.
- JohnnyCNC
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 543
- Thank you received: 100
16 Jul 2018 00:53 #114253
by JohnnyCNC
Replied by JohnnyCNC on topic Using a 7i83 to control a DYN4 servo using analog -+10v
I just made a little progress. I added "hm2_5i25.0.7i83.0.1.analogena0" in the HAL.
net spindle.is-on halui.spindle.is-on => vc-p4s.spindle.is-on hm2_5i25.0.7i83.0.1.analogena0
Now I just get a fixed 10v.
net spindle.is-on halui.spindle.is-on => vc-p4s.spindle.is-on hm2_5i25.0.7i83.0.1.analogena0
Now I just get a fixed 10v.
Please Log in or Create an account to join the conversation.
- JohnnyCNC
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 543
- Thank you received: 100
16 Jul 2018 02:22 #114260
by JohnnyCNC
Replied by JohnnyCNC on topic Using a 7i83 to control a DYN4 servo using analog -+10v
Making more progress. I changed the HAL entry to this:
net spindle-vel-cmd-rps => hm2_5i25.0.7i83.0.1.analogout0
I now get variable voltage values both positive and negative although the step seem a bit course. I think I'm on the right track now.
net spindle-vel-cmd-rps => hm2_5i25.0.7i83.0.1.analogout0
I now get variable voltage values both positive and negative although the step seem a bit course. I think I'm on the right track now.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 18001
- Thank you received: 4843
16 Jul 2018 02:52 #114264
by PCW
Replied by PCW on topic Using a 7i83 to control a DYN4 servo using analog -+10v
You should normally set the 7I83 analog scale and limits to the
spindle RPM at 10V and the spindle-vel-cmd (in RPM) to the analog out pins
spindle RPM at 10V and the spindle-vel-cmd (in RPM) to the analog out pins
Please Log in or Create an account to join the conversation.
- JohnnyCNC
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 543
- Thank you received: 100
16 Jul 2018 03:19 #114269
by JohnnyCNC
Replied by JohnnyCNC on topic Using a 7i83 to control a DYN4 servo using analog -+10v
Thanks PCW. Setting the scale was the part I was thinking was missing. I did it for my current 0-10v on the 7i76 and now I am looking at how to do it for this.
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds