Use script code with comunication Modbus TCP/IP in UR3 with CB3

Good morning, I am new to using scripts and I am using them to control a Festo servomotor. To do this, I am trying to implement the examples shown here for the CMMT-AS model:

The main problem I have encountered is that when executing the example code the compiler returns several failures in the basic functions of modbus:
modbus_add_rw_signal
modbus_get_error

In them tells me that they do not exist. I hope someone can help me with the failure and maybe I need to do some previous load of some library.

Thank you very much.

This function might only exist for e-series robots. I can not find it in the script reference for CB-Robots (3.15)