Again 0-10V Problem on MESA 7i97

More
3 years 1 week ago #283376 by nighteagle
Okay - misunderstanding.

My VFD have an input and i drive it with an relay with the ouptut of the mesa-card.

If i test it with:

setp [HMOT](CARD0).ssr.00.out-01 true

Activate the relay and the contact close on the VFD and it means reverse.

setp [HMOT](CARD0).ssr.00.out-01 false

Deactivate the relay and the contact opens and VFD is on forward.

So the signal is linked on to the pin-name in my config:

net spindle-cw spindle.0.forward => [HMOT](CARD0).ssr.00.out-01

How i know the output go to true? And if i will have inverse logic and want to have a false on the output?


net spindle-cw spindle.0.forward => [HMOT](CARD0).ssr.00.out-01 false

is not working!?

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

More
3 years 1 week ago #283538 by PCW
I would not expect that to work as all VFD interfaces I know use two control pins,
Ether FWD/REV or DIR/ENA

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

More
3 years 1 week ago - 3 years 1 week ago #283588 by nighteagle
My VFD (Acomel for 40.000 RPM IBAG Spindles) have one enable input and one 0-10V input and one Reverse input.
If the reverse input is closed to gnd of VFD the spindle is in reverse condition - and if the spindle was in forward then it goes down then it brakes and start again in reverse. All works fine - no Hardware problems no Hardware questions...

But this is not important to my question - i mean only the logic for the linking:

If i linked signal to pin name - what i linked here? A pin-name can not make anything it is only a name.

How can the signal set my pin-name to true and not to false?

I missing here something or misunderstanding something?
Last edit: 3 years 1 week ago by nighteagle.

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

More
3 years 1 week ago #283601 by PCW
I would think you would want

net spindle-ccw spindle.0.reverse => [HMOT](CARD0).ssr.00.out-01

(if SSR 1 on means reverse)

And better still add:

net spindle-on spindle.0.on => [HMOT](CARD0).ssr.00.out-00

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

More
3 years 1 week ago #283680 by nighteagle
Hello,
i understand that if i want false for reverse that i can use this:
net spindle-ccw spindle.0.reverse => [HMOT](CARD0).ssr.00.out-01

So [HMOT](CARD0).ssr.00.out-01 means in every case true? If i link a pin-name it goes to true in every case of such link?

I can not differentiate the pin-name to go false or true depending of my needs?
I have to build inverse logic in hardware if i want the opposite?
So i mean normaly in machine-design we use closed switch means true and if i want to have signal then i open the switch - like limit-switch - because if a wire is broken you have an open switch and means true so the limit is reached. This is a safety concept for wiring in industry to make sure a singal is coming even if the wire is broken. And by the way you find the broken wire quicker.

So if i build something like tool-changer i will follow this concept  - for that i ask for this pin-name always true link system with the command net.
I hoped i can differntiate the status of the pin-name to make a pin go false and say it is true.

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

More
3 years 1 week ago #283697 by PCW
SSR outputs are normally "on" when the hal pin is true.

It is important for safety that "on" enables motion since the
output will be off at power up, when LinuxCNC exits, or if
the computer crashes.

You can invert the output pins by setting the invert attribute for the pin.
Note that this does not change the fact that the pins will be "off" before
LinuxCNC starts and when LinuxCNC exits

More importantly, for a DIR/ENA controlled spindle its a safety issue
that you also control the spindle enable in addition to the direction.

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

Time to create page: 0.095 seconds
Powered by Kunena Forum