FB_KL27x1Config function block
The KL2751 and KL2761 terminals can be configured using the FB-KL27x1Config function block. A detailed description can be found in the Beckhoff Information System:
TwinCAT2: TwinCAT PLC Lib: IO functions/Bus Terminal configuration
TwinCAT3: TwinCAT 3 PLC Lib:Tc2_IoFunctions/Function blocks/Bus Terminal configuration