# How to configure XBEE S2 module in direct mode for remote digital input?

**URL:** <https://forums.digi.com/t/how-to-configure-xbee-s2-module-in-direct-mode-for-remote-digital-input/13822>\
**Category:** XBee - 802.15.4\
**Tags:** s2, xbee\
**Created:** [October 29, 2014, 12:17am UTC](https://forums.digi.com/t/how-to-configure-xbee-s2-module-in-direct-mode-for-remote-digital-input/13822 "2014-10-29T00:17:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Junaid2216](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Junaid2216](https://forums.digi.com/u/Junaid2216)\
**Post date:** [October 29, 2014, 12:17am UTC](https://forums.digi.com/t/how-to-configure-xbee-s2-module-in-direct-mode-for-remote-digital-input/13822/1 "2014-10-29T00:17:12Z")

</div>

Hello!  
I am using two XB24-Z7WIT-004 modules. one as API  
coordinator and other as AT router. I want to check the status of switch attached to coordinator and show corresponding status on led attached to corresponding pin of router.  
I want to know configuration parameters needs to be set and their values?  
Thank you

---

<div class="post-metadata">

**Author:** ![mvut](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/mvut/32/31_2.png) [@mvut](https://forums.digi.com/u/mvut)\
**Post date:** [October 29, 2014, 1:40pm UTC](https://forums.digi.com/t/how-to-configure-xbee-s2-module-in-direct-mode-for-remote-digital-input/13822/2 "2014-10-29T13:40:25Z")

</div>

Try using the IC command to tell the system to monitor the line in question.

---

<div class="post-metadata">

**Author:** ![baraiyanirav2225](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@baraiyanirav2225](https://forums.digi.com/u/baraiyanirav2225)\
**Post date:** [September 11, 2016, 2:36pm UTC](https://forums.digi.com/t/how-to-configure-xbee-s2-module-in-direct-mode-for-remote-digital-input/13822/3 "2016-09-11T14:36:53Z")

</div>

I ALSO HAVE SAME PROBLEM BUT WHAT I AM GETTING IS

SET ONE AS CORDINATOR API MODE  
OTHER AS ROUTER AT MODE

SET THEIR ADRESSES CROS IN DH AND DL.

MAKE FRAME 17(REMOTE AT MODE) SET ADDRESS OF REMOTE RADIO AND AT COMMAND LIKE D0,D1,D2 FOR DIFFERENT PIN.

PARAMETER VALUE 01,02,03,04,05 AS YOUR REQUIERMENT.

YOU WILL RECIEVE PACKET BUT CAN`T CHANGE STATE.
