background image

Confidential C 

AST*-****** 

 

 

 

 

 

 

 

 

ZW Series 

 

 

 For EtherCAT 

BECKHOFF PLC

 Vision Sensor 

Start-up Guide 

 

Rev.A 

 

 

 

 

 

 

 

 

 

OMRON Corporation 

Application Sensors Division 

Development Department 

 

 

 

 

Summary of Contents for XS5W-T421-MC-K Series

Page 1: ...Confidential C AST ZWSeries ForEtherCAT BECKHOFFPLC VisionSensor Start upGuide Rev A OMRON Corporation Application Sensors Division Development Department...

Page 2: ...2 Equipment configuration 5 3 Start up procedure 7 3 1 Start up procedure 7 3 2 Prerequisite 8 4 Configuration of EtherCAT 9 4 1 Hardware configuration of ZW 10 4 2 Setting of TwinCAT 11 4 3 Confirmat...

Page 3: ...thout a previous notice for the factors of this start up guide for the improvement Please acknowledge it beforehand About the copyright and the trademark EtherCAT is registered trademark and patented...

Page 4: ...method of FQ M measurement items Setting method and manner of operation ladder program with Twin CAT PLC Control Communication command using EtherCAT Reference What is EtherCAT EtherCAT is a super hig...

Page 5: ...rce not found Error Reference source not found 2 1 2 Object reader This material connects displacement sensor ZW with positional control NC unit with EtherCAT and targets wanting do the measurement pr...

Page 6: ...Model Version EtherCAT Communication cable 1 RJ45 RJ45 XS6W 6LSZH8SS CM Y XS5W T421 MD K EtherCAT Communication cable 1 M12 RJ45 M12 L RJ45 XS5W T421 MC K XS5W T422 MC K 1 EtherCAT Communication cable...

Page 7: ...rror Reference source not found 4 Peripheral Name Model Version TwinCAT 2 11 R3 Build 2238 PLC unit Beckhoff Name Model Version Basic CPU Module CX1030 0123 DVI USB CX1030 N010 Ethernet 2 CX1030 N000...

Page 8: ...ial has described the start up procedure when the following equipment configuration is assumed to be an example PC TwinCAT ZW Precautions for correct use There are times when it does not work by the n...

Page 9: ...Power input method When using the TwinCAT ESI file for ZW will be required separately Please download from the following website http www fa omron co jp member product tool 23 esi index htm FQ M Sens...

Page 10: ...set up confirmation to use the EtherCAT function Confirmation of ZW and TwinCAT System Manager Reference This document is described for instructions on how to connect to establish communication It is...

Page 11: ...a load Precausions for safe use If you are used to connect to the actual device you can read the user s manual etc please be sure to familiarize information knowledge of equipment safety all of the N...

Page 12: ...ice Installation Please refer to each hardware manual User s Manual Connection Please refer to each hardware manual User s Manual 4 1 Hardware configuration of ZW Configure the hardware switch on the...

Page 13: ...ume of ZW and then set the node address The example in this document use the 01 Precausions for correct use The operation of the EtherCAT address setup volume please operate the power is turned OFF st...

Page 14: ...rCAT driver software Install the EtherCAT network adapter driver to use Please install this procedure only once on a computer to use Depending on the system configuration please set the following step...

Page 15: ...staller of TwinCAT 1 2 Select the language After select click Weiter button It will be described in Englisch is selected at the time or later 3 Message screen language selection is displayed Click Nex...

Page 16: ...5 Enter the User Name and Company Name After entering click Next button 6 Select the installation level Select TwinCAT NC PTP PTP Motion Control and then click Next button 7 Select the type After sel...

Page 17: ...nstall After selecting click Next button There is no need to change the content check 9 Select folder where setup will install files After selecting click Next button 10 Select a program folder After...

Page 18: ...ow to add the ESI file 1 Add ZW for ESI file 1 at TwinCAT Io EtherCAT folder 2 Please add the latest version of ESI file 1 You can get the latest version of ESI file from the following website http ww...

Page 19: ...nu 2 After starting the menu Options select the Show Real Time Ethernet Conpatible Devices 3 Driver installation screen appears Select the network adapter that you want to use and then click Install b...

Page 20: ...Confidential C AST Error Reference source not found Error Reference source not found 17...

Page 21: ...of 2 2 1 Equipment configuration Change to Config mode 1 Mode display of the lower right of the screen status bar is Config Mode please go to 2 2 Select I O Devices in I O Configuration click the arr...

Page 22: ...r 1 Scan the box ZW that is connected to the EtherCAT Select I O Devices in I O Configuration select the Scan Devices from the right click and then run the scan 2 Click the dialog OK button 3 Select t...

Page 23: ...Confidential C AST Error Reference source not found Error Reference source not found 20 5 The scan is finished Box is detected in the tree list is displayed 6 Click the dialog Yes button...

Page 24: ...nce source not found 21 Setting the tasks and link 1 Generate a task Select Additional Tasks in the SYSTEM Configuration select the Append Task from the right click 2 Click the dialog OK button 3 Task...

Page 25: ...source not found 22 4 Select Inputs that you added in the Additional Tasks click Insert Variable from the right click 5 Select the DWORD of the dialog Variable Type and then click OK button 6 Inputs v...

Page 26: ...Reference source not found 23 7 Dialog is displayed Select one of the variables of the dialog Box xx and then click the OK button Select the location of the other if the cursor is already 8 What you...

Page 27: ...found 24 To conduct and enable check of settings and then change the RUN Mode 1 Specify the variable that has been generated you can run the Generate mappings click the arrow icon 2 Run Check configu...

Page 28: ...5 4 Click the dialog OK button 5 Click the dialog OK button 6 Specify the Box to connect and then select the Online tab 6 If there is not problems of the settings the display of Current State Requeste...

Page 29: ...Confidential C AST Error Reference source not found Error Reference source not found 26 Save the project you created 1 The menu File Select Save as make the file save...

Page 30: ...PLC and ZW Equipment configuration is of 2 2 1 Equipment configuration Select the target 1 Start the TwinCAT System Manager from the Start Menu Specify SYSTEM Configuration and then select Choose Targ...

Page 31: ...t Name IP You can verify the IP address in the PLC by manipulating the Windows screen of the PLC using DVI monitor USB mouse a USB keyboard 4 Detailed information is displayed Select IP Address button...

Page 32: ...Confidential C AST Error Reference source not found Error Reference source not found 29 7 Click OK button while selecting added the NetID 8 Click Yes button...

Page 33: ...Reference source not found 30 Recognize the ZW 1 Make sure the bottom right of the screen if the RUN mode and then change the Config mode 2 Select SYSTEM Configuration and then click the arrow button...

Page 34: ...ZW that is connected to the EtherCAT Select I O Devices in I O Configuration select the Scan Devices from the right click and then run the scan 2 Click the dialog OK button 3 List of devices that can...

Page 35: ...or Reference source not found Error Reference source not found 32 5 Click the dialog Yes button 6 Click the dialog Yes button 7 Scan is completed the box discovered displayed in the tree list 8 Click...

Page 36: ...erence source not found 33 Setting the tasks and link 1 Generate a task Select Additional Tasks in the SYSTEM Configuration select the Append Task from the right click 2 Later do the same as 3 Setting...

Page 37: ...check of settings and then change the RUN Mode 1 Specify the variable that has been generated you can run the Generate mappings click the arrow icon 2 After changing the settings later do the same as...

Page 38: ...Error Reference source not found Error Reference source not found 35 3 If you want to Run mode in the previous settings please run the Set Reset TwinCAT to Run Mode Run Set Reset TwinCAT to Run Mode c...

Page 39: ...Confidential C AST Error Reference source not found Error Reference source not found 36 Save the project you created 1 The menu File Select Save as make the file save...

Page 40: ...Box ZW you want to read the data As an example and then select the xx th transmit PDO mapping Example shown on the right has become a captured image of FH but should read the ZW 2 Click the check the...

Page 41: ...Confidential C AST Error Reference source not found Error Reference source not found 38 4 Select the Add To Watch from the right click 5 Status is displayed at the bottom of the window...

Page 42: ...the xx th receive PDO mapping Example shown on the right has become a captured image of FH but should read the ZW 2 Click the check the details of 261th receive PDO mapping Select the variable of the...

Page 43: ...ce not found 40 4 Select the Online Write from the right click 5 Set Value Dialog dialog box is displayed Enter the value you want to write and click OK button Write 1 In the above example this means...

Page 44: ...tion of EtherCAT communication status You can confirm the EtherCAT communication status using TwinCAT 1 Specify the Box to connect and then select the Online tab 2 If there is not problems of the Ethe...

Page 45: ...nication status by ZW s LEDs 1 Make sure the LED on the ZW sensor controller LED status at the normal time is as follows Connection state only IN connector L A IN Green lit EtherCAT Device Connected o...

Page 46: ...Controller for Fiber Coaxial Displacement Sensor ENG JPN Instruction Sheet Z332 ZW CE1 T Confocal Fiber Type Displacement Sensor User s Manual P538 ZW CE1 Displacement Sensor Confocal Fiber Type NJ s...

Page 47: ...e cautions The cautions with the indications describe the important contents for safety Even items described in note because it may lead to serious results depending on the situation please must be ob...

Page 48: ...Confidential C AST 7 Revison history Figure Time Revision history 2013 11 20 Preliminary version A Kari 2013 12 3 Parallel notation of Japanese and English A 2013 12 3 English version...

Page 49: ...Confidential C AST...

Reviews: