Siemens - Writing to Strings

Hello Everyone,
I am trying to write value to Siemens PLC and getting character error on comma separator after DBXXX.

I am using,
Ignition - 8.0.10
PLC - S300

I have tried updating values in tag and that works fine but when I write with system function as below it gives me an error.

Does anyone have any idea on this ?

Thanks in advance

You’re passing OPC Item Path syntax into a system.tag call instead of system.opc.

2 Likes

Ohh Shoot !!

Wow, that’s way stupid. I tried with opc system function and I was getting errors on String. That’s when I realized that when using opc function to write values of string, you need to define length of the string in tag.

thank Kevin