Vision Components VCSBC4012 Operating Manual Download Page 17

VCSBC4012.pdf – VCSBC4012 Single Board Smart Camera Operating Manual 

17

6  Programming VCSBC4012 Camera 

 

The VCSBC4012 operating system includes some additional functions, mainly for the control of the 

additional interfaces. Without direct VGA output some video control functions are not implemented for 

this camera.  

This manual describes the differences between the standard VCRT 5 operating system functions and 

the special function library of the VCSBC40. For programming please also consult the 

VCRT 5

 and 

VCLIB 2.0 and VCLIB 3.0 manuals

 (see the list of references at the beginning of this manual). 

 

 

6.1 Special 

Software 

requirements for the VCSBC4012 

 

The following table shows the minimum compatible setup options using the VCSBC4012 camera: 

 

 

Code Composer Studio 

Version 

VCRT PC Lib Version 

 

VCLIB Version 

VCRT Camera OS 

Version: 

CCS 3.1 (C6000) or 

CCS 3.3 (C6000) 

VCRT 5.27 

VCLIB 3.0 

VCRT 5.27 

 

 

Refer to the 

“Support News”

 section, under “Support and Download” on the VC website for an 

overview of the latest compatible set up. 

 

The VCRT PC lib Operation System PC library, the VCLIB Image Processing Library as well as the 

VCRT Camera Operation System can be downloaded from Support section of the Vision Components 

Website.  

Software manuals are located in the “Registered User Area”. This download area can be accessed 

after registration and log in on the VC Website.  

Software updates are available from the “Customer Area”. For access to the customer area please 

register your Vision Components development software for VC cameras with TI processor. Software 

registration can be done after logging in using the license key code shipped with each development 

bundle. For this please follow the “Register your Software” link under the “User Menu”. 

 

©

 1996-2011 Vision Components GmbH Ettlingen, Germany 

 

Summary of Contents for VCSBC4012

Page 1: ... Camera People VCSBC4012 Operating Manual Hardware specifications and special software functions of VCSBC4012 Single Board Smart Cameras Revision 2 0 April 2011 Document name VCSBC4012 pdf Vision Components GmbH Ettlingen Germany ...

Page 2: ...answers Description Title on Website Download Area Quick start Manual for VC camera set up and programming Getting Started VC Smart Cameras with TI DSP Public Download Area Getting Started VC SDK Ti Schnellstart VC deutsche Version of Getting Started VC Schnellstart VC Smart Kameras Customer Area Getting Started VC20XX and VC40XX Cameras Introduction to VC Smart Camera programming Programming Tuto...

Page 3: ...2 camera socket 12 4 2 3 Electrical specifications J2 camera socket 14 5 Accessories 16 5 1 Camera and Lens holder order numbers 16 5 2 Further accessories available for the VCSBC4012 16 6 Programming VCSBC4012 Camera 17 6 1 Special Software requirements for the VCSBC4012 17 6 2 Ethernet Communication 18 6 3 Using FTP with the VCSBC4012 18 6 4 Preventing Autoexec Execution IP number reset 18 6 4 1...

Page 4: ...l VC Smart Cameras with Texas Instruments DSP the operation system VCRT allows multi tasking This means for instance that user interface commands can execute in parallel without stopping the inspection process It is also possible to transfer live images via TCP IP using a background task The VCSBC4012 camera offers an inexpensive entrance into the world of the high performance intelligent cameras ...

Page 5: ...fer demo software under Support Customer Area Software Utilities The TMS320C64xx DSP is one of the fastest 32bit DSPs It features a RISC like instruction set up to 8 instructions can be executed in parallel two L1 cache memories 16 Kbytes each and a 128 Kbytes L2 cache on chip Its high speed 64 channel DMA controller gives additional performance The DSP uses fast external SDRAM as main memory A fl...

Page 6: ...essor Texas Instruments TMS320C64XX signal processor 400 MHz 3200MIPS RAM 64 Mbytes SDRAM synchronous dynamic RAM Memory capacity Up to 13 full size grey value images in format 2592 x 1944 Flash EPROM 4 Mbytes flash EPROM nonvolatile memory for programs and data in system programmable 3 MB available to user SD card Not available Process interface 2 inputs 4 outputs outputs 4x80 mA Additional LVTTL...

Page 7: ...O Connector J 2 Ethernet trigger and Expansion Port Connector J 3 Emulator Connector The pin assignments electrical specifications as well as available accessories are shown for each interface connector in the following sections Please refer to Please refer to Appendix B Drawing Circuit Board VCSBC4012 for the pin 1 orientation of the camera board sockets 1996 2011 Vision Components GmbH Ettlingen...

Page 8: ... differs from the J3 connector of the VCSBC4018 16 board cameras Pin Locations 1 2 3 4 5 6 7 8 9 10 11 12 If board orientation as shown below Sensor J1 4 1 2 Electrical specifications digital IO s J1 interface The camera has two PLC compatible inputs and four PLC compatible open collector outputs for controlling machines and processes Inputs and outputs are not galvanically separated from the supp...

Page 9: ...rnal output supply Absolute maximum voltage voltages greater than 40 V can destroy the outputs Type BC850 open collector Switching voltage negative switching NPN output high switching to GND Current max 80 mA per output Absolute maximum current total currents greater than 80 mA per output can destroy plugs and cables no inductive capacitive load allowed Switching power max 1 0 W per output Protect...

Page 10: ...12 V to 24V is required The camera is however very sensitive to power supply interruption Please make sure that the voltage never exceeds the limits of 9V 30V even for a short period of time In case of trouble it is recommended to backup the power supply by a capacitor or a battery large enough to prevent power interruptions Power consumption depending on suply voltage 3 Supply Voltage V Current d...

Page 11: ...et cables see the accessory overview in section 5 Signal description Q00 Q03 digital LVTTL outputs I00 I03 Digital LVTTL input without pull up resistor I2C_Clock and I2C_Data I2C serial Bus Interface for additional peripherals Refer to the Texas Instruments documentation4 for further details Note that the I2C Bus is used internally to program the sensor Caution is advised when programming the I2C ...

Page 12: ... board The socket J2 has the following part number 8775967 2050 manufacturer Molex www molex com The matching connector has the following part number 51110 2050 Vision Components does not currently manufacture a cable for this connector Please order the matching connector from the manufacturer Molex 4 2 2 2 Using VC s wide Ribbon Cable covering J1 and J2 There is a new Ribbon Cable available using...

Page 13: ...n 1 12 use J1 cable Pin 13 20 use one of the Ethernet calbes pin number of connector given here 2 4 6 8 10 12 2 NC 6 NC 1 3 5 7 9 11 1 NC 5 NC Please refer to section 4 1 1 section 4 2 1 and sectio 5 for details on these cables Pin assignment Ethernet cable VK000251 PIN J4 Cable Color J4 Signal Cable Color RJ45 PIN RJ45 1 blue TXD Orange white 1 2 red TXD Orange 2 3 N C GND N C 4 N C GND N C 5 Pin...

Page 14: ...LOW 0 3V 0 8V LVTTL Input voltage Signal HIGH 2V 3 9V LVTTL input current N A limiting resistor 1K5 pull up reverse voltage protection none switching delay none Image trigger on rising or falling input signal works as before see section 6 5 1 for details The trigger input and output are very sensitive and not galvanically separated Opto isolation of the driving circuit is therefore strongly recomm...

Page 15: ...tage signal HIGH 2 9 V with 8mA output current 3 1 V with 1mA output current max 3 V LVTTL Maximum output current max 8 mA high 2mA low pull up resistor none LVTTL push pull output Caution Place the connectors at the correct position not reversed or shifted Recommended circuit for trigger output Camera side Pin 16 Trig Out 6 The electrical specifications given for the trigger input and output are ...

Page 16: ...t Using this power supply with VCSBC4018 and VCSBC4016 is only possible when booting by switching the 24V secondary side 15W power supply needed if switching the mains supply VK000036 Cable for Expansion Port J2 use cable set VK000229 see section 4 2 It is recommended to manufacture matching circuit board VK000229 Power Supply and IO Interface cable for J1 VK000173 Ethernet OEM Cable for J2 0 5m l...

Page 17: ...on VCLIB Version VCRT Camera OS Version CCS 3 1 C6000 or CCS 3 3 C6000 VCRT 5 27 VCLIB 3 0 VCRT 5 27 Refer to the Support News section under Support and Download on the VC website for an overview of the latest compatible set up The VCRT PC lib Operation System PC library the VCLIB Image Processing Library as well as the VCRT Camera Operation System can be downloaded from Support section of the Vis...

Page 18: ... allocation The Getting Started VC Smart Cameras and section 6 4 1 include advice on re setting a camera with unknown or invalid IP Address 6 3 Using FTP with the VCSBC4012 With VCRT 5 18 and higher the use of any standard ftp client is now possible The following server commands have been added SYSTEM PWD CWD LIST DEL Programs have to be uploaded as out files into the camera flash memory Ascii fil...

Page 19: ...ecifying the camera serial number as shown This command sends vcp packets via UDP broadcast for the next 15 seconds Sending this command resets the corresponding camera to the default IP address and bypasses Autoexec execution Further options below 6 Boot the corresponding camera power on during the next 15 seconds During start up the camera listens 0 5 seconds for cvp packets send with vcnet jar ...

Page 20: ... use the following command see demo program trigin c if TRIGINP_PIN print external trigger 1 n else print external trigger 0 n A capture can be triggered on rising edge with TRIGINP_POS and on falling edge with TRIGINP_NEG Signal Trigger Mode TRIGINP_POS Rising Edge Trigger Signal TRIGINP_NEG Falling Edge Trigger Signal Trigger input t V Threshold Trigger input t V Threshold The trigger output can...

Page 21: ... and long shutter times the sensor needs several milliseconds to execute the signal change 6 5 2 Controlling the TTL IOs on socket J2 Setting and reading the 4LVTTL inputs and outputs is done with help of the hardware registers The following macros are available for easier operation see vcrt h Setting the 4 outputs is done with help of a 4 bit value define TTL_OUT x volatile int FA40_LED x SBC4018...

Page 22: ...s VCSBC4012 New VCRT functions see section 6 and vcrt h define GET_HW_STATUS volatile int FA40_STATUS 0x3F CPLD relase number define TTL_OUT x volatile int FA40_LED x SBC4012 TTL output define GET_TTL_IN volatile int FA40_TTL 0x0F SBC4012 TTL input 1996 2011 Vision Components GmbH Ettlingen Germany ...

Page 23: ...Appendix B Drawing Circuit Board VCSBC4012 The red dot marks the Pin 1 position of each connector Correct placement Of Emulator adapter board All mounting holes 2 2mm for M2 Tolerances All circuit board dimensions 0 1mm 1996 2011 Vision Components GmbH Ettlingen Germany ...

Page 24: ...as VCSBC Board Cameras VCM Viscube Camera Sensors VC Smart Camera Software VC Software Development Kit Ti VCRT Operating System VCLIB Image Processing Library VC Special Libraries M200 Data Matrix Code Reader VCOCR Text Recognition Library Color Lib Support Support News User Registration required Tech News new SW and Documentation Knowledge Base FAQ User Registration required Searchable FAQ Databa...

Reviews: