Hi all,
the online insctruction told me to use ModbusServer() instead of ModbusSlave():
"ModbusServer() was formerly ModbusSlave(). Campbell Scientific, in conjunction with the Modbus Organization, is now using "client-server" to describe Modbus communications."
But the CRBasic does not recognized ModbusServer(). I get a compile error, that ModbusServer() is invalid. I can send the program with ModbusServer() to the C1000X (6.01) and it runs successfully. So I think CRBasic needs to be updated? I have / use the version 3.9.0.4 (coming with LoggerNet 4.7.0.15).
What can I do so that I no longer get a compile error in CRBasic when I use ModbusServer()?
Thank you very much.
Download the latest OS update from our website and run the executable file. That will update the CRBasic intsruction panel, help file, and compilers.
https://www.campbellsci.com/downloads/cr1000x-os
Hi Donna,
thank you for the solution, that works !! I thought that the compiler was only updated with a CRBasic update.
Greetings