How to create my first Mini-PLC project ?

It is very easy to create your first Mini-PLC project using the intuitive graphical programming software miCon-L. In comparision to C programming within Keil MDK or Arduino you don´t have to learn any programming language. To easily get in touch with the Mini-PLC programming please have a closer look at the following video which shows the five essential steps to your project.

My first graphical Mini-PLC project

Which Programming Tool should I use for my Mini-PLC project ?

There are three options to program a Mini-PLC.
In any case the software is free-of-charge.

  • Basic programming knowledge -> miCon-L
  • Basic C programming knowledge -> Arduino
  • C programming experience -> KEIL MDK

Also visit our Downloadcenter to find a variety of programming samples and templates for the BARTH® Mini-PLCs.

What can I do with miCon-L ?

The intuitive graphical Programming Suite miCon-L opens up a variety of options for both beginners and professional users achieving the shortes possible time-to-market for your project.
The miCon-L forum provides all information you need to get fast and easily in touch with this outstanding software tool which is preinstalled on all BARTH® Mini-PLCs.

Can I directly connect a Stepper Motor to a Mini-PLC ?

Yes, it is possible to directly connect an unipolar Stepper Motor (e.g. RS Art. No. 191-8299) to a STG-8xx Mini-PLC. Simply write your program in miCon-L, C-Code or within the Arduino IDE to get full control of the stepper motor. So you get an easy an cheap solution for small Motion & Control Applications. A set of free demo programs are available in our Downloadcenter area (STG-850).

Does the Mini-PLCs feature a serial interface ?

Each STG-8xx Mini-PLC features a serial TTL-232 Port (3.3V). This port allows usage as classical RS-232 interface when C Programming is used. You only need a hub to change TTL to RS-232 voltage level. Using the miCon-L Software Suite the serial interface is reserved for software communication only.

Is it possible to integrate my Mini-PLC in LabView ?

Several of our customers use a Mini-PLC in combination with LabView. It is very easy to integrate your Mini-PLC within LabView using the CAN communication interface. Simply use a CAN/USB adapter to interface the Mini-PLC to your PC. The CAN protocol should contain the parameters and values to be shared with the LabView software.

How do I terminate the CAN Bus ?

Add one CAN bus termination resistor of 120Ω at each end of your CAN bus.
Only the CAN Display DMA-20 and Parameter Programmer PG-65 include a termination 1k resistor which is intended for laboratory use only without correct CAN bus topology.
Take care to use a line structure for your CAN wiring and avoid nodes using higher speeds.

What´s the maximum CAN wiring cable lenght ?

1 Mbit/s -> 25 m
800 kbit/s -> 50 m
500 kbit/s -> 100 m
250 kbit/s -> 250 m
125 kbit/s -> 500 m
50 kbit/s -> 1000 m

How to fasten a Mini-PLC ?

There are four options to mount or fasten a Mini-PLC.
The related products can be found here.
You can fasten the Mini-PLC:

Why does some Mini-PLCs feature IrDA ?

The Mini-PLC models supporting IrDA provide a reliable wireless infrared interface reading out and setting user-defined parameter from a Mini-PLC. The Parameter Programmer PG-65 is the tool of choice to communicate with the IrDA Mini-PLC models.

Please also have a look at the following article:

Wireless Communications in Industrial Environment

What kind of connector type is used with the Mini-PLCs ?

The following connector type is used:
Manufacturer: Phoenix Contact
Pitch: 3.5mm

Depending on the type of Mini-PLC the connectors are green or black colored.

Why do some Mini-PLCs use green and others black connectors ?

The PIC18® based Mini-PLCs use green connectors. All ARM® Cortex® Models use black connectors. Connector type and pitch are always the same.

Why there is a voltage at a low-stated output ?

Due to a small positive leakage current an output without any load will let you measure a voltage. A slight load to ground (e.g. 1mA) will cause a zero voltage at any low-stated output.

STG-600: How is the connection layout of the USB-Interface ?

The STG-600´s USB interface is connected as followed (from left to right):

1 = +5VDC
2 = D+
3 = D-
4 = GND

Why do I get an error message switching to Open Source programming ?

The graphical programmable STG-8xx series are factory programmed using a readout protection. Switching to Open Source programming the readout protection has to be deactivated. The following document shows the steps to reset the readout protecting to ensure Open Source programming.

Reset Readout Protection

How to find the Mini-PLC I need ?

To find the machting Mini-PLC for your application please use the following Mini-PLC Selection Guide.
If you are looking for a customer-tailored Mini-PLC, we produce your individual Mini-PLC starting from 50 pcs. within only 8 weeks delivery time.

Mini-PLC Selection Guide