7i84 inverting output Pins

More
7 years 4 months ago #138175 by 3D-Master
Hello,

is it normal that "watch" in halshow doesnt show you an inverted pin? (normally low but inverted so it should be high, but it shows the pin as low).

i have Linuxcnc 2.7.14

thanks

Please Log in to join the conversation.

More
7 years 4 months ago #138187 by PCW
Replied by PCW on topic 7i84 inverting output Pins
The 7I84 (and all sserial devices) have inverted input pins available
but no inverted output pins. Output pins are usually active high ( high=1=true=ON )

Please Log in to join the conversation.

More
7 years 4 months ago #138248 by 3D-Master
im sorry, i ment when you set the invert-parameter for an output pin to "true" then the output will be inverted (i measured it with a multimeter) but Halshow will still show the output pin as "low".

Please Log in to join the conversation.

More
7 years 4 months ago #138250 by rodw
Replied by rodw on topic 7i84 inverting output Pins
There is always the invert component which will do what you want.
linuxcnc.org/docs/devel/html/man/man9/invert.9.html

Please Log in to join the conversation.

More
7 years 4 months ago #138252 by PCW
Replied by PCW on topic 7i84 inverting output Pins

3D-Master wrote: im sorry, i ment when you set the invert-parameter for an output pin to "true" then the output will be inverted (i measured it with a multimeter) but Halshow will still show the output pin as "low".


That's correct, invert_output=true means:

hardware_output_pin <= not (hal_pin)

The hal_pin is not changed

Please Log in to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum