In this article I'll describe how to implement a Modbus RTU communication over RS485 line between Raspberry PI 2 ( Master) and a PC (Slave) using the IEC61131 Codesys IDE / runtime

This article describes how to get the system time fro a WAGO PLC (in my sample I used the 750-881 module) using Codesys 2.3 and SysLibRTC or SysLibTime libraries.


In this article I'll shown how to realize a tank loading sequence function.

Defining a range of 16 tank (water tank), an automation system has to load them by a random adjustable sequence. Something like:

Loading                 -->--->--->--->--->---->---->-----

Loading Sequence  --1---3---6---2---10---11---9----  (1= tank n°1 ; 3=tank n°3 ;....)

Following picture show the sample application (for screen resolution reasons I take a 8 tank system in stand of 16, half function capability)


In this article I'll describe how to create your own library with know-how protect feature using Codesys version 2.3. Maybe most of you already know how to do it, but recently I've been involved into this need and did not find any source that explain it pretty clearly... So here we are!


this article I'll test the new Wago PLC controller series PFC200, model number 750-8202 /025-002. PFC200