Skip to content
Start free evaluation

PDComm.GemFormattedProgramVerificationNegotiationInfo

Class

Describes an S7F29/S7F30 process program verification negotiation held by a GemResult.

public sealed record GemFormattedProgramVerificationNegotiationInfo

Returned by GemResult.GetFormattedProgramVerificationNegotiationInfo. The equipment prepares a negotiation with GemFormattedPrograms.PrepareVerification, sends the S7F29 inquire with GemFormattedPrograms.SubmitPreparedVerification and, after a granting S7F30, sends the prepared S7F27 report. The host receives the S7F29 and answers with GemFormattedPrograms.RespondVerification. Each flag is 1 when set and 0 otherwise.

Parameters

NameDescription
RequestKindThe request kind: 40 (GemRequestKind.FormattedVerificationNegotiation) for the inquire and grant, or 35 (GemRequestKind.FormattedVerificationReport) for the S7F28 acknowledgement of the S7F27 sent after the grant.
StateThe negotiation state: 1 prepared by this equipment, 2 received by this host, 3 answered by this host.
NegotiationTerminalHow the inquire ended: 0 not yet or ended by a malformed S7F30, 1 granted, 2 denied, 3 timed out, 4 disconnected.
VerificationTerminalHow the S7F27 send after a grant ended: 0 not yet or ended by a malformed S7F28, 1 acknowledged with S7F28, 3 timed out, 4 disconnected.
LengthThe LENGTH value of the S7F29: the encoded size, in bytes, of the S7F27 report body.
PpGntThe PPGNT code (0 to 63, where 0 grants); meaningful when GemFormattedProgramVerificationNegotiationInfo.PpGntPresent is 1.
PpGntPresentWhether GemFormattedProgramVerificationNegotiationInfo.PpGnt holds a received or sent grant code.
PreparedWhether the result describes this equipment's own negotiation rather than a received S7F29.
SubmittedWhether the equipment sent the S7F29 inquire.
RespondedWhether this host sent its S7F30 answer.
ReplyReadyWhether a received S7F29 still waits for GemFormattedPrograms.RespondVerification.
CorrelationThe sequence number of the negotiation within its connection generation; every result of one negotiation carries the same value.

Members

GemFormattedProgramVerificationNegotiationInfo

Constructor

Describes an S7F29/S7F30 process program verification negotiation held by a GemResult.

public GemFormattedProgramVerificationNegotiationInfo(uint RequestKind, uint State, uint NegotiationTerminal, uint VerificationTerminal, uint Length, byte PpGnt, byte PpGntPresent, byte Prepared, byte Submitted, byte Responded, byte ReplyReady, ulong Correlation)

Returned by GemResult.GetFormattedProgramVerificationNegotiationInfo. The equipment prepares a negotiation with GemFormattedPrograms.PrepareVerification, sends the S7F29 inquire with GemFormattedPrograms.SubmitPreparedVerification and, after a granting S7F30, sends the prepared S7F27 report. The host receives the S7F29 and answers with GemFormattedPrograms.RespondVerification. Each flag is 1 when set and 0 otherwise.

Parameters

NameDescription
RequestKindThe request kind: 40 (GemRequestKind.FormattedVerificationNegotiation) for the inquire and grant, or 35 (GemRequestKind.FormattedVerificationReport) for the S7F28 acknowledgement of the S7F27 sent after the grant.
StateThe negotiation state: 1 prepared by this equipment, 2 received by this host, 3 answered by this host.
NegotiationTerminalHow the inquire ended: 0 not yet or ended by a malformed S7F30, 1 granted, 2 denied, 3 timed out, 4 disconnected.
VerificationTerminalHow the S7F27 send after a grant ended: 0 not yet or ended by a malformed S7F28, 1 acknowledged with S7F28, 3 timed out, 4 disconnected.
LengthThe LENGTH value of the S7F29: the encoded size, in bytes, of the S7F27 report body.
PpGntThe PPGNT code (0 to 63, where 0 grants); meaningful when GemFormattedProgramVerificationNegotiationInfo.PpGntPresent is 1.
PpGntPresentWhether GemFormattedProgramVerificationNegotiationInfo.PpGnt holds a received or sent grant code.
PreparedWhether the result describes this equipment's own negotiation rather than a received S7F29.
SubmittedWhether the equipment sent the S7F29 inquire.
RespondedWhether this host sent its S7F30 answer.
ReplyReadyWhether a received S7F29 still waits for GemFormattedPrograms.RespondVerification.
CorrelationThe sequence number of the negotiation within its connection generation; every result of one negotiation carries the same value.

Correlation

Property

The sequence number of the negotiation within its connection generation; every result of one negotiation carries the same value.

public ulong Correlation { get; init; }

Length

Property

The LENGTH value of the S7F29: the encoded size, in bytes, of the S7F27 report body.

public uint Length { get; init; }

NegotiationTerminal

Property

How the inquire ended: 0 not yet or ended by a malformed S7F30, 1 granted, 2 denied, 3 timed out, 4 disconnected.

public uint NegotiationTerminal { get; init; }

PpGnt

Property

The PPGNT code (0 to 63, where 0 grants); meaningful when GemFormattedProgramVerificationNegotiationInfo.PpGntPresent is 1.

public byte PpGnt { get; init; }

PpGntPresent

Property

Whether GemFormattedProgramVerificationNegotiationInfo.PpGnt holds a received or sent grant code.

public byte PpGntPresent { get; init; }

Prepared

Property

Whether the result describes this equipment's own negotiation rather than a received S7F29.

public byte Prepared { get; init; }

ReplyReady

Property

Whether a received S7F29 still waits for GemFormattedPrograms.RespondVerification.

public byte ReplyReady { get; init; }

RequestKind

Property

The request kind: 40 (GemRequestKind.FormattedVerificationNegotiation) for the inquire and grant, or 35 (GemRequestKind.FormattedVerificationReport) for the S7F28 acknowledgement of the S7F27 sent after the grant.

public uint RequestKind { get; init; }

Responded

Property

Whether this host sent its S7F30 answer.

public byte Responded { get; init; }

State

Property

The negotiation state: 1 prepared by this equipment, 2 received by this host, 3 answered by this host.

public uint State { get; init; }

Submitted

Property

Whether the equipment sent the S7F29 inquire.

public byte Submitted { get; init; }

VerificationTerminal

Property

How the S7F27 send after a grant ended: 0 not yet or ended by a malformed S7F28, 1 acknowledged with S7F28, 3 timed out, 4 disconnected.

public uint VerificationTerminal { get; init; }