libplctag.NET: List all tags in Omron NJ: ErrorUnsupported

Dear All,

I am using the latest libplctag 1.2.0 and NativeImport 1.0.37. I want to list all tags in my device Omron NJ but I got the error ErrorUnsupported

var tags = new Tag<TagInfoPlcMapper, TagInfo[]>()
{
    Gateway = "MY IP",
    Path = "1,0",
    PlcType = PlcType.Omron,
    Protocol = Protocol.ab_eip,
    Name = "@tags"
};

tags.Read();
Stack trace:
**ErrorUnsupported**
   at libplctag.NativeTagWrapper.ThrowIfStatusNotOk(Nullable`1 status)
   at libplctag.NativeTagWrapper.Read()
   at libplctag.Tag`2.Read()
   at ConsoleApp1.Program.test1()
   at ConsoleApp1.Program.Main(String[] args)

Could anyone help me to solve it?

Thank you

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (4 by maintainers)

Most upvoted comments

Hi all, The last codes in the below script solves my issue https://github.com/libplctag/libplctag/issues/466#issuecomment-2200324984

Thank you very much for support from @MountainKing91