Alignment of external variables (P-STUP-00145)

P-STUP-00145

Alignment of external variables

Description

This parameter defines the alignment of external variables in the CNC ([EXTV]). IMPORTANT: They must correspond to the alignment setting used in the PLC.

Parameter

ext_var_struct_member_alignment

Data type

UNS08

Data range

Permissible values for this parameter are:

0: The CNC automatically defines the alignment of variables depending on the target platform

1: 1-byte alignment (pragma pack) is used for external variables. No alignment bytes are added.

2: 2-byte alignment is used

4: The CNC uses 4-byte alignment

8: The CNC uses 8-byte alignment

Dimension

----

Default value

0

Remarks

This parameter is only available as of CNC Build V3.1.3019.00 and higher.

IMPORTANT: The alignment setting defined here must correspond to the alignment setting used in the PLC. Otherwise, no or incorrect values can be transferred if there is shared access to external variables.

This parameter may only be changed in consultation with the controller manufacturer.