parport observation in outport out-inverter-1 seems not to work
- RobotMatic
-
Topic Author
- Away
- Elite Member
-
Less
More
- Posts: 199
- Thank you received: 25
01 Dec 2025 15:13 #339593
by RobotMatic
parport observation in outport out-inverter-1 seems not to work was created by RobotMatic
2.9.7 I can't manage to start a configuration with inverted output ports.
pin 1-14-17 out-inverter-1 seems not to work
I can change state, but I can't start a setup with an inverted state
pin 1-14-17 out-inverter-1 seems not to work
I can change state, but I can't start a setup with an inverted state
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 809
- Thank you received: 91
01 Dec 2025 16:06 - 01 Dec 2025 16:24 #339595
by langdons
Replied by langdons on topic parport observation in outport out-inverter-1 seems not to work
Weird.
Try creating a new config with StepConf and look at the HAL file(s) it generates or look at the hal file(s) in an example config to make sure your syntax is correct.
Try creating a new config with StepConf and look at the HAL file(s) it generates or look at the hal file(s) in an example config to make sure your syntax is correct.
Last edit: 01 Dec 2025 16:24 by langdons.
Please Log in or Create an account to join the conversation.
- RobotMatic
-
Topic Author
- Away
- Elite Member
-
Less
More
- Posts: 199
- Thank you received: 25
01 Dec 2025 16:41 - 01 Dec 2025 16:51 #339596
by RobotMatic
Replied by RobotMatic on topic parport observation in outport out-inverter-1 seems not to work
video
That's what I did when I ran into the problem
Last edit: 01 Dec 2025 16:51 by RobotMatic.
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 809
- Thank you received: 91
01 Dec 2025 17:48 - 01 Dec 2025 17:50 #339597
by langdons
Replied by langdons on topic parport observation in outport out-inverter-1 seems not to work
"out-inverter-1" should be: "pin-01-out-invert" (in the title)
Try setting pin-01-out-invert to 0 instead of 1.
Perhaps 1 is the default value.
Check all the HAL files in case the stuff in another file is messing stuff up.
Try setting pin-01-out-invert to 0 instead of 1.
Perhaps 1 is the default value.
Check all the HAL files in case the stuff in another file is messing stuff up.
Last edit: 01 Dec 2025 17:50 by langdons.
The following user(s) said Thank You: RobotMatic
Please Log in or Create an account to join the conversation.
- RobotMatic
-
Topic Author
- Away
- Elite Member
-
Less
More
- Posts: 199
- Thank you received: 25
01 Dec 2025 19:04 #339602
by RobotMatic
Replied by RobotMatic on topic parport observation in outport out-inverter-1 seems not to work
I tried what you suggested, it doesn’t work, it has erratic behavior. It performs poorly in 2.8, 2.94, and 2.97, it behaves erratically in all of them, I don’t understand what’s going on
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21019
- Thank you received: 7163
02 Dec 2025 05:46 #339621
by tommylight
Replied by tommylight on topic parport observation in outport out-inverter-1 seems not to work
What does "erratic behavior" mean, exactly and how does it show up?
Please Log in or Create an account to join the conversation.
- RobotMatic
-
Topic Author
- Away
- Elite Member
-
Less
More
- Posts: 199
- Thank you received: 25
02 Dec 2025 15:47 #339648
by RobotMatic
Replied by RobotMatic on topic parport observation in outport out-inverter-1 seems not to work
At startup, the system,(for example the pin 1-out) does not change when an inverter is applied.
You can watch the video I uploaded in this thread to see what happens
You can watch the video I uploaded in this thread to see what happens
Please Log in or Create an account to join the conversation.
- langdons
-
- Offline
- Platinum Member
-
Less
More
- Posts: 809
- Thank you received: 91
02 Dec 2025 15:49 #339649
by langdons
Replied by langdons on topic parport observation in outport out-inverter-1 seems not to work
"Erratic" means "changing and unpredictable".
The behavior of your system seems to be predictable.
The behavior of your system seems to be predictable.
Please Log in or Create an account to join the conversation.
- RobotMatic
-
Topic Author
- Away
- Elite Member
-
Less
More
- Posts: 199
- Thank you received: 25
02 Dec 2025 15:54 #339650
by RobotMatic
Replied by RobotMatic on topic parport observation in outport out-inverter-1 seems not to work
I'm a bit confused, if I want to start the system with an output at 1, do I apply setp... inverter true
This should show me the output activated, but I don't see it that way; I still see it turned off. I don't know if I'm misinterpreting it or if it's not working for me, which is why I left a video showing it.
This should show me the output activated, but I don't see it that way; I still see it turned off. I don't know if I'm misinterpreting it or if it's not working for me, which is why I left a video showing it.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17461
- Thank you received: 5098
02 Dec 2025 16:07 #339652
by PCW
Replied by PCW on topic parport observation in outport out-inverter-1 seems not to work
I think you may be misinterpreting how the invert parameter operates,
it does not change the state of the parport.0.pin-NN-out hal pin.
(It cannot as this hal pin would be driven by a hal signal)
but rather changes the physical output polarity. You cannot
detect this change in the parport.0.pin-NN-out hal pin but only by
measuring the actual parallel port hardware output pin.
it does not change the state of the parport.0.pin-NN-out hal pin.
(It cannot as this hal pin would be driven by a hal signal)
but rather changes the physical output polarity. You cannot
detect this change in the parport.0.pin-NN-out hal pin but only by
measuring the actual parallel port hardware output pin.
The following user(s) said Thank You: RobotMatic, langdons
Please Log in or Create an account to join the conversation.
Time to create page: 0.383 seconds