I was recently working in the CODESYS runtime again, developing some components for a client and I thought the experience wold make the basis of a good post on bringing legacy code into a test environment, to enable Test Driven Development (TDD)The CODESYS runtime is a component based system, and for most device manufacturers is...
Tag: CODESYS
CODESYS for UniPi
Today I have released CODESYS for UniPi for free download from the CODESYS store. This package adds a comprehensive set of drivers to CODESYS for Raspberry Pi allowing full use of the features of the UniPi Extension board from within CODESYS.
Starting with CODESYS on the Raspberry Pi – Update
Last May I blogged about Starting with CODESYS on the Raspberry Pi. Since then I have found it a great teaching platform to help others learn CODESYS. My getting started tutorial is now a little out of date, so I thought I would reproduce it using current versions of software. This blog walks through the...
Using PiFace Control and Display with CODESYS
This post is intended for CODESYS beginners, it aims to give a step by step guide to creating a CODESYS project for the Raspberry Pi with the PiFace Control and Display add on board. (I am actually using PiFace Control and Display 2, but it appears to be compatible). Start by creating a new standard...
Using the Camera with CODESYS on the Raspberry Pi
This post is a primer on how to get started with using the Camera in CODESYS on the Raspberry Pi. The content of the post is taken from a mix of the CODESYS documentation and from reverse engineering sample projects. Configuring the Raspberry Pi Plug the Camera in to the connector labelled CAMERA on the...
Using PiFace Digital 2 with CODESYS
In this post I look at how to drive the PiFace Digital 2 card with CODESYS. The post is aimed at CODESYS beginners. The PiFace Digital 2 is provides 8 open collector digital outputs with LED indicators (two of which also drive changeover relays) and 8 digital inputs, four of the inputs are in parallel...
CODESYS with Edimax EW-7811UN on Raspberry PI
Up to this point I have been using wired ethernet, tonight I decided to try with a wireless adapter. First I followed the instructions here to get the Raspberry PI on my home network. https://www.raspberrypi.org/documentation/configuration/wireless/ Then I tried scanning for the device from CODESYS with no luck. I couldn’t ping the Raspberry PI from my PC,...
Getting started with CODESYS visualisation on the Raspberry Pi
This post is intended for those who have never generated any graphics using CODESYS. CODESYS has a built in fully integrated visualization system. I have started by creating a very simple new CODESYS program using ST as the programming language. Next step is to add a blank visualization as shown below I name the new...
Starting with CODESYS on the Raspberry Pi
NOTE THIS POST IS OUT OF DATE. Please see starting-with-codesys-on-raspberry-pi I’ve finally decided to give CODESYS a try on the Raspberry PI. This post tracks what I had to do to get CODESYS functioning, I’ll post more on sample projects in the future. First of all, my setup: I’m running a fresh install of Windows 8.1...