PDComm.GemFormattedProgramQueryInfo
Class
Describes an S7F25/S7F26 formatted process program request held by a GemResult.
public sealed record GemFormattedProgramQueryInfoReturned by GemResult.GetFormattedProgramQueryInfo. The requested PPID is always available; the program fields are available when GemFormattedProgramQueryInfo.Present is 1. Each flag is 1 when set and 0 otherwise.
Parameters
| Name | Description |
|---|---|
RequestKind | The request kind 37 (GemRequestKind.FormattedQuery). |
CommandCount | The number of commands in the returned program; 0 when no program is present. |
IdFormat | The SECS-II format code of the requested PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary). |
IsRequest | Whether the result is a received S7F25 that this equipment answers. |
Responded | Whether the S7F26 was sent by this equipment or received by this host. |
Present | Whether the S7F26 data carries the requested process program. |
PresentKnown | Whether the answer is known, so that GemFormattedProgramQueryInfo.Present is meaningful; a received S7F25 that is not answered yet has 0. |
ReplyReady | Whether a received S7F25 still waits for GemFormattedPrograms.RespondQuery. |
Members
GemFormattedProgramQueryInfo
Constructor
Describes an S7F25/S7F26 formatted process program request held by a GemResult.
public GemFormattedProgramQueryInfo(uint RequestKind, nuint CommandCount, byte IdFormat, byte IsRequest, byte Responded, byte Present, byte PresentKnown, byte ReplyReady)Returned by GemResult.GetFormattedProgramQueryInfo. The requested PPID is always available; the program fields are available when GemFormattedProgramQueryInfo.Present is 1. Each flag is 1 when set and 0 otherwise.
Parameters
| Name | Description |
|---|---|
RequestKind | The request kind 37 (GemRequestKind.FormattedQuery). |
CommandCount | The number of commands in the returned program; 0 when no program is present. |
IdFormat | The SECS-II format code of the requested PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary). |
IsRequest | Whether the result is a received S7F25 that this equipment answers. |
Responded | Whether the S7F26 was sent by this equipment or received by this host. |
Present | Whether the S7F26 data carries the requested process program. |
PresentKnown | Whether the answer is known, so that GemFormattedProgramQueryInfo.Present is meaningful; a received S7F25 that is not answered yet has 0. |
ReplyReady | Whether a received S7F25 still waits for GemFormattedPrograms.RespondQuery. |
CommandCount
Property
The number of commands in the returned program; 0 when no program is present.
public nuint CommandCount { get; init; }IdFormat
Property
The SECS-II format code of the requested PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary).
public byte IdFormat { get; init; }IsRequest
Property
Whether the result is a received S7F25 that this equipment answers.
public byte IsRequest { get; init; }Present
Property
Whether the S7F26 data carries the requested process program.
public byte Present { get; init; }PresentKnown
Property
Whether the answer is known, so that GemFormattedProgramQueryInfo.Present is meaningful; a received S7F25 that is not answered yet has 0.
public byte PresentKnown { get; init; }ReplyReady
Property
Whether a received S7F25 still waits for GemFormattedPrograms.RespondQuery.
public byte ReplyReady { get; init; }RequestKind
Property
The request kind 37 (GemRequestKind.FormattedQuery).
public uint RequestKind { get; init; }Responded
Property
Whether the S7F26 was sent by this equipment or received by this host.
public byte Responded { get; init; }