libplctag / libplctag.NET

A .NET wrapper for libplctag.
https://libplctag.github.io/
Mozilla Public License 2.0
194 stars 50 forks source link

CompactLogix reading UDT's issue #361

Closed kaptindan closed 2 months ago

kaptindan commented 5 months ago

I am having problems reading some new UDT's that the controls team has created. Below is the data fields. I am using Libplctag in C#.

image

timyhac commented 5 months ago

Hi @kaptindan - there is some guidance here on putting together an issue so that this community can be in the best place to help you.

In the meantime, there are some examples on creating Mapper classes for UDTs: https://github.com/libplctag/libplctag.NET/blob/master/src/Examples/CSharp%20DotNetCore/ExampleCustomUdt.cs https://github.com/libplctag/libplctag.NET/blob/master/src/libplctag/DataTypes/TimerPlcMapper.cs