UR5 interface with STM32 and servo

I do a quick research and figure out that I can use modbus tcp for arduino and ur5 communication. Can I use it with UR5 and STM32f103 also ?
Arduino Uno interface with the UR5 - Technical Questions - Universal Robots Forum