Displays at the plug connectors ..............24 Cleaning....................... 25 FIRST STEPS Step 1: Establishing a network connection with the SMARTCAMERA ..26 Step 2: Turn on SMARTCAMERA ..............27 Step 3: Opening the BVS Cockpit web interface ..........27 www.balluff.com...
Page 4
BVS Cockpit STARTUP Updating software ....................28 Network topologies .................... 29 System settings ....................30 Selecting the communication interface for the process data ......31 Network settings / LAN interface ..............32 5.5.1 Network configuration via BVS Cockpit ............32 Digital I/O interface .....................
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 (bar- code, 2D codes or plain text) and to recognize and verify characteristics of objects such as presence, contours, dimen- sions, colors and positions.
Parameters are shown in italics (e.g. CRC_16). 1.3.5 Directory paths Projekt:\Data Types\Benutzerdefin- Path information for saving data is shown with fixed font width (e.g. iert 1.3.6 ASCII code Characters transmitted in ASCII code are set in apostrophes (e.g. 'L'). NOTE This symbol indicates general notes. www.balluff.com...
→ Measures to avoid hazards The individual signal words mean: ATTENTION Indicates a danger that can lead to damage or destruction of the product. Used Technical Terms and Abbreviations Balluff Vision Solutions CMOS Complementary metal-oxide-semiconductor Discovery and basic Configuration Protocol DHCP...
Balluff GmbH is authorized – but not obligated – to make updates or upgrades of the firmware 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.
All approvals and certifications are no longer valid in the following cases: • 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”. 2.2.3 Operation Before commissioning, carefully read the user's guide.
If any damage or wear is found, the SMARTCAMERA must be immediately taken out of operation and se- cured against unauthorized use. Only service technicians from Balluff GmbH may repair defective devices. Intervention in the product by the operator is not permitted due to safety reasons. The SMARTCAMERA's housing may not be opened or loosened!
3 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 measure- ment of objects.
Filter (mounted): with monochrome sensor: protection glass with color sensor: IR-Cut • 2 × cap M12 • Safety Precautions • Condensed Guide A lens protection is available for specific environmental conditions which is screwed directly onto the camera housing, www.balluff.com...
Page 14
• C-mount lenses (BAM LS-VS) • Screw-on filter (BAM OF-VS-002-xx-yy) • Lights (BAE LX) • Touchpanel PC (BAE-PD-VS-011-01) • Mounting accessories • Connection cables (BCC) • Power supply units NOTE Visit www.balluff.com for more information on available software and accessories.
The screw connections at the rear plate have M4 threads. The maximum engagement length is 5 mm. The maximum tightening torque is 2 Nm. The lateral screw connections have an M5 thread. The maximum engagement length is 5 mm. The maximum tightening torque is 2.6 Nm. www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus Product specification 3.3.1 Image sensor Model variant Monochrome (CMOS) Color (CMOS) Resolution 1280 × 1024 Max. frame rate [Hz] Shutter type Global Shutter Sensor size 1/1.8" Pixel size [µm] 5,3 x 5,3 Spectral sensivity 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).
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...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus Connections and pin assignment The product variants differ by the existing interfaces. 3.4.1 Fieldbus versions Connection Function Power Voltage supply of SMARTCAMERA, wo freely configurable I/O signals are also availa- ble. Connects the SMARTCAMERA with an IO-Link device or, e.g. an external lighting. IO-Link Integrates the SMARTCAMERA in a local network.
Page 19
NOTE The maximum load on the supply voltage output is 1.2 A. Every output may be loaded with a maximum current of 2 A. Unused ports must be provided with cover caps in order to ensure enclosure rating IP67. www.balluff.com...
Page 20
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 8-pin M12 socket, X-coded Description Function BI_DA + Bidirectional data, Pair A + BI_DA – Bidirectional data, Pair A – BI_DB + Bidirectional data, Pair B + BI_DB – Bidirectional data, Pair B + BI_DD + Bidirectional data, Pair D + BI_DD –...
A 0 signal is being detected if the input is set to ground or is not connected. If an NPN device is to be connected to the input, then an external level converter must be connected upstream. www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus Output connection If I/O 0 is configured as output, the supply voltage is applied at the output and the actuator, PLC input is supplied with it if 1 is being output. The output is connected with GND if 0 is being output. The output current of an I/O may not exceed 100 mA.
IO-Link-capable devices are parameterized via the IO-Link interface and then switched to SIO mode. • From this point on, the IO-Link port pin acts as simple switching input that furnishes a binary signal. NOTE Visit www.balluff.com for more information on available IO-Link devices and accessories. www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus Display elements The operating states of the vision system, the IO-Link master as well as the LAN and fieldbus interface are displayed using LEDs. The display elements are distributed across the front and the underside of the SMARTCAMERA. 3.5.1 Displays on the front / at the plug connectors 3.5.2...
The outside of the camera can be cleaned with a soft cloth. Persistent dirt can be removed with a cloth that is first mois- tened with a soap solution and wrung out. → After wiping off the dirt spots, wipe the camera with a dry cloth. www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 4 First steps Three simple steps are required to initially start up and configure the SMARTCAMERA. Besides the SMARTCAMERA, the following is required: • Power cable • 24 V power supply • LAN cable • PC with web browser Step 1: Establishing a network connection with the SMARTCAMERA Connect the SMARTCAMERA via the LAN port with the network.
More information about the configuration interface of the BVS Cockpit can be found in the software manual (BVS Cockpit manual) on the Balluff website 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.
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 5 Startup Updating software The Balluff website regularly offers new software updates. These may include error fixes, speed optimizations or added functions. NOTE To get the maximum benefit from the SMARTCAMERA it is recommended to regularly up- date the SMARTCAMERA with software updates.
The real-time communication for the control as well as the configuration via the web interface are possible at the same time via this port. Because of the prioritization of the PROFINET communication and the lower transfer rate, this may lead to performance constraints of the web interface. www.balluff.com...
SMARTCAMERA Fieldbus In the representation of the fieldbus 3 topology, all connections of the SMARTCAMERA are shown. The IO-Link port al- lows expanding the SMARTCAMERA by additional I/O signals. The example shows a Balluff SMARTLIGHT for indicat- ing the system status.
The communication interface is set in the System settings under Mode on the Communication tab. Available options for the selection are Fieldbus, TCP and UDP. If TCP or UDP is selected, the camera uses port 36701. The controlling sys- tem can use any available port. Interfaces that are not selected are deactivated! www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus Network settings / LAN interface All variants of the SMARTCAMERA feature a 1 Gbit/s LAN interface for configuring and monitoring the image analy- sis. Chapter “First steps” describes how this interface is used to establish the connection between computer and SMARTCAMERA with its fixed IP address 192.168.10.2.
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus The same applies here again – when operating the I/O as output, signals of the same name are switched, and when op- erating as input, I/O of the same name or logically combined with OR. Fieldbus interfaces 5.7.1 General fieldbus parameters in BVS Cockpit The fieldbus parameters are set in the System settings on the Communication tab.
Page 35
This setting activates a 500-ms timeout for the handshake of the process data Station name Name of the fieldbus device IP address Fieldbus IP address, assigned by the PLC Subnet mask Fieldbus subnet mask, assigned by the PLC IO-Link mode Defines how the IO-Link master port is used www.balluff.com...
Device master data To parameterize the IO controller true to type, the device master data in form of a GSDML file are needed. The file is located on the Balluff website (see www.balluff.com). Input/output buffer The data exchange with the host system takes place in the input and output buffer. The size of these buffers must be configured by the master (IO controller).
Contents Values Default 1 bit IO-Link diagnosis 1 byte IO-Link port function pin 4 0/1/3/4/5/6 1 byte IO-Link port function pin 2 0/1/2/3 1 byte IO-Link safe state pin 4 0/1/2 1 byte IO-Link safe state pin 2 0/1/2 www.balluff.com...
Page 40
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus IO-Link port parameter Slot 2, Subslot 1 Index Byte Length Contents Values Default 6 bits Cycle time 0...63 2 bits Cycle time base 0/1/2 1 byte Data window offset 0...31 1 byte Max. data input length 0...32 2 bits Validation type...
Page 41
The Upload option can be disabled by having a valid parame- ter set read. Configuration options: • Turning on • Turning on the upload • Turning on the download www.balluff.com...
⇒ The devices are displayed in the product tree. Adding a PROFINET device The devices are located in the hardware catalog under > More field devices > Identsystems > Balluff Vision Solutions > Balluff SMARTCAMERA. The module is added as PROFINET IO.
Page 43
BVS Cockpit Determining the station name Define the PROFINET station name of the device. www.balluff.com...
Page 44
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus Changing the device's IP address Configuring SMARTCAMERA data The number of process data (buffer size) of the SMARTCAMERA can be selected by deleting or inserting a correspond- ing module (min. 16 bytes, max. 1280 bytes). When a module is not plugged in, no process data are configured. The op- timal size depends on the size of the results container used and the input data.
Page 45
Drag the selected module to slot 2 (slots 3...9 are reserved for optional additional modules for IO-Link). If the IO-Link port is to be used with standard I/O, slot 2 must host the Standard I/O module and slots 3 to 9 must host the corresponding modules (input or output pin 4 and pin 2). www.balluff.com...
Page 46
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus EtherNet/IP fieldbus Setting and Dis- Description plays Version Version of fieldbus firmware (for service purposes only) MAC address Basic MAC address of the fieldbus Handshake This setting activates a 500-ms timeout for the handshake of the process data timeout IP mode IP address, subnet mask and gateway can either be manually set (static) or automatically us-...
Device master data To parameterize the correct SMARTCAMERA model in an EtherNet/IP network, device database information in the form of an EDS file is required. The file is located on the Balluff website(see www.balluff.com). 5.7.7 Process data structure The following values describe the data sizes of the input, output and configuration data. These must be entered in the host system.
Page 48
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus Config Assembly All camera functions are set via the Web interface. The configuration data include only IO-Link functions. Start byte Length Description IO-Link port function 0: Standard-I/O, 1: IO-Link Cycle time Bit 0-5: Multiplier Bit 6-7: Time base Validation Type 0: no validation, 1: compatible (VID, DID), 2: identical (VID, DID, serial number)
Page 49
If the upload flag is set on the IO-Link device, an upload of the parameter data takes place. If no upload flag is set and parameter data has already been stored, a download of the parameter data always takes place. www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus NOTE After the upload of the parameter data, the vendor ID and device ID of the connected IO- Link device are also still saved until the data records are deleted. When the connected IO-Link device is started, a validation takes place. Thus, only an IO- Link device of the same type can be used for the data management.
Page 51
The response contains the addressed data. There must be sufficient storage space on the host system. Writing a parameter Service Class Instance Attribute Value 2 (Write Parameter) Byte Meaning Index, lowest byte Index, highest byte Subindex 3...n Data for writing www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 5.7.9 SMARTCAMERA integration in Rockwell Studio 5000 This example shows how the SMARTCAMERA is connected to a CompactLogix or ControlLogix PLC. Start EDS Hardware Installation Tool in the Logix Designer and register EDS file. Right-click Ethernet on the corresponding scanner card. Select a new module. Note: The function is not availa- ble in online mode!
Page 53
BVS Cockpit Select SMARTCAMERA Module BVS_SC-1280 and apply to the configuration. www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus The input, output and configuration tags are automatically created in the controller tags. Set the desired IP address and connection parameters for the SMARTCAMERA under Module Properties IO-Link interface The IO-Link interface of the SMARTCAMERA can be operated in three different modes: •...
This mode allows controlling some special IO-Link devices by the SMARTCAMERA. In this case, the control is done via the 8 IO channels of the camera. IO-Link parameters of the controller are not taken into account, no data or diagnostics are exchanged with the controller. Pin 2 is also controlled automatically depending on the device class. www.balluff.com...
Page 56
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus Device class 1: IO-Link I/O modules The 8 I/O channels are linked with pin 4 of the ports of the I/O modules (or with the first 8 I/O lines). The function of the individual pins depends on the configuration of the I/O channels (input or output). SMARTCAMERA I/O 0 I/O 1...
I/O 6 of ther SMARTCAMERAis linked with pin 2 and I/O 7 with pin 4. An external lighting can be controlled here, for example. IO-Link parameters of the controller are not taken into account, no data or diagnostics are exchanged with the controller. www.balluff.com...
BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 Appendix Troubleshooting Table Error Cause Action No connection to Incorrect network configura- Check and implement the measures defined in the "Notes on the camera pos- tion network connections" chapter. sible Alternative access to the camera (direct connection): Disconnect the camera's power supply.
Page 59
If Windows does not prompt for the login and password times also with error code please use this command in a terminal window, replacing the 0x80070035 host name with the correct value for your camera: cmdkey.exe /add:sc-nnnnnnnnnde /U:expert /P:expert www.balluff.com...
Power, M12, open, 2 m BCC031N BCC M414-0000-2A-003-PX0434-020 IO-Link, M12, open,, 2 m BCC09FR BCC M415-M415-3A-312-PX0534-020 IO-Link, M12, M12, 2 m NOTE Other accessories for the BVS SC-… such as lenses, filters, lights or cables can be found at www.balluff.com. www.balluff.com...