Omron FH-2 Series, FHV7-C Series, FHV Series, FH-1 Series, FH-L Series User Manual

...
Vision Sensor
FH/FHV Series
Vision System
User's manual for Communication Settings
FH-1£££/FH-1£££-££ FH-2£££-££/FH-2£££-££ FH-3£££/FH-3£££-££ FH-5£££-££/FH-5£££-££ FH-L£££/FH-L£££-££ FHV7£-£££££-C/FHV7£-£££££-S££/FHV7£-£££££-S££-£ £/FHV7£-£££££-H££/FHV7£-£££££-H££-££
Z342-E1-12
NOTE
All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any
form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the
prior written permission of OMRON.
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. Nevertheless, OMRON assumes no responsibility for errors or omis-
sions.
Neither is any liability assumed for damages resulting from the use of the information contained in
this publication.
Trademarks
Sysmac and SYSMAC are trademarks or registered trademarks of OMRON Corporation in Japan
and other countries for OMRON factory automation products.
This software is based in part on the work of the Independent JPEG Group.
Microsoft, Windows, Windows Vista, Excel, and Visual Basic are either registered trademarks or
trademarks of Microsoft Corporation in the United States and other countries.
Intel, Core and Pentium are trademarks of Intel Corporation in the U.S. and/or other countries.
EtherCAT® is registered trademark and patented technology, licensed by Beckhoff Automation
GmbH, Germany.
ODVA, CIP, CompoNet, DeviceNet, and EtherNet/IP are trademarks of ODVA.
The SD, SDHC, microSD, and microSDHC logos are trademarks of SD-3C, LLC.
QR Code is a registered trademark of DENSO WAVE INCORPORATED.
MELSEC is a registered trademarks of Mitsubishi Electric Corporation.
Other company names and product names in this document are the trademarks or registered trade-
marks of their respective companies.
Copyrights
Microsoft product screen shots reprinted with permission from Microsoft Corporation.
Introduction
Thank you for purchasing the FH/FHV Series. This manual contains information that is necessary to use the FH/FHV Series. Please read this manual and make sure you understand the functionality and performance of the FH/FHV 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.
Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical sys­tems (an electrical engineer or the equivalent).
• Personnel in charge of introducing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of installing and maintaining FA systems.
• Personnel in charge of managing FA systems and facilities.
Introduction
Applicable Products
This manual covers the following products.
• FH-1£££
• FH-1£££-££
• FH-2£££
• FH-2£££-££
• FH-3£££
• FH-3£££-££
• FH-5£££
• FH-5£££-££
• FH-L£££
• FH-L£££-££
• FHV7£-££££ Part of the specifications and restrictions are given in other manuals. Refer to Relevant Manuals on Relevant Manuals on page 2 and Related Manuals on page 17.
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
1
Relevant Manuals
Relevant Manuals
The following table provides the relevant manuals for the FH/FHV Series. Read all of the manuals that are relevant to your system configuration and application before you use the FH/FHV Series.
User's Manual
Purpose of use
Basic information
FH/FHV Series Vision System
FH Series Vision System
Hardware Setup Manual
Manual
FHV Series Smart Camera
Setup Manual
FH/FHV Series Vision System
Processing Item Function
Reference Manual
Programming Manual
FH Series Vision System
Macro Customize Functions
FH/FHV Series Vision System
User’s Manual for Communications Settings
FH/FHV Series Vision System
Operation Manual for Sysmac Studio
Overview of FH series
Overview of FHV7 series
Setup and Wiring
EtherCAT
EtherNet/IP
PROFINET
Ethernet
RS-232C
Parallel interface
Setup the communication setting of Sen­sor Controller
EtherCAT
EtherNet/IP
PROFINET
Ethernet
RS-232C
Parallel interface
Setup the Sensor Controller
EtherCAT
EtherNet/IP
PROFINET
Ethernet
RS-232C
Parallel interface
l l
l l
l l
l
l l l l
l
l l
2
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Purpose of use
Basic information
FH/FHV Series Vision System
User's Manual
Hardware Setup Manual
FH Series Vision System
FHV Series Smart Camera
Setup Manual
Relevant Manuals
Manual
FH/FHV Series Vision System
Processing Item Function
Reference Manual
FH Series Vision System
Macro Customize Functions
Programming Manual
FH/FHV Series Vision System
User’s Manual for Communications Settings
FH/FHV Series Vision System
Operation Manual for Sysmac Studio
Create and Set the Scene
EtherCAT
EtherNet/IP
PROFINET
Ethernet
RS-232C
Parallel interface
Optimizing the Scene Flow
EtherCAT
EtherNet/IP
PROFINET
Ethernet
RS-232C
Parallel interface
Connecting the Controller
EtherCAT
EtherNet/IP
PROFINET
Ethernet
RS-232C
Parallel interface
Using Helpful Functions
EtherCAT
EtherNet/IP
PROFINET
Ethernet
RS-232C
Parallel interface
Troubleshooting and Problem Solving
l
l l
l l
l
l l l l
l
l
l
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
3
4-9
4 Installation and Wiring
NJ-series CPU Unit Hardware User’s Manual (W500)
s
t
i
n
U
gnitn
u
oM
3-4
4
s
t
ne
no
p
m
o
C
rel
l
o
r
t
n
oC
g
n
i
tc
e
n
noC
1
-
3-
4
4-3 Mounting Units
The Units that make up an NJ-series Controller can be connected simply by pressing the Units together and locking the sliders by moving them toward the back of the Units. The End Cover is connected in the same way to the Unit on the far right side of the Controller.
1 Join the Units so that the connectors fit exactly.
2 The yellow sliders at the top and bottom of each Unit lock the Units together. Move the sliders
toward the back of the Units as shown below until they click into place.
Precautions for Correct UsePrecautions for Correct Use
4-3-1 Connecting Controller Components
Connector
Hook
Hook holes
Slider
Lock
Release
Move the sliders toward the back until they lock into place.
Level 1 heading Level 2 heading Level 3 heading
Level 2 heading
A step in a procedure
Manual name
Special information
Level 3 heading
Page tab
Gives the current headings.
Indicates a procedure.
Icons indicate precautions, additional information, or reference information.
Gives the number of the main section.
The sliders on the tops and bottoms of the Power Supply Unit, CPU Unit, I/O Units, Special I/O Units, and CPU Bus Units must be completely locked (until they click into place) after connecting the adjacent Unit connectors.
Manual Structure
Manual Structure
Page Structure
The following page structure is used in this manual.
Note This illustration is provided only as a sample. It may not literally appear in this manual.
4
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
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. This information is provided to increase understanding or make operation easier.
Manual Structure
Conventions Used in This Manual
Use of Quotation Marks and Brackets In this manual, menus and other items are indicated as follows.
Bold Menu Indicates the menu names or processing items shown in the menu bar.
Italic Item name Indicates the item names displayed on the screen.
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
5
Manual Structure
6
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
CONTENTS
Introduction .............................................................................................................. 1
Intended Audience...........................................................................................................................................1
Applicable Products ......................................................................................................................................... 1
Relevant Manuals..................................................................................................... 2
Manual Structure...................................................................................................... 4
Page Structure.................................................................................................................................................4
Special Information .......................................................................................................................................... 5
Conventions Used in This Manual ................................................................................................................... 5
Terms and Conditions Agreement........................................................................ 11
Safety Precautions................................................................................................. 13
CONTENTS
Precautions for Safe Use ...................................................................................... 14
Precautions for Correct Use ................................................................................. 15
Regulations and Standards .................................................................................. 16
Related Manuals..................................................................................................... 17
Revision History..................................................................................................... 19
Sections in This Manual ........................................................................................ 21
Section 1 Overview
1-1 Introduction ..........................................................................................................................1 - 2
1-2 Confirming the System Configuration ............................................................................... 1 - 3
1-2-1 System Configuration................................................................................................................1 - 3
1-3 Communicating with an External Device...........................................................................1 - 4
1-3-1 Basic Control Operations of the Sensor Controller ...................................................................1 - 4
1-3-2 Communications between the Sensor Controller and an External Device................................1 - 5
1-3-3 Control Methods for the Sensor Controller................................................................................1 - 7
1-3-4 Communication Protocols for Communicating with the Sensor Controller................................1 - 9
1-3-5 Saving Sensor Controller Data to an External Device ............................................................1 - 11
1-4 Control Methods Using an External Device ....................................................................1 - 13
1-4-1 Control with Control Signals and Status Signals.....................................................................1 - 13
1-4-2 Command/Response Method .................................................................................................1 - 16
1-4-3 Data Output after Measurements............................................................................................1 - 17
1-5 Setting Procedures for Communications ........................................................................ 1 - 28
1-5-1 Communications Setup Procedures........................................................................................1 - 28
1-5-2 Communications Protocols and Communications Modules ....................................................1 - 29
1-6 Differences in Specifications Based on the Communications Protocol ......................1 - 31
1-6-1 List of Supported Signals by Communications Protocol .........................................................1 - 31
1-6-2 Restrictions when Using Different Communication Protocols Simultaneously........................1 - 33
1-6-3 Restrictions in Communication Protocols by Operation Mode ................................................1 - 33
1-6-4 Models being Compatible with Communication Protocol ........................................................1 - 34
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
7
CONTENTS
Section 2 Methods for Connecting and Communicating with Ex-
ternal Devices
2-1 EtherCAT Connections ........................................................................................................ 2 - 4
2-1-1 Introduction to EtherCAT ...........................................................................................................2 - 4
2-1-2 Structure of CAN Application Protocol over EtherCAT (CoE) ...................................................2 - 7
2-1-3 EtherCAT Slave Information Files (ESI Files) ...........................................................................2 - 8
2-1-4 Transitions of Communications States......................................................................................2 - 9
2-1-5 Process Data Objects (PDOs) ................................................................................................2 - 10
2-1-6 Service Data Objects (SDOs) .................................................................................................2 - 13
2-1-7 Communications between Master and Slaves for EtherCAT .................................................2 - 14
2-1-8 Communication Method of FH Sensor Controller Connected by EtherCAT ............................2 - 15
2-1-9 Communications Settings .......................................................................................................2 - 20
2-1-10 Communications Module Settings (Startup Settings)..............................................................2 - 22
2-1-11 Communication Specifications Settings ..................................................................................2 - 23
2-1-12 Output Data Settings (Processing Item Registration) .............................................................2 - 28
2-1-13 Setting Output Data (Numerical Values/Character Strings) ....................................................2 - 31
2-1-14 EtherCAT Network Configuration Settings ..............................................................................2 - 38
2-1-15 Communication Test................................................................................................................2 - 39
2-1-16 I/O Ports by Area (PDO Mapping) and Memory Allocation .....................................................2 - 40
2-1-17 I/O Signals...............................................................................................................................2 - 46
2-1-18 Measurement Results for which Output is Possible (Fieldbus Data Output) ..........................2 - 50
2-1-19 Command List .........................................................................................................................2 - 52
2-1-20 Measurement Trigger Input.....................................................................................................2 - 55
2-1-21 Command Response Processing............................................................................................2 - 56
2-1-22 Data Output.............................................................................................................................2 - 58
2-1-23 Timing Chart............................................................................................................................2 - 61
2-1-24 EtherCAT Troubleshooting ......................................................................................................2 - 65
2-1-25 Sysmac Error Status ...............................................................................................................2 - 67
2-1-26 Sysmac Device Features ........................................................................................................2 - 85
2-1-27 Object Dictionary.....................................................................................................................2 - 88
2-2 Communicating by PLC Link .......................................................................................... 2 - 127
2-2-1 Communications Processing Flow ........................................................................................2 - 127
2-2-2 Communications Settings .....................................................................................................2 - 129
2-2-3 Communications Module Settings (Startup Settings)............................................................2 - 130
2-2-4 Communication Specifications Settings ................................................................................2 - 132
2-2-5 Output Data Settings (Processing Item Registration) ...........................................................2 - 153
2-2-6 Setting Output Data (Numerical Values and Character Strings) ...........................................2 - 158
2-2-7 Testing Communications .......................................................................................................2 - 165
2-2-8 Memory Allocation.................................................................................................................2 - 169
2-2-9 I/O Signals.............................................................................................................................2 - 173
2-2-10 Output Items..........................................................................................................................2 - 176
2-2-11 Command List .......................................................................................................................2 - 177
2-2-12 Command Response Processing..........................................................................................2 - 181
2-2-13 Data Output...........................................................................................................................2 - 184
2-2-14 Timing Chart..........................................................................................................................2 - 186
2-2-15 PLC Link Troubleshooting.....................................................................................................2 - 189
2-3 Communicating by EtherNet/IP ......................................................................................2 - 192
2-3-1 Introduction to EtherNet/IP....................................................................................................2 - 192
2-3-2 Data Exchange with EtherNet/IP...........................................................................................2 - 193
2-3-3 EtherNet/IP Communications................................................................................................2 - 196
2-3-4 Communications Processing Flow ........................................................................................2 - 197
2-3-5 Communications Settings .....................................................................................................2 - 199
2-3-6 Communications Module Settings (Startup Settings)............................................................2 - 200
2-3-7 Communication Specifications Settings ................................................................................2 - 201
2-3-8 Setting Tag Data Link ............................................................................................................2 - 208
2-3-9 Output Data Settings (Processing Item Registration) ...........................................................2 - 213
2-3-10 Setting Output Data (Numerical Values and Character Strings) ...........................................2 - 218
2-3-11 Testing Communications .......................................................................................................2 - 225
2-3-12 Memory Allocation.................................................................................................................2 - 227
2-3-13 I/O Signals.............................................................................................................................2 - 237
2-3-14 Output Items..........................................................................................................................2 - 241
8
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
CONTENTS
2-3-15 Command List .......................................................................................................................2 - 242
2-3-16 Command Response Processing..........................................................................................2 - 246
2-3-17 Data Output...........................................................................................................................2 - 250
2-3-18 Timing Chart..........................................................................................................................2 - 252
2-3-19 Communicating with the Sensor Controller using EtherNet/IP Message Communications ..2 - 255
2-3-20 Example for Command Settings ...........................................................................................2 - 258
2-3-21 EtherNet/IP Troubleshooting.................................................................................................2 - 259
2-4 Communicating by PROFINET .......................................................................................2 - 262
2-4-1 Overview of PROFINET ........................................................................................................2 - 262
2-4-2 PROFINET Communications ................................................................................................2 - 265
2-4-3 Communications Processing Flow ........................................................................................2 - 266
2-4-4 Communications Settings .....................................................................................................2 - 268
2-4-5 Communications Module Settings (Startup Settings)............................................................2 - 269
2-4-6 Communication Specifications Settings ................................................................................2 - 270
2-4-7 IO Data Communication Settings..........................................................................................2 - 276
2-4-8 Output Data Settings (Processing Item Registration) ...........................................................2 - 278
2-4-9 Setting Output Data (Numerical Values and Character Strings) ...........................................2 - 282
2-4-10 Testing Communications .......................................................................................................2 - 289
2-4-11 Memory Allocation.................................................................................................................2 - 292
2-4-12 I/O Signals.............................................................................................................................2 - 298
2-4-13 Output Items..........................................................................................................................2 - 302
2-4-14 Command List .......................................................................................................................2 - 303
2-4-15 Command Response Processing..........................................................................................2 - 306
2-4-16 Data Output...........................................................................................................................2 - 309
2-4-17 Timing Chart.......................................................................................................................... 2 - 311
2-4-18 PROFINET Troubleshooting .................................................................................................2 - 314
2-5 Non-procedure Communications ................................................................................... 2 - 316
2-5-1 Communications Processing Flow ........................................................................................2 - 316
2-5-2 Communications Setup Procedures .....................................................................................2 - 317
2-5-3 Communications Module Settings (Startup Settings)............................................................2 - 317
2-5-4 Communications Specifications Settings ..............................................................................2 - 319
2-5-5 Output Data Settings (Processing Item Registration) ..........................................................2 - 324
2-5-6 Output Data Settings (Numerical Values/Character Strings) ................................................2 - 330
2-5-7 Testing Communications .......................................................................................................2 - 338
2-5-8 Output Items..........................................................................................................................2 - 341
2-5-9 Command Formats ...............................................................................................................2 - 343
2-5-10 Command List .......................................................................................................................2 - 345
2-5-11 Output Format .......................................................................................................................2 - 349
2-5-12 Non-procedure Communications Troubleshooting................................................................2 - 351
2-6 Parallel Communications ................................................................................................2 - 354
2-6-1 Communications Processing Flow .......................................................................................2 - 354
2-6-2 Communications Setup Procedures .....................................................................................2 - 356
2-6-3 Communications Module Settings (Startup Settings)............................................................2 - 357
2-6-4 Communications Specifications Settings .............................................................................2 - 358
2-6-5 Output Data Settings (Processing Item Registration) ...........................................................2 - 366
2-6-6 Output Data Settings (Numerical value/Judgment) ..............................................................2 - 372
2-6-7 Testing Communications .......................................................................................................2 - 378
2-6-8 I/O Signals.............................................................................................................................2 - 380
2-6-9 Output Items..........................................................................................................................2 - 391
2-6-10 Command Formats ...............................................................................................................2 - 393
2-6-11 Time Charts...........................................................................................................................2 - 397
2-6-12 Parallel Troubleshooting........................................................................................................2 - 410
Appendices
A-1 Command Control............................................................................................................... A - 2
A-1-1 Parameter Notation Examples for Command Control.............................................................. A - 2
A-1-2 Details of Commands Used in EtherCAT Communications ..................................................... A - 6
A-1-3 Command List .......................................................................................................................... A - 7
A-1-4 Command Details for PLC Link, EtherNet/IP, EtherCAT, and PROFINET ............................. A - 15
A-1-5 Non-procedure Command Details.......................................................................................... A - 84
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
9
CONTENTS
10
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Terms and Conditions Agreement
Terms and Conditions Agreement
Warranty, Limitations of Liability
Warranties
Exclusive Warranty:
Omron's exclusive warranty is that the Products will be free from defects in materials and workman­ship for a period of twelve months from the date of sale by Omron (or such other period expressed in writing by Omron). Omron disclaims all other warranties, express or implied.
Limitations:
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, ABOUT NONINFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OF THE PRODUCTS. BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. Omron further disclaims all warranties and responsibility of any type for claims or expenses based on infringement by the Products or otherwise of any intellectual property right.
Buyer Remedy:
Omron’s sole obligation hereunder shall be, at Omron’s election, to (i) replace (in the form originally shipped with Buyer responsible for labor charges for removal or replacement thereof) the non-com­plying Product, (ii) repair the non-complying Product, or (iii) repay or credit Buyer an amount equal to the purchase price of the non-complying Product; provided that in no event shall Omron be re­sponsible for warranty, repair, indemnity or any other claims or expenses regarding the Products un­less Omron’s analysis confirms that the Products were properly handled, stored, installed and main­tained and not subject to contamination, abuse, misuse or inappropriate modification. Return of any Products by Buyer must be approved in writing by Omron before shipment. Omron Companies shall not be liable for the suitability or unsuitability or the results from the use of Products in combination with any electrical or electronic components, circuits, system assemblies or any other materials or substances or environments. Any advice, recommendations or information given orally or in writing, are not to be construed as an amendment or addition to the above warranty.
See http://www.omron.com/global/ or contact your Omron representative for published information.
Limitation on Liability; Etc OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT, WARRANTY, NEGLIGENCE OR STRICT LIABILITY.
Further, in no event shall liability of Omron Companies exceed the individual price of the Product on which liability is asserted.
Application Considerations Warranties
Suitablity 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. At Buyer’s request, Omron will provide applicable third party certification documents identifying ratings
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
11
Terms and Conditions Agreement
and limitations of use which apply to the Product. This information by itself is not sufficient for a complete determination of the suitability of the Product in combination with the end product, ma­chine, system, or other application or use. Buyer shall be solely responsible for determining appropriateness of the particular Product with re­spect to Buyer’s application, product or system. Buyer shall take application responsibility in all cas­es. NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY OR IN LARGE QUANTITIES WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PROD­UCT(S) IS PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVER­ALL EQUIPMENT OR SYSTEM.
Programmable Products Omron Companies shall not be responsible for the user’s programming of a programmable Product, or any consequence thereof.
Disclaimers
Performance Data Data presented in Omron Company websites, catalogs and other materials is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of Omron’s test conditions, and the user must correlate it to actual application requirements. Actual performance is subject to the Omron’s Warranty and Limitations of Liability.
Change in Specifications Product specifications and accessories may be changed at any time based on improvements and other reasons. It is our practice to change part numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the Product may be changed without any notice. When in doubt, special part numbers may be assigned to fix or establish key specifications for your application. Please consult with your Omron’s represen­tative at any time to confirm actual specifications of purchased Product.
Errors and Omissions Information presented by Omron Companies has been checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical or proofreading errors or omissions.
12
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Safety Precautions
For details of Safety Precautions, refer to Safety Precautions in the Vision System FH/FHV Series User's Manual (Cat. No. Z365).
Safety Precautions
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
13
Precautions for Safe Use
Precautions for Safe Use
For details of Precautions for Safe Use, refer to Precautions for Safe Use in the Vision System FH/FHV Series User's Manual (Cat. No. Z365).
14
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Precautions for Correct Use
For details of Precautions for Correct Use, refer to Precautions for Correct Use in the Vision System FH/FHV Series User's Manual (Cat. No. Z365).
Precautions for Correct Use
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
15
Regulations and Standards
Regulations and Standards
For details of Regulations and Standards, refer to Regulations and Standards in the Vision System FH/FHV Series User's Manual (Cat. No. Z365).
16
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Related Manuals
The followings are the manuals related to this manual. Use these manuals for reference.
Name of Manual Cat. No.. Model Purpose Contents
Vision System FH Instruction Sheet
Vision System FH Instruction Sheet
Vision System FH-L Instruction Sheet
Smart Camera FHV Instruction Sheet
Smart Camera Lighting Module FHV-LTM Instruction Sheet
Smart Camera Lens Mod­ule FHV-LEM-S Instruction Sheet
Smart Camera High-Speed Lens Module FHV-LEM-H Instruction Sheet
FHV Series Smart Camera Setup Manual
9608337-2
3102269-4
9606631-1
3129404-0
3129276-4
3128622-5
3129408-2
Z408
FH-1£££ FH-1£££-££ FH-3£££ FH-3£££-££
FH-2£££ FH-2£££-££ FH-5£££ FH-5£££-££
FH-L£££ FH-L£££-££
FHV7£-£££££-C
FHV-LTM££
FHV-LEM-S££
FHV-LEM-H££
FHV7£-£££££-C FHV7£-£££££-S££ FHV7£-£££££-S££-£
£
FHV7£-£££££-H££ FHV7£-£££££-H££-£
£
To confirm the safety and usage precau­tions of the Vision System FH series Sensor Controller.
To confirm the safety and usage precau­tions of the Vision System FH series Sensor Controller.
To confirm the safety and usage precau­tions of the Vision System FH-Lite ser­ies Sensor Control­ler.
To confirm the safety and usage precau­tions of the Smart Camera FHV7 ser­ies.
To confirm the safety and usage precau­tions of the Smart camera lighting mod­ule FHV-LTM.
To confirm the safety and usage precau­tions of the Smart camera lens module FHV-LEM-S.
To confirm the safety and usage precau­tions of the Smart camera high-speed lens module FHV­LEM-H.
When User want to know about the hard­ware specifications or to setup the Smart camera FHV series.
Describes the definitions of basic terms, meaning of signal words, and precautions for correct use of FH series in the manual.
To confirm the safety and usage pre­cautions of the Vision System FH series Sensor Controller.
Describes the definitions of basic terms, meaning of signal words, and precautions for correct use of FH-L series in the manual.
Describes the definitions of basic terms, the meaning of signal words, and precautions for correct use of FHV7 series in the manual.
Describes the definitions of basic terms, the meaning of signal words, and precautions for correct use of the lighting module FHV-LTM in the manual.
Describes the definitions of basic terms, the meaning of signal words, and precautions for correct use of the lens module FHV-LEM-S.
Describes the definitions of basic terms, the meaning of signal words, and precautions for correct use of the high-speed lens module FHV­LEM-H.
Describes FHV series specifications, dimensions, part names, I/O infor­mation, installation information, and wiring information.
Related Manuals
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
17
Related Manuals
Name of Manual Cat. No.. Model Purpose Contents
Vision System FH/FHV Series User's Manual
Vision System FH/FHV series Processing Item Function Reference Manual
Vision System FH/FHV Series User's manual for Commu­nications Settings
Vision System FH series Hardware Setup Manual
Vision System FH series Macro Customize Func­tions Programming Manual
Vision System FH/FHV Series Operation Manual for Sysmac Studio
Z365
Z341 When User confirm
Z342 When User confirm
Z366
Z367 When User operate
Z343
FH-1£££ FH-1£££-££ FH-2£££ FH-2£££-££ FH-3£££ FH-3£££-££ FH-5£££ FH-5£££-££ FH-L£££ FH-L£££-££ FHV7£-£££££-C FHV7£-£££££-S££ FHV7£-£££££-S££-£
£
FHV7£-£££££-H££ FHV7£-£££££-H££-£
£
FH-1£££ FH-1£££-££ FH-2£££ FH-2£££-££ FH-3£££ FH-3£££-££ FH-5£££ FH-5£££-££ FH-L£££ FH-L£££-££
FH-1£££ FH-1£££-££ FH-2£££ FH-2£££-££ FH-3£££ FH-3£££-££ FH-5£££ FH-5£££-££ FHV7£-£££££-C FHV7£-£££££-S££ FHV7£-£££££-S££-£
£
FHV7£-£££££-H££ FHV7£-£££££-H££-£
£
When User want to know about the FH/FHV series.
the details of each processing items at the create the meas­urement flow or op­erate it.
the setting of com­munication functions.
When User want to know about the Hard-ware specifica­tions or to setup the Sensor Controller of the Vision System FH series.
or programming us­ing Macro Customize functions.
When User connect to NJ/NX series via EtherCAT communi­cation.
Describes the soft functions, setup, and operations to use FH/FHV ser­ies/
Describes the software functions, settings, and operations for using FH/FHV series.
Describes the functions, settings, and communications methods for communication between FH/FHV series and PLCs. The following communications proto­col are described. Parallel, PLC Link, EtherNet/IP, EtherCAT, and Non-procedure.
Describes FH series specifications, dimensions, part names, I/O infor­mation, installation information, and wiring information.
Describes the functions, settings, and operations for using Macro Cus­tomize function of the FH series.
Describes the operating procedures for setting up and operating FH/FHV series Vision Sensors from the Sys­mac Studio FH/FHV Tools.
18
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Revision History
Cat. No. Z342-E1-12
Revision code
A manual revision code appears as a suffix to the catalog number on the front and back covers of the manual.
Revision History
Rev. Code Rev. Date Revision Contents
01 Jul. 2013 First edition Ver. 5.00
02 Aug. 2013 Additions for software version upgrade Ver. 5.10
03 Sep. 2013 Additions for software version upgrade Ver. 5.12
04 Jan. 2014 Additions for software version upgrade Ver. 5.20
05 Jun. 2014 Additions for software version upgrade Ver. 5.30
06 Oc. 2015 Additions for software version upgrade Ver. 5.50
07 Apr. 2016 Additions for software revision upgrade and descrip-
tion of FH-L series
08 Mar. 2017 Corrected mistakes.
Additions for software revision upgrade
09 Jun. 2017 Additions for software version upgrade Ver. 5.72
10 Jul. 2018 Additions for software version upgrade Ver. 6.10
11 Nov. 2018 Additions for software version upgrade Ver. 6.20
12 Jun. 2019 Additions for software version upgrade Ver. 6.30
Software Ver-
sion
Ver. 5.60
Ver. 5.71
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
19
Revision History
20
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Sections in This Manual
1
2
A
I
1
2
A
I
Overview
Methods for Connecting and Communicating with External Devices
Appendices
Index
Sections in This Manual
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
21
Sections in This Manual
22
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Overview
This section describes communication specifications to be used for communications between FH/FHV and an external device, and the Sensor Controller control methods.
1-1 Introduction ..................................................................................................1 - 2
1-2 Confirming the System Configuration .......................................................1 - 3
1-3 Communicating with an External Device................................................... 1 - 4
1-4 Control Methods Using an External Device............................................. 1 - 13
1-5 Setting Procedures for Communications ................................................1 - 28
1-6 Differences in Specifications Based on the Communications Pro-
1
1-2-1 System Configuration ................................................................................... 1 - 3
1-3-1 Basic Control Operations of the Sensor Controller....................................... 1 - 4
1-3-2 Communications between the Sensor Controller and an External Device ... 1 - 5
1-3-3 Control Methods for the Sensor Controller ................................................... 1 - 7
1-3-4 Communication Protocols for Communicating with the Sensor Controller ... 1 - 9
1-3-5 Saving Sensor Controller Data to an External Device .................................1 - 11
1-4-1 Control with Control Signals and Status Signals ........................................ 1 - 13
1-4-2 Command/Response Method ..................................................................... 1 - 16
1-4-3 Data Output after Measurements ............................................................... 1 - 17
1-5-1 Communications Setup Procedures ........................................................... 1 - 28
1-5-2 Communications Protocols and Communications Modules........................ 1 - 29
tocol.............................................................................................................. 1 - 31
1-6-1 List of Supported Signals by Communications Protocol ............................. 1 - 31
1-6-2 Restrictions when Using Different Communication Protocols Simulta-
neously ........................................................................................................ 1 - 33
1-6-3 Restrictions in Communication Protocols by Operation Mode.................... 1 - 33
1-6-4 Models being Compatible with Communication Protocol............................ 1 - 34
1
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
1 - 1
1 Overview
1-1
Introduction
This section describes a basic overview of the Sensor Controller control methods and the communica­tion specifications, which is required when the FH/FHV series communicate with an external device.
Confirming the System Configuration
This section describes the external device configuration that is required to perform measurement processing with the FH/FHV. For details, refer to 1-2 Confirming the System Configuration on page 1 - 3.
Communicating with an External Device
This section describes the basic operations of the Sensor Controller, and the communication specifications be­tween the Sensor Controller and an external device. For Basic Flow of Communications and Signals, refer to 1-3-1 Basic Control Operations of the Sensor Control- ler on page 1 - 4
Process from Starting Measurements at the Sensor Controller to Data Output:
For details, refer to 1-3-2 Communications between the Sensor Controller and an External Device on page 1 - 5.
Sensor Controller Control Methods (Control Signals, Commands, etc.)
For details, refer to 1-3-3 Control Methods for the Sensor Controller on page 1 - 7.
Types of Communication Protocols for Communicating with the Sensor Controller
For details, refer to 1-3-4 Communication Protocols for Communicating with the Sensor Controller on page 1 - 9.
Moving Data between the Sensor Controller and an External Device
For details, refer to 1-3-5 Saving Sensor Controller Data to an External Device on page 1 - 11.
Control Methods Using an External Device
This section describes the methods that you can use to control the Sensor Controller from an external device.
Control with Control Signals and Status Signals
For details, refer to 1-4-1 Control with Control Signals and Status Signals on page 1 - 13.
Command/Response Method
For details, refer to 1-4-2 Command/Response Method on page 1 - 16.
Data Output after Measurements
For details, refer to 1-4-3 Data Output after Measurements on page 1 - 17.
Setting Procedures for Communications
This section describes the procedures that are required to set up communications before starting communica­tions between the Sensor Controller and an external device. For details, refer to 1-5-1 Communications Setup Procedures on page 1 - 28.
Differences in Specifications Based on the Communications Protocol
This section describes the types and differences of communication protocols that are used for communications with the Sensor Controller. For details, refer to 1-5-2 Communications Protocols and Communications Modules on page 1 - 29.
1 - 2
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Sensor Controller
External device (e.g, PLC)
Camera
1 Overview
1-2 Confirming the System Con-
1-2
1-2-1
Confirming the System Configuration
The FH/FHV are Vision Systems that perform measurement processing through the Sensor Controller on measurement objects imaged by a Camera. In a system configuration connected to an external device such as a PLC or a PC (personal comput­er), measurement commands can be received from and measurement results can be output to the ex­ternal device.
System Configuration
An overview of the FH/FHV series system configuration is shown below.
figuration
1
1-2-1 System Configuration
The Sensor Controller and an external device (PLC, etc.) are connected with a communication cable and communicate with each other using various communication protocols. For details of various com­munication protocols, refer to Section 2 Methods for Connecting and Communicating with External Devices on page 2 - 1. An LCD monitor (BOX type only) for operation and monitoring and a camera are connected to the Sensor Controller unit. For details, refer to Vision System FH Series User's Manual (Cat. No. Z365), Smart Camera FHV Series Setup Manual (Cat. No. Z408), and the Instruction Manual provided with each individual device.
Communications Protocol Communication Cable
Parallel Parallel I/O cable
PLC Link
EtherNet/IP Ethernet cable
EtherCAT Ethernet cable
PROFINET Ethernet cable
Non-procedure
Ethernet cable
RS-232C cable
Ethernet cable
RS-232C cable
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
1 - 3
Trigger sensor
PLC
External device
External device
PLC
The measurement results are output.
• Status signals
• Overall judgement
• Measured values
• Character output
Sensor Controller
Measurement triggers and other control commands are input.
1 Overview
1-3
1-3-1
Communicating with an External De­vice
This section describes the communication specifications, control methods in communications, and set­tings required before starting communications with an external device.
Basic Control Operations of the Sensor Controller
The following figure shows basic communications, and the flow of signals and data, between an exter­nal device and the Sensor Controller.
1 - 4
The following methods are used to exchange commands and data, between an external device and the Sensor Controller.
From an external device to the Sensor Controller
Type Description
Control signals (Input signal)
Control commands
Communications command input
From the Sensor Controller to an external device
Type Description
When the Sensor Controller recognizes a control signal or communication command in-
Status signals
Overall judgment
Measured values
put and starts measurement processing, it reports its status to the external device using status signals such as a BUSY signal. For details, refer to Control Signals and Status Signals on page 1 - 13.
NG is output whenever there is one or more NGs in the judgment results for multiple processing items. It can be output using the OR signal or the TJG output parameter. For details, refer to Control Signals and Status Signals on page 1 - 13.
The measured values for processing items are output. The items to be output need to be previously registered to the output data (data 0 to 7) using processing items for output. For details, refer to Settings Required for Data Output on page 1 - 21.
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
A measurement is performed when a measurement trigger (i.e., STEP signal: ON) is input. For information of control signals, refer to Control Signals and Status Signals on page 1 - 13.
You can send commands to perform measurements, switch scene groups, or perform other tasks. The communication commands depend on the communication protocol used. For details, refer to the section for each communication protocol.
Type Description
PLC or other external device
Camera Input
Search
Output Unit
Measurement
flow
Sensor Controller
Communications
Module
Communications processing
Example: Starting a measurement, etc.
Response
Data output request (DSA signal)*1
Result Completion signal (GATE signal)*1
(1) Command
Communications processing
(2) The data at this
point is output to the Communications Module.
An Output Unit processing item is required to perform data output. (Multiple Output Unit items can be used.)
(3) Data
output
Character output
1 Overview
This is valid in PLC Link and Non-procedure communications protocols. You can output character strings and numbers read by processing items such as Charac­ter Inspection, Barcode, or 2D Code. You can also use commands to acquire them after a measurement is performed. For details, refer to Items that can be Output as Output Data on page 1 - 19.
1-3 Communicating with an Ex-
ternal Device
1-3-2
Additional Information
You can also use the FTP server to obtain logged image files and logged data files saved in the FH/FHV (including external storage) from a FTP client such as web browser.
Communications between the Sensor Controller and an External Device
Communications between the Sensor Controller and an external device are performed as shown be­low. Here, describe how to start measurement with a communication command and to output data.
1
1-3-2 Communications between the Sensor Controller and an External Device
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
(1) When the Sensor Controller receives a command from an external device such as a PLC, it performs the
(2) The measured data is output via the Communication module by the Output Unit (an abbreviation for
(3) The measurement data is output when the Output Unit is performed and not when the measurement is
command and returns a response.
Results Output Unit) placed in the measurement flow.
completed.
*2
1 - 5
1 Overview
*1 When output control is set to handshaking (data output is controlled by the DSA and GATE signals).
*2 When handshaking is performed in the output control, the measurement data is held in the Communica-
For details, refer to Control Signals and Status Signals on page 1 - 13.
tion module until a data output request (DSA signal) is received from the external device. For details, refer to Data Output Control with Handshaking on page 1 - 25.
Precautions for Correct Use
To output data, you must place an Output Unit processing item in the measurement flow. You can place multiple Output Unit processing items in the measurement flow. For details, refer to Settings Required for Data Output on page 1 - 21.
1 - 6
FH/FHV Series Vision System User's manual for Communication Settings (Z342-E1)
Loading...
+ 617 hidden pages