Check below link to know how to install the library on the CX
https://infosys.beckhoff.com/english.php?content=../content/1033/tf6250_tc3_modbus_tcp/9007199960625931.html&id=6611714923904265297
make sure that you have the below files