I want use I/O line passing of Xbee pro S2B. How to do that?

You don’t. That product does not offer an actual IO line pass. That product requires you to use over the air commands and API mode to view the Input of one radio and then to send remote AT commands via the API to change the status of an output.