# Modbus Slaves

**URL:** <https://forums.digi.com/t/modbus-slaves/10568>\
**Category:** Rabbit\
**Created:** [January 27, 2011, 9:44pm UTC](https://forums.digi.com/t/modbus-slaves/10568 "2011-01-27T21:44:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![silrb17](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@silrb17](https://forums.digi.com/u/silrb17)\
**Post date:** [January 27, 2011, 9:44pm UTC](https://forums.digi.com/t/modbus-slaves/10568/1 "2011-01-27T21:44:01Z")

</div>

Hello!  
Can anyone give me an example of how to use the function mbsRegOut () which is to write Single Registers?

I am specially interested in the first parameter of the function, which is the register number, I need to know how to asign this number.

I appreciate the help!
