# Contrib-s7 error when adding variables

**URL:** <https://discourse.nodered.org/t/contrib-s7-error-when-adding-variables/36480>\
**Category:** Industrial\
**Created:** [24 November 2020 18:58 UTC](https://discourse.nodered.org/t/contrib-s7-error-when-adding-variables/36480 "2020-11-24T18:58:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArttuJ](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@ArttuJ](https://discourse.nodered.org/u/ArttuJ)\
**Post date:** [24 November 2020 18:58 UTC](https://discourse.nodered.org/t/contrib-s7-error-when-adding-variables/36480/1 "2020-11-24T18:58:09Z")

</div>

Hello,  
Whenever I try to add any variables to my S7 node, I get this error:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/0/8003ffd0cbb8d960f526126dc02e417a4318f8fd.png)

error [0x8104]  
0x8104

My PLC is an S7-1200 1214C DC/DC/RLY

The node will read "Online" without any variables and no errors are posted in the debug.  
As soon as I add any variables to the PLC, I starts spamming the error in the picture in the debug,  
and I'm not able to read or write to the variable.

---

<div class="post-metadata">

**Author:** ![ArttuJ](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@ArttuJ](https://discourse.nodered.org/u/ArttuJ)\
**Post date:** [24 November 2020 21:19 UTC](https://discourse.nodered.org/t/contrib-s7-error-when-adding-variables/36480/2 "2020-11-24T21:19:24Z")

</div>

I'm stupid.  
I forgot to enable PUT/GET in the CPU module.

No problem in the end.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 December 2020 21:19 UTC](https://discourse.nodered.org/t/contrib-s7-error-when-adding-variables/36480/3 "2020-12-08T21:19:33Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
