Sorry, not familiar with your switch, but follow the link to answer your cable question.

https://www.aggsoft.com/rs232-pinout-cable/pinout-and-signal.htm