Search Results for

    Show / Hide Table of Contents

    Struct S7Selector

    This structure holds information to select a data source on SIEMENS S7 PLCs.

    Namespace: TeleScope.Connectors.Plc.Siemens
    Assembly: TeleScope.Connectors.Plc.Siemens.dll
    Syntax
    public struct S7Selector

    Constructors

    | Improve this Doc View Source

    S7Selector(Int32, Int32)

    Creates an instance of the selector with the given parameters. The property Number will be zero.

    Declaration
    public S7Selector(int datablock, int bitOffset)
    Parameters
    Type Name Description
    System.Int32 datablock

    The datablock to be selected.

    System.Int32 bitOffset

    The bit offset to be selected.

    | Improve this Doc View Source

    S7Selector(Int32, Int32, Int32)

    Creates an instance of the selector with the given parameters.

    Declaration
    public S7Selector(int datablock, int bitOffset, int count)
    Parameters
    Type Name Description
    System.Int32 datablock

    The datablock to be selected.

    System.Int32 bitOffset

    The bit offset to be selected.

    System.Int32 count

    The count of a single bit index or the number of characters.

    Properties

    | Improve this Doc View Source

    BitOffset

    Gets or sets the bit offset within the datablock.

    Declaration
    public int BitOffset { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Datablock

    Gets or sets the selected datablock.

    Declaration
    public int Datablock { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Number

    Gets or sets the number or index of a single bit or the number of characters to be read.

    Declaration
    public int Number { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    ToString()

    Overrides the ToString to present the properties.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    The combined string with property values.

    • GITHUB
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    Copyright 2020-2022 TeleScope-dotnet. Generated by DocFX.
    ☀
    ☾