IoConfigChannelMap (STRUCT)

TYPE IoConfigChannelMap : STRUCT

Mapping information for a single channel. Every I/O-channel is described as a parameter, but with special meanings. The datatype of a channel can be simple (BOOL, BYTE, WORD, etc.) or array of simple types.

InOut:

Name

Type

Comment

pParameter

POINTER TO IoConfigParameter

Pointer to the parameter description.

pbyIecAddress

POINTER TO BYTE

Pointer to the parameter in the process image on the IEC side.

wParameterBitOffset

WORD

Bitoffset of the device.

wIecAddressBitOffset

WORD

Bitoffset of pbyIecAddress in the IEC process image.

wSize

WORD

Size in bits of the channel.

wDummy

WORD

This parameter is now used for the base type information. This information is needed for a correct swapping action. – wBaseTypeInformation : WORD; – compiler relies on the name ‘wDummy’ here

dwDriverSpecific

XWORD

Driver specific entry. Reserved for the usage in the driver.