Limit switch help

i cannot connect the DIO enum constant to a limit switch in begin, please help i cannot find anything online

Right click on the output you wish to connect and click on create constant in the drop down menu.