Steps to Download, Build, Simulate, and Run the Kairo Program

1. Download the Kairo Program

  • Clone the latest version of the Kairo Program from GitLab, making sure to select the Kairo branch.

2. Open the Project in Flexcore

  • Launch Flexcore 4.10 (with the T135 hotfix provided by KEBA).
  • Open the project file: KairoProgram.project.

3. Build the Project

  • Click the Build button from the top panel, or press F11, to compile the project.
  • Ensure the build completes successfully without errors.

4. Create Machine Software

  • In the project view, right-click on CP505_A and select Create Machine Software.
  • In the dialog:
    • Choose Build target image and simulation.
    • Set a destination folder of your choice.
  • Click Create to begin generating the image.

5. Start the Simulation

After the image is successfully created, you can start the simulation in one of two ways:

Option 1: From the Image Folder

  • Navigate to the destination folder you selected.
  • Inside the CP505_A folder (or your custom name), run SimulationStarter.exe to launch the simulation.

Option 2: From Flexcore

  • In Flexcore 4.10, go to the top menu:
    Tools → Simulation → Start From Path
  • Browse and select the CP505_A folder to start the simulation.

6. Verify Simulation is Running

  • Open DevAdmin for the simulated PLC’s IP address.
  • Log in to confirm the simulation is active and functioning correctly.

7. Connect via T70 Panel

  • Launch the T70 panel on your PC.
  • Connect it to the simulated PLC’s IP address to interact with the system.

Running the Visual Interface (Visu)

8. Set Up Environment Variables

  • In the frontend folder of the Visu code (from GitLab dev branch), create a file named .env with the following content: VITE_KEBA_API_TARGET_IP='IP_OF_PLC_TO_BE_FILLED'

9. Start the Visu Application

  • Open a terminal in the frontend folder and run the following commands:
    npm install # Run this once to install or update dependencies
    npm run dev --host # Starts the development server
  • After starting, a local IP address will be displayed. Open it in your browser to access the PLC Visu interface.

    Subscribe
    Notify of
    0 Comments
    Oldest
    Newest Most Voted
    Inline Feedbacks
    View all comments
    Scroll to Top
    0
    Would love your thoughts, please comment.x
    ()
    x