# ARSim Availability and PLC code offline testing

**URL:** <https://community.br-automation.com/t/arsim-availability-and-plc-code-offline-testing/3304>\
**Category:** B&R Software & Runtime\
**Created:** [May 24, 2024, 6:17am UTC](https://community.br-automation.com/t/arsim-availability-and-plc-code-offline-testing/3304 "2024-05-24T06:17:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenneth.tham](https://avatars.discourse-cdn.com/v4/letter/k/FF8800/32.png) [@kenneth.tham](https://community.br-automation.com/u/kenneth.tham)\
**Post date:** [May 24, 2024, 6:17am UTC](https://community.br-automation.com/t/arsim-availability-and-plc-code-offline-testing/3304/1 "2024-05-24T06:17:39Z")

</div>

I noticed that the ARSim option in my Automation Studio software is disabled? Does it mean that my version does not have this feature?

Also, I was wondering if there is any way we could test our PLC code without the actual hardware?

---

<div class="post-metadata">

**Author:** ![michael.bertsch](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/michael.bertsch/32/239_2.png) [@michael.bertsch](https://community.br-automation.com/u/michael.bertsch)\
**Post date:** [May 24, 2024, 6:37am UTC](https://community.br-automation.com/t/arsim-availability-and-plc-code-offline-testing/3304/2 "2024-05-24T06:37:53Z")

</div>

The Option you refer to is probably the section in Tools, which allows to start the ARsim in case its not working with the automatic enabling.  
 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/5/5361c27fb39641892c23fd39d0e4df5468124da6.png)

To switch the Automation Studio in the “ARsim” Mode you must press this Button in the Symbol Bar.

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

After Doing so and a short wait time, the Online Connection should be established to the ARsim

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

And in Case needed you can use the Button in the menue.  
 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/d/db359c3994bdd4405e4f7fafc32637db06673d8c.png)

With enabled ArSim you have the posibillity to transfer to the simulation and test your Code.

Greetings  
Michael

---

<div class="post-metadata">

**Author:** ![kenneth.tham](https://avatars.discourse-cdn.com/v4/letter/k/FF8800/32.png) [@kenneth.tham](https://community.br-automation.com/u/kenneth.tham)\
**Post date:** [May 24, 2024, 7:11am UTC](https://community.br-automation.com/t/arsim-availability-and-plc-code-offline-testing/3304/3 "2024-05-24T07:11:34Z")

</div>

Thank you. It is very helpful. Does ARSim have to run on another PC. When I try to transfer to target. It cautions that the data will be erased etc. Would it affect my PC running Automation Studio?

---

<div class="post-metadata">

**Author:** ![michael.bertsch](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/michael.bertsch/32/239_2.png) [@michael.bertsch](https://community.br-automation.com/u/michael.bertsch)\
**Post date:** [May 24, 2024, 7:28am UTC](https://community.br-automation.com/t/arsim-availability-and-plc-code-offline-testing/3304/4 "2024-05-24T07:28:15Z")

</div>

The ARsim runs on the PC where Automation Studio is installed.  
If you Download with an “Initial Installation” this Window pops up, which obviusly created your question.

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

The ARsim is a Windows Program located in the Temp-Folder of your Project  
Example:  
C:{…Projects…}\SEM246\_a\Temp\Simulation\Config1\X20CP1585

The Message reproduces only the behaviour of a normal install on a real Target. But if Simulation is used, it only affects the local Directory in the Temp-Folder.  
You don’t have to be worry that your PC will be formated.

In Case you use the USER-Partition you might be interessted in this Folder.  
Example:  
C:{…Projects…}\SEM246\_a\Temp\Simulation\Config1\X20CP1585\USER

Which is connected to this Configuration in the Automation Studio.  
 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/e/e47c6e862eaf868c82db56d4b5865014db0c0f55.png)

Greetings  
Michael

---

<div class="post-metadata">

**Author:** ![kenneth.tham](https://avatars.discourse-cdn.com/v4/letter/k/FF8800/32.png) [@kenneth.tham](https://community.br-automation.com/u/kenneth.tham)\
**Post date:** [May 24, 2024, 8:15am UTC](https://community.br-automation.com/t/arsim-availability-and-plc-code-offline-testing/3304/5 "2024-05-24T08:15:41Z")

</div>

Got it. Thanks a lot for the information!

---

<div class="post-metadata">

**Author:** ![michael.bertsch](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/michael.bertsch/32/239_2.png) [@michael.bertsch](https://community.br-automation.com/u/michael.bertsch)\
**Post date:** [May 24, 2024, 8:40am UTC](https://community.br-automation.com/t/arsim-availability-and-plc-code-offline-testing/3304/6 "2024-05-24T08:40:24Z")

</div>

Thanks for the Reply, good to read that it helped. 🙂

Can you help the next person with the same question by marking the solution on the information which helped you the most. This also shows the Thread as Solved in the Overview.

Greetings  
Michael
