PDComm.GemFormattedProgramTransferInfo
Class
Describes an S7F23/S7F24 formatted process program send held by a GemResult.
public sealed record GemFormattedProgramTransferInfoReturned by GemResult.GetFormattedProgramTransferInfo. The equipment receives S7F23 and answers with an ACKC7 code in S7F24; the host receives the acknowledgement. Only a received S7F23 carries the program. Each flag is 1 when set and 0 otherwise.
Parameters
| Name | Description |
|---|---|
RequestKind | The request kind 36 (GemRequestKind.FormattedTransfer). |
CommandCount | The number of commands in the received program; 0 on an acknowledgement result. |
IdFormat | The SECS-II format code of the received PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary). 0 on an acknowledgement result. |
IsRequest | Whether the result is a received S7F23 that this equipment answers. |
Responded | Whether the S7F24 was sent by this equipment or received by this host. |
Acknowledgement | The ACKC7 code (0 to 7) that was received or sent; meaningful when GemFormattedProgramTransferInfo.AcknowledgementPresent is 1. |
AcknowledgementPresent | Whether GemFormattedProgramTransferInfo.Acknowledgement holds a received or sent ACKC7 code. |
ReplyReady | Whether a received S7F23 still waits for GemFormattedPrograms.RespondTransfer or GemFormattedPrograms.RespondTransferAndStore. |
Members
GemFormattedProgramTransferInfo
Constructor
Describes an S7F23/S7F24 formatted process program send held by a GemResult.
public GemFormattedProgramTransferInfo(uint RequestKind, nuint CommandCount, byte IdFormat, byte IsRequest, byte Responded, byte Acknowledgement, byte AcknowledgementPresent, byte ReplyReady)Returned by GemResult.GetFormattedProgramTransferInfo. The equipment receives S7F23 and answers with an ACKC7 code in S7F24; the host receives the acknowledgement. Only a received S7F23 carries the program. Each flag is 1 when set and 0 otherwise.
Parameters
| Name | Description |
|---|---|
RequestKind | The request kind 36 (GemRequestKind.FormattedTransfer). |
CommandCount | The number of commands in the received program; 0 on an acknowledgement result. |
IdFormat | The SECS-II format code of the received PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary). 0 on an acknowledgement result. |
IsRequest | Whether the result is a received S7F23 that this equipment answers. |
Responded | Whether the S7F24 was sent by this equipment or received by this host. |
Acknowledgement | The ACKC7 code (0 to 7) that was received or sent; meaningful when GemFormattedProgramTransferInfo.AcknowledgementPresent is 1. |
AcknowledgementPresent | Whether GemFormattedProgramTransferInfo.Acknowledgement holds a received or sent ACKC7 code. |
ReplyReady | Whether a received S7F23 still waits for GemFormattedPrograms.RespondTransfer or GemFormattedPrograms.RespondTransferAndStore. |
Acknowledgement
Property
The ACKC7 code (0 to 7) that was received or sent; meaningful when GemFormattedProgramTransferInfo.AcknowledgementPresent is 1.
public byte Acknowledgement { get; init; }AcknowledgementPresent
Property
Whether GemFormattedProgramTransferInfo.Acknowledgement holds a received or sent ACKC7 code.
public byte AcknowledgementPresent { get; init; }CommandCount
Property
The number of commands in the received program; 0 on an acknowledgement result.
public nuint CommandCount { get; init; }IdFormat
Property
The SECS-II format code of the received PPID: 16 (SecsFormat.Ascii) or 8 (SecsFormat.Binary). 0 on an acknowledgement result.
public byte IdFormat { get; init; }IsRequest
Property
Whether the result is a received S7F23 that this equipment answers.
public byte IsRequest { get; init; }ReplyReady
Property
Whether a received S7F23 still waits for GemFormattedPrograms.RespondTransfer or GemFormattedPrograms.RespondTransferAndStore.
public byte ReplyReady { get; init; }RequestKind
Property
The request kind 36 (GemRequestKind.FormattedTransfer).
public uint RequestKind { get; init; }Responded
Property
Whether the S7F24 was sent by this equipment or received by this host.
public byte Responded { get; init; }