david9991 / plcc-plugin

16 stars 3 forks source link

PLCC IEC 61131-3 Development Environment

Service Status

Features:

Recommended color themes for the semantic highlighting feature:

With additional settings

 "editor.semanticTokenColorCustomizations": {
    "enabled": true,
    "rules": {
      "property": "#2ea154",
      "operator": "#3b8abb",
      "parameter": "#a89f23"
    }
 }

How to Turn Your Raspberry Pi 4B into an Edge Controller

Follow these steps:

  1. Install Ubuntu 22.04 LTS (64-bit) on your Raspberry Pi 4B. Ensure that WiFi is properly configured and able to connect to the internet.
  2. Connect to the device using SSH via WiFi.
  3. Obtain the MAC address of the wired network device using ifconfig.
  4. Run curl -sL https://raw.githubusercontent.com/david9991/plcc-edge/main/raspi/install.sh | sudo sh -s <The Mac Address> <Username>. Replace <The Mac Address> and <Username> with the MAC address of your Raspberry Pi's wired network device and a non-root username that you are currently using, respectively. For example: curl -sL https://raw.githubusercontent.com/david9991/plcc-edge/main/raspi/install.sh | sudo sh -s e4:5f:01:05:95:3c david.
  5. Finally, reboot your device.
  6. Change the target to linux-arm64 in your project.json file in your project folder to run on Raspberry Pi.

Note: Currently, all devices are exposed to the whole cloud. We do not support private devices at the moment. You can change the device name by changing the --name parameter of plcc-edge services.

Service Availability Notice

Please be advised that we do not guarantee that our services will always be available. As a growing free service, we may experience downtime, technical issues, or other interruptions in service. We apologize for any inconvenience this may cause and we are continually working to improve our systems and minimize disruptions. Thank you for your understanding.

Privacy & Terms

A full example of project.json

{
  "type": "PLCC-IEC61131-3",
  "configuration": "Config1",
  "target": "r8",
  "libs": [
    "plcc_motion"
  ],
  "mode": "app"
}

TODO:

Discussion: