Simulation : PLC (Siemens) and HMI (Eaton/Moeller with Galileo)

This post is following the one on Siemens PLC simulation with PlcSim.

1. PlcSim

We need a running program on PlcSim. PlcSim has to use the PLCSIM(TCP/IP) interface and has to be listening on the same IP as the computer.

Here a DB with one bit that is toggled every second :
21-S7-plcsim-simulation-running

Your PLC side is ready !

Continue reading Simulation : PLC (Siemens) and HMI (Eaton/Moeller with Galileo)

Computer vision : A box on a industrial conveyor

1. Introduction

To start exploring OpenCV with Python, we’ll start by a simple exercise : Detect a cardboard box on a industrial conveyor (from a average picture took with a smartphone) :
box-1

As as first step, we’ll identity the contour of the box and define a “perfect” rotated rectangle of the minimum area enclosing our box. The result will be this :
box-1-result
Continue reading Computer vision : A box on a industrial conveyor

Computer vision : OpenCV / Python installation

1. Introduction

In this post, we’ll detail how to install Python and OpenCV on a Windows 7 system.

2. Python installation

2.1 Download / Installation

At this time, OpenCV 3.0 is not fully ready to run with Python 3.X, we’ll download Python 2.7 from here and proceed to the installation.

Continue reading Computer vision : OpenCV / Python installation

Webserver installation on FreeBSD 10.1 (Nginx / PHP / MySQL).

1. Introduction

Webserver installation on FreeBSD 10.1 (Nginx / PHP / MySQL).

2. Installation

Continue reading Webserver installation on FreeBSD 10.1 (Nginx / PHP / MySQL).

VPN server (OpenVPN) on FreeBSD for windows clients

1. Introduction : VPN system

We’ll describe the procedure to install a VPN server (OpenVPN) on a FreeBSD 10.1 server for Windows 7 clients.

This VPN will be configured for road warriors clients :
– 100% of the outgoing clients traffic will transit through the VPN server.
– 100% of the outgoing clients traffic will be encrypted before leaving the client computer.

I use this system to secure my connection when using untrusted networks (public WiFi) and to avoid constraints and limitations in some countries.

2. OpenVPN : server (FreeBSD 10.1)

2.1 Install

OpenVPN installation :

Continue reading VPN server (OpenVPN) on FreeBSD for windows clients