# WagoAppPlcModbus\_MasterSerial

**URL:** <https://www.wago.community/t/wagoappplcmodbus-masterserial/661>\
**Category:** CODESYS\
**Tags:** pfc200, pfc100, how-to, codesys\
**Created:** [November 6, 2023, 5:50pm UTC](https://www.wago.community/t/wagoappplcmodbus-masterserial/661 "2023-11-06T17:50:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Runeas](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@Runeas](https://www.wago.community/u/Runeas)\
**Post date:** [November 6, 2023, 5:50pm UTC](https://www.wago.community/t/wagoappplcmodbus-masterserial/661/1 "2023-11-06T17:50:46Z")

</div>

All roads lead to Rome. Looking around for some time to get tips or find a better setup for WagoAppPlcModbus\_MasterSerial than what I’m using.

If someone from Wago or someone else want to share there WagoAppPlcModbus program (in ST) for controlling multiple slaves, will I be very grateful for that.

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/michael/32/271_2.png) [@Michael](https://www.wago.community/u/Michael)\
**Post date:** [November 7, 2023, 6:39am UTC](https://www.wago.community/t/wagoappplcmodbus-masterserial/661/2 "2023-11-07T06:39:39Z")

</div>

Hi Runeas,

For the SerialMaster there is an Solution called Multiquery. You can find it the Lib WagoAppPlcModbus → Advanced Modbus Master → fbMbMasterMultiquery. In the Applicationnote a2022006 you can find the description for this functionblocks.

> **[Download zu „e!COCKPIT Anwendungshinweis WagoAppPlcModbus (a2022006)“ | WAGO](https://www.wago.com/de/d/8938932)**
>
> Die Bibliothek WAGOAppPlcModbus.library stellt dem SPS-Programmierer diverse Modbus®-Funktionalitäten auf verschiedenen Leveln zur Verfügung.

the result of using multiquery might looks like this:

 ![grafik](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/91b72144b5001d2276f67d2d6860693b45387811.png)

---

<div class="post-metadata">

**Author:** ![Michael](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/michael/32/271_2.png) [@Michael](https://www.wago.community/u/Michael)\
**Post date:** [November 8, 2023, 6:43am UTC](https://www.wago.community/t/wagoappplcmodbus-masterserial/661/3 "2023-11-08T06:43:37Z")

</div>

Hi,  
no problem, you can find the project here:

> **[GitHub - MichaelDrostWago/Codesys](https://github.com/MichaelDrostWago/Codesys)**
>
> Contribute to MichaelDrostWago/Codesys development by creating an account on GitHub.
