Qube Solutions GmbH PiXtend V2 -L- User manual

PiXtend V2 -L-
Hardware Manual
- Safety Instructions -
- Scope of Delivery & Factory settin s -
- Installation & Commissionin -
- Technical Data & Connection Notes -
Qube Solutions GmbH
Arbachtalstr. 6, D-72800 Eningen, German
https://www.pixtend.com
Revision 10.08.2018, V1.01

PiXtend V2 -L- Hardware Manual
Version History
Version Date Description Editor
1.00 06.08.18 Document created TG
1.01 09.08.18 Small corrections of spelling and formatting TG
www.pixtend.com Copyri ht by Qube Solutions GmbH 2 / 146

PiXtend V2 -L- Hardware Manual
Ta le of Contents
1. About this Documentation..................................................................................................5
1.1. Scope..........................................................................................................................5
1.2. Cop right.....................................................................................................................5
1.3. Names, Brands, Wordmarks and Images...................................................................6
1.4. S mbols......................................................................................................................7
1.4.1. General s mbols..................................................................................................7
1.4.2. Special warning s mbols.....................................................................................8
2. Important Information.........................................................................................................9
2.1. Subject to Change......................................................................................................9
2.2. Intended Use..............................................................................................................9
2.3. Technical condition...................................................................................................10
2.4. Certificates................................................................................................................11
2.5. Information according to batter legislation (BattG).................................................12
2.6. Safet instructions....................................................................................................13
2.7. Disclaimer.................................................................................................................14
2.8. Contact information...................................................................................................14
2.9. Assistance.................................................................................................................14
3. Scope of Deliver .............................................................................................................15
3.1. PiXtend V2 -L- Extension Board...............................................................................16
3.2. Housing Parts...........................................................................................................17
3.2.1. DIN rail housing.................................................................................................17
3.2.2. Stainless Steel Hood.........................................................................................18
3.3. ePLC Module...........................................................................................................19
3.3.1. ePLC Basic........................................................................................................19
3.3.2. ePLC Pro...........................................................................................................20
4. Assembl ..........................................................................................................................21
4.1. Raspberr Pi.............................................................................................................22
4.1.1. Tools..................................................................................................................22
4.1.2. Assembl ...........................................................................................................22
4.2. Housing Parts...........................................................................................................25
4.2.1. Tools..................................................................................................................25
4.2.2. DIN rail housing.................................................................................................26
4.2.3. Stainless Steel Hood.........................................................................................33
4.2.4. Safet instructions for working with dangerous voltages..................................40
5. Startup..............................................................................................................................42
5.1. Set the jumpers and switch positions.......................................................................43
5.2. Preparing a SD card.................................................................................................50
5.3. Connect the suppl voltage......................................................................................53
5.4. Connection of alternative power supplies.................................................................57
5.5. Troubleshooting........................................................................................................60
www.pixtend.com Copyri ht by Qube Solutions GmbH 3 / 146

PiXtend V2 -L- Hardware Manual
5.6. Error LED “L1“-Signals.............................................................................................62
6. Technical Data & Connection Notes................................................................................63
6.1. Overview - Connections & Functions.......................................................................63
6.2. Information about the overall s stem.......................................................................64
6.2.1. Thermal consideration.......................................................................................65
6.2.2. Power suppl .....................................................................................................68
6.2.3. The connection to Raspberr Pi........................................................................72
6.2.4. Power suppl - Raspberr Pi 7“ touch displa ..................................................76
6.2.5. Retain S stem...................................................................................................77
6.2.6. Terminal blocks..................................................................................................78
6.2.7. Mechanics.........................................................................................................79
6.3. PiXtend V2 -L- Microcontroller..................................................................................81
6.4. Digital inputs and outputs.........................................................................................88
6.4.1. Digital inputs......................................................................................................88
6.4.2. Digital outputs....................................................................................................93
6.4.3. Rela outputs.....................................................................................................98
6.4.4. GPIOs as digital inputs and outputs................................................................103
6.5. Analog Inputs & Outputs.........................................................................................108
6.5.1. Analog Inputs...................................................................................................109
6.5.2. Analog Outputs................................................................................................121
6.6. Special Inputs and Outputs....................................................................................125
6.6.1. PWM / servo-outputs.......................................................................................125
6.6.2. DHT11/22, AM2302 Sensors...........................................................................129
6.7. Serial interface........................................................................................................130
6.7.1. RS232..............................................................................................................131
6.7.2. RS485..............................................................................................................134
Manual & automatic mode of the RS485 interface:.......................................................137
6.7.3. CAN.................................................................................................................138
6.8. Real-Time-Clock.....................................................................................................142
7. List of Figures.................................................................................................................143
8. Table director ................................................................................................................146
www.pixtend.com Copyri ht by Qube Solutions GmbH 4 / 146

PiXtend V2 -L- Hardware Manual
1. A out this Documentation
Save this Documentation!
This documentation is part of the product and is to be kept for the entire duration of the
products usage. If the product is passed on or sold, this document must be handed over to
the next user, this also include an extensions to this documentation.
1.1. Scope
This documentation applies onl to the software components specified in the table of
contents and to PiXtend V2 -L- devices of the following t pes:
- PiXtend V2 -L- Extension Board (QS-Artikelnummer: 620)
- PiXtend V2 -L- ePLC Basic (QS-Artikelnummer: 621)
- PiXtend V2 -L- ePLC Pro (QS-Artikelnummer: 622)
The documents for the predecessor series "PiXtend V1.x", „PiXtend V2 -S-“ and other
documents can be found on our homepage at https://www.pixtend.de /downloads/
1.2. Copyright
This documentation, including all texts and pictures, is protected b cop right. The written
approval of Qube Solutions GmbH, Eningen u.A., GERMANY, must be obtained for an
other use, translation into other languages, archiving or other alteration.
Copyright 2018 © Qu e Solutions Gm H
www.pixtend.com Copyri ht by Qube Solutions GmbH 5 / 146

PiXtend V2 -L- Hardware Manual
1.3. Names, Brands, Wordmarks and Images
•"Raspberr Pi" and its logo are registered trademarks of the Raspberr Pi
Foundation - www.raspberr pi.org
•"CODESYS" and its logo are registered trademarks of 3S-Smart Software GmbH -
www.codes s.com
•"PiXtend", "ePLC" and the associated logo are protected trademarks of Qube
Solutions GmbH- www.qube-solutions.de
•"AVR", "ATmega" and the associated logo are registered trademarks of Atmel
Corporation - www.atmel.com or Microchip Technolog Corporation
www.microchip.com
•"Debian" and "Raspbian" are protected trademarks of the Debian Project -
www.debian.org
•"I2C" or "I²C" are registered trademarks of NXP Semiconductors - www.nxp.com
•"Arduino" is a registered trademark of Arduino AG - www.arduino.cc
The rights of all companies and compan names mentioned herein as well as products
and product names lie with the respective companies.
www.pixtend.com Copyri ht by Qube Solutions GmbH 6 / 146

PiXtend V2 -L- Hardware Manual
1.4. Sym ols
1.4.1.General s mbols
Important NOTE!
This s mbol identifies important information to avoid malfunctions and
accidental misuse.
Warning!
This s mbol indicates a warning and can result in damage to propert
if not observed.
Danger!
This s mbol indicates a high hazard which can lead to serious
personal injur or death, if not observed.
www.pixtend.com Copyri ht by Qube Solutions GmbH 7 / 146

PiXtend V2 -L- Hardware Manual
1.4.2.Special warning s mbols
Warning of Hot Surface / Risk of Burning!
This s mbol indicates important information to warn the user of
possible burns or heat sources.
Warning of Electrical Voltage / Caution High Voltage!
This s mbol indicates a warning of dangerous electrical voltages.
Non-observance can result in damage to propert and / or personal
injur , including death.
Warning - ESD Endangered Components
This s mbol indicates a warning of electrostatic discharge on sensitive
components.
Failure to observe these instructions ma result in damage to
electronic components.
www.pixtend.com Copyri ht by Qube Solutions GmbH 8 / 146

PiXtend V2 -L- Hardware Manual
2. Important Information
This chapter contains information about the subject to change topic, the intended use, the
technical condition of the described product, the disclaimer, the safet notices and where
to get help.
2.1. Su ject to Change
The compan Qube Solutions GmbH reserves the right to revise or amend this
documentation in whole or in part if this serves the technical progress or if existing
software components have to be changed or new ones have been created. The user will
alwa s find the latest version of this documentation at http s ://www.pixtend. de /downloads/ .
2.2. Intended Use
PiXtend V2 -L- is used in combination with the single-board computer "Raspberr Pi"
(Raspberr Pi Foundation, UK registered charit 1129409), which is alread included in the
product (PiXtend V2 -L- ePLC Basic / Pro) or has to be bought b the customer as an
accessor (PiXtend V2 -L- Extension Board).
The PiXtend V2 -L- s stem fulfills the function of a programmable logic controller (PLC) or
an electrical measuring, control, regulating and laborator device. It can read and evaluate
sensors and control actuators. The logic programming of inputs and outputs can be done,
among other things, with the software "CODESYS V3" from the compan 3S Smart
Software Solutions GmbH. Qube Solutions also provides components for other
programming languages and s stems from the areas of IT and home automation that the
customer can use. Instructions and examples have been created b Qube Solutions for
this purpose.
The PiXtend V2 -L- devices are designed for dr indoor environments - protection classes
IP20 (ePLC Pro) and IP00 (Extension Board and ePLC Basic). Operation outside and in
humid/wet rooms is not permitted, except the PiXtend units are installed in a suitable
housing. The devices are not designed for hazardous areas or safet critical s stems /
installations.
PiXtend V2 -L- devices can be used equall in the industrial/commercial environment as in
educational facilities and in residential areas.
PiXtend V2 -L- offers the possibilit , under certain conditions, of switching hazardous
voltages. Work on dangerous voltages is onl permitted for qualified personnel (the
requirements ma differ from countr to countr ). If in doubt, the use of dangerous
voltages is prohibited.
Apart from this, PiXtend is suitable for all persons aged 14 and over who have read and
www.pixtend.com Copyri ht by Qube Solutions GmbH 9 / 146

PiXtend V2 -L- Hardware Manual
understood the safet data sheet and the manuals. Training facilities must be supervised
b qualified and authorized personnel. Power supplies and accessories used must be
approved for the countr in which the PiXtend V2 -L- s stem is to be installed and used.
2.3. Technical condition
PiXtend V2 -L- is supplied with a pre-defined configuration, independent of its model:
•“SPI_EN” switch activated → Communication between PiXtend & Raspberr Pi is
activated
•“PI_5V” switch activated → PiXtend & Raspberr Pi are supplied b the same
voltage regulator on PiXtend (input voltage 12 - 24 V DC). No separate power
suppl needs to be connected to the Raspberr Pi
•All digital inputs are configured for a 24 V range (no jumper is set)
•All analog inputs are configured for a 0..10 V range (no jumper is set)
•"CAN" / "AO" Jumper is set to "AO" → analog outputs active, CAN inactive
•RS485 "A" / "M" Jumper is set to "A" → automatic send/receive switching
•Termination resistors for RS485 and CAN are not set (no jumper)
•The microcontroller firmware is alwa s the latest version released b Qube
Solutions. The current version can be found on our homepage
The ePLC models include additional configurations:
ePLC Basic & Pro
•Contents of SD-Card
◦the content is stated in the order, e.g. "CODESYS Control Demo" or "PiXtend
Basic" (in the QS-Shop)
◦Our dealers alwa s receive and ship the SD card "CODESYS Control Demo"
ePLC Pro
•Housing → Stainless steel hood and DIN rail housing pre-assembled
If ou need a different version or a different hardware and software combination, please
contact us directl (info@pixtend. com ).
www.pixtend.com Copyri ht by Qube Solutions GmbH 10 / 146

PiXtend V2 -L- Hardware Manual
2.4. Certificates
This product has been designed and manufactured in accordance with applicable
european directives and is therefore marked with the CE sign. The intended use is
described in this document. A safet data sheet is supplied with each product in paper
form (multilingual).
Warning:
Changes and modifications to the product, as well as a non-compliance with the
information contained in the manuals and safet data sheets, will lead to the loss of
certification and approval for the European Economic Area.
WEEE Registration No .: DE 15868016
The s mbol of the crossed-out waste bin (WEEE s mbol) means that this product must be
rec cled separatel from an household waste as electrical waste. Where ou can find the
nearest rec cling station, ask our local municipal administration.
You can also return our device to us and we will handle the correct disposal for ou.
www.pixtend.com Copyri ht by Qube Solutions GmbH 11 / 146

PiXtend V2 -L- Hardware Manual
2.5. Information according to attery legislation (BattG)
PiXtend V2 -L- modules contain a fixed batter / button cell (technolog : lithium metal).
Make sure that our old batteries / accumulators, as prescribed b the legislature
proposed at a municipal collection center or to our place. The disposal with the normal
household waste is prohibited and violates the Batter Act. The deliver is free of charge.
You are welcome to return free of charge and those acquired in our batteries /
rechargeable batteries after use to us.
The return of the batteries / accumulators to us must be sufficient postage in all cases.
Returns of batteries / accumulators should be addressed to:
Qube Solutions GmbH
Arbachtalstraße 6
D-72800 Eningen
GERMANY
Batteries and accumulators that contain hazardous substances are labeled clearl with the
s mbol of a crossed out wheelie bin. Furthermore located under the s mbol of the crossed
out wheeled bin, the chemical name of the relevant pollutants. Examples include: (Pb)
Lead (Cd) Cadmium (Hg) mercur . You have the option to also re read this information in
the documents accompan ing the goods or in the manual of the manufacturer.
The batter on PiXtend V2 -L- does not contain an of the above-mentioned pollutants.
www.pixtend.com Copyri ht by Qube Solutions GmbH 12 / 146

PiXtend V2 -L- Hardware Manual
2.6. Safety instructions
Read the complete document and the safet and connection notes before ou start the
installation of the PiXtend V2 -L-. Save this document even after ou have commissioned
all components.
Warning
The company Qu e Solutions Gm H does not accept any
lia ility for damage of any kind resulting from disregarding the
data sheets and operating instructions. The guarantee or
warranty claim and the admission expire.
•PiXtend ma onl be operated with the prescribed voltage (12-30 V DC) and a power
suppl with VDE and CE mark (for Europe). The power suppl must compl with the legal
requirements of the countr in which PiXtend is used.
•The device is onl designed for use in dr and clean rooms and is not suitable for outdoor
use or in damp areas.
•The permissible operating temperature is between 0 °C and 50 °C 1.
•PiXtend, the Raspberr Pi as well as all cables, connectors and power supplies must be
kept awa from liquids.
•The PiXtend modules must not be used in the vicinit of flammable liquids, gases or dusts.
•Onl original or recommended spare parts ma be used during repairs.
•Except for the connection strips of the rela , no 230 V, 115 V alternating voltage or an
other hazardous voltage greater than 50 V ma be applied at an point. Work on dangerous
voltages is onl permitted b trained personnel with the legal authorit of the respective
countr . Caution: Danger to life!
•Neither PiXtend nor the accessories belong in children's hands (under 14 ears).
•In schools, hobb workshops and training facilities, the operation is supervised b trained
personnel.
1 Please refer to the page for further information 65 in this document - chapter: Technical Data &
Connection Notes
www.pixtend.com Copyri ht by Qube Solutions GmbH 13 / 146

PiXtend V2 -L- Hardware Manual
2.7. Disclaimer
The information contained in this documentation has been compiled, checked and tested
with the software and hardware described herein. Nevertheless, deviations can not be
ruled out completel . Qube Solutions GmbH shall not be liable for an damages that ma
result from the use of the software, software components, hardware or the steps described
in this documentation.
2.8. Contact information
Our postal address:
Qube Solutions GmbH
Arbachtalstr. 6
D-72800 Eningen
GERMANY
How to reach us:
Tel.: +49 (0) 7121 8806920
Fax: +49 (0) 7121 2848662
info@pixtend. com
www.pixtend. com
2.9. Assistance
A lot of information, tips and tricks can be found in our support forum at:
http s ://www.pixtend. de /forum/
If an questions remain unanswered, please first check the FAQ's on our homepage. If the
question still is not answered, let us know b e-mail ([email protected]). You will
receive an answer as soon as possible.
The latest versions of all documents and software components can be found in the
download section of our homepage: https://www.pixtend.de/downloads/
www.pixtend.com Copyri ht by Qube Solutions GmbH 14 / 146

PiXtend V2 -L- Hardware Manual
3. Scope of Delivery
Please check the scope of deliver after receipt of the PiXtend equipment & accessories.
On the following pages, ou will find parts lists and overview pictures.
Warning!
When unpacking and handling electronic components such as PiXtend
V2 -L- (without housing parts) and the Raspberr Pi, be careful.
Electronic components on the modules can be damaged b
electrostatic discharge.
The components ma onl be touched at the edges of the circuit boards, on mechanical
screw connections or plug connectors. Avoid direct contact with electronic components
and solder contacts / soldering surfaces.
We check each device or accessor before deliver (qualit control, checking the weight).
If a component is missing, please let us know b e-mail ([email protected]) and we will take
care of our immediate deliver .
A return of the product due to a missing component is not necessar .
www.pixtend.com Copyri ht by Qube Solutions GmbH 15 / 146

PiXtend V2 -L- Hardware Manual
3.1. PiXtend V2 -L- Extension Board
QS item number: 620, PiXtend V2 -L- as an extension board for the Raspberr Pi
Count Description Value #
1 PiXtend V2.x -L- unit, completel assembled 1
4 Screw, cross-slot M2.5 x 6 mm 2
1 Ribbon cable 40 pole 3
24 Jumper
(2 jumpers alread used on assembl ) standard, black 4
1 Safet data sheet multilingual 5
Table 1: Scope of delivery: PiXtend V2 - - Extension Board (article 620)
www.pixtend.com Copyri ht by Qube Solutions GmbH 16 / 146
Figure 1: Scope of delivery: -
PiXtend V2 - - Extension Board (article 620)
1
2
3
4
5

PiXtend V2 -L- Hardware Manual
3.2. Housing Parts
3.2.1.DIN rail housing
QS item number: 712
Count Description Value #
1 Basic profile 235 x 105 x 25.5 mm 1
2 Side panel 2
2 Locking element 3
1 Earth clamp 4
4 Screw for side part, cross slot long 5
2 Screw for locking element, cross slot short 6
Table 2: Scope of delivery: DIN rail housing (article 712)
www.pixtend.com Copyri ht by Qube Solutions GmbH 17 / 146
Figure 2: Scope of delivery - DIN rail housing (article 712)
6
1
3
4
2
5

PiXtend V2 -L- Hardware Manual
3.2.2.Stainless Steel Hood
QS item number: 713
Count Description Value #
1Stainless steel hood with connection print, two
parts 241 x 102 x 35.2 mm 1
6 Screw, cross-slot M2.5 x 6 mm 2
2 Screw, cross-slot M2.5 x 20 mm 3
2 Spacer with external thread M2.5 x 15 mm 4
Table 3: Scope of delivery: Stainless Steel Hood (article 713)
www.pixtend.com Copyri ht by Qube Solutions GmbH 18 / 146
Figure 3: Scope of delivery - Stainless Steel Hood (article 713)
12
3
4

PiXtend V2 -L- Hardware Manual
3.3. ePLC Module
3.3.1.ePLC Basic
QS item number: 621, PiXtend V2 -L- as complete unit - without housing parts
Count Description Value #
1
PiXtend V2.x -L- ePLC Basic unit
(consisting of PiXtend V2 -L-, Raspberr Pi,
microSD card)
full assembled & read 1
1 Adapter microSD to SD 2
24 Jumper
(2 jumpers alread used on assembl ) standard, black 3
1 Safet data sheet multilingual 4
Table 4: Scope of delivery: PiXtend V2 - - eP C Basic (aricle 621)
www.pixtend.com Copyri ht by Qube Solutions GmbH 19 / 146
Figure 4: Scope of delivery - PiXtend V2 - - eP C Basic (article 621)
1
2
3
4

PiXtend V2 -L- Hardware Manual
3.3.2.ePLC Pro
QS item number: 622, PiXtend V2 -L- as complete unit - with housing
Count Description Value #
1
PiXtend V2.x -L- ePLC Pro unit
(consisting of PiXtend V2 -L-, Raspberr Pi,
microSD card, DIN rail housing, stainless steel
hood)
full assembled & read 1
1 Adapter microSD to SD 2
24 Jumper
(2 jumpers alread used on assembl ) standard, black 3
1 Safet data sheet multilingual 4
Table 5: Scope of delivery: PiXtend V2 - - eP C Pro ( article 622)
www.pixtend.com Copyri ht by Qube Solutions GmbH 20 / 146
Figure 5: Scope of delivery - PiXtend V2 - - eP C Pro ( article 622)
1
4
2
3
Table of contents
Popular Computer Hardware manuals by other brands

ST
ST X-NUCLEO-OUT05A1 user manual

Intel
Intel BX80605I7870 - Core i7 2.93 GHz Processor datasheet

NXP Semiconductors
NXP Semiconductors QorIQ LX2160A manual

IBM
IBM LS42 - BladeCenter - 7902 installation guide

EK-Quantum
EK-Quantum Momentum ROG Maximus XIII Hero D-RGB user guide

Silicon Laboratories
Silicon Laboratories SLWSTK6240A user guide