Balluff SMARTCAMERA User Manual
Hide thumbs Also See for SMARTCAMERA:
Table of Contents

Advertisement

Quick Links

BVS SC-_1280Z00-30-0-0
SMARTCAMERA Fieldbus
User's manual

Advertisement

Table of Contents
loading

Summary of Contents for Balluff SMARTCAMERA

  • Page 1 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus User's manual...
  • Page 2 www.balluff.com...
  • Page 3: Table Of Contents

    Displays at the plug connectors ...................... 21 4.5.4 Cleaning ............................23 FIRST STEPS ......................... 24 Step 1: Establishing a network connection with the SMARTCAMERA .......... 24 Step 2: Turn on SMARTCAMERA ....................... 25 Step 3: Opening the BVS Cockpit web interface ................25 STARTUP ..........................27 Updating software ..........................
  • Page 4 Integration into project planning software ..................45 6.7.7 Process data structure ........................50 6.7.8 Configuration via explicit messages ....................53 6.7.9 SMARTCAMERA integration in Rockwell Studio 5000 ..............55 IO-Link interface ........................... 58 6.8.1 PLC gateway mode ......................... 58 6.8.2 Camera mode ..........................58 6.8.3...
  • Page 5: User Instructions

    Vision Solutions BVS SC product family as well as the data interfaces and the startup for an immediate operation. 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...
  • Page 6: Typographical Conventions

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 2 USER INSTRUCTIONS Typographical conventions The following conventions are used in this manual: 2.2.1 Bulleted Lists Enumerations are shown as a list with an en-dash. • Entry1 • Entry 2 2.2.2 Actions Action instructions are indicated by a preceding triangle. The result of an action is indi- cated by an arrow.
  • Page 7: Abbreviations

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 2 USER INSTRUCTIONS Abbreviations Balluff Vision Solutions 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...
  • Page 8: Copyright

    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.
  • Page 9: Safety

    • 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”. 3.2.3 Operation Before commissioning, carefully read the user's guide.
  • Page 10: Disposal

    Before maintenance, disconnect the device from the power supply. NOTE In the interests of product improvement, Balluff GmbH reserves the right to change the technical data of the product and the con- tent of this manual at any time without notice.
  • Page 11: Product Description

    SMARTCAMERA Fieldbus 4 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.
  • Page 12: Scope Of Delivery

    30-020 ble) depending on the configuration of the IO-Link port Scope of delivery Included in the scope of delivery • SMARTCAMERA BVS SC • Filter (mounted): with monochrome sensor: protection glass with color sensor: IR-Cut • 2 × cap M12 •...
  • Page 13: Assembly

    40 mm can be used here. For lenses up to 69 mm the long tube BAM PC-VS-023-1-01 (BAM02W0) may be used. For lenses up to 86 mm the long tube BAM PC-VS-023-1-02 (BAM039R) may be used. The following accessory groups complete the Balluff product range: • C-mount lenses (BAM LS-VS-004-C2/3-xx14-2) •...
  • Page 14 The lateral screw connections have an M5 thread. The maximum engagement length is 5 mm. The maximum tightening torque is 2.6 Nm. WARNING The SMARTCAMERA and accessories must be firmly attached. Use only installation materials which are sufficiently dimensioned and ensure secure attachment.
  • Page 15: Product Specification

    Protective circuit Reverse polarity protection WARNING The SMARTCAMERA and accessories shall be supplied by limited energy in accordance to 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.
  • Page 16: Operating Conditions

    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. matrix-vision.com www.balluff.com...
  • Page 17: Connections And Pin Assignment

    Connection Function Power Voltage supply of SMARTCAMERA, wo freely configurable I/O signals are also available. Connects the SMARTCAMERA with an IO-Link device or, e.g. an external lighting. IO-Link Integrates the SMARTCAMERA in a local network. PROFINET / Ether- Connects the SMARTCAMERA with the fieldbus network...
  • Page 18 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 4 PRODUCT DESCRIPTION Power 5-pin M12 plug, A-coded Description Function +24V Supply voltage I/O 0 Input/output Ground I/O 1 Input/output Not used None. Pin may not be used. NOTE The digital sensor inputs correspond to the guideline concerning inputs, EN 61131‑2,Type 3.
  • Page 19 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 4 PRODUCT DESCRIPTION 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 +...
  • Page 20: Power

    SMARTCAMERA Fieldbus 4 PRODUCT DESCRIPTION 4.4.2 Power The power plug connector supplies the SMARTCAMERA with the supply voltage and offers two I/O-24V switching signals (I/O 0 & I/O 1) for the connection with sensors, ac- tuators or PLC. These two inputs and outputs feature a push-pull output stage. This allows using the output signal for PNP logic as well as NPN logic.
  • Page 21: Lan

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 4 PRODUCT DESCRIPTION Output connection If I/O 0 is configured as output, the supply voltage is applied at the output and the actua- tor, PLC input is supplied with it if 1 is being output. The output is connected with GND if 0 is being output.
  • Page 22: Fieldbus

    PROFINET enables data communication as per IEC 61158/EN 50173. The SMARTCAMERA uses PROFINET IO. EtherNet/IP uses the Common Industrial Protocol (CIP) open communication protocol on the application level (in accordance with ISO/OSI reference model). Ethernet/IP is sup- ported by the Open DeviceNet Vendor Association (ODVA) network organization.
  • Page 23: 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. 4.5.1 Displays on the...
  • Page 24 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 4 PRODUCT DESCRIPTION PROFINET Indicator Function Fieldbus 1 No fault or no voltage MS: Bus Failure Red flashing No data exchange or no configuration Red on PROFINET IO not configured or not connected Fieldbus 2 No fault or no voltage...
  • Page 25: Cleaning

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 4 PRODUCT DESCRIPTION IO-Link Indicator Function IO-Link Status of input or output pin is 0 Green on IO-Link communication active Flashing green (1 No IO-Link communication or wrong IO-Link device Flashing IO-Link preoperate during data retention...
  • Page 26: First Steps

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 5 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...
  • Page 27: Step 2: Turn On Smartcamera

    Record the serial number of the SMARTCAMERA. The serial number is located on the nameplate on the SMARTCAMERA. If the nameplate is not visible, you can also locate the SMARTCAMERA in the net- work via Windows Explorer (e.g. sc-150800015de). To do so, select the network folder to display all the network devices.
  • Page 28 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 5 FIRST STEPS Figure 8 Display of all SMARTCAMERAs in the network www. matrix-vision.com www.balluff.com...
  • Page 29: Startup

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 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 rec- ommended to regularly update the SMARTCAMERA with software updates.
  • Page 30: Network Topologies

    The SMARTCAMERA is now ready for use. Network topologies For the startup of the SMARTCAMERA , it is first integrated in the network environment. The different options are described in the following examples. This covers a large part of the application cases.
  • Page 31 Figure 9 Fieldbus 2 topology In the representation of the fieldbus 3 topology, all connections of the SMARTCAM- ERA are shown. The IO-Link port allows expanding the SMARTCAMERA by additional I/O signals. The example shows a Balluff SMARTLIGHT for indicating the system status.
  • Page 32: System Settings

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP System settings Below is a description of system settings. They can be reached via the System Settings selection in the system menu. Figure 12 System menu The system menu is located in the upper section of the user interface. It consists of the...
  • Page 33: Network Settings / Lan Interface

    To do so, it is recommended to configure the DHCP server in such a way that the SMARTCAMERA is assigned the same address in every case. As an alter- native, the IP address can also be assigned manually (see the next section).
  • Page 34: Network Configuration Via Bvs Cockpit

    SMARTCAMERA is located on the BVS Cockpit web interface under the (see “Fieldbus parameters in BVS Cockpit”). This option also allows establish- icon ing a connection to the SMARTCAMERA if the manually set IP address is not known. NOTE After changing the IP address, the SMARTCAMERA may no long- er be reachable.
  • Page 35: Digital I/O Interface

    6 STARTUP Digital I/O interface The SMARTCAMERA provides eight internal I/O signals. Depending on the variant, they are connected with the signals at the plug connectors. The digital I/O 2 to 5 are not di- rectly connected with physical outputs.
  • Page 36 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP In PLC gateway mode, the interface is controlled via the fieldbus. In I/O mode, I/O 6 and I/O 7 are linked. In camera mode, I/O 0 to I/O 7 can be input or output, depending on the device and configuration.
  • Page 37: Fieldbus Interfaces

    NOTE After switching the fieldbus and after setting a few fieldbus param- eters, the fieldbus module of the SMARTCAMERA must be re- started. Only then does the change take effect. In this case button will appear for initiating the re- start.
  • Page 38 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). www. matrix-vision.com www.balluff.com...
  • Page 39: Configuration

    Slot 0 must always be occupied by the “BVS-SC” head module. • Slot 1 may host a data module for the SMARTCAMERA . Depending on use, an IO- Link port, a standard I/O, an IO-Link data module or an SIO module can be plugged in at slot 2.
  • Page 40: Coding Io-Link Data Modules (Slot 2)

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Slot Module Function Header module Parameter configuration, no process data of SMARTCAMERA SMARTCAMERA Process data IO-Link port IO-Link data modules of various data widths or configurable as a standard I/O port; IO-Link parameterization IO-Link station diagnostics or...
  • Page 41: Data Modules For Io-Link Inputs

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP 6.7.4 Data modules for Data module Data width IO-Link inputs IOL_I_1byte 1 byte IOL_I_2byte 2 bytes IOL_I_4byte 4 bytes IOL_I_6byte 6 bytes IOL_I_8byte 8 bytes IOL_I_10byte 10 bytes IOL_I_16byte 16 bytes IOL_I_24byte 24 bytes...
  • Page 42 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Data modules for IO-Link inputs and outputs Data module Data width Input Output IOL_I/O_1/_1byte 1 byte 1 byte IOL_I/O_2/_2byte 2 bytes 2 bytes IOL_I/O_2/_2byte 2 bytes 2 bytes IOL_I/O_4/_4byte 4 bytes 4 bytes IOL_I/O_4/_2byte...
  • Page 43 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP * If the modules Restart pin 4/2 are inserted, no automatic restart of the pin is performed after an actuator short circuit. A restart is performed only after the respective restart module is set to the value 01 Byte allocation of diagnostic modules Slot 3 can host one of two diagnostic modules.
  • Page 44: Parameter Configuration

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP 6.7.5 Parameter configu- Device Parameter ration Slot0, Subslot 1 Index Byte Length 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...
  • Page 45 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Description of individual parameters IO-Link diagnostics This function can be used to permit / suppress all of the IO-Link module's diagnostics messages (visual diagnostics signals are unaffected). IO-Link port function pin 4 Here the function of the IO-Link port can be defined:...
  • Page 46 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Configuration options: 0 No validation 1 Allows communication to the IO-Link master only for devices whose vendor ID (VID) and device ID (DID) correspond to the configured values. 2 Identical to 1, in addition the serial number of the IO-Link device is checked.
  • Page 47: Integration Into Project Planning Software

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP 6.7.6 Integration into The connection of a SMARTCAMERA to a Siemens S7 controller is shown with the project planning "SIMATIC Manager". The exact procedure depends on the configuration software used. software Installing the GSDML file To perform project planning on the PC, the GSDML file for the module must be installed: Open a new project.
  • Page 48 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Figure 16 Adding a PROFINET device Determining the station name Define the PROFINET station name of the device. Figure 17 Determining the station name www. matrix-vision.com www.balluff.com...
  • Page 49 Figure 18 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 corresponding module (min. 16 bytes, max. 1280 bytes). When a module is not plugged in, no process data are configured. The optimal size depends on the size of the results container used and the input data.
  • Page 50 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Configuring the IO-Link module If an IO-Link module is to be configured, it must be dragged to slot two. It may be neces- sary to delete the default IO module first. Drag the selected module to slot 2 (slots 3...9 are reserved for optional additional modules for IO-Link).
  • Page 51 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP EtherNet/IP fieldbus Figure 22 Ethernet/IP parameters in the System Settings (Communication tab) Setting and Description Displays Version Version of fieldbus firmware (for service purposes only) MAC address Basic MAC address of the fieldbus Handshake...
  • Page 52: Process Data Structure

    SMARTCAMERA Fieldbus 6 STARTUP 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). 6.7.7 Process data struc- The following values describe the data sizes of the input, output and configuration data.
  • Page 53 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP 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...
  • Page 54 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Validation type Whether a connected IO-Link device receives access to the IO-Link master can be con- trolled using validation. Configuration options: Description No validation Allows communication to the IO-Link master only for devices whose vendor ID (VID) and device ID (DID) correspond to the configured values.
  • Page 55: Configuration Via Explicit Messages

    NOTE The fault state settings are stored only temporarily in the SMARTCAMERA. They are deleted after a restart. To ensure a long-term fault state configuration, the configuration has to be programmed via the host system so that the settings are transferred to the module again whenever the system is restarted.
  • Page 56 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Configuration of IO-Link devices The parameters of an IO-Link device are addressed by Index and Subindex. Reading a parameter Service Class Instance Attribute Value 3 (Read Parameter) Byte Meaning Index, lowest byte Index, highest byte Subindex The response contains the addressed data.
  • Page 57: Smartcamera Integration In Rockwell Studio 5000

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP 6.7.9 SMARTCAME- This example shows how the SMARTCAMERA is connected to a CompactLogix or Con- RA integration in trolLogix PLC. Rockwell Studio Start EDS Hardware Installation Tool in the Logix Designer and register EDS file.
  • Page 58 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Figure 24 Add module Select SMARTCAMERA Module BVS_SC-1280 and apply to the configuration. Figure 25 Select camera www. matrix-vision.com www.balluff.com...
  • Page 59 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP The input, output and configuration tags are automatically created in the controller tags. Figure 26 Camera controller tags Set the desired IP address and connection parameters for the SMARTCAM- ERA under Module Properties Figure 27 Set connection parameters www.
  • Page 60: Io-Link Interface

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP IO-Link interface The IO-Link interface of the SMARTCAMERA can be operated in three different modes: • PLC mode for controlling IO-Link standard devices by a PLC • Camera mode for direct control of special IO-Link devices •...
  • Page 61 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP 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).
  • Page 62 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 6 STARTUP Green Red, flashing Yellow, flashing Green, flashing • BNI0088 BNI IOL-801-102-Z036 (3-stage) Then IO channels I/O 5, I/O 6 and I/O 7 are used to control the segments of the SMARTLIGHT. I/O 5 I/O 6...
  • Page 63: Io Mode

    6 STARTUP 6.8.3 IO mode In this mode, the interface is controlled by the SMARTCAMERA. Pin 2 and pin 4 can each be configured as an input or output. I/O 6 of ther SMARTCAMERAis linked with pin 2 and I/O 7 with pin 4.
  • Page 64: Appendix

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 7 APPENDIX Troubleshooting Table Error Cause Action No con- Incorrect Check and implement the measures defined in the "Notes on network connections" chapter. nection to network Alternative access to the camera (direct connection): the cam- configura-...
  • Page 65 BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 7 APPENDIX with lap- nnnnnnnnn- turn off the WiFi module and tops) de) of the reboot the laptop. smart cam- era is not Now, you can check, if the camera was resolved using the Windows shell:...
  • Page 66: Type Code

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 7 APPENDIX is trans- slow. A faster connection to the FTP Server. ferred to Cycle reduction. the FTP server. Reduce the number of monitored images. Access- Your Win- Update BVS Cockpit to a version > 2.3.0, which allows accessing the shared folders with...
  • Page 67: Accessories

    BVS SC-_1280Z00-30-0-0 SMARTCAMERA Fieldbus 7 APPENDIX Accessories (optional, not included in the scope of delivery) Protection tube BAM02NA BAM PC-VS-023-1 Protection tube for lenses up to a length of 40 mm. BAM02W0 BAM PC-VS-023-1-01 Protection tube for lenses up to a length of 69 mm.
  • Page 68 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. matrix-vision.com www.balluff.com...
  • Page 69 Balluff GmbH Schurwaldstraße 9 73765 Neuhausen a.d.F. Germany Tel. +49 7158 173-0 Fax +49 7158 5010 balluff@balluff.de www.balluff.com...

Table of Contents