# Writting Bacnet schedule via Wago PFC

**URL:** <https://www.wago.community/t/writting-bacnet-schedule-via-wago-pfc/2230>\
**Category:** CODESYS\
**Created:** [August 18, 2025, 1:11pm UTC](https://www.wago.community/t/writting-bacnet-schedule-via-wago-pfc/2230 "2025-08-18T13:11:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![radger](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@radger](https://www.wago.community/u/radger)\
**Post date:** [August 18, 2025, 1:11pm UTC](https://www.wago.community/t/writting-bacnet-schedule-via-wago-pfc/2230/1 "2025-08-18T13:11:04Z")

</div>

Hello,  
I would like control setpoint temperature via Bacnet. I must use with Bacnet Schedule but in the no way i can’t writting properties in this object. I use with FBSchedule\_small (library WagoSysBacnet 2.0.1.12).  
If it is not possible in this way, how can i do it?

---

<div class="post-metadata">

**Author:** ![AdamReeve](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/adamreeve/32/59_2.png) [@AdamReeve](https://www.wago.community/u/AdamReeve)\
**Post date:** [August 18, 2025, 4:02pm UTC](https://www.wago.community/t/writting-bacnet-schedule-via-wago-pfc/2230/2 "2025-08-18T16:02:23Z")

</div>

I’ll assume you are using the steps outlined in the HowTo for adding BACnet network objects to your project, including setting up a Client Mapping to your external control setpoint.

> [@How To: Add BACnet to a WAGO CODESYS project](https://www.wago.community/t/how-to-add-bacnet-to-a-wago-codesys-project/1626/1):
>
> A short guide on how to use BACnet Configurator to add BACnet support to a CODESYS project. [How to add BACnet to a WAGO CODESYS project.docx](https://www.wago.community/uploads/short-url/yRufL2M21Rgi2tUlso9GjEt9Hcf.docx) (924.2 KB)

I’m not very familiar with the details of the Scheduler object you need, but looking at BACnet Configurator I can see that the “small” version of the object only has one writeable property - Out of Service. I suggest changing to either the “medium” or “large” version of the Scheduler object. This opens up lots of other properties with read and write access.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/2/2085649fb62ab0ebc41d321845ccf18ede0e7d64.png)

---

<div class="post-metadata">

**Author:** ![radger](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@radger](https://www.wago.community/u/radger)\
**Post date:** [August 22, 2025, 6:27am UTC](https://www.wago.community/t/writting-bacnet-schedule-via-wago-pfc/2230/3 "2025-08-22T06:27:33Z")

</div>

I would like writting temperature value in specific day and time. I notice that in my schedule object occurs Weekly Shedule:

 ![Zrzut ekranu 2025-08-22 080850](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/6/672250aa402b0005018964077902ea3d5b2269f3.png)

At the BACnet configurator level, I can change the value for a specific entry. Is it possible to map the Weekly Schedule object to another object located in the PFC and then manipulate this object? Would this be a good way to add or edit entries in the schedule, or are there other possibilities for manipulating values in a BACnet schedule?

Through this line I Can add entry to the schedule in monday.  
test := BACnetScheduleObjects.XX\_sch\_200.IWeeklySchedule.IMonday.addDailyScheduleReal(todTime:= TOD#20:51:00, rValue:= 32);  
I notice this new entry in bacnet configurator level but it is not should possible because WeeklySchedule properties is probably read only.

---

<div class="post-metadata">

**Author:** ![AdamReeve](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/adamreeve/32/59_2.png) [@AdamReeve](https://www.wago.community/u/AdamReeve)\
**Post date:** [August 22, 2025, 1:10pm UTC](https://www.wago.community/t/writting-bacnet-schedule-via-wago-pfc/2230/4 "2025-08-22T13:10:30Z")

</div>

WeeklySchedule isn’t read only, it allows read/write access. I think your method above should work.

I didn’t try adding a new DailySchedule, but I was able to successfully read and write a REAL value (like you show in your screenshot above) like this:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/b/bae10c9272f80c785bb5eccde3ec1b18dfc72274.png)

So I think the addDailyScheduleReal() method should work like you want.

---

<div class="post-metadata">

**Author:** ![radger](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@radger](https://www.wago.community/u/radger)\
**Post date:** [August 25, 2025, 6:35am UTC](https://www.wago.community/t/writting-bacnet-schedule-via-wago-pfc/2230/5 "2025-08-25T06:35:40Z")

</div>

Thank you for solution. I have one extra issue with it. I would like adding or editting entry in WeeklySchedule but this properties finds in external bacnet device. Whether I can mapping this properties to object schedule in my wago pfc?

In Client Mapping Editor i see that it is possible to link:

 ![Zrzut ekranu 2025-08-25 083403](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/4/4fe6d60fe939f8549b0002c050749cf35a812915.png)

---

<div class="post-metadata">

**Author:** ![AdamReeve](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/adamreeve/32/59_2.png) [@AdamReeve](https://www.wago.community/u/AdamReeve)\
**Post date:** [August 25, 2025, 1:15pm UTC](https://www.wago.community/t/writting-bacnet-schedule-via-wago-pfc/2230/6 "2025-08-25T13:15:13Z")

</div>

I’m not sure I completely understand your question, but you certainly can do a Client Mapping to add either a Read Map or a Write Map of the Weekly Schedule **property** from an external device to the Weekly Schedule **property** of the PFC. Just remember that it is properties than can be mapped individually as needed, not the entire **object**.
