Byte offset (P-EXTV-00002)

P-EXTV-00002

Position of external variable in the memory

Description

Deviating from the data size implicitly defined by "type” (P-EXTV-00003) or the defined data size of a structure, (see Data sets for definition of the elements of a variable type (struct[i].element[j].*)), the position of a variable can be defined in the memory.

The indication of this parameter is optional. All variables with byte_offset = –1 are concatenated without gaps (starting with offset 0) in the V.E.memory.

Parameter

var[i].byte_offset

Data type

SGN32

Data range

0 ... MAX(SGN32)

Dimension

----

Default value

-1

Remarks

It is recommended to leave address calculations up to the controller and not to use the parameter. Any memory overlaps caused by incorrect configuration can only be detected by the parameter P-EXTV-00011.