Skip to main content

AssemblyObject Class

NuGet: GHIElectronics.TinyCLR.EthernetIP.Adapter
Assembly: GHIElectronics.TinyCLR.EthernetIP.Adapter
Namespace: GHIElectronics.TinyCLR.EthernetIP.Adapter

Describes a CIP Assembly (Class 4) instance that a scanner can read or write.

public class AssemblyObject

Constructors

AssemblyObject(int instanceId, byte[] data, ushort size)

public AssemblyObject(int instanceId, byte[] data, ushort size)

Creates an assembly object with the given instance ID, data buffer, and size.

Properties

Impl

public IntPtr Impl { get; set; }

Native handle to the underlying assembly object.

InstanceId

public int InstanceId { get; }

The CIP instance ID of this assembly.

Data

public byte[] Data { get; }

The data buffer backing this assembly's contents.

Size

public ushort Size { get; }

The size of the assembly data in bytes.