|Michael Buesch 148db2f408 Disable merged /usr||1 month ago|
|deb||8 months ago|
|doc||9 months ago|
|keys||9 months ago|
|maintenance||8 months ago|
|templates||4 months ago|
|.gitignore||9 months ago|
|README.md||9 months ago|
|pilc-bootstrap.sh||1 month ago|
PiLC can be used to run a Raspberry Pi just like a "real" PLC.
Download the latest ready to use PiLC SD card image for the Rasperry Pi from the PiLC download page.
Just copy the PiLC image file onto an SD card. The process of installing PiLC is exactly the same as installing the standard Raspbian distribution.
Please see the install instructions for more details.
There is no need to set up anything else. The PiLC image is pre-configured so that the Awlsim core will automatically start during bootup. The Awlsim core on the PiLC listens to SSH connections on the Ethernet port.
Connect the Raspberry Pi's Ethernet port to your network and power up the Raspberry Pi. It will automatically fetch an IP address from your router.
Check your router information page to see which IP address the Raspberry Pi obtained.
Start the Awlsim GUI on your PC.
Load the example project
raspberrypi-gpio.awlpro that is shipped with Awlsim into the Awlsim GUI by clicking
File and then
Then connect to the PiLC by clicking
CPU and then
Go online (Connect to a CPU) in the menu bar.
This will happen, if you re-install PiLC on the Raspberry Pi.
Re-installing PiLC generates new SSH keys and therefore causes subsequent authentications to fail.
To fix this delete the SSH authentication (
known_hosts entry) on the PC (not on the Raspberry Pi).
If you are using OpenSSH/Linux on the PC, enter the following command into a command prompt:
ssh-keygen -R 192.168.0.10
192.168.0.10 with the IP address of your Raspberry Pi.
If the PiLC is not in RUN state, click the RUN button to start the program.
The Awlsim working directory is
The loaded project and other configuration files are stored there.