PoBlocksmanual.pdf

(2102 KB) Pobierz
PoBlocks
User manual
Version: March 31, 2014
PoBlocks user manual (March 31, 2014)
Please read the following notes
1. All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice.
2. PoLabs does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of
third parties by or arising from the use of PoLabs products or technical information described in this document. No
license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of
PoLabs or others. PoLabs claims the copyright of, and retains the rights to, all material (software, documents, etc.) contained in
this release. You may copy and distribute the entire release in its original state, but must not copy individual items within the
release other than for backup purposes.
3. Descriptions of circuits, software and other related information in this document are provided only to illustrate the
operation of the products and application examples. You are fully responsible for the incorporation of these circuits, software,
and information in the design of your equipment. PoLabs assumes no responsibility for any losses incurred by you or third
parties arising from the use of these circuits, software, or information.
4. PoLabs has used reasonable care in preparing the information included in this document, but PoLabs does not warrant that
such information is error free. PoLabs assumes no liability whatsoever for any damages incurred by you resulting from errors in
or omissions from the information included herein.
5. PoLabs devices may be used in equipment that does not impose a threat to human life in case of the malfunctioning, such
as: computer interfaces, office equipment, communications equipment, test and measurement equipment, audio and visual
equipment, home electronic appliances, machine tools, personal electronic equipment, and industrial robots.
6. Measures such as fail-safe function and redundant design should be taken to ensure reliability and safety when PoLabs
devices are used for or in connection with equipment that requires higher reliability, for example: traffic control
systems, anti-disaster systems, anticrime systems, safety equipment, medical equipment not specifically designed for life
support, and other similar applications.
7. PoLabs devices shall not be used for or in connection with equipment that requires an extremely high level of reliability and
safety, as for example: aircraft systems, aerospace equipment, nuclear reactor control systems, medical equipment or systems
for life support (e.g. artificial life support devices or systems), and any other applications or purposes that pose a direct threat
to human life.
8. You should use the PoLabs products described in this document within the range specified by PoLabs, especially with respect
to the maximum rating, operating supply voltage range and other product characteristics. PoLabs shall have no liability for
malfunctions or damages arising out of the use of PoLabs products beyond such specified ranges.
9. Although PoLabs endeavors to improve the quality and reliability of its products, semiconductor products have specific
characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions.
Further, PoLabs products are not subject to radiation resistance design. Please be sure to implement safety measures to guard
them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a PoLabs
product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction
prevention, appropriate treatment for aging degradation or any other appropriate measures.
10. Usage: the software in this release is for use only with PoLabs products or with data collected using PoLabs products.
11. Fitness for purpose: no two applications are the same, so PoLabs cannot guarantee that its equipment or software is
suitable for a given application. It is therefore the user's responsibility to ensure that the product is suitable for the
user's application.
12. Viruses: this software was continuously monitored for viruses during production, however the user is responsible for virus
checking the software once it is installed.
13. Upgrades: we provide upgrades, free of charge, from our web site at www.poscope.com. We reserve the right to charge for
updates or replacements sent out on physical media.
14. Please contact a PoLabs support for details as to environmental matters such as the environmental compatibility of
each PoLabs product. Please use PoLabs products in compliance with all applicable laws and regulations that regulate the
inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. PoLabs assumes no liability for
damages or losses occurring as a result of your noncompliance with applicable laws and regulations.
15. Please contact a PoLabs support at support@poscope.com if you have any questions regarding the information
contained in this document or PoLabs products, or if you have any other inquiries.
16. The licensee agrees to allow access to this software only to persons who have been informed of and agree to abide by these
conditions.
17. Trademarks: Windows is a registered trademark of Microsoft Corporation. PoKeys, PoKeys55, PoKeys56U, PoKeys56E,
PoScope, PoLabs and others are internationally registered trademarks.
2
www.poscope.com
PoBlocks user manual (March 31, 2014)
1. PoBlocks description
PoBlocks is a graphical programming tool for PoKeys devices. It features an intuitive and clean interface
and enables the user to quickly and easily design, deploy and debug a program that gets transferred and
executed by the PoKeys device itself.
PoBlocks was developed with ease of use in mind, which means that it does not require long manuals,
extended tutorials or deep knowledge to use. Although PoBlocks is simple to use, it also boasts a rich set
of features - support for PoKeys basic and extended I/O interfaces support, timers, counters,
configurable clock sources, algebra, memory, logic and non-linear operations, time schedule, event
drums, even PID and on/off controllers, etc.
PoBlocks also features a simple to use monitor mode for debugging that gives user a good insight in how
the program executes in real-time.
2. Main features
Simple and intuitive graphical user interface with integrated support:
just open the application
and start designing your diagram. Drag the function blocks from the graphical toolbar with
mouse and connect them by clicking on the input/output ports. When in doubt, hover over the
block to access the integrated help.
Support for wide array of PoKeys peripherals:
PoBlocks gives you the access to digital inputs
and outputs, analog inputs, PWM outputs, encoder inputs, digital counters, PoExtBus outputs
and more just by dragging a block and selecting the pins in the property panel on the right.
Algebra, logic blocks:
Choose from basic algebra functions and logic functions to create simple
conditional logics.
Memory blocks:
use JK, D, T or data latches, minimum/maximum value memories, simple RAM
blocks.
Trigger and timing functions:
PoBlocks offers counters, signal level triggers, on-, off- and pulse-
timers, etc.
Advanced blocks:
weekly time schedule, LCD interface support with multiple layouts, drum-style
programming, process control etc. Advanced blocks enable you to quickly start controlling your
process as you want it. If no block suit your needs, Custom PoIL block enables custom PoIL code
execution.
One-click compiling and downloading:
when satisfied with your design, compile it and
download it to the device with only one click.
Real-time debugging/monitoring:
with PoBlocks, your diagrams are simply created, then
compiled and downloaded to the device with one click. When it comes to debugging or
monitoring the process, simply activate the monitor mode and all outputs and connections will
be populated with current values.
3
www.poscope.com
PoBlocks user manual (March 31, 2014)
3. Requirements
Windows XP, Vista, 7, 8 (other platforms coming soon)
Visual C++ 2010 Redistributable Package installed on the target computer
PoKeys56 or newer device (on USB or network)
4. Installation
PoBlocks application is a part of the PoKeys software installation package, available free of charge on
www.poscope.com.
4
www.poscope.com
PoBlocks user manual (March 31, 2014)
5. Contents
1.
2.
3.
4.
5.
6.
PoBlocks description ............................................................................................................................. 3
Main features ........................................................................................................................................ 3
Requirements ........................................................................................................................................ 4
Installation ............................................................................................................................................ 4
Contents ................................................................................................................................................ 5
PoLabs PoIL core introduction .............................................................................................................. 9
6.1.
6.2.
6.3.
6.4.
7.
Operating modes .......................................................................................................................... 9
Start-up configuration................................................................................................................... 9
Cycle time...................................................................................................................................... 9
PoIL programming ......................................................................................................................... 9
User interface...................................................................................................................................... 10
7.1.
7.2.
7.3.
7.4.
7.5.
Toolbar and device controls........................................................................................................ 10
Device selection dialog ............................................................................................................... 11
Block library ................................................................................................................................ 12
Properties panel .......................................................................................................................... 12
Project properties ....................................................................................................................... 12
8.
Using PoBlocks .................................................................................................................................... 13
8.1.
8.2.
8.3.
8.4.
8.5.
8.6.
8.7.
Inserting blocks ........................................................................................................................... 13
Removing blocks ......................................................................................................................... 14
Moving blocks ............................................................................................................................. 14
Connecting blocks ....................................................................................................................... 14
Constant inputs ........................................................................................................................... 15
Removing connections ................................................................................................................ 15
Configuring blocks ....................................................................................................................... 15
9.
10.
11.
12.
13.
Compile process .................................................................................................................................. 16
Modes of operation (Run, Step, Stop) ............................................................................................ 16
Exceptions ....................................................................................................................................... 17
Monitor mode ................................................................................................................................. 17
Shared data ..................................................................................................................................... 18
Writing data to Shared data slot ............................................................................................. 18
www.poscope.com
13.1.
5
Zgłoś jeśli naruszono regulamin