background image

7.5.3

Programming API

SICK AppSpace has a large application programming interface (API) which includes
algorithms and functionality for hardware configuration, result processing, and result
communication. The API consists of functional groups called crowns, where each crown
contains functions and events related to a specific topic.

The complete API documentation for each firmware release is available on the TriSpec‐
torP1000 pages in the SICK Support Portal, 

supportportal.sick.com

.

NOTE

The API is directly accessible from SICK AppStudio. To access it, click a free place in a
lua file and press Ctrl+Space to display a list of all accessible functions and commands
for the device.

7.5.4

Tutorials and code samples

Tutorials and code samples for general and device-specific topics are available to help
the user get started with the programming of the device:

Tutorials are available from the SICK Support Portal: 

supportpor‐

tal.sick.com/pages/appspace/documentation-and-more

.

Code samples are available from Gitlab: 

gitlab.com/sick-appspace/samples

.

The above pages can be accessed directly from the 

Help

 menu in SICK AppStudio.

COMMISSIONING

40

O P E R A T I N G   I N S T R U C T I O N S | TriSpectorP1000

8022395/19OK/2020-12 | SICK

Subject to change without notice

Summary of Contents for 1091318

Page 1: ...O P E R A T I N G I N S T R U C T I O N S TriSpectorP1000 3D vision...

Page 2: ...within the limits of the legal determination of Copyright Law Any modi fication abridgment or translation of this document is prohibited without the express written permission of SICK AG The trademark...

Page 3: ...cription 13 3 1 System overview 13 3 2 Scope of delivery 13 3 3 Device variants 14 3 4 System requirements 14 3 5 SICK AppSpace 14 3 6 Dimensional drawings 15 3 7 LED indicators 17 3 8 TriSpectorP1000...

Page 4: ...Opening the web user interface 39 7 5 Programming the device 39 7 5 1 Starting SICK AppStudio 39 7 5 2 Lua scripting 39 7 5 3 Programming API 40 7 5 4 Tutorials and code samples 40 8 Maintenance 41 8...

Page 5: ...ctorP1000 to CDF600 22xx 48 12 4 TriSpectorP1000 Result Output function block for Siemens Simatic S7 PLC 50 12 4 1 About this document 50 12 4 2 PLC Configuration 50 CONTENTS 8022395 19OK 2020 12 SICK...

Page 6: ...e machine or system in which the device is integrated For information about this refer to the operating instructions of the specific machine 1 2 Explanation of symbols Warnings and important informati...

Page 7: ...pes containing technical data dimensional drawing and specification diagrams EU declarations of conformity for the product family Dimensional drawings and 3D CAD dimension models of the device types i...

Page 8: ...the requirements for industrial ruggedness interfaces and data processing 2 1 1 Operating restrictions NOTICE Radio interference may occur when the device is used in residential areas Only use the de...

Page 9: ...latest technical changes the actual scope of delivery may vary from the features and illustra tions shown here 2 4 1 Programmable product For programmable products the respective programmer is respons...

Page 10: ...e tasks assigned to them and about potential dangers arising from improper action Skilled personnel have the specialist training skills and experience as well as knowledge of the relevant regulations...

Page 11: ...nto the laser beam intentionally Never point the laser beam at people s eyes If it is not possible to avoid looking directly into the laser beam e g during commissioning and maintenance work suitable...

Page 12: ...using Electrical voltage can cause severe injury or death Work on electrical systems must only be performed by qualified electricians Follow the notes in the operating instructions Install the groundi...

Page 13: ...t profile Figure 3 3D image Definitions The 3D image which is also called heightmap or range data contains all the acquired height profiles The reflectance is the reflected intensity along the laser l...

Page 14: ...tem requirements Operating system Windows 10 Intel Core I5 540M 2 53 GHz 4GB RAM 1024x768 resolution Graphics card Intel HD Graphics Video Card or NVIDIA NVS 3100M 512MB gDDR3 450 MB free hard disk sp...

Page 15: ...Kit SDK for developing SensorApps on programmable SICK devices Its user interface for machine operators can be created individually as a web GUI The SICK Support Portal supportportal sick com contains...

Page 16: ...r I O thread outside 4 LED On 5 LED State 6 LED Link Data 7 LED Result 8 LED Laser 9 Fastening threads M5x8 5 length Optical receiver center Optical sender center SD card TriSpectorP1030 1 2 4 5 6 7 8...

Page 17: ...3 23 83 3 3 28 1 2 4 5 6 7 8 3 9 M12 x 1 M12 x 1 M12 x 1 1 Connector Encoder thread inside 2 Connector Gigabit Ethernet Gig E 3 Connector Power I O thread outside 4 LED On 5 LED State 6 LED Link Data...

Page 18: ...roSD memory card slot is located next to the camera window 1 Release the two screws to remove the lid 2 Insert or remove the microSD memory card 3 Re mount the lid and tighten the screws with a torque...

Page 19: ...e following tasks as required Inserting or removing the optional memory card During this time protect the device against moisture and dust PRODUCT DESCRIPTION 3 8022395 19OK 2020 12 SICK O P E R A T I...

Page 20: ...spection Immediately upon receipt in Goods in check the delivery for completeness and for any damage that may have occurred in transit In the case of transit damage that is visible externally proceed...

Page 21: ...e periods of longer than 3 months check the general condition of all components and packaging on a regular basis TRANSPORT AND STORAGE 4 8022395 19OK 2020 12 SICK O P E R A T I N G I N S T R U C T I O...

Page 22: ...t level of cooling using ambient air convection and or heat dissipation through mechanical mounting Observe the permitted operating tem perature see Technical data page 44 5 2 Mounting the device Moun...

Page 23: ...ypical field of view 1 TriSpectorP1008 TriSpectorP1030 TriSpectorP1060 Figure 6 Field of view diagrams 1 Typical field of view 2 Maximum height range 3 Width at maximum working distance 5 4 Replacing...

Page 24: ...n external trigger sensor optional If the device is triggered by an external trigger sensor it is recommended to place the trigger sensor beyond the device see left image Place the trigger sensor so t...

Page 25: ...st be appropriately insulated from each other If the supply voltage for the device is not supplied via the CDB650 204 connection module the device must be protected by a separate slow blow fuse at the...

Page 26: ...erent cable channels or use metallic separators see figure 9 and see figure 10 This applies particularly if cables of devices with a high level of radiated emission such as frequency converters are la...

Page 27: ...potential is the same at all grounding points Where local conditions do not meet the requirements for a safe earthing method take appropriate measures e g ensuring low impedance and current carrying e...

Page 28: ...equipotential bonding currents on cable shields is to ensure low impedance and current carrying equipotential bonding If this equipo tential bonding is not possible the following solution approaches...

Page 29: ...ands isolates the ground loop Within the islands a stable equipotential bonding prevents equalizing currents on the cable shields Measures for small system installations For smaller installations with...

Page 30: ...velop between the insulated metal housings and the local ground potential 6 3 Connection diagram Power I O Gig E Encoder On State Link Data Result Laser PC 24 V DC Encoder Photoelectric switch 1 2 3 4...

Page 31: ...the tip of the shaft There are five encoder pulse counter modes posi tive negative movement forward backward movement and bidirectional Scan 1 No scan 2 Forward scanning direction 6 Motion 5 Position...

Page 32: ..._L3 6 GETH_L2 7 GETH_L4 8 GETH_L4 Power I O 3 1 7 2 6 5 4 8 9 10 12 11 Figure 19 M12 male connector 12 pin A coded Pin Signal 1 24 V Voltage supply input 2 Ground Power Signal 3 24 V I O 3 Trigger in...

Page 33: ...Pin Signal 12 RS 232 Tx ELECTRICAL INSTALLATION 6 8022395 19OK 2020 12 SICK O P E R A T I N G I N S T R U C T I O N S TriSpectorP1000 33 Subject to change without notice...

Page 34: ...f faults The use of SICK AppStudio requires a valid license A one year license art no 1610199 is available from www sick com SICK_AppStudio After purchasing the license download the SICK AppStudio sof...

Page 35: ...TriSpectorP1000 cameras with the same field of view size The selected field of view blue is the region in which the camera acquires 3D images with the current configuration Use the Select tool or the...

Page 36: ...gives less noise in the heightmap while a low threshold value makes it possible to detect weak laser peaks 6 Select laser line acquisition criteria with the PeakSelection parameter Strongest locates...

Page 37: ...been acquired Select Trigger on I O 3 to start the image acquisition based on a digital input signal Select Object Trigger to start the image acquisition when the object extends above a specified thre...

Page 38: ...ce data Select Reflectance from the View menu to display the heightmap with reflectance overlay The reflectance image is useful for displaying surface details such as prints Select Surface or Points f...

Page 39: ...ppManager to log in to SICK AppPool b Click the AppPool tab c Select a SensorApp in the list of available SensorApps d Click Download and install to download the selected SensorApp to the PC and insta...

Page 40: ...Studio To access it click a free place in a lua file and press Ctrl Space to display a list of all accessible functions and commands for the device 7 5 4 Tutorials and code samples Tutorials and code...

Page 41: ...eaning may result in equipment damage Only use recommended cleaning agents and tools Never use sharp objects for cleaning b Keep the windows clean to maintain the read performance of the device Regula...

Page 42: ...he level of risk Current national regulations regarding laser protection must be observed 8 3 Upgrading the firmware The latest firmware for the device can be downloaded from the SICK Support Portal s...

Page 43: ...son Description of the application Description of the fault that occurred 9 3 Disposal If a device can no longer be used dispose of it in an environmentally friendly manner in accordance with the appl...

Page 44: ...180 mm Width at maximum work ing distance 1008 75 mm 1030 330 mm 1060 660 mm Maximum height range 1008 60 mm 1030 400 mm 1060 800 mm Factory calibrated Yes Light source Visible red light laser 660 nm...

Page 45: ...coded Gigabit Ethernet M12 female connector 8 pin A coded Encoder Connector material Brass nickel plated Supply voltage 24 V DC 20 SELV LPS EN 60950 1 or ES1 PS2 EN 62368 1 or Class II UL1310 Supply...

Page 46: ...sink output current 100 mA at 24 C Overcurrent protection 200 mA Capacitive load 100 nF Inductive load 1H with use of external free wheeling diode otherwise perma nent damage to the device can occur...

Page 47: ...s and where applicable mounting information can be found online at www sick com TriSpectorP1000 ACCESSORIES 11 8022395 19OK 2020 12 SICK O P E R A T I N G I N S T R U C T I O N S TriSpectorP1000 47 Su...

Page 48: ...exts here www sick com licensetexts Printed copies of the license texts are also available on request 12 3 Connecting the TriSpectorP1000 to CDF600 22xx This is an instruction for connecting the TriSp...

Page 49: ...n 1 Pin 1 24 V to 24 V optional 1 1 The 24 V to 24 V connection allows the TriSpectorP1000 to be powered by the CDF600 22xx 2 Set the rotary encoding switch found on the side of the CDF600 22xx to 2 F...

Page 50: ...ing controllers S7 300 S7 400 S7 1200 S7 1500 The table below tells you what function block to choose depending on your PLC version The function blocks are different and not compatible with each other...

Page 51: ...eboot the Initial_Call flag triggers the the TCON function block to open the TCP communication The ID parameter of the TriSpector1000 function block input must have the same value as the ID input of t...

Page 52: ...23 Connection parameters For more information see the TIA Portal help system 12 ANNEX 52 O P E R A T I N G I N S T R U C T I O N S TriSpectorP1000 8022395 19OK 2020 12 SICK Subject to change without...

Page 53: ...ANNEX 12 8022395 19OK 2020 12 SICK O P E R A T I N G I N S T R U C T I O N S TriSpectorP1000 53 Subject to change without notice...

Page 54: ...xico Phone 52 472 748 9451 E Mail mario garcia sick com Netherlands Phone 31 0 30 229 25 44 E Mail info sick nl New Zealand Phone 64 9 415 0459 0800 222 278 tollfree E Mail sales sick co nz Norway Pho...

Reviews: