H
3/14
9021-0025-A
06.11. 2017
A
Page:
Document:
Date:
Revision:
Mini-PLC
STG-850
Art. No. 0850-0850
MANUAL
© 2016-2017 BARTH Elektronik GmbH | Im Depot 1-3 | D-49838 Lengerich | www.barth-elektronik.de
® BARTH is a registered trademark. All rights reserved.
9021-0025-A
specied program parameters. The STG-850 does not need
any peripheral components to operate. Both inputs and
outputs features highly integrated and rugged protection
circuits to operate the Mini-PLC in really harsh environment.
These outstanding features open up a variety of application
elds in industrial, automotive and 12/24V battery-powered
applications.
The Mini-PLC supports both graphical programming
using miCon-L and ‚Open Source‘ programming using
ARDUINO® IDE or KEIL® MDK.
The STG-850 is also available as customer-tailored OEM
version within 8 weeks.
1.4 Programming options
The Mini-PLC STG-850 supports two programming options.
As standard the Mini-PLC features full graphical program-
ming capability using the miCon-L Software Suite.
Without learning a difcult programming language the
BARTH
®
Mini-PLC can be easily programmed using simple
and vivid graphical function blocks. This block design
meets graphical standards of the latest graphical program-
ming languages. The miCon-L software suite features
CAN2.0A/B programming, simulation and test in one unique
software design tool. The exible programming option
offers a variety of possibilities in industrial applications.
Programming the STG-850 follows using the USB port of
your PC with installed miCon-L software suite and the VK-16
USB Connection Cable. The miCon-L Software supports
full simulation and visualisation operation modes.
miCon-L provides a variety of visualisation blocks and inter-
active elements to control and debug the Mini-PLC.
As a second programming option the STG-850 provides
fully Open Source design using the powerful KEIL®
μVision® Software Suite. For everyone who is familar with
C-Programming, this option opens up a variety of hardware-
oriented features in a realtime environment with powerful
debugging features.
1.5 Delivery content
• BARTH
®
Mini-PLC STG-850
• 3x Connectors for Mini-PLC
2 Installation
2.1 Mounting
The Mini-PLC must be installed and wired
by a trained technician who knows and
complies with both the universally appli-
cable engineering rules and the regula-
tions and standards that apply in specic
cases.
Fastening the STG-850 follows using either the integrated
mounting holes for screws or the holes for cable ties. The
cable tie installation method is recommended for fastening
the Mini-PLC on wiring harness, tubes or other mechanical
parts.
The window of the Mini-PLC must
not be covered for proper and reliable
infrared communication.
Take care to meet the environmental conditions of the
Mini-PLC.
2.2 Wiring
2.2.1 Overview
The tables and graphic below show the connection of the
BARTH
®
Mini-PLC STG-850.
X1 connector: power supply and CAN pins
1 +VDD positive supply terminal
2 GND ground terminal
3 CANH CAN high terminal
4 CANL CAN low terminal
X2 connector: input pins
1 IN1 analog / digital input
2 IN2 analog / digital input
3 IN3 analog / digital input
4 IN4 analog / digital input
5 IN5 analog / digital input
6 IN6 analog / digital input
7 IN7 digital input / counter
8 IN8 digital input / counter
9 IN9 digital input
10 IN10 digital input
X3 connector: output pins
1 OUT1 highside output
2 OUT2 highside output
3 OUT3 highside output
4 OUT4 highside output
5 OUT5 highside output
6 OUT6 highside output
7 OUT7 highside output
8 OUT8 highside output
9 OUT9 lowside output / PWM
X4 connector: Open Source ISP (via VK-35)
1 +3V3 positive power supply (Pin 1)
2 GND ground terminal
3 SYS_SWDIO system data IO
4 SYS_SWCLK system clock
5 SYS_RESETN system reset (inverted)
X5 connector: USB/232 interface (via VK-16)
1 GND ground terminal
2 TX 3V3 TTL TX terminal
3 RX 3V3 TTL RX terminal