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.  We will prepare the firmware for other boards and integrate it into the Speed ​​Plc system within a short time.

 

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, ds1307

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

Restart Raspberry.

To change the time setting: sudo hwclock -set -date = “10/05/2010 12:57:00”

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

 

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 cost of the card with 16 digital inputs and 16 digital output we designed is only $5. Cost of the card with 8 analog input is $10. You can purchase the projects of all these tested circuits from us.
  • You can be a plc manufacturer without making any R&D. You can use it for your own needs or sell it. The Speed ​​Plc program can start with your logo.
  • 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. We will first upgrade the plc command set and add new commands that are not exist in current PLCs. Then the web interface and the HMI interface will be added to the system.

 

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 Price
Starter(Free) 2 Kb. Not Allowed 0 Usd.
Basic 8 Kb. Allowed 250 Usd.
Professional 32 Kb. Allowed 1000 Usd.
  • 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
  • The cost for opening the Speed ​​Plc editor program with your logo and distributing with this feature is 5000 USD. Distribution will be made with the above fees. You can also customize the help pages besides the logo.
  • You can distribute the Speed ​​Plc editor program with your logo on any conditions (paid, free, etc.) unlimitedly. The editor program you distribute in this way will only connect to your plc. The price is 50,000 USD.
  • You can add additional modules to the plc system that work with the SPI protocol. You do not have to pay for it. But the circuit diagrams, the spi codes and the chip codes of the modules we designed are 5000 Usd. Design is made according to your Pcb size.
  • The Speed ​​Plc program has a one-year upgrade warranty. You can get the new versions for a year from the date of purchase. At the end of this period you can upgrade by paying 50% of the license fee.
  • Speed ​​Plc license key and license code can be used for a single computer. The activation process is performed automatically by the Speed ​​Plc program on the computer which connected to internet . When it is determined that the same license key is running on different computers, the license is automatically canceled. After that, the license code can not be used on both computers. For this reason you are responsible for the security of your license key. You will not be able to use the program in case of it is copied outside of your knowledge.

 

Modules We Designed:

  • 16 Digital Input 24v. list cost 5 Usd.
  • 16 Digital Output 24v. list cost 5 Usd.
  • 8 Digital Input 24v. and 8 Digital Outputs 24v. list cost 5 Usd.
  • 4 Analog Output 0-5 Volts, 0-10 Volts, 0-20 Ma. Two models as 12 bit and 16 bit. list cost 10 Usd.
  • 8 Analog Input Volt, Milivolt, Milliamper, Pt100, Pt1000, Resistor, Thermocouple. 16 bits. list cost 10 Usd.
  • Rack transition module. The Speed ​​Plc system can have 16 modules per rack. The number of modules is increased by adding racks. The modules in the rack communicate with the SPI and TTL level. TTL voltage level is not suitable for transitions between racks. It is transmitted as SPI 0-20 mA by Rack transition module

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.

Download:

Translate »