# OPC UA and Arrays

**URL:** <https://discourse.nodered.org/t/opc-ua-and-arrays/44838>\
**Category:** General\
**Created:** [28 April 2021 07:49 UTC](https://discourse.nodered.org/t/opc-ua-and-arrays/44838 "2021-04-28T07:49:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndusak](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@ndusak](https://discourse.nodered.org/u/ndusak)\
**Post date:** [28 April 2021 07:49 UTC](https://discourse.nodered.org/t/opc-ua-and-arrays/44838/1 "2021-04-28T07:49:07Z")

</div>

Hello,  
I am trying to send some arrays (Array of String, Array of Int...) to my PLC but I can not figure out the right way. When I try to send an array of String it only sends the first value of the array while the rest seems to get "corrupted" (I do not understand what is happening there). The array values 2-10 that were defined in the PLC as String accept only one char after I inject the array from Node Red. I would appreciate any help.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/8/c80928b63c799e804d612befbb271323c5b63de6.png)

---

<div class="post-metadata">

**Author:** ![ndusak](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@ndusak](https://discourse.nodered.org/u/ndusak)\
**Post date:** [3 May 2021 07:28 UTC](https://discourse.nodered.org/t/opc-ua-and-arrays/44838/2 "2021-05-03T07:28:19Z")

</div>

OK. I replaced the "null" with "0" and it works with string. But it still won't work with datatype Int and Boolean

---

<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:** [2 July 2021 07:28 UTC](https://discourse.nodered.org/t/opc-ua-and-arrays/44838/3 "2021-07-02T07:28:27Z")

</div>

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