Manual
Automatic RUN
Configure the ssh connection to download, compile and run the project.
Manual RUN
1. Copy the generated files into /out folder to microSd (create /plc folder).
2. Start the board with microSD.
3. By terminal: find copied files:
4. Execute make command:
5. Execute plc script:
6. Execute application:
Network conf.
Hardware: edit file /etc/network/interfaces
auto eth0
# iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
PC: conexion properties
static IP
IP: 192.168.0.1
Netmask: 255.255.255.0
Gateway: 192.168.0.2
Other hardware
For running in other hardware modify plc.sh script file and plc.c source code.
plc.sh is responsible for creating the GPIO, maybe this is not necessary on other hardware.
plc.c is source code, after building the Ladder program replace the GPIO file into __init() function.
Compile and run the program manually