libplctag / libplctag.NET

A .NET wrapper for libplctag.

Home Page:https://libplctag.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What does error not allowed mean?

kaptindan opened this issue · comments

So I can read a tag for a photo eye trigger which is a local tag. When i try to write to it I get a error not allowed.

PLCTAG_ERR_NOT_ALLOWED (-18) - often returned from the remote system when an operation is not permitted.

https://github.com/libplctag/libplctag/wiki/API#status-codes

Talk to your PLC programmers about this error and they might be able to help.

Come to find out I was looking around at the PLC code and that tag was a read only. The plc programmer had no idea it got changed. lol easy fix.