Disabling Devices►Expand Solution Explorer > TwinCAT Project > I/O > Devices►Right-click on a Device to open the context menu►Click Disable in the context menu