Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 957 Bytes

File metadata and controls

29 lines (17 loc) · 957 Bytes

Build and Set-Up OpenPLC container

How to create your own OpenPLC image

  • Build openplc image:
    • cd ~/ICSVirtual/openplc
    • docker build -t open-plc .

Use the OpenPLC image created for the project

  • Open docker-compose file cd ~/ICSVirtual/network/ICSNetwork.
  • Change the image of the openplc service by sflorenz05/open-plc:v0.1.
  • The login credentials are set by default to openplc for both user and password.

Follow this recommendation [Only for Modbus]

  • Once OpenPLC container is running:

  • Disable DNP3/EtherNET/IP to use only Modbus protocol:

openplc1

  • Load the *.st file of the project.

    • E.g.: file water_heater.st is placed into ~/ICSVirtual/openplc/sample/.
  • Start PLC.

openplc2