This example project shows how to use the GPIOs with CODESYS on a IOT2000 with GPIO expansion/IO module.
The small webvisu shows the status of the inputs as lamps, the outputs can be controlled via switches.
Install / mount the IOT2000 IO-expansion module according to its user manual on your IOT2000 hardware.
Install and run the CODESYS Control for IOT2000 SL on your IOT2000 hardware.
Start CODESYS and open the example project.
Download and run it. In the online or webvisualization you can see and control the inputs and outputs.