you'll need a specific communication board if you are doing anything other than socket communication
Not true I implemented a modbus slave in robot language, to avoid paying an arm and a leg for a communication board. I think it was about 4 morning to evening days coding and 2 debugging.
Sadly I didn't seem to upload the "MODBUS.INC" file, so it is not plug and play.