Demo Programs

This page brings together a set of basic examples of practical application of the functions of our PLC cards.
Some of these examples are also based on interfacing with our HMI screens.

Note: We originally wrote most of the documentation in French, so you may need to call your friends Cut&Paste as well as Google Translate. ;-)


Recipe Book: The ABC in programming our PLCs and HMI screens. This document begins with a detailed explanation of how to connect them together, then the Basic programming method that we recommend.

DemoKit: these are the programs supplied with our 3-axis card + 4.3-inch HMI pack. The objective of these programs is to show the simplicity of operation of the PLC / HMI pair.
The screen allows you to:
- read entry
- order an exit
- move an axis in both directions
- send the axis to a position

Filtering an input: Code snippet for filtering an analog input. Connect a potentiometer between 0-10V and analog input 1 and adjust the filtering coefficient in the program.

TimerPotentiometer: Setting of a time delay in function of an analog voltage regulated by a potentiometer.

Simple programmable stopper: Discover the basic functions in this documentation. The program is very easy to understand and modify to meet your needs more precisely:
- origin taken
- adjustment of displacement parameters (acceleration, speed, etc.)
- adjustment and memorization of 5 positions, very easily expandable to 20 or more.

Linear Axis Demo: to move an axis back and forth, explanations in the documentation:
- origin taken
- Single or multiple round trip.
- Positions in mm
- Output controls according to the step in the cycle

Simple Labelling Machine Demo: to place a label on an object arriving on a conveyor. Program produced with the 5-axis card + 7-inch HMI. Documentation in the .zip archive
- cell detection
- adjustment on the screen of the displacement parameters (acceleration, speed, etc.)
- Position in mm
- Recipe management

 

DMX Demo : this program shows how from a DMX 512 console you can receive and process DMX frames.
Here we retrieve the values (from 0 to 255), of channels 1,2 and 3, and use them to activate / deactivate a digital output, and to move a motorized axis:

  • channel 1: ON / OFF of output 1 (ON if cursor position> 127)
  • channel 2: motor speed
  • channel 3: target position for movement