background image

 
 

Binary Socket 

 

 

D20980.022 Rev C 

CV-LS User Manual 

Page 82 

Encoding a Packet 

All binary commands have the following key Byte Values: 

Byte Name 

Value 

Start  

0x12 

Escape  

0x7D 

End  

0x13 

 

A command has the following structure: 

1)

 

2 Byte Command 
a)

 

Bits 1-12: Command Code 

b)

 

Bit 13: Read when 0, Write when 1 

c)

 

Bits 14-15: Command Set 

2)

 

2 Byte Data Length (number of bytes in Data Payload) 

3)

 

Data Payload 

4)

 

2 Byte Flecher16 Checksum 

Once the command is constructed, the data must be escaped. Any byte in the entire packet that 
matches the 

Start

Escape

, or 

End

 bytes must have the 

Escape

 byte added just before it. The byte must 

then have a bitwise XOR with 0x80 applied. This ensures that no byte in the entire payload will match 
the 

Start

 or 

End

 bytes. 

Once the command is escaped, a 

Start

 byte is prepended to the packet, and a 

Stop

 byte is apended to 

the packet.  

This process creates a single complete packet, and can then be transmitted to the Binary Socket. If a 
packet does not follow this form, it will be discarded by the unit. 

Note:

 An example implimentation of this method can be found in the “classBinarySocket.c” file in the 

Dashboard source code. 

Decoding a Packet 

Decoding a stream of data from the unit can be done by reversing the process of “Encoding a Packet”. 
The Dashboard Application implements an asynchronous approach to decoding packets. This is the 
preferred method to make use of the streaming status functions available to the Binary Socket. 

Commands 

Please download the programming guide, found under the 

Error! Reference source not found.

 Section 

on page 94, for a full list of available commands and how to use them.

Содержание ColdVision

Страница 1: ...Manual D20980 022 Rev C DCN 21617 March 2017 SCHOTT North America Inc 122 Charlton Street Southbridge MA 01550 1960 Phone 508 765 9744 Fax 508 765 1299 Email machine vision moritex com Website http mo...

Страница 2: ...40 11 Liabilities 12 Comments 12 Sicherheitshinweise 13 Einf hrung 13 Bestimmungsgem e Verwendung 13 Anwendungsbereich 14 Geltung 14 Symbole 15 Zugeh rige Dokumente 15 Produktbezogene Warnungen 16 Rei...

Страница 3: ...entarios 25 Informations de s curit 26 Introduction 26 Utilisation appropri e 26 Port e 27 Validit 27 Symboles 28 Documents connexes 28 Mises en garde relatives au produit 29 Nettoyage 30 Certificatio...

Страница 4: ...es 46 Unit Mounting 48 Factory Resets 48 Soft Reset 48 Hard Reset 48 Reset Failures 48 Software Install 49 Windows Menu Shortcuts 50 Driver Install 50 CV LS Dashboard 51 Windows Menu 53 Connections 54...

Страница 5: ...Socket 81 Socket Connection 81 Fletcher16 Checksums 81 Encoding a Packet 82 Decoding a Packet 82 Commands 82 Product Specification 83 Environment 83 Operational Temperature 83 Storage Temperature 83...

Страница 6: ...ccessories 90 Return Material Authorization RMA 91 Troubleshooting 91 Technical Support 91 Service and RMA Policy 92 Warranty and Liabilities 92 RMA Request Form 93 Contact Information 94 Repair Locat...

Страница 7: ...nsity LED light source intended for use with fiber optic illuminators This light source has state of the art light output and a simplified user interface with versatile remote control abilities The CV...

Страница 8: ...he technical information needed to operate the CV LS The units described in this manual are A20980 6000K Cool White Light Source A20980 3000K Warm White Light Source A20980 RGBW RGBW Light Source Vali...

Страница 9: ...11 for compliance information European Declaration of Conformity RoHS Compliant also known as Directive 2011 65 EU Compliant with the Waste Electrical and Electronics Equipment Restriction of the Use...

Страница 10: ...ing objects e g in microscopy special care must be taken to keep an appropriate distance between the light guide and the object s Special care must also be taken to select a suitable lamp brightness l...

Страница 11: ...ible dust accumulation should be removed using a vacuum or commercially available can of compressed air Certifications The ColdVision Light Source conforms to the provisions of the following European...

Страница 12: ...or maintenance of the unit or misunderstanding of the properties of the unit Under no circumstances shall SCHOTT be liable for consequential or other damages of any kind losses or expenses in connecti...

Страница 13: ...ist eine LED Lichtquelle mit hoher Intensit t f r den Einsatz in LWL Beleuchtungen Diese Lichtquelle besitzt eine moderne Lichtausgabeleistung und eine vereinfachte Bedieneroberfl che mit vielseitigen...

Страница 14: ...en die Bediener zum Betrieb der CV LS ben tigen Die in diesem Handbuch beschriebenen Einheiten sind A20980 6000K kaltwei e Lichtquelle A20980 3000K warmwei e Lichtquelle A20980 RGBW RGBW Lichtquelle G...

Страница 15: ...tionen gehen Sie auf Seite 11 zum Abschnitt Zertifizierung Europ ische Konformit tserkl rung RoHS konform wie in Richtlinie 2011 65 EU beschrieben Konform mit den Recycling Richtlinien bez glich der V...

Страница 16: ...ang Halten Sie niemals K rperteile in den Lichtausgabestrahl Bei der Beleuchtung hitzeempfindlicher oder lichtabsorbierender brennbarer Objekte z B in der Mikroskopie muss besonders sorgf ltig vorgega...

Страница 17: ...f r viele Jahre ihren urspr nglichen Glanz beibehalten sollten Die Reinigung der exponierten Fl chen mit einem kommerziellen Glasreiniger unterst tzt das Erreichen dieses Ziels Entfernen Sie vor Begin...

Страница 18: ...eme wird durch die technische Dokumentation und in voller bereinstimmung mit den nachfolgend aufgef hrten Normen gepr ft Kategorie Normen EMV IEC 61326 1 2012 FCC CFR47 Teil 15B 2015 Japanische Abweic...

Страница 19: ...n in Folge der Wartung des Ger ts bzw aus Missverst ndnissen der Eigenschaften des Ger tes SCHOTT haftet unter keinen Umst nden f r Folge oder andere Sch den jeglicher Art Verluste oder Aufwendungen i...

Страница 20: ...nsidad para usar con iluminadores de fibra ptica Esta fuente de luz tiene una potencia lum nica vanguardista y una interfaz de usuario simplificada con funciones de control remoto vers til La CV LS es...

Страница 21: ...ios la informaci n t cnica necesaria para utilizar la CV LS Las unidades descritas en este manual son las siguientes A20980 6000K fuente de luz blanca fr a A20980 3000K fuente de luz blanca c lida A20...

Страница 22: ...tambi n conocida como Directiva 2011 65 EU Cumplimiento de las Directivas sobre reciclaje de residuos de aparatos el ctricos y electr nicos restricciones a la utilizaci n de determinadas sustancias p...

Страница 23: ...ectoria de salida de la luz Cuando ilumine objetos que absorben luz inflamables o sensibles al calor p ej en un microscopio debe prestarse especial atenci n para mantener una distancia adecuada entre...

Страница 24: ...ECAUCI N No use detergentes agua en exceso pa os tratados limpiadores agresivos ni agentes o pulverizadores inflamables Si se derrama fluido en el interior deje que la unidad se seque completamente an...

Страница 25: ...os actos dolosos vandalismo disturbios guerras instalaci n inadecuada negligencia en el funcionamiento o mantenimiento de la unidad o malinterpretaci n de las propiedades de la unidad En ning n caso S...

Страница 26: ...des illuminateurs fibre optique Cette source de lumi re se caract rise par une sortie de lumi re la pointe de la technologie et une interface utilisateur simplifi e dot e de capacit s de contr le dist...

Страница 27: ...n cessaires l exploitation de la source de lumi re CV LS Ce manuel d crit les unit s suivantes A20980 6000K Source de lumi re blanche froide A20980 3000K Source de lumi re blanche chaude A20980 RGBW...

Страница 28: ...claration de conformit europ enne Conforme la Directive RoHS galement d sign e Directive 2011 65 EU LSDEEE Conforme aux Directives relatives au recyclage des d chets d quipements lectriques et lectron...

Страница 29: ...ez respecter les instructions suivantes Ne couvrez jamais la sortie du guide de lumi re Ne placez jamais aucune partie de votre corps sur la trajectoire de la sortie de lumi re Lorsque des objets abso...

Страница 30: ...qui pr servera l aspect brillant original de l unit pendant de nombreuses ann es Le nettoyage des parties expos es l aide d un nettoyant vitres du commerce permet d entretenir la finition Avant de com...

Страница 31: ...directives mentionn es ci dessus est attest par la documentation technique et enti rement conforme aux normes r pertori es ci apr s Cat gorie Normes CEM CEI 61326 1 2012 FCC CFR 47 Partie 15B 2015 ca...

Страница 32: ...a maintenance de l unit ou d une mauvaise compr hension des propri t s de l unit SCHOTT ne pourra en aucun cas tre tenu responsable de tout dommage indirect ou de tout autre dommage de quelque nature...

Страница 33: ...D20980 022 Rev C CV LS User Manual Page 33 SCHOTT North America ColdVision CV LS LED CV LS ColdVision 9 14mm CV LS A20980 6000K A20980 3000K A20980 RGBW RGBW A20980 400NM 400NM UV 150W EJA 4...

Страница 34: ...C CV LS User Manual Page 34 CV LS RS232 USB RS232 LLS 3 0 5V 0 24V 10KHz 25ms CV LS CV LS A20980 6000K A20980 3000K A20980 RGBW RGBW SCHOTT North America SCHOTT North America SCHOTT North America SCHO...

Страница 35: ...D20980 022 Rev C CV LS User Manual Page 35 Intertek Certification 11 EU CE 2011 65 EU RoHS WEEE RoHS 0 45 5 95 DC CV LS CV LS...

Страница 36: ...D20980 022 Rev C CV LS User Manual Page 36 LED LED UV UV LED RMA 91...

Страница 37: ...IEC 61326 1 2012 FCC CFR47 Part 15B 2015 CENELEC EN 61010 1 2010 UL 61010 1 2012 CAN CSAC22 2 61010 1 2004 IEC 62471 2006 3540 SCHOTT de M xico S A de C V Carretera M xico Veracruz Km 349 Venta Parad...

Страница 38: ...D20980 022 Rev C CV LS User Manual Page 38 1 SCHOTT SCHOTT machine vision moritex com...

Страница 39: ...D20980 022 Rev C CV LS User Manual Page 39 SCHOTT ColdVision ColdVision Light Source CV LS LED CV LS ColdVision 9 14mm CV LS A20980 6000K A20980 3000K A20980 RGBW RGBW A20980 400NM 400NM UV 150W EJA 4...

Страница 40: ...D20980 022 Rev C CV LS User Manual Page 40 CV LS RS232 USB RS232 LLS 3 0 5V 0 24V 10 KHz 25 CV LS CV LS A20980 6000K A20980 3000K A20980 RGBW RGBW SCHOTT SCHOTT SCHOTT SCHOTT...

Страница 41: ...D20980 022 Rev C CV LS User Manual Page 41 Intertek Certification 11 RoHS 2011 65 EU WEEE RoHS 0C 45C 5 95 DC CV LS CV LS...

Страница 42: ...D20980 022 Rev C CV LS User Manual Page 42 LED LED UV UV LED Return Material Authorization RMA 91...

Страница 43: ...EMC IEC 61326 1 2012 FCC CFR47 15B 2015 CENELEC EN 61010 1 2010 UL 61010 1 2012 CAN CSAC22 2 61010 1 2004 IEC 62471 2006 3540 SCHOTT de M xico S A de C V Carretera M xico Veracruz Km 349 Venta Parada...

Страница 44: ...D20980 022 Rev C CV LS User Manual Page 44 SCHOTT SCHOTT machine vision moritex com...

Страница 45: ...visible spectrum require a contact closure on the Digital Input pins of the Multiport to turn the LED on The user is required to supply sufficient interlocks on this pin to protect the user from expo...

Страница 46: ...ed in an ambient temperature above 25C Heavy Industrial 100 knob position This mode allows the fan to run at 100 of its maximum speed and allows light output to 100 of maximum This mode offers the mos...

Страница 47: ...light will start blinking two times per second Releasing the button at this time will only save the current settings not change the channel 7 At this point the unit will act as a single channel light...

Страница 48: ...ote This will also reset network settings The soft reset can also be accessed through the digital interfaces and is documented in the Technical User Guide See the Error Reference source not found sect...

Страница 49: ...User Manual CV LS Data Sheet CV LS Windows USB Driver CV LS 3D Models CV LS Firmware CV LS Dashboard CV LS Dashboard Source Code CV LS Programming Guide The default install location for these items i...

Страница 50: ...Datasheet Datasheet for the CV LS product line CV LS Driver Installer x64 x86 These applications will install the USB Virtual RS232 drivers into windows Administrative Rights Required CV LS Firmware...

Страница 51: ...some may be covered in more detail in Webinars Each section of the Dashboard corresponds to a section of the web interface In the following sections there will be a screenshot from both the Dashboard...

Страница 52: ...tored with options under the Windows menu as well as reset to the default layout Most window functions are available to all connection types but some of the more advanced functions are available only...

Страница 53: ...all graphs in the application You can change the settings of individual graphs by right clicking in the graph Color Description Connections Displays the connection options and status for both USB and...

Страница 54: ...connect to the first unit plugged into USB If a second unit is plugged into the computer control can be switched to the second unit by changing the USB Port Override from Auto Connect to the port num...

Страница 55: ...the network a USB connection to the unit will display its network settings which can then be used to diagnose connection issues Note A direct Ethernet connection to a known unit IP address is possibl...

Страница 56: ...e following colors Color Description Green Normal Operational Status Yellow Warning range Unit is still operating normally but is near the Error threshold Red Error Status LED will not turn on if any...

Страница 57: ...23K Equalizer Status of the equalizer when enabled Light Feedback Current light output value Value has no units and is not calibrated Used internally to stabilize output through equalizer functions L...

Страница 58: ...58 are not persistent until saved in the Configurations section This allows the user to test new settings without losing those previously saved Once the settings are saved the unit will return to thos...

Страница 59: ...or instance if a user were to change a setting from the Web Interface those changes would be immediately reflected in the Dashboard Note There is also a message at the top of both the Dashboard and We...

Страница 60: ...for demonstrating the color mixing capabilities of the RGBW model Combined Trigger Options Enabled Disabled When enabled a digital input into any channel port is equivalent to applying the same digit...

Страница 61: ...n controls the individual channel This allows the user to selectively turn off an individual channel even if the Output Power is on Ch X Power Limit Slider and Numeric Up Down Range 0 100 0 This sets...

Страница 62: ...Options Single Quad When in Single mode all four channels strobe with the settings of Channel 1 Quad mode shows settings for each channel individually Frequency Slider and Numeric Up Down Range 6 20...

Страница 63: ...the Waveform is set to Active High the LED is ON for only 25 of the waveform In Figure 12 below the Waveform is set to Active Low the LED is OFF for only 25 of the waveform Figure 11 Active High Conti...

Страница 64: ...he analog dimming level set under LED Channel Settings section Figure 13 Triggered Strobe Left Dashboard Right Web Interface Below is a sample strobe train The input is a 20 KHz 0V Low 3 3V High signa...

Страница 65: ...e following settings denoted by Ch X are the same for all four channels Ch X Delay Slider and Numeric Up Down Range 0 1000000 s Number of microseconds the channel will delay from when the trigger sign...

Страница 66: ...period than the CLO value The LFB can be used to see a live view of the light output while the CLO value is used by the internal control loop of the Equalizer The basic operating modes of the light so...

Страница 67: ...t increase the current if light output decreases Third because the light output will change significantly when the unit is first turned on the user should give sufficient time for the light output to...

Страница 68: ...emperature and is much quieter The user can test the noise of the fan by changing the Fan Control from Auto to Manual The manual mode will allow for the fan to be on at the speed shown even if the LED...

Страница 69: ...Figure 17 Upgrade Left Dashboard Right Web Interface Control Name Description Update Firmware The Latest Firmware Version is the latest firmware built into the Dashboard The user can select which firm...

Страница 70: ...the settings on this page require restarting core parts of the processor and cannot be done without disrupting the connection to the user The following sections will describe in detail the controls in...

Страница 71: ...ons Enable Disable When enabled the system will require a login of USER level or higher to use USER pages The Controls page is currently the only page requiring a USER level login Require Login for Ad...

Страница 72: ...allow the unit to work without changing these settings on most networks If these settings are not compatible with your network it is easiest to change the network settings using the Dashboard connect...

Страница 73: ...t will first request network information from the local DHCP server If this fails it will fall back to the static network information stored in memory Note The unit will be available more quickly on t...

Страница 74: ...t Socket is a new interface based on a binary protocol with packets and error checksums This interface is much faster and easier to program and is best used for continuous interaction with the unit Fi...

Страница 75: ...in their command terminal Figure 22 UART Left Dashboard Right Web Interface Control Name Description Baud Rate This is the communications speed The higher the number the faster the unit will be able...

Страница 76: ...vel ADMIN 2 user a User Name user b User Password user c Account Level USER Figure 23 Users These accounts can be modified as needed for the intended application by clicking on the User Name column Th...

Страница 77: ...k will keep the old password Phone Number Required For None This field is for a planned firmware upgrade where software errors exceptions will cause a notification to be texted to the ADMIN level phon...

Страница 78: ...rmation will allow tech support to track down any bugs in the firmware The log can be cleared or exported to a text file with the buttons below the table Figure 26 Diagnostics Sockets The Sockets tab...

Страница 79: ...Term Steps Description With TeraTerm open start a New Connection 1 Enter the IP address of the unit into the Host field 2 Enter the port for the Legacy Socket into the TCP port field Default is 50811...

Страница 80: ...es an start character Once the carriage return r is received the unit will process the command If a valid command is not found the unit will return n followed by the command string with an indicator o...

Страница 81: ...net Note Please reference the source code of the Dashboard Application and the Programming Guide for supplemental information to create your own implementation of the Binary Socket Fletcher16 Checksum...

Страница 82: ...atch the Start or End bytes Once the command is escaped a Start byte is prepended to the packet and a Stop byte is apended to the packet This process creates a single complete packet and can then be t...

Страница 83: ...ly 20 to 90 Non Condensing Electrical Input CV LS 18 28VDC 5A Max Power Supply 85 264 VAC 47 63 Hz 120W CAUTION The CV LS must have an Earth Ground connection for EMC Compliance Users must adhere to o...

Страница 84: ...ual Page 84 Mechanical Weight Typical CV LS 1 8 lbs Power Supply 1 7 lbs Packing Materials 1 lbs Total Shipping Weight 4 5 lbs Physical Dimensions Inches The following diagram shows the physical dimen...

Страница 85: ...o burn the operator Always handle these surfaces accordingly Figure 29 CV LS Front Panel Description Label Description Vent Outputs Heated air from the LED will vent out of these slots They must remai...

Страница 86: ...this locking connector Ethernet Dual 10 100 Switch The dual Ethernet port is a built in 10 100 Ethernet Switch Either port can be used to connect the unit to a network The second port can be used to...

Страница 87: ...pedance source Current ramp rate can be as much as 4A in 25 s GND Earth Ground When powering the unit through the multiport at least one GND pin should be connected to Earth Ground through a low imped...

Страница 88: ...slightly with LED temperature Please allow time for the temperature to equalize to achieve stable light output This can take several minutes at maximum fan speed settings LED output is through the fro...

Страница 89: ...A20980 3000K Typical Output 900 lumens Figure 33 Typical relative spectral power vs wavelength 3000K model A20980 RGBW Typical Output 130 lumens Red 250 lumens Green 70 lumens Blue 400 lumens White Fi...

Страница 90: ...0 008 Power Supply Mean Well USA Part GS120A24 R7B Fiber Optic Thumb Screw McMaster Carr Part 94567A300 Rubber Feet McMaster Carr Part 9541K8 Accessories Locking USB Cable Sentech USB Part CBL PD203MB...

Страница 91: ...sly but LED output is dark Check polarity settings in software Indicator LED blinks Fault exists Use software interface to query reason Communications over Ethernet not possible even though network ja...

Страница 92: ...el All shipping charges must be prepaid SCHOTT guarantees all warranty repairs will be completed within two weeks of receipt All units under warrantee will ship prepaid using our shipping method of ch...

Страница 93: ...ation on which interface you are experiencing problems with what you have tried to fix the issue how to replicate the problem etc Customer Information Name Company Name Return Shipping Address Phone E...

Страница 94: ...The CV LS Dashboard described in this manual is maintained in a GitHub repository located at https github com SCHOTTNorthAmerica CVLS Dashboard releases The DLLs used in the dashboard can be found in...

Отзывы: