# Warm restart of PFC100

**URL:** <https://www.wago.community/t/warm-restart-of-pfc100/748>\
**Category:** CODESYS\
**Tags:** pfc100, ecockpit\
**Created:** [January 19, 2024, 11:43am UTC](https://www.wago.community/t/warm-restart-of-pfc100/748 "2024-01-19T11:43:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjornidar](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@bjornidar](https://www.wago.community/u/bjornidar)\
**Post date:** [January 19, 2024, 11:43am UTC](https://www.wago.community/t/warm-restart-of-pfc100/748/1 "2024-01-19T11:43:13Z")

</div>

Hi,

is it possoble to do a “warm restart” of the controller (PFC100) programatically from e!Cockpit or if not from cron job?

---

<div class="post-metadata">

**Author:** ![WagoTorgeir](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagotorgeir/32/78_2.png) [@WagoTorgeir](https://www.wago.community/u/WagoTorgeir)\
**Post date:** [January 19, 2024, 4:56pm UTC](https://www.wago.community/t/warm-restart-of-pfc100/748/2 "2024-01-19T16:56:42Z")

</div>

Yes, I believe you can do this via the e!COCKPIT/CoDeSys3.5 library/functionblock WagoAppConfigTool =\> FbConfigTool. This functionblock is able to remotecontrol scripts located in the Linux platform (/etc/config-tools/…), e.g. the script used to command reboot. WagoAppConfigTool also contains several premade functionblocks that are per-connected to designated scripts.

---

<div class="post-metadata">

**Author:** ![quenorha](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/quenorha/32/429_2.png) [@quenorha](https://www.wago.community/u/quenorha)\
**Post date:** [January 22, 2024, 8:50am UTC](https://www.wago.community/t/warm-restart-of-pfc100/748/3 "2024-01-22T08:50:49Z")

</div>

Hello,  
I guess you could also create a script in the PFC with

> /etc/init.d/codesys stop && /etc/init.d/codesys start

(You could add some more control here)

You can call this script from crontab

---

<div class="post-metadata">

**Author:** ![PatrickR](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/patrickr/32/262_2.png) [@PatrickR](https://www.wago.community/u/PatrickR)\
**Post date:** [January 22, 2024, 9:19pm UTC](https://www.wago.community/t/warm-restart-of-pfc100/748/4 "2024-01-22T21:19:30Z")

</div>

Another Solution: [Automatic Restart of the Application after Resetting from IEC Code - CODESYS FAQ - CODESYS FAQ](https://faq.codesys.com/display/CDSFAQ/Automatic+Restart+of+the+Application+after+Resetting+from+IEC+Code)

---

<div class="post-metadata">

**Author:** ![bjornidar](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@bjornidar](https://www.wago.community/u/bjornidar)\
**Post date:** [January 23, 2024, 5:49am UTC](https://www.wago.community/t/warm-restart-of-pfc100/748/5 "2024-01-23T05:49:26Z")

</div>

This seems to be what I’m looking for 👍
