Yes, this should work. Please review the specifications for RS485 communication on your equipment to ensure you are within them.
Distance - distances up to 1,200 m (4,000 ft)
The value of each termination resistor (If not built into the equipment) should be equal to the cable characteristic impedance (typically, 120 ohms for twisted pairs)
Regards,