Function block FB_KL1501Config
The function block FB-KL1501Config can be used to configure the KL1501 terminal. A more detailed description can be found in the Beckhoff Information System:
TwinCAT2: TwinCAT PLC Lib: I/O functions/Bus Terminal configuration
TwinCAT3: TwinCAT 3 PLC Lib:Tc2_I/O functions/Function blocks/Bus Terminal configuration