Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in getting the status of digital inputs and digital outputs. #107

Open
derrelldv opened this issue Apr 20, 2022 · 1 comment
Open

Comments

@derrelldv
Copy link

derrelldv commented Apr 20, 2022

I am using polyscope 5.10. for UR5 Robot. I am having a problem in retrieving the status of digital input and output pins.
When I run robot.get_digital_out(4,wait = True), it gives me a 0 even if it is 1. Same goes with digital input.

Also robot.secmon.get_digital_out_bits() gives a 0.

Thanks

@haphm
Copy link

haphm commented Nov 23, 2023

Hi,
Did you find out the solution for this problem yet? I am having the same issue with command rob.get_digital_in(9) and it always returned value '0' even it was 'On' from the teach pendant. But when I changed the command to rob.get_digital_in_bits() it returned value of '131072'.
If you have found a solution for this problem, please share it with me. It is also appreciated if anyone can help!
Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants