pascalSCADA OPM: S7Types: Record TPDUHeader

Pascal SCADA OPM

Record TPDUHeader

Hierarchy
Methods
Properties

Unit

S7Types

Declaration

type TPDUHeader = record

Description

: Represents the PDU header.

Overview

Fields

P:Byte;
PDUHeadertype:Byte;
a:Byte;
b:Byte;
number:Word;
param_len:Word;
data_len:Word;
Error:Word;

Description

Fields

P:Byte;

Allways 0x32

PDUHeadertype:Byte;

Header type, one of 1,2,3 or 7. type 2 and 3 headers are two bytes longer.

a:Byte;

Currently unknown. Maybe it can be used for long numbers?

b:Byte;

Currently unknown. Maybe it can be used for long numbers?

number:Word;

A number. This can be used to make sure a received answer corresponds to the request with the same number.

param_len:Word;

Length of parameters which follow this header.

data_len:Word;

Length of data which follow the parameters.

Error:Word;

Only present in type 2 and 3 headers. This contains error information.


Generated by PasDoc 0.14.0.