===== Prepare the Serial port ====== 1. Enable the serial port (''sudo raspi-config'') {{ :comfilepi:codesys:enableserial.png?nolink |}} {{ :comfilepi:codesys:enableserial2.png?nolink |}} Please choose : * Login shell accessible function over serial --> NO ;-) * Enable hardware serial port --> YES 2. Edit the CODESYS configuration file sudo nano /etc/CODESYSControl.cfg {{ :comfilepi:codesys:settingserial.png?nolink |}} [SysCom] Linux.Devicefile=/dev/serial Press ''Ctrl+X'' and ''Y'' to save. 3. Internally CODESYS will be connected like this. {{ :comfilepi:codesys:finalconnection.png?nolink |}} [[comfilepi:codesys:index|CODESYS with the ComfilePi]]