Page 2
All the trademarks and names appearing here are for identification purposes only. Some of these trademarks may be registered trademarks of the respective owners. Balluff is not liable for any technical or printing errors, removal of the text contained herein or unintended damage resulting from use of the material.
Selecting the communication interface for the process data Network settings / LAN interface Locating the camera in the network Digital I/O interface Communication functions of the LAN Interface General information Structure of the messages The individual messages Examples Appendix Type code Accessories www.balluff.com English...
The web-based software interface integrated in the SMARTCAMERA is described in the separate software manual (BVS Cockpit manual). Both manuals are available on the Balluff product website via www.balluff.com or via the help system of the BVS Cockpit interface. The SMARTCAMERA was developed to identify objects in automated industrial environments via optical codings (barcode, 2D codes or plain text) and to recognize and verify characteristics of objects such as presence, contours, dimensions, colors and positions.
Page 5
The pictogram used with the signal word CAUTION warns of a possible hazardous situation affecting the health of persons. Failure to observe these warning notes may result in injury. ► Always observe the described measures for preventing this danger. www.balluff.com English...
BVS SC-_1280Z00-07-000 SMARTCAMERA IO User instructions Abbreviations Balluff Vision Solution CMOS Complementary metal-oxide-semiconductor Discovery and basic Configuration Protocol DHCP Dynamic Host Configuration Protocol Device ID I/O port Digital input and output port EEPROM Electrical Erasable and Programmable ROM Electromagnetic compatibility ...
Balluff GmbH is authorized – but not obligated – to make updates or upgrades of the firmware upgrades available via the website of Balluff GmbH or in any other form. In such a case, Balluff GmbH is authorized – but not obligated – to inform you about the updates or upgrades. The use of such upgrades or updates assumes that you accepted the validity of the current GTC as well as the additional conditions in the operating instructions.
– Components are used that are not part of the SMARTCAMERA BVS SC. – Components are used that have not been explicitly approved by Balluff. For a list of the approved components, see chapter “Accessories” on page 39. Operation ► Before commissioning, carefully read the user's guide.
SMARTCAMERA IO Product description The Balluff SMARTCAMERA BVS SC is a camera for the acquisition and analysis of black-and- white and color images. Application areas are optical identifications of codes and plain text, inspections for quality assurance and the measurement of objects. The camera can also be used in robot environments.
– C-mount lenses (BAM LS-VS-004-C2/3-xx14-2) – Screw-on filter (BAM OF-VS-002-xx-yy) – Lights (BAE LX) – Touchpanel PC (BAE-PD-VS-011-01) – Mounting accessories – Connection cable – Power supply units Note Visit www.balluff.com for more information on available software and accessories. English...
The lateral screw connections have an M5 thread. The maximum engagement length is 5 mm. The maximum tightening torque is 2.6 Nm. ► The SMARTCAMERA and accessories must be firmly attached. Use only installation mate- rials which are sufficiently dimensioned and ensure secure attachment. www.balluff.com English...
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Product description Product Image sensor specification Model variant Monochrome (CMOS) Resolution 1280 × 1024 Max. frame rate [Hz] Shutter type Global shutter Sensor size 1/1.8" Pixel size [µm] 5.3 × 5.3 Spectral sensitivity 1) A global shutter sensor is not read line by line or column by column, but in one access. This rules out distortions with moving motifs (rolling shutter effect).
Page 13
80 % for temperatures up to 31 °C, decreasing linearly to 50 % at 40 °C Pollution degree Pollution degree 2 Vibration/shock was verified for the SMARTCAMERA – the C-mount lens used and its adjustment rings must be secured accordingly for operation. www.balluff.com English...
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Product description Connections The product variants differ by the existing interfaces. and pin I/O variant assignment Power I/O Light Figure 6: Connections and pin assignment of I/O variant Connection Function Power Voltage supply of SMARTCAMERA, two freely configurable I/O signals are also available.
Page 15
UL 61010-1 Third Edition, Sub. Clauses 9.4 or LPS in accordance to UL 60950-1 or Class 2 in accordance to UL 1310 or UL 1585. I/O light 5-pin M12 socket, A-coded Description Function VP (+24 V Supply voltage I/O 6 Input/output Ground I/O 7 Input/output Not used None. Pin may not be used. www.balluff.com English...
Page 16
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Product description Notes The maximum load on the supply voltage output is 1.2 A. The digital sensor inputs correspond to the guideline concerning inputs, EN 61131-2, Type 3. Every output may be loaded with a maximum current of 100 mA. 3.5.1 Power The power plug connector supplies the SMARTCAMERA with the supply voltage and offers two...
Page 17
The LAN interface meets the Ethernet standard in accordance with IEEE 802.3-2008 (up to 1 Gigabit). This network connection is used to call up the web interface BVS Cockpit for the configuration. In addition, a communication channel is available to control the image analysis and to call up the generated result values. www.balluff.com English...
Page 18
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Product description 3.5.3 I/O light The I/O light interface provides 24 volt and two I/O signals (I/O 6 & I/O 7). These I/Os, similar to the two I/Os at the power plug connectors (see “Power” on page 16), are equipped with a push-pull output stage and a PNP input.
Page 19
If the I/Os are configured as input, their signals are logically combined with OR. A 1 signal is recognized if a 1 signal is present either at I/O 0 of the power connection or I/O 0 of the I/O connection. www.balluff.com English...
Page 20
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Product description PNP mode PNP logic is predominantly used in Europe. The output is sourcing, the input is sinking. To operate the I/O port in PNP mode, Common Out must be supplied with +24 V (19.2…30 V and Common In with 0 V.
Page 21
I/O 0 is configured as output and I/O 1 as input. I/O 0 − Common Out I/O 1 I/O 2 24 V I/O 3 − I/O 4 Common IN I/O 5 Figure 16: NPN mode, I/O 0 configured as output and I/O 1 as input www.balluff.com English...
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Product description Display The operating states of the vision system, the IO-Link master and the LAN and fieldbus interface elements are displayed using LEDs. The display elements are distributed across the front and the under- side of the SMARTCAMERA. Displays on the front Displays at the plug connectors 1 Power LED...
Step 2: Switching The SMARTCAMERA starts up and is operational after approx. 30 seconds. on the At the start, the SMARTCAMERA opens the most recently opened inspection program and is in SMARTCAMERA the same process state it occupied at switch-off. www.balluff.com English...
Notes More information about the configuration interface of the BVS Cockpit can be found in the software manual (BVS Cockpit manual) on the Balluff homepage and on the SMARTCAMERA. If there is already another SMARTCAMERA in the network, you can also connect with this SMARTCAMERA and change to any other SMARTCAMERA in the local network using this interface.
PC. The process will need to be adapted for other systems. To update the camera perform the following steps: 1. Download the newest update file from the Balluff homepage (www.balluff.com) and save it on your computer. 2. Unzip the downloaded file. It contains: a.
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Startup Network For the startup of the SMARTCAMERA, it is first integrated in the network environment. The topologies different options are described in the following examples. This covers a large part of the application cases. To operate the SMARTCAMERA requires that the supply voltage is provided via the power connection in any case.
LAN interface. The protocol is described in “Communication functions of the interface for the LAN Interface” on page 31. process data The data are transferred as TCP or UDP packets via the LAN interface. The pertinent protocol is described under “General information” on page 31. Port 36701 is used. www.balluff.com English...
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Startup Figure 23: Communication tab in the System settings Network All variants of the SMARTCAMERA feature a 1 Gbit/s LAN interface for configuring and settings / LAN monitoring the image analysis. Chapter“First steps” on page 23 describes how this interface is interface used to establish the connection between computer and SMARTCAMERA.
Page 29
If the pulse length exceeds the throughput time for an inspection this may result in undesired effects. Note After switching on and after switching to another inspection program the outputs are set as in the general settings: – 0 V if Inv. is not active – 24 V if Inv. is active www.balluff.com English...
Page 30
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Startup All logical signals are permanently linked with the physical signals of the plug connectors. I/O 0 and I/O 1 exists twice. Signal I/O 0 I/O 1 I/O 2 I/O 3 I/O 4 I/O 5 I/O 6 I/O 7 Power Pin 2...
Messages that do not meet the specified format (wrong Magic Number, wrong length, unknown message ID), are ignored by the camera. The “Magic Number” is used to avoid inadvertent transfers. It is recommended to watch for a correct “Magic Number” at the receiving point when programming the client software. www.balluff.com English...
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Communication functions of the LAN Interface Every message has a unique ID: Message Connect Disconnect Status Result containers Query application Switch application Get time stamp Set time stamp Setting input data Set sequence number Trigger application Start application Stop application Trigger reset...
Page 33
Message ID UINT32 Application ID. The BVS Cockpit can manage several applications, each of which has its own ID. This field shows the application that gene- rated the result container. UINT8[] Result data as defined in the BVS Cockpit. www.balluff.com English...
Page 34
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Communication functions of the LAN Interface 6.3.5 Query The client can use this message to query the application ID of the active application. application Length in Structure Value Designation bytes UINT32 42565350 Magic Number UINT32 User data length in bytes UINT32 Message ID The camera is waiting for:...
Page 35
If an NTP server is specified in the BVS Cockpit, the camera automatically obtains the time from the server. Use of the Set time stamp message is then not necessary. The manually set time is overwritten by that of the NTP server. www.balluff.com English...
Page 36
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Communication functions of the LAN Interface 6.3.9 Setting input Some applications require input data (e.g. comparison code or traceability data). This message data transfers them from the client to the camera. Length in Structure Value Designation bytes UINT32 42565350...
(20 bytes). The camera therefore fills the remaining bytes with zeros. One byte chain is simply sent after the other. Little-endian has no meaning here since these are individual bytes. The entire command is thus: (Magic number) (user data length) (Message ID) www.balluff.com English...
Page 38
BVS SC-_1280Z00-07-000 SMARTCAMERA IO Communication functions of the LAN Interface Reply from SMARTCAMERA: (ASCII: 'H', 'a', 'l', 'l' 'o', space, 'W', 'e', 'l', ‚t‘, '!', 9× fill-bytes) Other examples (values always in hex): – Start application: 50535642 00000000 41000000 – Trigger application: 50535642 00000000 40000000 –...
Page 40
PS58N9-020 BCC06K7 BCC M418-0000-2A- IO interface, M12, open, 2 m 044-VX8825-020 BCC032F BCC M415-0000-1A- Power, M12, open, 2 m 003-PX0434-020 Note Other accessories for the BVS SC-… such as lenses, filters, lights or cables can be found at www.balluff.com. English...