This manual contains notices which you should observe
to ensure your own personal safety, as well as to protect
the product and the connected equipment. These notices
are highlighted in the manual by a warning symbol and are
marked as follows according to the level of danger:
Only qualied personnel should be
allowed to install and work on this
equipment. Qualied persons are
dened as persons who are authorized
to commission, to ground and to tag
circuits, equipment and systems in
accordance with established safety
practices and standards.
Turn off the power supply before
performing any wiring operations!
Short circuits can be harmful, critical and
can cause explosions and serious burns!
Please read this manual carefully and
observe all safety instructions!
2 DESTINATED USE
The Mini-PLC is designed for universal measuring, controlling and regulating applications.
It must not be used for life critical, medical or fail safe
applications.
3 DISCLAIMER
BARTH Elektronik GmbH assumes no liability for usage
and functionality of the Mini-PLC in case of disregarding this manual. The strict accordance of this manual
is important since the installation methods, peripheral
connections, usage and maintenance can not be controlled by BARTH Elektronik GmbH. Therefore BARTH
Elektronik GmbH assumes no liability for any claim.
4 PRODUCT DESCRIPTION
The picture below shows the BARTH® Mini-PLC STG-680
with the connection cable VK-16 (Art. No. 0019-0016).
The Mini-PLC is shipped without the USB connection cable
VK-16.
4.1 Features
• 6 analog Inputs 0..10 VDC, 12 bit ADC
• 4 digital Inputs up to 1 kHz
• 8 Power Outputs up to 1.5 A
• 1 Power PWM Output 2 A/1 to 10 kHz
• 1 MODBUS RTU Interface
• Graphically programmable MODBUS Data
• Reliable Solid-State Outputs
• Fail Safe Oscillator
• Programmable Status LED
• TTL-232/USB Connection to PC
• Intuitive graphical Programming Capability
• Wide Operating Voltage Range 7..32 VDC
• Wide Operating Temp. Range -40..+60°C
• Ultraat Housing, Height 11 mm
• Vibration resistant and rugged Sealing
• Engineered and manufactured in Germany
4.2 Applications
• Industrial Automation
• Building Automation
• Process Control
4.3 General description
The innovative STG-680 extends the established BARTH®
Mini-PLC series with an additional model featuring a rugged
MODBUS interface with graphical programming and congurating capability.
With similar dimensions in comparison to the STG-650, the
STG-680 provides outstanding graphical programming at
lowest current consumption and the well-known small form
fa ctor.
The MODBUS interface allows the user to connect a variety
of industrial network components to the Mini-PLC.
The STG-680 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 and also in battery-powered applications.
The STG-680 is also available as customer-tailored OEM
version.
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 programming languages.
The miCon-L software suite features MODBUS 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-680 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
interactive elements to control and debug the Mini-PLC.
5 INSTALLATION
5.1 Mounting
The Mini-PLC must be installed and wired
by a trained technician who knows and
complies with both the universally applicable engineering rules and the regulations and standards that apply in specic
cases.
Fastening the STG-680 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 STG-680 on wiring harness, tubes or other mechanical
parts.
Take care to meet the environmental conditions of the
STG-680.
5.2 Wiring
5.2.1 Overview
The graphic below shows the connection layout of the
BARTH® Mini-PLC STG-680.
The STG-680 features an outstanding wide supply voltage
range from 7 to 32 VDC at lowest current consumption.
So the Mini-PLC can be integrated within battery supplied
12V or 24V DC systems (cars, trucks, battery powered cars,
forklifts and digger, for example).
Turn off the power supply before performing any wiring operations!
False electrical connection, voltage
reversal or disregarding the electrical
specications may cause irreversible
damage of the Mini-PLC!
Connect the supply voltage of 7 to 32 VDC to the 4-pole
terminal X1 of the STG-680. Wire the positive supply to the
‚+VDD‘ marked connection. The negative (ground) will be
wired to the ‚GND‘ connection. All terminals are carried out
as plugable spring terminal connectors for a wire gauge of
0.25 to 1.5mm².
Ensure correct power supply voltage
range and polarisation! External fusing of
5A max. is mandatory! Disregarding may
cause irreversible damage of the PLC!
5.2.3 Connecting the inputs
You can connect sensors, switches or buttons to the inputs.
The sensors may be temperature, ow, pressure, photoelectric sensors or proximity switches, for example.
The STG-680 is well suitable for any sensor featuring a voltage output, 0 to 10 VDC, for example.
Common features of the inputs
• IN1 to IN6 are selectable analog/digital inputs
• IN7 to IN10 are pure digital inputs (up to 1kHz)
• Wide input voltage range 0 to 32VDC
• IN1 to IN6 are 0 to 10 V compatible
• Comprehensive integrated protection circuits
• Outstanding electromagnetic compatibility (EMC)
• Electrostatic discharge protection (ESD)
Due to the pull-down resistors integrated in the STG-680
any switch (NO/NC) can simply be connected between the
positive supply (VDD) of the STG-680 and the desired input.
The voltage at any input must not exceed
32VDC referred to ground (GND).
Higher voltages or reverse voltage lower
than -32VDC may cause irreversible
damage of the Mini-PLC!
5.2.4 Connecting the outputs
Depending on load type and current the STG-680 is able
to drive electric loads directly without any additional driver
or protection circuit. The Mini-PLC provides 4 digital solidstate highside outputs and 1 solid-state lowside switch.
Common features of outputs OUT1 to OUT8
• Rugged solid-state higside switch up to 1.5A
• Paralleling permissible up to 6A
• Short circuit protection and current limitation
• Fast demagnetization of inductive loads
• Stable behaviour at undervoltage
• Comprehensive integrated protection circuits
• Outstanding electromagnetic compatibility (EMC)
• Electrostatic discharge protection (ESD)
Features of output OUT9
• Solid state lowside switch with PWM capability
• Sinks up to 2A
• Rugged solid-state design
• Fast demagnetization of inductive loads
• Outstanding electromagnetic compatibility (EMC)
• Electrostatic discharge protection (ESD)
The 9-pole connector X3 contains the digital outputs of
the Mini-PLC. While OUT1 to OUT8 are overload-protected
highside switches, OUT9 is carried out as lowside switch
with PWM capability without short circuit protection. A logical HIGH within miCon-L will switch the Mini-PLS´s supply
voltage at OUT1 to OUT8, while OUT9 switches lowside
(GND). Aviod a sink current exceeding 2A at OUT9 because
this outputs is not protected against short-circuiting or
overload current !
The total current sourced by OUT1 to
OUT8 must not exceed 6A!
Avoid reverse voltage at any output higher
than the Mini-PLC´s supply voltage!
OUT5 provides NO short circuit protection.
Take care the sink current not exceeds 2A!
Negligence may cause irreversible
damage of the Mini-PLC!
Please refer to the appendix for detailed electrical specication of the outputs.
5.2.5 Connecting the MODBUS interface
The X1 connector of the STG-680 contains the MODBUSspecic RS-485 pins ‚A‘ and ‚B‘.
The voltage at A or B must not exceed -10
or +15 VDC referred to ground (GND). Higher voltages may cause irreversible damage of the Mini-PLC!
The 10-pole connector named X2 contains the inputs of
the Mini-PLC. While IN7 to IN10 are pure digital inputs, IN1
to IN6 provide both digital or analog (0-10V) functionality.
The voltage range for all inputs may not exceed 32 VDC.
All inputs refer to GND. Please refer to the appendix for
detailed electrical specication of the inputs.
There is no termination resistor integrated in the STG-680.
Please refer to the appendix for detailed electrical specication of the MODBUS interface.
9021-0016-A
BAR
Elektronik GmbH
®
Mini-PLC
STG-680
H
Art. No. 0850-0680
MANUAL
Page:
Document:
Date:
Revision:
5/8
9021-0016 -A
04.08.2016
A
6 OPERATION AND PROGRAMMING
6.1 Software download
BARTH® supplies a free software license download package
for Microsoft® WINDOWS® which includes:
• Virtual COM port driver for USB connection
• miCon-L Software Suite
• Sample Programs for BARTH® Mini-PLC
Please download this package from:
www.micon-l.de
6.2 Virtual COM port driver installation
Before you connect the Mini-PLC to the PC you have to install the USB-/COM-port driver (folder ‚USBdriver‘) from the
software download package. Please follow the instructions
of the SETUP routine.
6.3 miCon-L Software Installation
Now install the miConL software suite from the ‚miCon-L‘
folder. Select your language le and follow the setup instructions of miConL.
6.4 Connecting the Mini-PLC
To operate the STG-680, rst establish proper power supply
connection to the X1 connector.
6.5 First steps in miCon-L
Establish the PC connection using the VK-16 connection
cable and run miConL. For choosing the correct virtual
COM-Port please click the right button (congure serial
interface) located on the main menu page and conrm the
added virtual COM-Port used by the STG-680.
Now start miConL with creating a new project (Project->
New) or open a miCon-L sample application (Project>Open).
For programming and PC connection the USB connection
cable VK-16 (Art. No. 0091-0010) and a PC with installed
Windows operating system are mandatory.
For Mini-PLC connection please use the 3-way X4 terminal.
Creating a new project the desired Mini-PLC model and the
project name have to be dened. After opening or creating
a project the workspace of miConL with it´s libraries (right)
is shown.
Additional help and a detailed user manual is provided
within the miCon-L help and the miConL context menu
(right mouse button).
You can nd sample programs in the ‚SAMPLE_PROGS‘
folder which is part of the miCon-L download package.
For detailed information and help please have a closer look
at the documents related to the miCon-L Software Suite:
USB connection cable VK-16
Art. No. 0091-0016
GTIN 4251329400187
7.2 Documents, videos and software
Detailed information, additional documents, application
notes and videos relating to this product are downloadable
from www.barth-elektronik.de and www.micon-l.de
7.3 Disposal
If you wish to nally dispose of the
product, ask your local recycling centre
or dealer for details about how to do
this in accordance with the applicable
disposal regulations.
7.4 Conformity declaration
For the following designated product it is hereby conrmed,
that the construction in that technical design brought by us
in trafc corresponds to the standards specied below. In
the event of any alternation which has not been approved
by us being made to any device as designated below, this
statement shall thereby be made invalid.
We herby declare that our
product is compilant to the RoHS
Directive on restriction of the use
of certain hazardous substances
in electrical and electronic appliances.