# Issue with get\_digital\_in() command from urx library and UR5 robot

**URL:** <https://forum.universal-robots.com/t/issue-with-get-digital-in-command-from-urx-library-and-ur5-robot/31596>\
**Category:** Technical Questions\
**Created:** [November 28, 2023, 7:46am UTC](https://forum.universal-robots.com/t/issue-with-get-digital-in-command-from-urx-library-and-ur5-robot/31596 "2023-11-28T07:46:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ha.pham](https://avatars.discourse-cdn.com/v4/letter/h/5f9b8f/32.png) [@ha.pham](https://forum.universal-robots.com/u/ha.pham)\
**Post date:** [November 28, 2023, 7:46am UTC](https://forum.universal-robots.com/t/issue-with-get-digital-in-command-from-urx-library-and-ur5-robot/31596/1 "2023-11-28T07:46:45Z")

</div>

Hello,  
I am programming UR5 robot with python using urx library via TCP/IP method. Everything was fine with commands to get coordinates and joints from the robot but the command to get digital input value just always returned value ‘0’. I was using the command `rob.get_digital_in()` and test it with all digital terminal but there was nothing change. Does anyone know how to fix this problem, or have other suggestion to get the value from digital input from the robot to python?  
Thanks in advance!
