Speed Plc

Speed ​​Plc is a complete system that allows you produce a PLC. It consists of Speed ​​Plc editor software (the program that runs in your computer) and firmware (operating system loaded in the chip or board). With Speed ​​Plc editor program you can prepare plc code in ladder language. The code you have prepared will be operated by the firmware. With the Speed ​​Plc editor program you can control all the features of Plc. Firmware is currently only available for Raspberry Pi and STM32f407VGT6.  We will prepare the firmware for other boards and integrate it into the Speed ​​Plc system within a short time. With Fultek brand plc modules you can use without license requirement.

Fultek PLC:

With the Speed Plc program, you can use Fultek brand FulMatic 7 plc without license. For now, you can use 18 different types of CPU modules and 23 different input / output modules for all your automation needs. Click here for more information. Our sales will start in November.

List of FulMatic 7 Silver Family Cpu module.

 

List of FulMatic 7 Silver Family IO module.

 

STM32 PLC:

With the Speed ​​Plc system, you can turn the STM32F407VGT6 into a plc in a few minutes.

 

STM32 Setup:

Firmware last update date 12.12.2018.

You can download the firmware for STM32f407VGT6 here.

EasyMx PRO v7 development board home page.

You can download the recommended electronic schematic here.

You can download the Proteus project here.

STM32F407VGT6 Pinout:

Speed Plc firmware STM32f407VGT6 pin usage.

 

Raspberry Pi PLC:

Raspberry Pi is a complete computer with different models ranging from $10 to $35. With the Speed ​​Plc system, you can turn the Raspberry Pi into a plc in a few minutes.

You must first install the Rasbian operating system to the Raspberry Pi you bought. You can see how the installation is done by expanding the window below.

Raspberry Pi Setup:

Download the Rasbian operating system from Raspberry Pi site. Https://www.raspberrypi.org/downloads/raspbian/

With the Win32 Disk Image program, write your Rasbian image to the SD card.

Make SD card, keyboard, mouse and screen connection and power up the Raspberry Pi.

Make the network connection.

Set the opening password.

If you are using hdmi run the nano program by typing this to command line: sudo nano /boot/config.txt . Find hdmi_safe = 1 line and make it active.

Allow SSH, SPI, I2C and Serial port from Raspberry Pi Preference menu.

Restart Raspberry.

At the command line, run sudo apt-get update.

 

Making the ip address static:

At the command line, run the nano editor: sudo nano /etc/dhcpcd.conf

Find this line: nohook lookup-hostname and add IP addresses to below as following

Interface eth0

Static ip_address = 192.168.0.216 / 24

Static routers = 192.168.0.1

Static domain_name_servers = 192.168.0.1

Interface wlan0

Static ip_address = 192.168.0.11 / 24

Static routers = 192.168.0.1

Static domain_name_servers = 192.168.0.1

 

Serial Port Settings:

Run the nano editor by typing this command to command line: sudo nano /boot/config.txt Add this code to the bottom row: Dtoverlay = pi3-disable-bt

Run the nano editor by typing this command to command line: sudo nano /boot/cmdline.txt Delete this statement: console=serial0,115200

 

Setting up the real time clock:

Add I2C support by typing this command to command line: sudo apt-get install i2c-tools

Run the nano editor by typing this command to command line: sudo nano /boot/config.txt . Add this row to the end of the file: dtoverlay = i2c-rtc, pcf8563

Run the nano editor by typing this command to command line: sudo nano /etc/modules . Add this row to the end of the file: rtc-pcf8563

Stop fake clock by typing this command to command line: sudo systemctl stop fake-hwclock.service

Disable fake clock by typing this command to command line: sudo systemctl disable fake-hwclock.service

Add fake clock by typing this command to command line: sudo apt-get purge fake-hwclock

Run the nano editor by typing this command to command line: sudo nano /etc/rc.local . Add the hwclock -s statement on the exit o command.

Run the nano editor by typing this command to command line: sudo nano /lib/udev/hwclock-set . Comment out the three lines as follows.

#if [-e / run / systemd / system]; Then

# Exit 0

#fi

Save the system time by typing this command to command line: sudo hwclock -w

Check the system time  by typing this command to command line: hwclock -r

Restart Raspberry. sudo reboot now

Optional:

To change the time setting: sudo hwclock -set -date = “10/05/2010 12:57:00″ or –set –date=”19 Oct 2018 10:14”

Setting the time zone on the command line sudo timedatectl set-timezone Europe/Istanbul

Stop the time server service by typing this command to command line: sudo systemctl stop systemd-timesyncd.service

Disable the time server service by typing this command to command line: sudo systemctl disable systemd-timesyncd.service

Finally, run the Speed Plc program and load the firmware into Raspberry Pi.

Firmware

Firmware

Once the installation is complete, the firmware must be transferred to the Raspberry Pi with the Speed ​​Plc program. As soon as the transfer is complete, Raspberry Pi will start working as Plc. Raspberryi Pi inputs and outputs are in TTL (3.3v – 25mA) level. For now you can test your PLC by connecting buttons and LEDs. On the Raspberry Pi there are 26 ports that you can use as input / output . Then you should design the IO Shield circuits to protect the Raspberry Pi inputs and outputs. Expand the window below for optocoupler circuit design.

Optocoupler Circuit

In order for Raspberry Pi to be a true plc, the inputs and outputs used by the plc system will be needed.

  • Run / Stop button.
  • Run Led.
  • Stop Led.
  • Plc shutdown detection input.  Persistent values ​​should be stored to the disk by the firmware when the plc shutdown. With this signal, shutdown of the plc detected and the values ​​are recorded. Raspberry Pi can be used as plc without any other system inputs. But without this input, data values ​​will never be persistent. However the Plc code is always saved to disk.

Plc shutdown detection circuit

Plc Shutdown Detection Circuit

Plc Shutdown Detection Circuit

Recommended circuit design for using Raspberry Pi as Plc Cpu Module:

Cpu Board

Cpu Board

You can download the electronic schematic here.

You can download the Proteus project here.

You can download Gerber files from here.

 

Advantages of the Speed ​​Plc system:

  • Plc with Raspberry Pi capability is not in the world yet. Imagine a plc with hdmi screen, keyboard, mouse, wifi, ethernet, bluetooth, serial port, Lcd, gigabyte of disk space, cpu with 4 cores and faster than 1 GHz.
  • The cheapest plc is even more expensive than the Raspberry Pi. You can get the plc for just $10
  • You can choose the appropriate equipment yourself. Besides onboard inputs and outputs, you can design IO cards working with SPI. You can reach 16384 input / output capacity.  All IOs can be read and written within only 50 ms. You can produce specific cards. For example; You can create a servo control card and add it as a plc expansion module.
  • The easy, fast and highly capable features of the Speed ​​Plc editor program are an advantage in itself.
  • And you can start working at zero cost. You do not have to buy anything from us. Speed ​​Plc program can be used freely up to 2 kb plc code. You can be a plc manufacturer without buying anything. There is no restriction on the amount of plc you sell or use, and there is no charge for production.
  • The Speed ​​Plc system is produced as a result of long R&D work. It is newly offered to market. We will continue to develop rapidly.

Note for only Raspberry pi: The only disadvantage we can find for now is originating from the Java virtual machine. Speed ​​plc firmware is written in Java for Raspberr Pi. Java occasionally performs garbage collection. For this reason, the cycle time can be extended independently of the plc code. In the tests, 3-5 milliseconds per minute, and 3-5 times per day, 100 millisecond of cycle time extensions were observed. This error is mostly caused when communication with the PLC via ethernet. We are working on this error. For now, you should use the Speed ​​Plc system by accepting this error. Further developments will be announced on this page.

You can access our support website here.

 

License and Sales type:

You can use the Speed ​​Plc (Starter) with no charge, except for the restrictions in the table below. Contact us for different usages and designing SPI input and output modules.

Model Plc Code Size Additional Module Webserver Price
Starter (Free) 2 Kb. No Yes Free
Basic 8 Kb. Yes Yes 500 Usd.
Professional 32 Kb. Yes Yes 1000 Usd.
Ultimate Limited with plc memory Yes Yes 2000 Usd.
  • You do not need a license for Fultek brand plcs. With the Starter model, you can use all features of Plc without any restrictions.
  • The Speed ​​Plc system uses the 1 Kb plc code for the system. So 1 Kb code can be written with Starter version.
  • Input / output ports on Raspberry Pi can be used in all models.
  • With the Speed ​​Plc system, you do not have to pay any fees to produce and use plc. However Speed ​​Plc program has to be licensed for the use of additional modules or writing plc code larger than 2 Kb
  • You can access our support website here.
  • The Speed ​​Plc program has a three-year upgrade warranty. You can get the new versions for three year from the date of purchase. At the end of this period you can upgrade by paying 50% of the license fee.
  • The Speed ​​Plc program will store your license code when the license is activated. However, if there is a problem, it can be deleted from the system. For this reason, keep it in different way. When the license code is activated for a computer, it can not be used on a different computer. To make it available again, you can deactivate the license code when the computer you are using is connected to internet. You can activate the same license key on the same computer if you format and re-install the computer on which you are using the licensed Speed ​​Plc program, or if the Speed ​​Plc program is deleted and re-installed. In this case, you have to perform Deactivate License operation with your old computer to activate it on a different computer. When more than one applications running with the license code, which created especially for your name, are detected, your license will be canceled and legal follow-up will be started.our knowledge.

 

Version History:

12.12.2018 Version 2.0.6 released. Some bugs have been resolved.

24.11.2018 Version 2.0.5 released. Some bugs have been resolved. Improved performance for large project.

12.11.2018 Version 2.0.4 released. Some bugs have been resolved. List of used PLC variables listing function was added. Added value changing function in block status window.

20.10.2018 Version 2.0.3 released.

Download:

Translate »