- Build openplc image:
- cd
~/ICSVirtual/openplc
docker build -t open-plc .
- cd
- Open docker-compose file
cd ~/ICSVirtual/network/ICSNetwork
. - Change the image of the
openplc
service bysflorenz05/open-plc:v0.1
. - The login credentials are set by default to
openplc
for both user and password.
-
Once OpenPLC container is running:
-
Disable DNP3/EtherNET/IP to use only Modbus protocol:
-
Load the
*.st
file of the project.- E.g.: file
water_heater.st
is placed into~/ICSVirtual/openplc/sample/
.
- E.g.: file
-
Start PLC.