How to Use Hardware and Software serial ports together

I want to send some characters from my computer to arduino through USB hardware serial and accordingly i want to send serial data to a controller via software serial ports. How do i do it?. I know serial communication for single port and it works fine but when I try to use hardware and software serial together it just does not work for me. The data is sent to the arduino from computer as seen in serial monitor but nothing happens on the software serial port. What could be the problem?. I don't understand how listen() function works. Kindly help Thank you.

You use different pins for the software serial, so do not use pins 0&1

Do you need to use RS232 for your other device? If so you need a voltage converter.

We need more information about what you are trying to do and post some code of what you have tried.

What could be the problem?.

The problem is that you failed to post any code.

It certainly can be done. I have an Arduino with a hardware serial port via USB to my PC for debugging, and two software serial ports connected to devices (other Arduinos, as it happens).

Please provide details of your code, your wiring, your serial devices, etc.

Also, read the sticky topics by Nick Gammon at the top of this forum.

Thanks!