Omron MicroHAWK F440-F Series User Manual

Omron MicroHAWK F440-F Series User Manual

Smart camera
Hide thumbs Also See for MicroHAWK F440-F Series:
Table of Contents

Advertisement

Vision Sensor
F440-F/F430-F/F420-F Series
Smart Camera
User's Manual for Communication Settings
Z444-E-04

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MicroHAWK F440-F Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Omron MicroHAWK F440-F Series

  • Page 1 Vision Sensor F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings Z444-E-04...
  • Page 2 No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information con- tained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual.
  • Page 3: Intended Audience

    Introduction Introduction Thank you for purchasing the F440-F/F430-F/F420-F series. This manual contains information that is necessary to use the F440-F/F430-F/F420-F series. Please read this manual and make sure you understand the functionality and performance of the F440-F/F430-F/F420-F series before you attempt to use it in a control system. Keep this manual in a safe place where it will be available for reference during operation.
  • Page 4: Manual Structure

    Manual Structure Manual Structure Page Structure The following page structure is used in this manual. Level 1 heading 4 Installation and Wiring Level 2 heading Level 3 heading Mounting Units Level 2 heading Gives the current Level 3 heading headings. 4-3-1 Connecting Controller Components The Units that make up an NJ-series Controller can be connected simply by pressing the Units together...
  • Page 5: Special Information

    Manual Structure Special Information Special information in this manual is classified as follows: Precautions for Safe Use Precautions on what to do and what not to do to ensure safe usage of the product. Precautions for Correct Use Precautions on what to do and what not to do to ensure proper operation and performance. Additional Information Additional information to read as required.
  • Page 6 Manual Structure F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 7 Sections in This Manual Sections in This Manual Communication Specifications Overview Controlling Operation and Data Output with Parallel Controlling Operation and Data Output with Ethernet Controlling Operation and Data Output with RS-232C Appendices F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 8: Table Of Contents

    CONTENTS CONTENTS Introduction ......................1 Intended Audience............................1 Applicable Products ............................1 Manual Structure...................... 2 Page Structure..............................2 Special Information ............................3 Terms and Conditions Agreement................8 Warranty, Limitations of Liability ........................8 Application Considerations ..........................9 Disclaimers ..............................9 Safety Precautions....................11 Precautions for Safe Use ..................12 Precautions for Correct Use .................
  • Page 9 CONTENTS Section 3 Controlling Operation and Data Output with Ethernet Controlling Operation and Data Output with Ethernet ............3-2 3-1-1 EtherNet/IP Overview........................3-2 3-1-2 Communication with the Smart Camera over EtherNet/IP Connection........3-4 3-1-3 Communications Settings ......................3-5 3-1-4 Communication Specifications Settings [EtherNet/IP] ..............3-6 3-1-5 Tag Data Link Setting Methods ....................3-12 3-1-6...
  • Page 10: Terms And Conditions Agreement

    Omron’s exclusive warranty is that the Products will be free from defects in materials and work- manship for a period of twelve months from the date of sale by Omron (or such other period ex- pressed in writing by Omron). Omron disclaims all other warranties, express or implied.
  • Page 11: Application Considerations

    Terms and Conditions Agreement Further, in no event shall liability of Omron Companies exceed the individual price of the Product on which liability is asserted. Application Considerations Suitability of Use Omron Companies shall not be responsible for conformity with any standards, codes or regulations which apply to the combination of the Product in the Buyer’s application or use of the Product.
  • Page 12 Terms and Conditions Agreement Errors and Omissions Information presented by Omron Companies has been checked and is believed to be accurate; how- ever, no responsibility is assumed for clerical, typographical or proofreading errors or omissions. F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 13: Safety Precautions

    Safety Precautions Safety Precautions For details of Safety Precautions, refer to Safety Precautions in F320-F/F330-F/F420-F/F430-F Series Smart Camera User's Manual (Z433) and F440-F Series Smart Camera User's Manual (Z475). F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 14: Precautions For Safe Use

    Precautions for Safe Use Precautions for Safe Use For details of Precautions for Safe Use, refer to Precautions for Safe Use in F320-F/F330-F/F420-F/ F430-F Series Smart Camera User's Manual (Z433) and F440-F Series Smart Camera User's Manual (Z475). F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 15: Precautions For Correct Use

    Precautions for Correct Use Precautions for Correct Use For details of Precautions for Correct Use, refer to Precautions for Correct Use in F320-F/F330-F/ F420-F/F430-F Series Smart Camera User's Manual (Z433) and F440-F Series Smart Camera User's Manual (Z475). F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 16: Regulations And Standards

    Regulations and Standards Regulations and Standards For details of Regulations and Standards, refer to Regulations and Standards in F320-F/F330-F/F420- F/F430-F Series Smart Camera User's Manual (Z433) and F440-F Series Smart Camera User's Manual (Z475). F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 17: Related Manuals

    Related Manuals Related Manuals The followings are the manuals related to this manual. Use these manuals for reference. Name of Manual Man.No. Model Purpose Contents MicroHAWK F320-F/F330- Z433 F320-F/F330-F/F420-F/ When User confirm Describes the specifications, quick F/F420-F/F430-F Series F430-F seriess the product specifi- start, setting method of the Micro- Smart Camera User's...
  • Page 18: Revision History

    Revision History Revision History A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual. Z444-E-04 Revision code Rev. Code Rev. Date Revision Contents Nov. 2021 First edition Feb. 2022 Corrected mistakes.
  • Page 19: Communication Specifications Overview

    Communication Specifications Overview This section provides a basic overview of the communications specifications and methods for controlling the smart camera. This information is required before perform- ing communications between the Smart Camera and an external device. Confirming the System Configuration ............1-2 1-1-1 F440-F Series System Configuration..............
  • Page 20: Confirming The System Configuration

    1 Communication Specifications Overview Confirming the System Configuration The F440-F/F430-F/F420-F Series is a smart camera that performs image-processing based inspec- tions on captured images. In a system configuration in which it is connected to a PLC, PC, or other external device, serial com- mands can be received from, and code reading results can be output to the external device.
  • Page 21: F430-F Series System Configuration

    The cable to use for Serial (RS-232C) communication is RS-232C-I/O Y cable (V430- WQR-3M). Please use this cable when connecting to a PC by RS-232C. When connecting with OMRON CS/CJ/NJ series controller, connect OMRON Programmable Controller (CS/CJ/NJ) RS-232C cable (V430-WPLC-2M) between RS-232C-I/O Y cable (V430- WQR-3M) and I/O control PLC (*2 in the figure).
  • Page 22 The cable to use for Serial (RS-232C) communication is RS-232C-I/O Y cable (V430- WQR-3M). Please use this cable when connecting to a PC by RS-232C. When connecting with OMRON CS/CJ/NJ series controller, connect OMRON Programmable Controller (CS/CJ/NJ) RS-232C cable (V430-WPLC-2M) between RS-232C-I/O Y cable (V430- WQR-3M) and I/O control PLC (*2 in the figure).
  • Page 23: F420-F Series System Configuration

    I/O control PLC *1 To supply power, the V420-WRX-1M requires an external power supply (97-900006-01). *2 When connecting with OMRON CS/CJ/NJ series controller, connect OMRON Programmable Con- troller(CS/CJ/NJ) RS-232C cable (V430-WPLC-2M) between Special DB-15 - RS-232C cable(V420- WRX-1M) and I/O control PLC (*2 in the figure).
  • Page 24 1 Communication Specifications Overview *3 When connecting with OMRON CS/CJ/NJ series controller, connect OMRON Programmable Con- troller(CS/CJ/NJ) RS-232C cable (V430-WPLC-2M) between Special DB-15 - RS-232C/USB/ I/O ca- ble(V420-WRU8X-1M) and I/O control PLC (*3 in the figure). F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 25: Communicating With An External Device

    1 Communication Specifications Overview Communicating with an External De- vice This section gives the communications specifications, describes the control methods that you can use for communications, and describes the settings that are required before starting communications with an external device. 1-2-1 Basic Control Operations of the Smart Camera The following figure shows basic communications between an external device and the smart camera...
  • Page 26: Applicable Communications Protocols For F440-F/F430-F/F420-F Series

    1 Communication Specifications Overview 1-2-2 Applicable Communications Protocols for F440-F/F430-F/F420-F series The F440-F/F430-F/F420-F series can be controlled from a PLC, computer, or other external device using various communication protocols. The following types of communication protocols can be used for controlling F440-F/F430-F/F420-F series from an external device.
  • Page 27 1 Communication Specifications Overview Communication cable type Communi- Communi- cation cation Pro- Overview Parallel Ethernet RS-232C Method tocol Frame Serial (TCP) Command frames are sent to the smart transmis- camera and Response frames are received sion from the smart camera without the use of any specifi protocol.
  • Page 28 1 Communication Specifications Overview 1-10 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 29: Controlling Operation And Data Output With Parallel

    Controlling Operation and Data Output with Parallel Controlling Operation and Data Output with Parallel ......... 2-2 2-1-1 Basic Operation with a Parallel Connection............ 2-2 2-1-2 Wiring and Electrical Specifications for Parallel I/O [F440-F/F430-F]..... 2-3 2-1-3 Change the Behavior of Operation ..............2-5 2-1-4 Change the Type of Trigger ................
  • Page 30: Basic Operation With A Parallel Connection

    2 Controlling Operation and Data Output with Parallel Controlling Operation and Data Out- put with Parallel This section explains how to directly connect the smart camera to an external device by the I/O cable and the methods that you can use to control the smart camera from the external device. 2-1-1 Basic Operation with a Parallel Connection This section describes the basic connections and signal flow with external devices.
  • Page 31: Wiring And Electrical Specifications For Parallel I/O [F440-F/F430-F]

    2 Controlling Operation and Data Output with Parallel 2-1-2 Wiring and Electrical Specifications for Parallel I/O [F440-F/F430- The following is the wiring diagram of the power cable to connect to the smart camera (All V430-W8). Smart Camera Brown Blue COM_IN Red striped COM_OUT White TRIG...
  • Page 32 2 Controlling Operation and Data Output with Parallel • Input circuit diagram (F440-F/F430-F ⇔ External device) when NPN connected NPN device Smart Camera INPUT -TRIG -DEFAULT -NEW MASTER COM_IN CLC = Current Limiting Circuit • Output circuit diagram (F440-F/F430-F ⇔ External device) when NPN connected NPN device Smart Camera Input...
  • Page 33: Change The Behavior Of Operation

    2 Controlling Operation and Data Output with Parallel 2-1-3 Change the Behavior of Operation The following changes are possible depending on the system configuration and usage. Type Modification Change the type of trigger You can change the method used to trigger a Read (Triggered, or Continuous).
  • Page 34: Change The Type Of Trigger

    2 Controlling Operation and Data Output with Parallel 2-1-4 Change the Type of Trigger It is possible to change the Input method for the trigger used by the Smart Camera to execute Image capture. For details, refer to the AutoVISION Software Help. Setting item I/O Type Option...
  • Page 35 2 Controlling Operation and Data Output with Parallel Setting item I/O Type Option Description Example • Serial trigger Use this option to perform Port • measurement based on input Trigger from an RS-232C port or TCP Character • port. Trriger Po- larity Low->...
  • Page 36: Standard Inspection Mode Operation

    2 Controlling Operation and Data Output with Parallel 2-1-5 Standard Inspection Mode Operation The timing chart for standard inspection mode is shown below. It is valid for all trigger types. In stand- ard inspection mode, the next measurement trigger can be input after completion of an inspection. You can use the AutoVISION software to assign the signals shown in the figure to Output 1 to 3 for inspection output.
  • Page 37: Pipeline Inspection Mode Operation

    2 Controlling Operation and Data Output with Parallel 2-1-6 Pipeline Inspection Mode Operation The pipeline inspection mode allows the smart camera to start acquiring a new image before comple- tion of the previous inspection. When capture of an image is completed, the next measurement trigger can be accepted.
  • Page 38 2 Controlling Operation and Data Output with Parallel Click Edit tab. Click on the Inspection Outputs bar. The Digital Outputs tab is displayed on the right of the window. Click anywhere in the Digital Outputs tab. The following screen is displayed. Click Output 1.
  • Page 39: Use As Ext.illumination Strobe

    2 Controlling Operation and Data Output with Parallel Setting item Setting value Description Pulse Width 1 to 10000 (ms) Enter the time during which the ON state is held. Select the outputs to use for Output 2 and Output 3. In this example, select Inspection Passed for Output 2 and Inspection Failed for Output 3.
  • Page 40 2 Controlling Operation and Data Output with Parallel When Output 3 is set to turn ON external lighting, the output will be ON while the smart camera is exposed. In this mode, changing the exposure time also changes the ON time for Output 3. •...
  • Page 41 Controlling Operation and Data Output with Ethernet Controlling Operation and Data Output with Ethernet ....... 3-2 3-1-1 EtherNet/IP Overview ..................3-2 3-1-2 Communication with the Smart Camera over EtherNet/IP Connection ..3-4 3-1-3 Communications Settings ................3-5 3-1-4 Communication Specifications Settings [EtherNet/IP] ........3-6 3-1-5 Tag Data Link Setting Methods..............
  • Page 42: Ethernet/Ip Overview

    3 Controlling Operation and Data Output with Ethernet Controlling Operation and Data Out- put with Ethernet 3-1-1 EtherNet/IP Overview EtherNet/IP is an industrial multi-vendor network that uses Ethernet. The EtherNet/IP specifications are open standards managed by the ODVA (OpenDeviceNet Vendor Association). EtherNet/IP is used by a wide range of industrial devices.
  • Page 43 3 Controlling Operation and Data Output with Ethernet Data Exchange with EtherNet/IP Data is exchanged cyclically between Ethernet devices on the EtherNet/IP network using Tag Data Links as shown below. Originator Target Smart Camera Connection Input tag set name: Output tag set name: A Connection from Output114 PLC to Smart Camera...
  • Page 44: Communication With The Smart Camera Over Ethernet/Ip Connection

    EtherNet/IP tag data link, the PLC can control the Sensor Controller and make it output data after measurements. When you connect to an OMRON Controller to communicate with it via EtherNet/IP, use the Network Configurator to perform the tag data link settings such as tag, tag set, and connection setting.
  • Page 45: Communications Settings

    3 Controlling Operation and Data Output with Ethernet 3-1-3 Communications Settings The following settings are required to use EtherNet/IP communications. ··· Set the IP address and industrial protocol. 1. Communications speci- For details, refer to3-1-4 Communication Specifications Settings fications settings [EtherNet/IP] on page 3-6.
  • Page 46: Communication Specifications Settings [Ethernet/Ip]

    In the AutoVISION software, set the IP address and industrial protocol for the smart camera according to your network of external devices such as the PLC. From the Windows Start menu, click Omron AutoVISION. This launches the OMRON AutoVISION software.
  • Page 47 3 Controlling Operation and Data Output with Ethernet Click the Lock icon ( ) to enable changing the settings. The smart camera’s settings are unlocked and the Modify button is displayed. F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 48 3 Controlling Operation and Data Output with Ethernet Click Modify and enter information such as the IP Address. F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 49 3 Controlling Operation and Data Output with Ethernet From the Industrial Protocol drop-down menu, select EtherNet/IP. Setting item Setting value Description • Industrial Protocol <none> Select the industrial protocol to use. • EtherNet/IP • PROFINET Precautions for Correct Use To connect the smart camera to external devices via EtherNet/IP, the IP address must be set in the same network segment.
  • Page 50 3 Controlling Operation and Data Output with Ethernet Precautions for Correct Use After you change the industrial protocol, you need to reboot the smart camera to have the new setting take effect. Click the Yes button to reboot the smart camera. The AutoVISION software is disabled while the smart camera is rebooting.
  • Page 51 3 Controlling Operation and Data Output with Ethernet 3-11 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 52: Tag Data Link Setting Methods

    When connecting to an NJ-series or CJ-series CPU Unit, install the EDS file that defines the connection information for the smart camera in to Sysmac Studio. Download the EDS file from OMRON's website. Tags, Tag Sets, and Connection Settings The tag data link data for the smart camera has been assigned to global variables in the Controller.
  • Page 53: Output Setting Example

    3 Controlling Operation and Data Output with Ethernet Setting item Description Originator variable Variable defined on the PLC • Size (Originator variable) 320 bytes Connection type Point to Point connection Precautions for Correct Use If the CIO memory area that holds contents were not specified when I/O memory addresses are specified for communication areas, the information in each communication area will be cleared when the operating mode of the PLC is changed.
  • Page 54: Status And Control Signals For Each Input And Output Assembly

    3 Controlling Operation and Data Output with Ethernet 3-1-7 Status and Control Signals for Each Input and Output Assembly Input Assembly The input assembly layout is described below. Bytes Name Description STATUS Status register of the smart camera. Each bit of this register represents a differrent state item.
  • Page 55 3 Controlling Operation and Data Output with Ethernet  Status: Camera Status Register (16-bit) Each bit of this register represents a different state of the camera’s operation. A high value of 1 indicates that state is active (true). Name Description ONLINE Inspections are running.
  • Page 56 3 Controlling Operation and Data Output with Ethernet Name Description INSP BUSY This bit is high when insection 1 is busy processing an image. INSP STAT This bit represents the inspection 1 status result. It is 1 if the inspection passes.
  • Page 57 3 Controlling Operation and Data Output with Ethernet State value Typycal action required by the client Meaning (16 bit) (plc), or system operator Wait for camera to transition to Online or Booting Offline. Empty (no Vision Jpb) Load a new jpb from AutoVISION or FrontRunner.
  • Page 58 3 Controlling Operation and Data Output with Ethernet  VIO Register Bits Output Assembly The output assembly layout is described below and shown in the following diagram. Bytes Name Description CONTROL Control register of smart camera. Each bit of this register represents a dif- ferent status item.See Control:Camera Control Register (16-bit) on page 3-19 for bit descriptions.
  • Page 59 3 Controlling Operation and Data Output with Ethernet  Control:Camera Control Register (16-bit) Each bit of this register controls a function on the camera. Transitions from a low state of 0 to a high state of 1, initiates the associate operation. The PLC should return the state of the control bit back to 0 after it has acknowledged the camera has processed the control.
  • Page 60 3 Controlling Operation and Data Output with Ethernet The CmdCode and CmdArg must beset, at least 2 RPI, before setting the EXE CMD bit in the con- trol register. Do not set all the values within the same RPI. List of available CmdCodes, and associated CmdArg: CmdCode value CmdArg Operations performed...
  • Page 61 3 Controlling Operation and Data Output with Ethernet EIP Output As- EIP Input Assem- Task Description sembly Confirm the following bits are FALSE. GO OFFLINE = GO OFFLINE, GO ONLINE, RESET ERROR, RE- FALSE SET COUNT, RESET DATA VALID, TRIGGER GO ONLINE = DO NOT CHANGE these bits during job change.
  • Page 62: Accessing Communication Areas Using Variables By Nj/Nx Series Controllers

    3 Controlling Operation and Data Output with Ethernet 3-1-8 Accessing Communication Areas Using Variables by NJ/NX Ser- ies Controllers In Controllers of the NJ series, I/O memory addresses assigned to each communication area can be accessed from the user program only via variables. Here is an example of using the input assembly and output assembly for that purpose.
  • Page 63 STRING[28] GDS string104 For more detailed GDS information, please refer to Edit - Omron Microscan link in the Help file of the AutoVISION software. • Definition of data type to access the Input Area (Structure) It is the data type for accessing the Input Area.
  • Page 64: Connection Properties: Class 3 Explicit Messaging

    3 Controlling Operation and Data Output with Ethernet Network pub- Variable Variable type Data type Application lish attribute EIPOutput Global variable Output S_EIPOutput For data links for the Output Area EIPInput Global variable Input S_EIPInput For data links for the Input Area Access each communication area from user program.
  • Page 65 3 Controlling Operation and Data Output with Ethernet The value received in response to Get Attribute Single depends on the type: • Bool will return a 16-bit word with 0 for false or 1 for true. • Ints will return a 16-bit signed integer. •...
  • Page 66: Control/Status Signal Operation

    3 Controlling Operation and Data Output with Ethernet 3-1-10 Control/Status Signal Operation Refer to 3-1-7 Status and Control Signals for Each Input and Output Assembly on page 3-14 for detail of Imput assembly and Output assembly. 1. The following describes the signals used in the timing chart. •...
  • Page 67: Data Type Descriptions And Equivalents In Plc And Eds/Cip Environments

    3 Controlling Operation and Data Output with Ethernet The timing chart shows the signal in cases where the inspection has been passed and where the inspection has been failed. It turns ON when the inspection has been passed and turns OFF when it has been failed.
  • Page 68: Plc Tags And Serial Command Names

    3 Controlling Operation and Data Output with Ethernet 3-1-12 PLC Tags and Serial Command Names PLC tags are separated into IN and OUT for data direction. Within the IN and OUT groups, the tags are sub-divided into fixed Status and Control fields, plus user-defined linked data fields. This table shows how PLC tag names correspond to serial commands.
  • Page 69: Controlling Operation And Data Output With Serial (Tcp)

    TCP/IP communication protocol. Since the smart camera com- municates as a TCP server, the external device to be connected must be connected to smart camera as a TCP client. If you intend to use with an Omron PLC, please verify that it supports Socket Services (TCP Client).
  • Page 70: Communications Setup Procedures

    3 Controlling Operation and Data Output with Ethernet 3-2-3 Communications Setup Procedures The following settings are required to communicate with Serial (TCP). ··· The communications specifications are set. 1. Communications speci- For deatails, refer to 3-2-4 Communications specifications settings fications settings ( Serial (TCP)) on page 3-31.
  • Page 71: Communications Specifications Settings ( Serial (Tcp))

    Communications specifications settings ( Serial (TCP)) Network Settings on the Smart Camera Set the Number of serial TCP ports and Starting serial TCP Port of the device. From the Windows Start menu, click OMRON AutoVISION. This launches the OMRON AutoVISION software. Click on Select Device.
  • Page 72 3 Controlling Operation and Data Output with Ethernet Click the Lock icon ( ) to enable changing the settings. The smart camera’s settings are unlocked and the Modify button is displayed. 3-32 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 73 3 Controlling Operation and Data Output with Ethernet Click the Modify button and then set the Number of serial TCP ports and Starting serial TCP Port. 3-33 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 74 3 Controlling Operation and Data Output with Ethernet Setting item Setting value Description Number of serial 1 to 4 Set the number of serial TCP ports. TCP ports Starting serial TCP 49211 to 49214 Set the starting serial TCP port number. Port The smart camera will use the specified number of serial TCP ports that starts from the set se- rial TCP port start number.
  • Page 75 3 Controlling Operation and Data Output with Ethernet Precautions for Correct Use After you change the industrial protocol, you need to reboot the smart camera to have the new setting take effect. Click the Yes button to reboot the smart camera. The AutoVISION software is disabled while the smart camera is rebooting.
  • Page 76: Output Data Settings

    3 Controlling Operation and Data Output with Ethernet 3-2-5 Output data settings The following shows he procedure to output a string that you read using the Decode Tool, as an exam- ple. • Use any TCIP/IP Tool to configure the IP address, port, and other settings, and then connect to the smart camera.
  • Page 77 3 Controlling Operation and Data Output with Ethernet Click the “+” icon in the Build Output String area and then select the “Tool Output Value” option. Click “<Not Connected>” in the Build Output String area. 3-37 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 78: Communications Test

    3 Controlling Operation and Data Output with Ethernet Select the “Decode Text” option of the Decode Tool. 3-2-6 Communications test Use any TCIP/IP Tool to configure the IP address, port, and other settings, and then connect to the smart camera. Input the measurement trigger to the smart camera.
  • Page 79: Controlling Operation And Dataoutput With Profinet

    3 Controlling Operation and Data Output with Ethernet Controlling Operation and DataOut- put with PROFINET 3-3-1 Overview of PROFINET PROFINET is a network for industrial use that applies industrial Ethernet (100 Mbps, full duplex) to PROFIBUS DP. PROFINET is an open standard that is managed by PI (PROFIBUS and PROFINET International) and is used in a variety of types of industrial equipment.
  • Page 80 3 Controlling Operation and Data Output with Ethernet Communication Type Details Support Specifications Uses standard Ethernet hardware and RT (real-time) com- achieves the same level of performance Supported munication as the existing Fieldbus. Periodic data com- This method provides a higher level of as- munication method IRT (Isochronous surance than RT that communication will...
  • Page 81 3 Controlling Operation and Data Output with Ethernet  IO Devices I/O devices consist of DAPs and I/O modules. The functions and properties of these devices are described in a GSD file. • DAP (Device Access Point): This is an Ethernet access point and is used by means of a com- munication program.Ethernet.
  • Page 82: Smart Camera Communications For Profinet Connections

    3 Controlling Operation and Data Output with Ethernet CR is classified into IO data CR, record data CR, and alarm CR. Within the IO data CR, data com- munication is performed for each refreshing task period. Within CRs other than the IO data CR, communication takes place between the periodic data communications.
  • Page 83 3 Controlling Operation and Data Output with Ethernet Smart Camera Output module Input module Output slot (1)Output area (Command area) Commands Input connection You write the following The control commands that to Smart Camera 20byte control commands for the are written to the Command smart Camera -Control input -Command code...
  • Page 84: Communications Settings

    • Check Connection Status • Check Data Assignments 3-3-4 Communication Specifications Settings (PROFINET) Configuring Network Settings of F440/F430 Launch the AutoVISION software. The OMRON AutoVISION startup screen is displayed. 3-44 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 85 3 Controlling Operation and Data Output with Ethernet Select the F440/F430 to connect to in the Connect list. Change Industrial Protocol selection to PROFINET. 3-45 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 86: Slot/Subslot Layout Descriptions

    3 Controlling Operation and Data Output with Ethernet The Reboot Required dialog box is displayed. Reboot the smart camera according to the mes- sage. Precautions for Correct Use After you change the industrial protocol, you need to reboot the smart camera to have the new setting take effect.
  • Page 87 3 Controlling Operation and Data Output with Ethernet Slot Bytes Name Description STATUS Status register of the smart camera. Each bit of this register rep- resents a differrent state item. See Status: Camera Status Register (16-bit) on page 3-50 for bit definision.
  • Page 88 3 Controlling Operation and Data Output with Ethernet Slot Bytes Name Description long1-16 Each group of 4 bytes represents a 32 bit signed integer value. From bytes 0-1 for the value of long1 through bytes 60-63 for the value of long16. long101-116 Each group of 4 bytes represents a 32 bit signed integer value.
  • Page 89 3 Controlling Operation and Data Output with Ethernet 3-49 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 90 3 Controlling Operation and Data Output with Ethernet PLC Slot Layout for Omron Microscan Smart Cameras The PLC slot layout for the smart camera is shown below.  Status: Camera Status Register (16-bit) Each bit of this register represents a different state of the camera’s operation. A high value of 1 indicates that state is active (true).
  • Page 91 3 Controlling Operation and Data Output with Ethernet Name Description ONLINE Inspections are running. EXP BUSY The smart camera is busy capturing an image. The smart camera should not be triggered or the part under inspection moved during this time if illuminated. ACQ BUSY The smart camera is busy acquiring an image.
  • Page 92 3 Controlling Operation and Data Output with Ethernet  State (16-bit) State reflects the following operational condition of the camera. State value Typycal action required by the client Meaning (16 bit) (plc), or system operator Perform job change or put camera online. Offline Normal runtime operation: Monitor Trig- Online...
  • Page 93 3 Controlling Operation and Data Output with Ethernet State Control/Status Signal (Offline) (Online) (Job Change) (Booting) (Empty) Status.TRIGGER Status.INSP BUSY Status.INSP STAT Status.DATA VAL- Where: Y = Signal is valid for this State Empty cell = Signal is not valid for this State ...
  • Page 94 3 Controlling Operation and Data Output with Ethernet  CmdCode and CmdArg (32-bit) Specifies the process invoked in the camera when Control.ExeCmd goes active. The CmdCode and CmdArg must beset, at least 2 RPI, before setting the EXE CMD bit in the con- trol register.
  • Page 95 3 Controlling Operation and Data Output with Ethernet Task Description Output Slot Input Slot Confirm the following bits are FALSE. GO OFFLINE = GO OFFLINE, GO ONLINE, RESET ERROR, RESET FALSE COUNT, RESET DATA VALID, TRIGGER GO ONLINE = DO NOT CHANGE these bits during job change. FALSE RESET ERROR = FALSE...
  • Page 96: Control/Status Signal Operation

    3 Controlling Operation and Data Output with Ethernet 3-3-6 Control/Status Signal Operation See 3-3-5 Slot/Subslot Layout Descriptions on page 3-46 for details of Slot and Subslot. 1. The following describes the signals used in the timing chart. • Scan_MV_IO_user.OUT.Control.Trigger: This is the trigger in the control register. •...
  • Page 97 3 Controlling Operation and Data Output with Ethernet The timing chart shows the signal in cases where the inspection has been passed and where the inspection has been failed. It turns ON when the inspection has been passed and turns OFF when it has been failed.
  • Page 98 3 Controlling Operation and Data Output with Ethernet 3-58 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 99: Controlling Operation And Data Output With Rs-232C

    Controlling Operation and Data Output with RS-232C Controlling Operation and Data Output with RS-232C ....... 4-2 4-1-1 Communications Processing Flow..............4-2 4-1-2 RS-232C Wiring....................4-2 4-1-3 Communication Settings (Serial (RS-232C)) ..........4-4 4-1-4 Output Settings ....................4-5 4-1-5 Serial Command List (RS-232C) ..............4-5 F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 100: Communications Processing Flow

    4 Controlling Operation and Data Output with RS-232C Controlling Operation and Data Out- put with RS-232C This section explains how to connect the smart camera to an external device (such as PLC) using RS-232C communications and the methods that you can use to control the smart camera and its out- put.
  • Page 101 4 Controlling Operation and Data Output with RS-232C 2700 48.3 44.5 cable label Smart Camera attachment connector RS-232C (M12 12-pin socket) (D-Sub 9-pin socket) 48.4 I/O connector (M12 12-pin plug) Please connect V430-W8□ to the I/O connector (M12 plug) and connect it to power supply etc. RS-232C (D-sub 9 Pin Female Connector) Pin No.
  • Page 102: Communication Settings (Serial (Rs-232C))

    Use a shielded cable. Up to 15m cable length. *1. 0V is shared with the 0V for F440-F/F430-F power supply supply, so please branch it. *2. Please connect according to your device specifications. Example: When using Omron Serial Communication Unit CJ1W-SCU22 Signal Name Pin No.
  • Page 103: Output Settings

    4 Controlling Operation and Data Output with RS-232C Setting Item Setting Value Description Baud Rate 110, 300, 1200, Set the transmission speed for RS-232C communications. 2400, 4800, 9600, (Unit:bps) 19200, 38400, Set it to match the communications specifications of the ex- 57600, 115200 ternal device.
  • Page 104 4 Controlling Operation and Data Output with RS-232C F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 105: Appendices

    Appendices EtherNet/IP Information ................A-2 A-1-1 EtherNet/IP Device Identity................A-2 A-1-2 EDS File......................A-2 PROFINET Information ................. A-3 A-2-1 PROFINET I/O Identity ................... A-3 A-2-2 GSDML File ....................A-3 A-2-3 Connection Properties: RT Cyclic Messaging..........A-3 Serial Command .................... A-4 TCP/UDP and General Port Usage.............
  • Page 106: Ethernet/Ip Information

    • Input Type/Connection Type Point-to-Point (PLC OUT, O >T) • Point-to-Point (PLC IN, T >O) Connection Priority Scheduled A-1-2 EDS File Contact your Omron representative for the EDS file. F440-F/F430-F/F420-F Series Smart Camera User's Manual for Communication Settings (Z444)
  • Page 107: Profinet Information

    A-2 PROFINET Information A-2-1 PROFINET I/O Identity The table below shows the PROFINET device ID information for the F440-F/F430-F. • Vendor ID Omron Microscan’s Systems, Inc. Vendor ID is 0x0257. • Device ID F430: 0x7000 F440: 0x7005 • Vendor name Vender name is OMRON MICROSCAN SYSTEMS, INC.
  • Page 108: Serial Command

    Appendices A-3 Serial Command Serial commands can be sent via TCP port, AutoVISION terminal, or HyperTerminal. Precautions for Correct Use The MicroHAWK MV-4000 does not support focus commands. Serial Command Syntax • Command parameters include required parameters that must be always specified and option pa- rameters that may be specified as needed.
  • Page 109 Appendices Parameter Setting value Description • -exp Automatic calibration of exposure time • • 1: Enables automatic calibration of exposure time. • 0: Disables automatic calibration of exposure time. When -exp=0, set the exposure time with -expval. -expval 60-100000 (μs) Exposure time Sets the exposure time.
  • Page 110 Appendices Example 3: Go offline, get the photometry settings (gain, exposure time, focus) from QUERYAUTOCAL, change the exposure time to 1000 μs, and execute the calibration. Command: OFFLINE Response: !OK Command: QUERYAUTOCAL Response: 0;3478;226;50;300 The exposure time is 3478 μs. Command: AUTOCAL -exp=0 -expval=1000 The exposure time is fixed to 1000 μs.
  • Page 111 Appendices service.tagname gets the value of the tag in a service. For example, for the EIP input assembly, specify the command as GET eip.input. Required Parameter None Option Parameter None  Response Format If processed normally: data<CR><LF><ETX> • Returns the value of the tag used in the device, etc. Refer to Command Example. If not processed normally: !ERROR<ETX>...
  • Page 112 Appendices 0x0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...
  • Page 113 Appendices Parameter Setting value Description • -transfer Uses Ymodem protocol over the serial port. ymodem If the -transfer option isomitted completely, the transfer mode is over the TCP and Ethernet port. • -format Specifies the format of the image. • RAW and TIF are not supported for UART connection.
  • Page 114 Appendices  Command Example Example 1: Get an image from the camera with the following settings. Protocol: ymodem, Format: png, Inspection: Inspection 1 Command: GETIMAGE -transfer=ymodem -format=png -inspection=1 Response: !OK The image data is output in binary on the same port used to send the GETIMAGE command. Example 2: Get an image from the camera with the following settings.
  • Page 115 Appendices  Response Format If processed normally: Command format of serial commands<CR><LF><CR><LF>Function description of serial com- mands<CR><LF>...Command format of serial commands<CR><LF><CR><LF>Function descrip- tion of serial commands<CR><LF><ETX> If not processed normally: !ERROR<CR><LF><ETX>  Command Example Example 1: Gets the command format and function description of serial commands. Command: HELP Response: SET <tagname>...
  • Page 116 Appendices Required Parameter None Option Parameter None  Response Format If processed normally: data<CR><LF><ETX> • Returns information about a tag or service. Refer to Command Example. If not processed normally: None  Command Example Example 1: Get a list of services. Command: INFO Response: data...
  • Page 117 Appendices trigtag rstcounttag input output bool long float string Example 3: Get information about the input tag in the eip service. Command: INFO eip.input Response: type = buffer assembly = 102 dir = out endian = little label = Input Assembly size = 320 online expbusy...
  • Page 118 Appendices  Command Format JOBBOOT -slot=SettingValue<CR> • Insert a space between the command and the parameters. • Add a delimiter <CR> to the end of the command or parameter. • No space is required between the parameter and the delimiter. •...
  • Page 119 Appendices • Specify -slot or -all. • Insert a space between the command and the parameters. • Add a delimiter <CR> to the end of the command or parameter. • No space is required between the parameter and the delimiter. •...
  • Page 120 Appendices  Command Format JOBDOWNLOAD -transfer=SettingValue -size=SettingValue -c<CR> • Insert a space between the command and the parameters. • Insert a space between each parameter. • Add a delimiter <CR> to the end of the command or parameter. • No space is required between the parameter and the delimiter. •...
  • Page 121 Appendices Specified avz size too large. Not enough ram to load a [integer] byte AVZ job<CR><LF>!ER- ROR<CR><LF><ETX> • When -transfer=ymodem If processed normally: !OK<CR><LF><ETX> If not processed normally: !ERROR<CR><LF><ETX>  Command Example Example 1: Load a .avz job file via the FTP transfer method and start the job. •...
  • Page 122 Appendices None Option Parameter Parameter Setting value Description -slot 1 to (Maximum job Sets the job slot number for which you want to get informa- slot number to tion. store the job) None Returns the disk space (in bytes) used by the job. It also returns a list of total disk space and free disk space (in bytes).
  • Page 123 Appendices JOBLOAD Loads a job from slot n or from memory when used with the JOBDOWNLOAD command via FTP.  Command Format JOBLOAD -slot=SettingValue -r<CR> JOBLOAD -mem -r<CR> • Specify -slot or -mem. • Insert a space between the command and the parameters. •...
  • Page 124 Appendices Command: JOBDOWNLOAD -transfer=ftp Response: FTP job load initialized. Please ftp avz file to /streamd0 and issue jobload -mem • The user transfers the .avz job file to /streamd0 via FTP. • Load the .avz job file from /streamd0 into RAM, delete the RAM disk /streamd0, and start the in- spection.
  • Page 125 Appendices JOBSAVEAS Saves the current job in the specified slot with the specified name.  Command Format JOBSAVEAS -slot=SettingValue -name=SettingValue<CR> • Insert a space between the command and the parameters. • Add a delimiter <CR> to the end of the command or parameter. •...
  • Page 126 Appendices • No space is required between the parameter and the delimiter. Required Parameter None Option Parameter Parameter Setting value Description None This option parameter is not supported by the F420-F/F430-F/ F440-F.  Response Format If processed normally: Available memory for the device (in bytes)<CR><LF><ETX> If not processed normally: None ...
  • Page 127 Appendices If not processed normally: None  Command Example Example 1: Get the maximum contiguous memory block size (in bytes) available for the device. Command: MEMCONTIG Response: 143581132 MEMFRAGS Returns memory fragments for device. Precautions for Correct Use MEMFRAGS is not supported by the HAWK MV-4000. It will return !ERROR. ...
  • Page 128 Appendices MEMINFO Returns memory summary “avail/contig/frags” for device. • avail: available memory (bytes) for device • contig: maximum memory block for device • frags: memory fragments for device • used: used memory (bytes) for device  Command Format MEMINFO -cp -v<CR> •...
  • Page 129 Appendices Command:MEMINFO -v Response: avail=166933696 contig=164594212 frags=43 used=101501760 OFFLINE Sets the device offline.  Command Format OFFLINE<CR> • Add a delimiter <CR> to the end of the command or parameter. Required Parameter None Option Parameter None  Response Format If processed normally: !OK<ETX>...
  • Page 130 Appendices Option Parameter None  Response Format If processed normally: !OK<ETX> If not processed normally: !ERROR<ETX>  Command Example Example 1: Set the device online. Command: ONLINE Response: !OK ONLINE? Queries if each inspection on the camera is online.  Command Format ONLINE? -insp=SettingValue<CR>...
  • Page 131 Appendices  Command Example Example 1: Get the status of inspection. Command: ONLINE? Response: !1 Inspections are online. Example 2: Get the status of inspection. Command: ONLINE? Response: !0 Inspections are not offline. Example 3: Get the status of inspection 1. Command: ONLINE? -insp=1 Response: !1 Inspections are online.
  • Page 132 Appendices Response: 18;7795;193;50;300 The values are: Gain = 18, Exposure time = 7795 μs, Focus = 193, Lower limit of focus = 50, and Upper limit of focus = 300. QUERYFOCUSUNITS Queries the units being used for autofocus.  Command Format QUERYFOCUSUNITS<CR>...
  • Page 133 Appendices Option Parameter None  Response Format If processed normally: Color supported/unsupported;RED gain;BLUE gain;GREEN gain<CR><LF><ETX> • For Color supported/unsupported, the command will return 1 if it is a color camera or returns 0 if it not a color camera. If not processed normally: !ERROR<CR><LF><ETX>...
  • Page 134 Appendices Option Parameter None  Response Format If processed normally: Focus;Lower limit of focus;Upper limit of focus<CR><LF><ETX> If not processed normally: !ERROR<CR><LF><ETX>  Command Example Example 1: Initiate camera calibration of focus at the point (640,480) in the image. Command: QUICKFOCUS 640 480 Response: 124;50;300 The focus is currently set to 124 mm and the allowable focus range of the camera is currently 50 to 300 mm.
  • Page 135 Appendices  Command Example Example 1: Command: READY? -insp=1 Queries if inspection 1 is waiting for a trigger. Response: !1 Inspection 1 is waiting for trigger. REBOOT Reboots the device.  Command Format REBOOT -noload<CR> • Insert a space between the command and the parameters. •...
  • Page 136 Appendices  Command Format RESTOREWBAL<CR> • Add a delimiter <CR> to the end of the command or parameter. Required Parameter None Option Parameter None  Response Format If processed normally: Color supported/unsupported;RED gain;BLUE gain;GREEN gain<CR><LF><ETX> • For Color supported/unsupported, the command will return 1 if it is a color camera or returns 0 if it not a color camera.
  • Page 137 Appendices Control tags in the AVP service such as START, STOP, and TRIGGER act as switches. For ex- ample, SET avp.start 1 is equivalent to the ONLINE command. avp.start will be reset immediate- ly and always read as 0. • value can contain spaces. value can be a comma-separated list of items to set a sequence of tags.
  • Page 138 Appendices 0x00b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x00f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...
  • Page 139 Appendices  Command Example Example 1: Set the unit used for autofocus to mm. Command: SETFOCUSUNITS 0 Response: 0 The unit used for autofocus is set to mm (0). TARGET Turns ON or OFF the blue LED for the aiming light source. Use this command during installation. Precautions for Correct Use This command functions only when the camera is offline.
  • Page 140 Appendices Command: TARGET on Response: !OK The blue LED for the aiming light source is turned ON. Example 2: Turn OFF the blue LED for the aiming light source. Command: TARGET 0 Command: TARGET off Response: !OK The blue LED for the aiming light source is turned OFF. TRIGGER Inputs the measurement trigger.
  • Page 141 Appendices  Command Format VERSION<CR> • Add a delimiter <CR> to the end of the command or parameter. Required Parameter None Option Parameter None  Response Format If processed normally: Version<CR><LF><ETX> If not processed normally: None  Command Example Example 1: Get the version.
  • Page 142 Appendices  Response Format If processed normally: !OK<ETX> If not processed normally: !ERROR<ETX>  Command Example Example 1: Execute an inspection by using virtual trigger 1. An inspection will be executed when it is set to use virtual trigger 1 as a trigger. Command: vt 1 Response: !OK Example 2:...
  • Page 143 Appendices !ERROR<CR><LF><ETX>  Command Example Example 1: Execute a white balance calibration. Command: WHITEBAL Response: 1;14;14;0 The calibrated settings are: Color supported/unsupported (for color cameras), RED gain 14, BLUE gain 14, and GREEN gain 0. Example 2: Execute a white balance calibration. Command: WHITEBAL Response: 0;0;0;0 The calibrated settings are Color supported/unsupported (for monochrome cameras), RED gain 0,...
  • Page 144: A-4 Tcp/Udp And General Port Usage

    Appendices A-4 TCP/UDP and General Port Usage A-4-1 Ports The following table lists the ports used by MicroHAWK smart cameras for communication. Port Number Protocol Name 49059 49049 49050 PIC/LIVE 49200 REPORT 49202 REPORTCONTROL 49201 PARTQ 49079 KEEPALIVE 49211 Serial TCP#1 49212 Serial TCP#2 49213...
  • Page 146 Hoffman Estates, IL 60169 U.S.A. Tel: (31) 2356-81-300 Fax: (31) 2356-81-388 Tel: (1) 847-843-7900 Fax: (1) 847-843-7787 ©OMRON Corporation 2021-2022 All Rights Reserved. OMRON ASIA PACIFIC PTE. LTD. OMRON (CHINA) CO., LTD. In the interest of product improvement, 438B Alexandra Road, #08-01/02 Alexandra Room 2211, Bank of China Tower, specifications are subject to change without notice.

Table of Contents