Help With MODBUS MASTER-SLAVE TURNING "ON" OUTPUTS

SoftwareSerial mySerial(0, 1);

You cannot have a SoftwareSerial connected to the hardware serial pins and use Serial at the same time.

BTW: if ever possible don't use SoftwareSerial for the main communication. Use it for debugging as there it's not so critical if you loose some bytes. I've never seen SoftwareSerial communicating reliably at speeds over 9600 baud. And even if you're lucky and the serial communication works, you're Arduino is doing almost nothing else than handling the emulated serial communication during a transfer because the emulation stops all interrupts and blocks the complete processor during the transfer of a complete byte.

If you want to have a debugging possibility and still get some processor runtime, use AltSoftSerial for debugging (it uses fixed pins for that) and do the RS-485 communication using the hardware serial interface.