Table of Contents

PlcTypeLayout Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Defines the characteristics to use to absolutely align the Members of a PlcType.

C#

public class PlcTypeLayout


Inheritance Object › PlcTypeLayout

Constructors

Name Description
PlcTypeLayout(PlcTypeLayoutKind) Initializes a new instance of the PlcTypeLayout class using the kind of layout specified and its corresponding default pack size.
PlcTypeLayout(PlcTypeLayoutKind, Int32) Initializes a new instance of the PlcTypeLayout class using the kind of layout and the custom pack size specified.

Fields

Name Description
Default Defines the default layout characteristics used when no other layout information is known. The PlcTypeLayoutKind used by default is Sequential.

Properties

Name Description
Kind Gets a value which defines how the members of a PlcType are arranged to each other.
Pack Gets a value indicating the alignment of members to each other.

Methods

Name Description
GetAddresses(PlcAddress, IPlcMemberInfo) Calculates the according PlcAddress, starting at startAddress, for each relative item in the members specified.