I’ve connected a sensor to the XS7 port on the IRC5 Compact cabinet

Options
I’ve connected a sensor to the XS7 port on the IRC5 Compact cabinet and I’d like to set it up as an emergency stop for the robot. However, I’m not quite sure how to check the signal from the XS7 port in RobotStudio or how to configure it properly. If you happen to have some time, could you possibly guide me through it? Or maybe share a document or video that explains the setup? I’d really appreciate your help. Thank you so much!