- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Logic assignments for VFD/Spindle control and EStops (7i96s)
Logic assignments for VFD/Spindle control and EStops (7i96s)
25 Jul 2023 19:23 #276252
by PCW
Replied by PCW on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
Another option if you don't want to reconnect all the switch commons is to
add an external 24V pullup resistor to the UPF signal (say 2K 1W)
Then the UPF signal will be a positive voltage that can be detected
by the 7I96S inputs when the input common is ground.
+24V --> Pullup resistor pin 1
UPF --> Pullup resistor pin 2 and 7I96S input
add an external 24V pullup resistor to the UPF signal (say 2K 1W)
Then the UPF signal will be a positive voltage that can be detected
by the 7I96S inputs when the input common is ground.
+24V --> Pullup resistor pin 1
UPF --> Pullup resistor pin 2 and 7I96S input
The following user(s) said Thank You: supermoto
Please Log in or Create an account to join the conversation.
27 Jul 2023 01:13 #276339
by supermoto
Replied by supermoto on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
I switched the wiring around since it was easy.
Ill work on the vfd stuff next and report back.
Ill work on the vfd stuff next and report back.
Please Log in or Create an account to join the conversation.
28 Jul 2023 01:56 - 28 Jul 2023 02:12 #276419
by supermoto
If I attach PSU (-) to DCM, and then an output (-) to DCM, is that correct?
Isn't that the same as the output (-) to PSU (-)?
I have:out0(-) to DCMOut0( ) to VFD FOR
Still can't get spindle to be active when pressing [F9]
I tried assigning the output to "Spindle Enable" and also "Spindle CW" also cycled through parameters in VFD for that input between "Run", "For rotation", "FOR/REV" for each iteration.
Should i be able to meter any output voltage between Out0( ) and Out0(-) when active (when LED is on)?
Replied by supermoto on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
Yes. the UPF and DRV outputs are sinking (pulldown) outputs.
If you wish to wire these tot a 7I96S isolated input you would need to connect the 7I96S input common (TB3 pin 12) to 24V and the 24V supply common to DCM.
The VFD's FOR and REV inputs must be grounded to activate so you would connect for example:
7I96S OUT4 --> VFD FOR
7I96S OUT4- --> DCM
If I attach PSU (-) to DCM, and then an output (-) to DCM, is that correct?
Isn't that the same as the output (-) to PSU (-)?
I have:out0(-) to DCMOut0( ) to VFD FOR
Still can't get spindle to be active when pressing [F9]
I tried assigning the output to "Spindle Enable" and also "Spindle CW" also cycled through parameters in VFD for that input between "Run", "For rotation", "FOR/REV" for each iteration.
Should i be able to meter any output voltage between Out0( ) and Out0(-) when active (when LED is on)?
Last edit: 28 Jul 2023 02:12 by supermoto. Reason: formatting
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
28 Jul 2023 02:03 #276421
by tommylight
Replied by tommylight on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
No voltage, but might measure a change in resistance and should definitely measure in Diode mode on the DVM as it should be an optocoupler, if i recall correctly.Should i be able to meter any output voltage between Out0( ) and Out0(-) when active (when LED is on)?
Please Log in or Create an account to join the conversation.
28 Jul 2023 02:11 #276423
by PCW
Replied by PCW on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
Before connecting to the 7I96S outputs, I would verify FOR and REV operation
with a switch, when this works, you can replace the switch with the appropriate
OUTN+,OUTN- pair (the OUT4,5 don't care about polarity but OUTs 0..3 do))
with a switch, when this works, you can replace the switch with the appropriate
OUTN+,OUTN- pair (the OUT4,5 don't care about polarity but OUTs 0..3 do))
Please Log in or Create an account to join the conversation.
28 Jul 2023 03:29 #276426
by supermoto
Replied by supermoto on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
Where would the switch go in that "circuit"?
PSU(-) to DCM
and
PSU (+) to switch to FOR
then check PSU(-) to DCM
and
PSU(+) to switch to REV
PSU(-) to DCM
and
PSU (+) to switch to FOR
then check PSU(-) to DCM
and
PSU(+) to switch to REV
Please Log in or Create an account to join the conversation.
28 Jul 2023 03:36 #276427
by PCW
Replied by PCW on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
No PSU involved at all, look at the switches in the drawing,
the switches are simply between FOR or REV and DCM.
the switches are simply between FOR or REV and DCM.
Please Log in or Create an account to join the conversation.
29 Jul 2023 11:55 - 29 Jul 2023 11:58 #276523
by supermoto
Replied by supermoto on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
I am not getting the VFD enabled when connecting:
DCM to FOR
And
DCM to REV
(both switches closed)
I have VFD parameters set where FOR is "run" and REV is "For/Rev" as described here:
www.diycncdesign.com/linuxcnc-2.8-huanyang-vfd.html
So I'm not sure if there's something wrong with the hardware (i don't think so because all other functions work as expected), or there's still something I'm missing (the more likely scenario).
DCM to FOR
And
DCM to REV
(both switches closed)
I have VFD parameters set where FOR is "run" and REV is "For/Rev" as described here:
www.diycncdesign.com/linuxcnc-2.8-huanyang-vfd.html
So I'm not sure if there's something wrong with the hardware (i don't think so because all other functions work as expected), or there's still something I'm missing (the more likely scenario).
Last edit: 29 Jul 2023 11:58 by supermoto.
Please Log in or Create an account to join the conversation.
29 Jul 2023 16:10 #276528
by PCW
Replied by PCW on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
Does sound like a setup issue with the drive since the same wiring worked in the linked page
Please Log in or Create an account to join the conversation.
30 Jul 2023 11:13 #276556
by supermoto
Replied by supermoto on topic Logic assignments for VFD/Spindle control and EStops (7i96s)
You were correct!
My VFD parameter PD001 was set to 0, instead of 1.
I got the enable command working by connecting Out0(-) and Out0(+) to DCM and FOR respectively.
Ill move on to the other functions and see if they are operational now too. (Both inputs and outputs)
My VFD parameter PD001 was set to 0, instead of 1.
I got the enable command working by connecting Out0(-) and Out0(+) to DCM and FOR respectively.
Ill move on to the other functions and see if they are operational now too. (Both inputs and outputs)
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Logic assignments for VFD/Spindle control and EStops (7i96s)
Time to create page: 0.098 seconds