# Providing valve control with the X20DS438A module

**URL:** <https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179>\
**Category:** Controls & Vision\
**Tags:** automation-studio\
**Created:** [December 10, 2024, 8:09am UTC](https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179 "2024-12-10T08:09:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eem.ferhat](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/eem.ferhat/32/4602_2.png) [@eem.ferhat](https://community.br-automation.com/u/eem.ferhat)\
**Post date:** [December 10, 2024, 8:09am UTC](https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179/1 "2024-12-10T08:09:25Z")

</div>

Hello  
I have an X20DS438A module and I want to make an IO link. I took the necessary steps in the configuration settings. How can I control the valve islands through the channel?

---

<div class="post-metadata">

**Author:** ![christoph.hilchenbac](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/christoph.hilchenbac/32/423_2.png) [@christoph.hilchenbac](https://community.br-automation.com/u/christoph.hilchenbac)\
**Post date:** [December 10, 2024, 8:52am UTC](https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179/2 "2024-12-10T08:52:17Z")

</div>

Hi,

I haven’t done it yet, but it seems to me to be quite extensively documented:

[B&R Online Help](https://help.br-automation.com/#/en/4/hardware%2Fx20ds438a%2Fio-link_gerat.html)

---

<div class="post-metadata">

**Author:** ![stephan.herbig](https://avatars.discourse-cdn.com/v4/letter/s/FF8800/32.png) [@stephan.herbig](https://community.br-automation.com/u/stephan.herbig)\
**Post date:** [December 10, 2024, 8:54am UTC](https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179/3 "2024-12-10T08:54:48Z")

</div>

Hello,

I have a Festo valve block with IO Link interface in my project. Here are my settings. You have to adapt the input and output size to your valve block.

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/7/7cb918cecbf7ad3e6dd2d9bd41df6c1e89b9f866.png)

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/d/d090ca61a147a62514145946070c9e11597ecf06.png)

Regards  
Stephan

---

<div class="post-metadata">

**Author:** ![eem.ferhat](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/eem.ferhat/32/4602_2.png) [@eem.ferhat](https://community.br-automation.com/u/eem.ferhat)\
**Post date:** [December 10, 2024, 9:19am UTC](https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179/4 "2024-12-10T09:19:13Z")

</div>

Thanks, I made the settings. well to check my Valves. How can I write a program? In other words, I want to control the 1st line on the 1st channel, or how should I make the assignment to control the 15th valve on the 1st channel?

---

<div class="post-metadata">

**Author:** ![eem.ferhat](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/eem.ferhat/32/4602_2.png) [@eem.ferhat](https://community.br-automation.com/u/eem.ferhat)\
**Post date:** [December 10, 2024, 9:19am UTC](https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179/5 "2024-12-10T09:19:54Z")

</div>

thank you dear manager

---

<div class="post-metadata">

**Author:** ![stephan.herbig](https://avatars.discourse-cdn.com/v4/letter/s/FF8800/32.png) [@stephan.herbig](https://community.br-automation.com/u/stephan.herbig)\
**Post date:** [December 10, 2024, 9:25am UTC](https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179/6 "2024-12-10T09:25:45Z")

</div>

Here is an example of how I turn on the first valve coil.

PROGRAM \_CYCLIC

```
Valve.Out[0].0	:= TRUE;

```

END\_PROGRAM

---

<div class="post-metadata">

**Author:** ![eem.ferhat](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/eem.ferhat/32/4602_2.png) [@eem.ferhat](https://community.br-automation.com/u/eem.ferhat)\
**Post date:** [December 10, 2024, 9:34am UTC](https://community.br-automation.com/t/providing-valve-control-with-the-x20ds438a-module/5179/7 "2024-12-10T09:34:38Z")

</div>

Thank you dear Stephan Herbig
