Skip to content
Start free evaluation

PDComm.GemFormattedProgramCapabilityInfo

Class

Describes an S7F21/S7F22 process capabilities transaction held by a GemResult.

public sealed record GemFormattedProgramCapabilityInfo

Returned by GemResult.GetFormattedProgramCapabilityInfo. On the host, the S7F22 result carries the received capability data. On the equipment, a received S7F21 carries no data until GemFormattedPrograms.RespondCapabilityQuery answers it with a copy of the current catalog; the data fields are 0 until then. Each flag is 1 when set and 0 otherwise.

Parameters

NameDescription
RequestKindThe request kind 39 (GemRequestKind.FormattedCapability).
CommandMaximumThe CMDMAX value: the largest number of commands a process program may contain.
IsRequestWhether the result is a received S7F21 that this equipment answers.
RespondedWhether the S7F22 was sent by this equipment or received by this host.
ReplyReadyWhether a received S7F21 still waits for GemFormattedPrograms.RespondCapabilityQuery.
CommandCountThe number of commands in the capability data.
ByteMaximumThe BYTMAX value: the largest encoded size, in bytes, of a process program.

Members

GemFormattedProgramCapabilityInfo

Constructor

Describes an S7F21/S7F22 process capabilities transaction held by a GemResult.

public GemFormattedProgramCapabilityInfo(uint RequestKind, byte CommandMaximum, byte IsRequest, byte Responded, byte ReplyReady, nuint CommandCount, uint ByteMaximum)

Returned by GemResult.GetFormattedProgramCapabilityInfo. On the host, the S7F22 result carries the received capability data. On the equipment, a received S7F21 carries no data until GemFormattedPrograms.RespondCapabilityQuery answers it with a copy of the current catalog; the data fields are 0 until then. Each flag is 1 when set and 0 otherwise.

Parameters

NameDescription
RequestKindThe request kind 39 (GemRequestKind.FormattedCapability).
CommandMaximumThe CMDMAX value: the largest number of commands a process program may contain.
IsRequestWhether the result is a received S7F21 that this equipment answers.
RespondedWhether the S7F22 was sent by this equipment or received by this host.
ReplyReadyWhether a received S7F21 still waits for GemFormattedPrograms.RespondCapabilityQuery.
CommandCountThe number of commands in the capability data.
ByteMaximumThe BYTMAX value: the largest encoded size, in bytes, of a process program.

ByteMaximum

Property

The BYTMAX value: the largest encoded size, in bytes, of a process program.

public uint ByteMaximum { get; init; }

CommandCount

Property

The number of commands in the capability data.

public nuint CommandCount { get; init; }

CommandMaximum

Property

The CMDMAX value: the largest number of commands a process program may contain.

public byte CommandMaximum { get; init; }

IsRequest

Property

Whether the result is a received S7F21 that this equipment answers.

public byte IsRequest { get; init; }

ReplyReady

Property

Whether a received S7F21 still waits for GemFormattedPrograms.RespondCapabilityQuery.

public byte ReplyReady { get; init; }

RequestKind

Property

The request kind 39 (GemRequestKind.FormattedCapability).

public uint RequestKind { get; init; }

Responded

Property

Whether the S7F22 was sent by this equipment or received by this host.

public byte Responded { get; init; }