Application Running and Testing
You can test an application using the following commands:
Note
You must configure config/appconfig.json
and launch.json
to align with your app requirements.
Run example in Python:
cd $HOME/rest_sample_interface
python3 app.py
For debugging, test your application against an external Modbus Server (not HCC2) to make sure that the application is able to read and write data and that it performs the calculations correctly.
You may use the Modbus Simulator detailed in the Modbus SDK section or use an external Modbus simulator of your preference. When you are certain that your application runs, prepare the application to be deployed to the HCC2 hardware target.