# Problem with input\_integer\_register

**URL:** <https://forum.universal-robots.com/t/problem-with-input-integer-register/25952>\
**Category:** URScript\
**Created:** [January 4, 2023, 10:36am UTC](https://forum.universal-robots.com/t/problem-with-input-integer-register/25952 "2023-01-04T10:36:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon12664399](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@anon12664399](https://forum.universal-robots.com/u/anon12664399)\
**Post date:** [January 4, 2023, 10:36am UTC](https://forum.universal-robots.com/t/problem-with-input-integer-register/25952/1 "2023-01-04T10:36:49Z")

</div>

**In the following page**  
[https://www.universal-robots.com/articles/ur/interface-communication/real-time-data-exchange-rtde-guide/](https://www.universal-robots.com/articles/ur/interface-communication/real-time-data-exchange-rtde-guide/)  
**It is given int register from 0-47**

|input\_int\_register\__X_|INT32|48 general purpose integer registers

X: [0…23] - The lower range of the integer input registers is reserved for FieldBus/PLC interface usage.

X: [24…47] - The upper range of the integer input registers can be used by external RTDE clients (i.e URCAPS).|  
| — | — |

But in this docx,[https://s3-eu-west-1.amazonaws.com/ur-support-site/46196/scriptManual.pdf](https://s3-eu-west-1.amazonaws.com/ur-support-site/46196/scriptManual.pdf)

> > > int\_val = read\_input\_integer\_register(3)  
> > > Parameters  
> > > address: Address of the register (0:23)

---

<div class="post-metadata">

**Author:** ![claudia](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@claudia](https://forum.universal-robots.com/u/claudia)\
**Post date:** [January 4, 2023, 10:46am UTC](https://forum.universal-robots.com/t/problem-with-input-integer-register/25952/2 "2023-01-04T10:46:23Z")

</div>

> [@anon12664399](#):
>
> X: [0…23] - The lower range of the integer input registers is reserved for FieldBus/PLC interface usage.
> 
> X: [24…47] - The upper range of the integer input registers can be used by external RTDE clients (i.e URCAPS).|

This is correct.  
And you can use the URscript function read\_input\_integer\_register() to access all of them.  
This is probably an error in the documentation you are using. This is the documentation I’m using and it says “Address of the register (0:47)”

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/dcdd5375b0d76d1f247001515638244e56dcd225.png)

---

<div class="post-metadata">

**Author:** ![anon12664399](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@anon12664399](https://forum.universal-robots.com/u/anon12664399)\
**Post date:** [January 5, 2023, 5:21am UTC](https://forum.universal-robots.com/t/problem-with-input-integer-register/25952/3 "2023-01-05T05:21:59Z")

</div>

Thanks for the info.  
Can you share the link to the document, you referred

---

<div class="post-metadata">

**Author:** ![claudia](https://avatars.discourse-cdn.com/v4/letter/c/a88e57/32.png) [@claudia](https://forum.universal-robots.com/u/claudia)\
**Post date:** [January 5, 2023, 7:55am UTC](https://forum.universal-robots.com/t/problem-with-input-integer-register/25952/4 "2023-01-05T07:55:27Z")

</div>

I downloaded it here:  
[https://www.universal-robots.com/download/manuals-e-series/script/script-manual-e-series-sw-511/](https://www.universal-robots.com/download/manuals-e-series/script/script-manual-e-series-sw-511/)
