PDComm.GemFormattedProgramCapabilityInfo
Class
Describes an S7F21/S7F22 process capabilities transaction held by a GemResult.
public sealed record GemFormattedProgramCapabilityInfoReturned 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
| Name | Description |
|---|---|
RequestKind | The request kind 39 (GemRequestKind.FormattedCapability). |
CommandMaximum | The CMDMAX value: the largest number of commands a process program may contain. |
IsRequest | Whether the result is a received S7F21 that this equipment answers. |
Responded | Whether the S7F22 was sent by this equipment or received by this host. |
ReplyReady | Whether a received S7F21 still waits for GemFormattedPrograms.RespondCapabilityQuery. |
CommandCount | The number of commands in the capability data. |
ByteMaximum | The 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
| Name | Description |
|---|---|
RequestKind | The request kind 39 (GemRequestKind.FormattedCapability). |
CommandMaximum | The CMDMAX value: the largest number of commands a process program may contain. |
IsRequest | Whether the result is a received S7F21 that this equipment answers. |
Responded | Whether the S7F22 was sent by this equipment or received by this host. |
ReplyReady | Whether a received S7F21 still waits for GemFormattedPrograms.RespondCapabilityQuery. |
CommandCount | The number of commands in the capability data. |
ByteMaximum | The 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; }