There are fieldbus books in general, but no developer "textbooks" that I'm familiar with.
If you are planning to develop a product for sale, your minimum first step should be to join the ODVA or EtherCAT Technology Group, get a vendor ID, an buy the protocol specification documents.