Section 3: channel-specific PLC parameters

All V.E. variables that are assigned to the channel-specific data via var[?].scope = CHANNEL are entered in an additional PLC structure VE_CHANNEL_DATA_CH_?. The question mark in the name of VE_CHANNEL_DATA_CH_? is a placeholder parameter for the channel number.

Programming example

Declared in the V.E. list

var[1].name Index_Element
var[1].type Position_and_Index
var[1].scope CHANNEL

The following is created in the export file

TYPE VE_CHANNEL_DATA_CH_1:
  STRUCT
    Index_Element: Position_and_Index;
  END_STRUCT
END_TYPE