In this example we want to read the temperature from the RTD channel of the RevPi AIO and write these values to the analog output channel where a digital display is connected.
We are using a RevPi Connect+ feat CODESYS with CODESYS Control for Raspberry Pi MC SL and a RevPi AIO for this example. We also need a temperature sensor and a digital display.
If you have a license for Single Core, you can change the target like this:
Right-click on the “Root Device” CODESYS Control for Raspberry Pi MC SL in the CODESYS device tree.
- Click on update device.
- Select CODESYS Control for Raspberry Pi SL.
The CODESYS Control device target for the example is changed from MultiCore to SingleCore.
- Configure the RTD Channel 2 of the AIO for PT 100.
For detailed info refer to: Configuring RTD Channels for Temperature Measurements | Revolution Pi (kunbus.de).
- Configure the output channel 2 for ITP11 PROCESS INDICATOR 4-20 MA.
For detailed info refer to: Configuring Analog Outputs | Revolution Pi (kunbus.de).