PlcServiceHeader (STRUCT)

TYPE PlcServiceHeader : STRUCT

InOut:

Name

Type

Initial

Comment

HeaderTag

UINT

HEADER_TAG_STANDARD

Qualified Constants.<…> but this leads to compile errors

HeaderSize

UINT

UDINT_TO_UINT((SIZEOF(THIS^) - 4))

size from service group on!

ServiceGroup

UINT

Service

UINT

DeviceSessionId

UDINT

ServiceLength

UDINT

size of the service wihtout the header

CustomerId

UINT

0

0 -> 3S

Reserved

UINT

0

must be 0