Home
EtherNet/IP Connection Guide for FZ5 Series for CJ2 CPU
Contents
1. Timeout Value Packet Interval RPI x 4 Connection Structure Target Device Node Address 192 168 250 2 Comment FZ Series Output Tag Set Input_101 48Byte Input Tag Set Output _100 20Byte ion Name Connecti Possible to omit 49 192 168 250 1 CJ2M EIP21 35 7 EtherNet IP Connection Procedure The Edit Device Parameters 1 Dialog Box is displayed again Click the OK Button Unregister Device List Connections 2 32 0 2 T 0 lt EJ Register Device List Product Name 192 168 250 1 CJ2M EIP21 Variable Target Variable 4 ys default_001 Input D10100 Input_101 default_001 Output D10000 Output 0 Grange Target Node 8 When the connection setting is completed the registered node address is displayed under the device icon of node 2 on the Network Configuration Pane 36 7 EtherNet IP Connection Procedure 7 4 4 Transferring the Tag Data Link Parameters 1 Right click the device icon of Transfer the set tag data link parameters to the PLC Parameter Edit node 1 on the Network 192 168 a Monitor Configuration Pane and select E Parameter Download To Reset td Open sal Save as Maintenance Information 6 Upload Register to other Device Download External Data The dialog box on the right is Network Configurator displayed Confi
2. ff 1900 Inn dy 0000 Main Unit Comment Ey PAE Unit Setup FF 0000 Rack 0000 Rack Save Parameters 2 Click the Restart Button on the Edit Parameters Dialog Box CJ2M EIP21 Edit Parameters TCP IP Ethemet FINS UDP FINS TCP FTP Auto Adjust Time Status Area SNMP SNMP Trap Not use DNS f Use DNS IP Address Primary DNS Server Sub net Mask 7 Secondary DNS Server 0 0 0 0 Defaut Gateway D l Domein Name D Get IP address from the BOOTP server The BOOTP setting is valid only for next unit IP Router lable restart power restoration Then the BOOTP setting will be cleared The obtained IP address will be automatically Gateway Address Insert saved as system setting in the unit Broadcast All 1 4 3BSD C All 0 4 2BSD Transter Unit to PC Transter PC to Unit Compare Set Defaults 3 A confirmation dialog box on the right is displayed Confirm that there is no problem and 43 8 Initialization Method click the Yes Button On the Restart Unit Dialog Box select the Return to out of box configuration and then emulate cycling power Option and click the OK Button A complete dialog box is displayed Check the contents and click the OK Button Restat Type C Emulate cycling power 8 1 2 CPU Unit To initialize the settings of the CPU Unit select Clear All Memory Areas from the PLC Menu of the CX Programmer On the Conf
3. short cut keys the devices connected to Output Units may malfunction regardless of the operating mode of the CPU Unit 1 Confirm that the PLC is in Program Mode Z x NewProject If the PLC is not in Program Mode om NewPLC1 CJ2iQ Stop Program Mode change to Program Mode by Ty Data Types referring to step 1 of 7 3 3 Setting the IP Address 2 select Edit Memory from the PLC Menu Work Online Ctrl W P hi 5 0 Auto Online k gt 7 IIE Operating Mode F i Monitor Compile All PLC Programs F7 l Program Check Options Program Assignments Memory Allocation Transfer i Partial Transfer Protection Clear All Memory Areas Information Change Model gT VO Table and Unit Setup Change Communication Settings fa Settings a Memory Card lu Data Trace E Memory Cassette DM Time Chart Monitoring Reset CPLL Built in Ethernet Port Force Set EB Error Log Expansion Instructions Memory Clock 40 3 Double click D from the list in the PLC Memory Window that is displayed 4 Select Display Binary from the View Menu 5 Select Monitor from the Online Menu 6 The Monitor Memory Areas Dialog Box is displayed Confirm that the D Check Box is selected and click the Monitor Button 7 Enter 70000 in the Start Address Field in the D Window Confirm that the start address was changed to D10000 7 EtherNet IP
4. 8 ss i ee 1 4 eo 2 Select Auto Online Direct Online from the PLC Menu E CP1L Ethernet Online T EtherNet IP Node Online 3 The Direct Online Dialog Box is displayed Select the USB connection Option for Connection Type and click the Select connection type and press Connect button Connect Button Connection Type 7 Serial connection falso when using US6 Seral conversion cable Seral port of PE com Connects at baud rate 115 200 bps f USB connection nnection will automatically be made to the PLC connected directly to PC via USB cable lease select Serial connection when using US8 Seral conversion 4 The dialog box on the right is displayed Check the contents re and click the No Button Do you wish to transfer program from the PLC after onlined automatically i CX Program l Transfer l0 table and Special Unit Setup 5 The dialog box on the right is 7 EtherNet IP Connection Procedure _ Auto Online Searching displayed and the CX Programmer and the PLC are automatically connected PLC CJ2 CP NSJ Series Communication LSB Settings Protocol USB Confirm that the CX Programmer and the PLC are normally connected online I Edit View Insert PLC Program Simulation Tools Window Help D oe m IONE The E icon is pressed down during online connection Additional Information If an online connection cannot be made to the PLC
5. ccccccccsssssseeeeeeeeeeeeeseeeeeees 44 9 Revision svat 45 1 Related Manuals 1 Related Manuals The table below lists the manuals related to this document To ensure system safety make sure to always read and heed the information provided in all Safety Precautions Precautions for Safe Use and Precaution for Correct Use of manuals for each device which is used in the system W472 CJ2H CPU6 EIP CJ series CJ2 CPU Unit Hardware User s Manual CJ2H CPU6 CJ2M CPU W473 CJ2H CPU6 EIP CJ series CJ2 CPU Unit Software User s Manual CJ2H CPU6 CJ2M CPUJ W465 CJ1W EIP21 EtherNet IP Unit Operation Manual CJ2H CPU6J EIP CJ2M CPU3 W446 CX Programmer Operation Manual 9524420 4 0 Image Processing System Instruction Sheet FZ5 110 110 10 9910002 2 FZ5 L35 L35 10 Image Processing System Instruction Sheet Z340 FZ5 L35 Vision Sensor FH FZ5 Series Vision System User s Manual Z341 FZ5 L35 Vision Sensor FH FZ5 Series Vision System Processing ltem Function Reference Manual Z342 FZ5 L35 Vision Sensor FH FZ5 Series Vision System User s Manual Communications Settings 2 Terms and Definitions 2 Terms and Definitions Term Node Tag Tag set Tag data link Connection Originator and Target Tag data link parameter EDS file Explanation and Definition Controllers and devices are connected to the EtherNet IP network via the EtherNet IP ports The EtherNet IP recognize
6. check the cable connection Or return to step 2 check the settings and repeat each step Refer to Connecting Directly to a CJ2 CPU Unit Using a USB Cable in Chapter 3 Communications in PART 3 CX Server Runtime of the CX Programmer Operation Manual Cat No W466 for details Additional Information The dialog boxes explained in the following procedures may not be displayed depending on the environmental setting of CX Programmer For details on the environmental setting refer to Options and Preferences in Chapter 3 Project Reference in PART 1 CX Programmer of the CX Programmer Operation Manual Cat No W446 This document explains the setting procedure when the Confirm all operations affecting the PLC Check Box is selected 7 EtherNet IP Connection Procedure 7 3 3 Creating the I O Table and setting IP Addresses 1 Create the I O table and set the IP address of the PLC the operating mode of the PLC i S RUN M 0 0 eor M onit or M 0 0 e File sa Insert Sea Simulation Help change it to Program Mode by wie sl a ae E D as ry 6 g NOM a i Cl m A FA 3 ES Monitor d Debug Ctrl 1 Select Operating Mode e a Compile AlI PLC Programs al a Ctrl 3 Program from the PLC Menu Program Check Options ve Bun Ctrl 4 of the CX Prog rammer 2 I Data Types Program Assignments 9 Symbols Memory Allocation b 2 The dialog box on the right is displayed Confirm that there is no probl
7. refer to A 5 Installing the USB Driver of the CJU series CU2 CPU Unit Hardware User s Manual Cat No W472 6 EtherNet IP Settings 6 EtherNet IP Settings This section describes the specifications such as communication parameters and tag data link that are set in this document 6 1 EtherNet IP Communications Parameters The communications parameter required connecting the PLC and the FZ5 Sensor Controller via EtherNet IP is given below PLC EtherNet IP Unit FZ5 Sensor Controller node 1 node 2 Unit number IP address 192 168 250 1 192 168 250 2 Subnet mask 255 255 255 0 255 255 255 0 Allocating the Tag Data Links 6 2 The tag data links are allocated for the FZ5 Sensor Controller as shown below Output area Input area D10000 PLC to D10100 FZ5 Sensor Controller to FZ5 Sensor Controller PLC D10009 20 bytes D10123 48 bytes EN Additional Information For details on the control output command codes and response codes refer to Memory Allocation in Section 2 Methods for Connecting and Communicating with External Devices Communicating with EtherNet IP of the Vision Sensor FH FZ5 Series Vision System User s Manual Communications Settings Cat No Z342 6 EtherNet IP Settings Details on output area 510100 EROLA XEXE output poroi A wors D10102 Command code CMD CODE D10103 2 words D10104 D10105 Command D10106 CMD PARAM parameter
8. Connection Procedure File Edit View Grid Online Window Help aR see as sal gt a delal hangeOrder Forcel Force 000000 Program Always On Top Toolbars Status Bar gt 3 3 lt _ Data Area WorkSpace E3 Display 7 Binary Zoom In Ctrl PgDn Binary Coded Decimal Zoom Out Ctrl PgUp 100 Decimal signed Decimal Floating point Resize Columns Hexadecimal Preferences Online Window Help Transfer To PLC Transfer From PLC Compare With PLC Monitor Neono fo o o fo 0 o fo fo o o o fo T Bl wwe ees eee eee Ee pe ee ee 41 8 10 11 Select bits 12 and 4 of 210002 and bit 4 of D10003 and then click the On Button After turning them ON the values change to 1 Then turn ON bit 0 of D10000 D10002 and D10003 are an area for a command code and contain 00101010 Hex Measurement command Bit 0 of D10000 is a command execution EXE flag After the measurement is completed OK is displayed on the dialog box Enter 70700 in the Start Address Field in the D Window Confirm that the start address was changed to D10100 Confirm that values of DM10102 to DM10105 are set as shown on the right 0
9. D10107 6 words max D10108 D10109 EXE Command Request Bit Turned ON to execute a command STEP Measure Bit Turned ON to execute a measurement XEXE Flow Command Request Bit Turned ON to request execution of a command during execution of fieldbus flow control ERCLR Error Clear Bit Turned ON to clear the Error Status bit DSA Data Output Request Bit Turned ON to request data output 6 EtherNet IP Settings Details on input area Bit i i fRunfor E ausy FUG Contra output Doro ca D10102 Command code CMD CODE D10103 2 words D10104 Response code RES CODE D10105 2 words D10106 Response data RES DATA D10107 2 words D10108 DATA Output data 0 D10109 D10110 DATA1 Output data 1 D10111 D10112 DATA2 Output data 2 D10113 D10114 DATA Output data 3 D10115 D10116 DATA Output data 4 D10117 D10118 DATA5 Output data 5 D10119 D10120 DATA6 Output data 6 D10121 D10122 DATA Output data 7 D10123 FLG Command Completion Bit Turned ON when command execution is completed BUSY Command Busy Bit Turned ON when command execution is in progress OR Overall Judgement Bit Turned ON when the overall judgement is NG RUN Run Mode Bit Turned ON while the Sensor Controller is in Run Mode XFLG Flow Command Completion Bit Turned ON when execution of a command that was input during the execution of fieldbus flow control has been completed i e when XBUSY turns OFF XBUSY
10. again Click the Close Button 31 7 EtherNet IP Connection Procedure 7 Select the Out Produce Tab and click the New Button Here register the data sent from node 1 to node 2 Usage Count 1732 Total Size 20 1280 8 The Edit Tag Dialog Box is displayed Enter the following Name D10000 Start address Size 2 Byte of the output data from node 1 Z Use Bit Data Size 20 Byte Over Load After entering click the Regist Disable Enable Button 9 The Edit Tag Dialog Box is displayed again Click the Close Button 32 7 EtherNet IP Connection Procedure 10 When you finish the registration click the OK Button on the Edit Tag Dialog Box Name 010000 Usage Count fae 4 Total Size 68 1280 11 The dialog box on the right is displayed Confirm that there is nd click the Y j no problem and click the Yes A The new Tags will be registered as Tag sets Button 12 The Edit Device Parameters Dialog Box is displayed again Select the Connections Tab D10100 33 7 EtherNet IP Connection Procedure 7 4 3 Setting the Connection Associate the tags of the target device that receives the open request with the tags of the originator that requests opening 1 Select 192 168 250 2 in the wees o Unregister Device List Field 7 Series Click the Down Arrow Button that is shown in the dialog box FZ Ser
11. box on the right is displayed Check the contents and click the Yes Button When the Unit is restarted the dialog box on the right is displayed Check the contents and click the OK Buiton 7 EtherNet IP Connection Procedure Parameters will be transferred to Unit Do you want to continue Transfering parameters PC to Unit 22 It is necessary to restart the unit to do the transferred setting effectively D you wish to restart the unit 24 7 EtherNet IP Connection Procedure 9 Click the Compare Button and confirm that IP Address was TCP IP Ethemet FINS UDP FINS TCP FTP Auto Adjust Time Status Area SNMP SNMP Trap IP Address correctly changed IP Address 192 168 250 1 Sub net Mask 255 255 255 0 Default Gateway 0 0 0 0 Not use DNS mC Use DNS Primary DNS Server 0 0 Secondary DNS Sever 0 0 0 Get IP address from the BOOTP server BOOTP setting is valid only for next unit IP Router Table art power restoration the BOOTP setting will be cleared obtained P address will be automatically ved as system setting in the unit Broadcast AI 1 4 3BSD C AI O 4 2BSD Transfer Unit to PC Transfer PC to Unit comae_ 10 After confirming that parameters match click the Close Button 11 Click the OK Button on the Edit Parameters Dialog Box Te ve ni Edi TCP IP E
12. f Com Controller Error Enable User Specified Area as shown on the right the data links JIP Address Duplicated Muttiole Switch ON LINK OFF Error Eror History are normally in operation Status Area Layout Eror Network Status Comparison Eror _ Address Table Eror Click the Close Button Tag Data Link Eror JIP Router Table Eror Invalid Parameter DNS Server Eror 140 Refresh Eror Routing Table Eror Tag Database Error Ehemet Ext Config Logical Eror All Tag Data Link BOOTP Server Error Tag Data Link SNTP Server Eror Run FTP Server Address mismatch Ethemet Link Status Nonvolatile Memory Error Bhemet Config Logical Eror Target Node Status EDS File Tools Option Help Ctrl W Ctri Q 4 Select Disconnect from the Network Menu to go offline 5 The color of the icon on the figure changes from blue 6 Select Exit from the File Menu to exit the Network Configurator N Ctrl 0 Ctrl External Data Report Print Setup Printer 39 7 EtherNet IP Connection Procedure 7 5 2 Checking the Data that are Sent and Received Confirm that the correct data are sent and received A Caution Confirm safety sufficiently before monitoring power flow and present value Status in the Ladder Section window or before monitoring present values in the Watch window force set reset or set reset operations are incorrectly performed by pressing
13. 0 Rac 0000 Rac Verify L The dialog box on the right is displayed Confirm that there is no problem and click the Yes Button The dialog box on the right is displayed Confirm that there is no problem and click the Yes Button 21 The Transfer from PLC Dialog Box is displayed Select the O Table Check Box and the S O Unit Parameters Check Box and click the Transfer Button When the transfer is completed the Transfer Results Dialog Box is displayed Confirm that the transfer was normally executed by referring to the message in the dialog box When the I O table is created normally the dialog box displays as follows Transfer Success 1 Unit Transfer Unsuccessful 0 Unit Click the OK Button 7 EtherNet IP Connection Procedure Transfer from PL Select the transter target data and press the Transter button Comment information is deleted if 10 Table is transfered IO Table W SIO Unit Parameters Transfering LITT TIT TIL lt Special Units settings gt CPU Bus Unit00 Transfer Success Transter Success 1 Unit Transfer Unsuccesstul 0 Unit 22 7 EtherNet IP Connection Procedure 5 On the PLC IO Table Window click to the left of Built in gy PLC IO Table NewPLC Port Inner Board to display File Edit View Options Help CJ2M EIP21 CJ2M CPU32 The right figure displays the 449 seat a Po i eaea Configuration When you use an ap
14. 1 a Disconnect Ctrl Q l 7 Change Connect Network Wireless Network gt O Download Ctrl D The dialog box on the right is displayed Confirm that there is Uploading all devices parameters fri etwork will start based no problem and click the Yes aa CC OR Button If you select No it will start as new document 28 11 12 13 7 EtherNet IP Connection Procedure The Target Device Dialog Box is displayed Select the 192 168 250 1 Check Box and the 192 168 250 2 Check Box Click the OK Button Target Device If 192 168 250 1 and 192 168 250 2 are not displayed on the dialog box click the Add Button to add the address The displayed addresses depend on the status of the Network Configurator The device parameters are uploaded When uploading is completed the dialog box on the right is displayed Check the contents and click the OK Button After uploading is completed confirm that the IP address of each node is updated on the Network Configuration Pane as follows 1921682501 CO J2hM EIP 1 IP address of node 1 192 168 250 1 IP address of node 2 192 168 250 2 The destination device icon changes to the FZ Series device Fe Series 29 7 EtherNet IP Connection Procedure 7 4 2 Setting Tags Register the tags of the send area and receive area This section explains the receive settings and
15. 10102 and D10103 contain the command code that you set D10104 and D10105 contain the command execution result 0 OK ce 7 EtherNet IP Connection Procedure e fa Start Address 10000 FF SetValue 1514 13 12 44 40 9 6 5 4 3 2 10000 0 o o fo o o o fo fo jo o fo o fo o Pa 010001 jo jo o fo Jo o o fo fo fo o jo o pooo mooo o o Ee to fo fo fo fo il D10003 jo jo o fo jo fo jo jo jo jo jo Pi fo jo jo Jo D10004 jo jo o jo jo fo jo fo o jo jo jo Jo jo jo jo ooon D10005 jo jo jo o jo o jo jo jo jo jo jo jo jo jo jo 0000 et D a a Ee Start Address Start Address 10100 On OR SetValue ChangeOrder 42 8 Initialization Method 8 Initialization Method This document explains the setting procedure from the factory default setting Some settings may not be applicable as described in this document unless you use the devices with the factory default setting 8 1 Initializing the PLC To initialize the settings of the PLC it is necessary to initialize the CPU Unit and EtherNet IP Unit Change the PLC to PROGRAM mode before the initialization 8 1 1 EtherNet IP Unit 1 Select Edit O Table and Unit Setup from the PLC Menu of the CX Programmer Right click the EtherNet IP Unit on the PLC IO Table Window and select Unit Setup from the menu k Built in Port Inner Board Change Unit No
16. 2 192 168 255 2 12M Off line NUM re Select Interface 24 C 2 USB Serial Port Edit Configuration File ee ee Ethernet I F Setup Monitor Refresh Timer Ethernet gt CS CJ1 ETN EIP Unit I F Install Plugin Module NJ Series Ethernet Direct I F NJ Series USB Port Install Interface Module Network j Device EDS File Tool Option Help Ctrl W Port Type Port Select a network port that you would like to connect BackPlane i 0 CJ2M CPU32 3 09 50 CJ2M EIP21 BackPlane Device Information Vendor ID Device Type Betresh Product Name Revision 27 EN 10 7 EtherNet IP Connection Procedure The Select Connected Network Dialog Box is displayed Click the OK Button Please select a network where the connected network was supported Target Network 7 Create new network Additional Information If an online connection cannot be made to the PLC check the cable connection Or return to step 1 check the settings and repeat each step For details refer to 6 2 9 Connecting the Network Configurator to the Network in Section 6 Tag Data Link Functions of the EtherNet IP Unit Operation Manual Cat No W465 When an online connection is established normally the color of the icon on the figure changes to blue Select Upload from the Network Menu to upload the device information on the network Device EDSFile Tools Option Help M Connect Ctrl W
17. CJ2M CPU32 Built in EtherNet IP port FZ5 L350 USB connected mouse Personal computer CX One installed OS Windows 7 8 1 USB cable cabe FZ Mog a _ Switching hub FZ VS Manufacturer Version OMRON CPU Unit CJ2M CPU32 Ver 2 0 Built in EtherNet IP port Ver 2 12 OMRON OMRON Switching hub Switching huo 0 0 451 050 00 05C Ver 1 00 OMRON CXONE Se ee V4 Ver 4 AL D V4 OMRON CX Programmer 8 Ver 9 50 OMRON Ver 3 56 oti an nee ee a ce USB 2 0 type B connector 7 cable STP shielded twisted oa a of Ethernet category 5 or higher OMRON Ver 5 12 OMRON Camera FE FZSCO2M 7 OMRON 0800780806 OT FZVS OMRON Monitor analog RGB monitor FZ M08 USBconnectedmouse f EN Precautions for Correct Use Update the CX Programmer and Network Configurator to the versions specified in this section or higher versions using the auto update function a version not specified in this section is used the procedures described in Section 7 and subsequent sections may not be applicable In that case use the equivalent procedures described in the CX Programmer Operation Manual Cat No W446 and Network Configurator Online Help Additional Information The system configuration in this document uses USB for the connection between the personal computer and PLC For information on how to install the USB driver
18. CPU32 Built in Port Inner Board JE BE 1 Change Unit No 7 1 amp 0000 Unit Comment 0000 0000 4 0000 Save Parameters Unit Setup Load Parameters Start Special Application gt Start with Settings Inherited Unit Manufacturing information Start Only aE Description Network Configurator Application software to build and set up the EtherNet IP network Cancel 26 2 Network Configurator is started 3 Select Select Interface 2 USB Serial Port from the Option Menu Select Connect from the Network Menu The Setup Interface Dialog Box is displayed Confirm that the following settings are made Port Type USB Port OMRO Baud Rate 115200 Bit s Click the OK Button The Select Connect Network Port Dialog Box is displayed Select Back Plane CJ2M EIP21 TCP 2 and click the OK Button 7 EtherNet IP Connection Procedure File Edit View Network Device EDSFile Tools Option Help 8 8 9 B 4 8 5 EtherNet IP_1 amp Network Configurator S S BtherNet IP Hardware Vendor 9 8 OMRON Corporation Device Type ia Communications Adapter Generic Device Usage of Device Bandwidth Detail Hardware List Description Network Configuration Pane Window Ready L EtherNet IP T Unknown Controller OMRON USB DirectLine
19. Flow Command Busy Bit Turned ON when execution of a command that was input during execution of fieldbus flow control is in progress XWAIT Flow Command Wait Bit Turned ON when a command can be input during the execution of fieldbus flow control ERR Error Signal Turned ON when the Sensor Controller detects an error signal GATE Data Output Completion Bit Turned ON when data output is completed 7 EtherNet IP Connection Procedure 7 EtherNet IP Connection Procedure This section describes the procedure for connecting the FZ5 Sensor Controller to the PLC via EtherNet IP This document explains the procedures for setting up the PLC and the FZ5 Sensor Controller from the factory default setting For the initialization refer to Section 8 Initialization Method 7 1 Work Flow Take the following steps to operate the tag data link for EtherNet IP 7 2 Setting Up the FZ5 Sensor Controller 7 2 1 Parameter Settings 7 3 Setting Up the PLC 7 3 1 Hardware Settings 7 3 2 Starting the CX Programmer and Connecting Online with the PLC 7 3 3 Creating the I O Table and setting IP Addresses 7 4 Setting Up the Network 7 4 1 Start the Network Configurator and Uploading Configuration 7 4 2 Setting Tags 7 4 3 Setting the Connection 7 4 4 Transferring the Tag Data Link Parameters 7 5 Checking the EtherNet IP Communications 7 9 1 Checking the Connection Status gt 7 5 2 Checking
20. No FST ZTH130088A OMRON CJ Series EtherNet IP Connection Guide OMRON Corporation Vision System FZ5 Series P588 E1 01 About Intellectual Property Rights and Trademarks Microsoft product screen shots reprinted with permission from Microsoft Corporation Windows is a registered trademark of Microsoft Corporation in the USA and other countries ODVA and EtherNet IP are trademarks of ODVA Company names and product names in this document are the trademarks or registered trademarks of their respective companies Table of Contents l RELATE MANU AlS 1 2 lerMms and Defni ONS 2 3 3 Wi acc ce cececcsece see ce ete ce sc tecenetce ec ataceetececatacecatenecstweecanecsceeececanceeseneacsencesse 4 5 Applicable Devices and Device 1 20 181107 5 5 1 6 ID CVICES eriaren REESE 5 52 Device 0 6 Os EltherNeiP 7 6 1 EtherNet IP Communications 8861678 7 6 2 Allocating the Tag Data LINKS 7 7 EtherNet IP Connection 10 Ls 10 7 2 setting Up the FZ5 Sensor Controller 11 13 Setting Up ine PLO cco ees 16 7 4 Semin Up the NGWOMNKea 422 2jeco cree eee eee ees 26 TD Checking the EtherNet IP Communications 0cccceeeeseeeeeeeees 38 8 Initialization 43 8 1 Me RLG neee bt bat at ttt teeth eect 43 8 2 Initializing the FZ5 Sensor Controller
21. em and click the Make sure that there aren t any problems if the PLC is stopped Yes Button Jaa Do you wish to switch the PLC into program mode Refer to Additional Information on the previous page for the settings concerning the dialog display 3 Confirm that Stop Program Mode is displayed on the right of the PLC model in the project workspace of the Data Types CX Programmer w Symbols au Select Edit V O Table and Unit PE Program Simulation Tools Window Help Setup from the PLC Menu of the amp Work Online ew jD Ole 5 5 5 Auto Online an a SS ___ CX Programmer 467 Operating Mode Monitor Compile A All PLC Programs Fi Program Check Options Program Assignments Memory Allocation Transfer Partial Transfer i Protection j Clear All Memory Areas Edit 1 Information Change Model Table and Unit Setup Change Communication Settings The PLC IO Table Window is 0 ewPLC displayed File Edit View Options Help ag Built in Port Inner Board 4 0000 Main Rack 4 0000 Rack 01 C 2M CPU32 Program 20 7 EtherNet IP Connection Procedure 3 Select Create from the Options Menu of the PLC IO Table Window PLC IO Table NewPLC1 Sax eB 5 3 fal Transfer to PLC ane j CI M CPU Transfer from the PLC a hg Built in Po Compare with PLC ed Create ty 000
22. f the power supply is turned ON settings may not be applicable as described in the following procedure 2 Check the position of the hardware switches on the front of the EtherNet IP Unit by referring to the right figure l ela LED Indicators q Unit number setting switch q Node address setting switches The unit number is used to identify individual CPU Bus Units when more than 3 Set the Unit number setting one CPU Bus Unit is mounted to the same PLC Use a small screwdriver to switch to 0 make the setting taking care not to damage the rotary switch The unit number is factory set to 0 Avie UNIT No Oto F set the Node address setting switches to the following default settings NODE No x16 0 NODE No x16 7 Set the IP address to 192 168 250 1 By default the first to third octets of the local IP address are fixed to 192 168 250 The fourth octet is the values that were set with the Node address setting switches Connect the LAN cable to the EtherNet IP port of the PLC and connect the USB cable to the USB port Connect the Personal computer Switching hub and PLC as shown in 5 2 Device Configuration Turn ON the power supply to the PLC The set IP address is displayed on the seven segment LED indicators from right to left Afterwards the rightmost 8 bits of the IP address are displayed in hexadecimal during
23. ies Connections 0 32 0 0 T 0 Register Device List aters 192 168 25 1 CIZM ELP2Z 2 192 168 250 2 is registered in epy e the Register Device List Field Connections Tag Sets Select 192 168 250 2 and click 5 the New Button Connections 0 32 0 0 T 0 Register Device List 192 168 250 1 CJ2M EIP21 Variable Target Variable 192 168 250 2 002 F tas 3 The Edit Connection Dialog Box 5 displayed Select Consume t will add a connection configuration to originator device Please configure the Tag Set each of originator device and target device Data From Produce Data To Connection 1 0 Type Consume Data From Produce Data To Originator Device Target Device from the Connection Type Node Address 192 168 250 1 Node Address 192 168 250 2 Comment CJ2M EIP21 Comment FZ Series pu down list input Tag Set Output Tag Set Set the values listed in the ain Connection Multi cast m following table to the Originator Type eas comen ___ Device Field and the Target Output Tag Set Eat Tag Sets M na Fi Device Field Canesten Pore 1o Part comeron 34 m Settings of connection Connection allocation Connection I O type Originator device 7 EtherNet IP Connection Procedure Setting value Consume Data From Produce Data To Input Tag Set D10100 48 Byte Multi cast connection D10000 20 By
24. ion and performance Additional Information Additional information to read as required This information is provided to increase understanding or make operation easier Symbol The triangle symbol indicates precautions including warnings The specific operation is shown in the triangle and explained in text This example indicates a general precaution 4 Overview 4 Overview This document describes the procedure for connecting the Vision System FZ5 Sensor Controller Camera FZ5 series of OMRON Corporation hereinafter referred to as OMRON with CJ series Programmable Controller Ethernet IP Unit hereinafter referred to as the PLC and the procedure to check their connection Refer to Section 6 EtherNet IP Settings and Section 7 EtherNet IP Connection Procedure to understand the setting method and key points to operate the tag data link for EtherNet IP In this document CJ series EtherNet IP Unit and the built in EtherNet IP port of CU series CJ2 CPU Unit are collectively called as the EtherNet IP Unit 5 5 Applicable Devices and Device Configuration Applicable Devices and Device Configuration Applicable Devices 5 1 The applicable devices are as follows Manufac Name Model turer OMRON GJ2 CPU Unit CJ2 CPU OMRON EtherNet IP Unit CJ1W EIP21 CJ2H CPU6 EIP CJ2M CPU3J OMRON FZ5 Sensor Controller LCD integrated Controller FZ5 60 60 10 FZ5 110 110 10 Box
25. irm All Memory Area Clear Dialog Box select the nitialize Option and click the OK Button Confirm All Memory Area Clea Clear all Memory Areas This function will initialize the following target area of PLC After checking the target area select Initialize and press OK PLC Name NewPLC1 PLC Type CJ2M CP u32 Target Area Program Area IOM Area Parameter Area PLC Settings Area Penpheral Device Area J0 Table Ares Routing Table Area SOU CPU Unit Area Clear Eror Log Initializing the FZ5 Sensor Controller 8 2 For how to initialize the FZ5 Sensor Controller refer to Initializing the Controller in Section 1 Before Operation of the Vision Sensor FH FZ5 Series Vision System User s Manual Cat No Z340 44 9 Revision History 9 Revision History Revision Date of revision Revision reason and revision page code 01 Dec 20 2013 First edition 45 46 Authorized Distributor
26. munications line called a connection The node that requests opening the connection is called an originator and the node that receives the request is called a target The tag data link parameter is the setting data to perform the tag data link It includes the data to set tags tag sets and connections A file that describes the number of I O points for the EtherNet IP device and the parameters that can be set via EtherNet IP 3 Precautions 3 Precautions 1 Understand the specifications of devices which are used in the system Allow some margin for ratings and performance Provide safety measures such as installing safety circuit in order to ensure safety and minimize risks of abnormal occurrence To ensure system safety always read and heed the information provided in all Safety Precautions Precautions for Safe Use and Precaution for Correct Use of manuals for each device used in the system The user is encouraged to confirm the standards and regulations that the system must conform to is prohibited to copy to reproduce and to distribute a part or the whole of this document without the permission of OMRON Corporation The information contained in this document is current as of December 2013 It is subject to change without notice for improvement The following notations are used in this document P Precautions for Correct Use EN Precautions on what to do and what not to do to ensure proper operat
27. normal operation 7 EtherNet IP Connection Procedure With the FINS communications service when there are multiple EtherNet IP Units connected to the Ethernet network the EtherNet IP Units are identified by node addresses Use the node address switches to set the node address between 01 and FE hexadecimal 1 to 254 decimal Do not set a number that has already been set for another node on the same network KWA NODE vz r VRY 4 50 01 to FE 1 to 254 decimal The left switch sets the sixteens digit most significant digit and the right switch sets the ones digit least significant digit The node address is factory set to 01 Default IP address 192 168 250 node address With the factory default node address setting of 01 the default IP address is 192 168 250 1 CPU Unit 4 Switching hub PLC ee meal 0000 D0 ae USB cable 4 LAN cable Power Supply Unit 7 EtherNet IP Connection Procedure 7 3 2 Starting the CX Programmer and Connecting Online with the PLC Start the CX Programmer and connect online with the PLC Install the CX One and USB driver in the Personal computer beforehand 1 Start the CX Programmer Ale Yew PLE Took Help 5452 2 0 gt gt D 5 Oe 1 5 gt G ieee CKA SUE BRE 2 52 2 SSS ate bens
28. plicable EtherNet IP Unit not specified in 5 2 Device Configuration the display 441 Built in Port Inner Board position and name are different IE EE C from this figure 8 1900 Inn Change Unit No Main Unit Comment 0000 H 0000 Rack Rack 0000 tie 100001 Rack Save Parameters Right click CJ2M EIP21 and select Unit Setup Unit Setup 6 The Edit Parameters Dialog Box is displayed Select the TCP IP Giceae heme FINS UDP FINS TCP FTP Auto Adjust Time Status Area SNMP SNMP Trap Tab Address Notuse DNS Use DNS IP Address 192 168 250 1 Primary DNS Server Make the following settings in Subnet Mask 255 255 255 0 DNS Sewer OO the IP Address Field gt ais 7 C Get IP address from the BOOTP server Select the Use the following The BOOTP setting is valid only for next unit IP Router Table Then the BOOTP setini ill be cleared addr ess Check Box he obtained IP aerate be Oe Gateway Address saved as system setting in the unit IP Address 192 168 250 1 ee Subnet Mask 255 255 255 0 lt C AlO 4 2BSD Click the Transfer PC to Unit Transferni to PC url compare Button Set Defauts 23 The dialog box on the right is displayed Confirm that there is no problem and click the Yes Button Confirm that parameters were normally transferred to the Unit and click the Close Button A dialog
29. rm that there is no problem and click the Yes Downloading parameters to selected devices will start Button o The tag data link parameters are downloaded from Network Configurator to the PLC The dialog box on the right 5 displayed Check the contents and click the OK Buiton 37 7 EtherNet IP Connection Procedure Checking the EtherNet IP Communications 7 5 Confirm that the EtherNet IP tag data links are operated normally 7 5 1 Checking the Connection Status Check the connection status of EtherNet IP 1 Confirm that the tag data links are normally in operation by checking the LED indicators on each device PLC EtherNet IP Unit The LED indicators in normal status are as follows MS Lit green NS Lit green COMM Lit yellow 100M or 10M Lit yellow 2 Confirm that the tag data links are normally in operation by checking the status information on the Monitor Device Window of the Network Configurator Right click the device icon of node 1 on the Network Configuration Pane and select Monitor ee COMMs a _ EtherNet IP Unit 38 7 EtherNet IP Connection Procedure 3 The dialog box on the right displays the Status 1 Tab Page of the Monitor Device Dialog Box amei semedi Erec history Unit Status Unit Error On Line Network Eror Tag Data Link When the same Items are selected Unit Memory Eror Change IP address in Run mode
30. s each EtherNet IP port connected to the network as one node When 8 device with two EtherNet IP ports is connected to the EtherNet IP network the EtherNet IP recognizes this device as two nodes The EtherNet IP achieves the communications between controllers or the communications between controllers and devices by exchanging data between these nodes connected to the network A minimum unit of the data that is exchanged on the EtherNet IP network is called a tag The tag is defined as a network variable or as a physical address and it is allocated to the memory area of each device In the EtherNet IP network a data unit that consists of two or more tags can be exchanged The data unit consisting of two or more tags for the data exchange is called a tag set Up to eight tags can be configured per tag set for OMRON controllers In the EtherNet IP the tag and tag set can be exchanged cyclically between nodes without using the user program This standard feature on the EtherNet IP is called a tag data link A connection is used to exchange data as a unit within which data concurrency is maintained The connection consists of tags or tag sets Creating the concurrent tag data link between the specified nodes is called a connection establishment When the connection 5 established the tags or tag sets that configure the connection are exchanged between the specified nodes concurrently To perform tag data links one node requests the opening of a com
31. satting Serial RS 2320422 700 ae SMa Mera Parallel Then click the Apply Button 2 asi Remote Operation oF Click the Close Button to close the System Settings Dialog Box srr wring The data set in the System Settings Dialog Box as shown on the right becomes enabled after the settings are saved and then the FZ5 Sensor Controller is restarted 7 Select Data save from the Function Menu Setting ip applied ser sack date ares rebaat Measure Scene switch Edit flaw Switch layout Clear logging image Save last logging image 8 The Data save Dialog Box is Data save displayed Click the OK Button Save settings Cancel 12 7 EtherNet IP Connection Procedure 9 Select System restart from the Function Menu Scene maintenance Edit flows Switch layout Clear measurement Clear logging image Screen capture Save last logging image Data save Save to file Load from file System initialization System restart is displayed Check the contents Restart system To save the change and click the OK Button reset after executing Data save 11 After restarting select System Settings from the Tool Menu 12 Select System Settings Communication E em Settings a Ethernet Normal UDP from 2 Startup setting the
32. send settings of the target device in order 1 On the Network Configuration Pane of the Network Configurator right click the node 192 1 device and select Parameter 2 Reset Parameter 2 Wizard Monitor Edit Gh Btu 2 The Edit Device Parameters Edit Device Parameters Dialog Box is displayed Select PE the Tag Sets Tab 8 f lt d 192 168 250 2 Connections 0 32 0 0 T 0 rae Register Device List Product Name 192 168 250 1 CJ2M EIP21 Variable Target Variable Edit All Change Target Node ID 3 The data on the Tag Sets Tab is Tag Sets displayed Select the in Consume In Consume Tab and click the Name Over Size Bit Edit Tags Button Edit Delete Expand Al Collapse All Edit Tags Usage Count 0 32 To From File 30 7 EtherNet IP Connection Procedure 4 une Edit Tags Dialog Box is displayed Select the In Consume Tab and click the New Button Here register an area where node 1 receives data from node 2 Delete Usage Count Total Size 5 The Edit Tag Dialog Box is displayed Enter the following values in the parameters Name D10100 Start address of the input data to node 1 Use Bit Das Size 48 Byte Bit Size 0 Bi Over Load After entering click the Regist Disable Enable Button 6 The Edit Tag Dialog Box is displayed
33. te Point to Point connection Input_101 48 Byte Output_100 20 Byte Target device 4 Confirm that the settings are correct Click the Show Detail Button Confirm that the Packet Interval RPI is set to 4 ms or longer and click the Regist Button The same dialog box as step 4 is displayed again if you click the Hide Detail Button The Edit Connection Dialog Box is displayed again Click the Close Button It will add a connection configuration to originator device Please configure the Tag Set each of originator device and target device Connection 1 0 Type Consume Data From Produce Data To v Originator Device Node Address 192 168 250 1 Comment CJ2M EIP21 10100 48Byte Target Device Node Address 192 168 250 2 Comment FZ Series Output Tag Set Input_101 48Byte Input Tag Set Output_100 20Byte v 192 168 250 2 FZ Series Edit Connectic it will add a connection configuration to originator device Please configure the Tag Set each of originator device and target device Connection 1 0 Type Consume Data From Produce Data To v Originator Device Node Address 192 168 250 1 Comment CJ2M EIP21 Input Tag Set Edit Tag Sets D10100 48Byte Mutticast connection Connection Type D10000 20Byte jg Point to Point connection ype Detail Parameter Packet Interval RPI TTE
34. the Data that are Sent and Received Set up the FZ5 Sensor Controller Set the parameters for the FZ5 Sensor Controller Set up the PLC Set the hardware switches on the EtherNet IP Unit and wire the network Start the CX Programmer and connect online with the PLC Create the I O table and set the IP address of the PLC Set the tag data links for the EtherNet IP Start the Network Configurator and upload the network configuration Register the tags of the send area and receive area Associate the target device with the tags of the originator Transfer the set tag data link parameters to the PLC Confirm that the EtherNet IP tag data links are operated normally Check the connection status of EtherNet IP Confirm that the correct data are sent and received 7 EtherNet IP Connection Procedure Setting Up the FZ5 Sensor Controller 7 2 Set up the FZ5 Sensor Controller 7 2 1 Parameter Settings Set the parameters for the FZ5 Sensor Controller 1 Connect the Camera Monitor POWER LED _ USB connected mouse andthe AUNLED LAN cable to the FZ5 Sensor Controller RS 232C connector Connect the power supply cable use connector gt Monitor connector analog RGB Ethernet connector j amera connector to the Power terminal I O connector control lines data lines Power terminal Only Camera 4ch type FZ5 1 35 1 10 2 Turn ON the power s
35. themet FINS UDP FINS TCP FTP Auto Adjust Time Status Area SNMP SNMP Trap m IP Address Not use DNS Use the following address Use DNS IP Address 192 168 250 1 Primary DNS Server SE ORG 255 255 255 0 Secondary DNS Sever 0 0 0 0 Default Gateway 8 4 0 8 Domain Tr Get IP address from the BOOTP server BOOTP setting is valid only for next unit IP Router Table art power restoration the BOOTP setting will be cleared obtained IP address will be automatically ved as system setting in the unit m Broadcast AI 1 4 3BSD C Al0 4 2BSD Transfer Unit to PC Transfer PC to Unit Compare Set Defaults 25 7 EtherNet IP Connection Procedure Setting Up the Network 7 4 Set the tag data links for the EtherNet IP 7 4 1 Starting the Network Configurator and Uploading the Configuration Start the Network Configurator and upload the network configuration P Precautions for Correct Use Confirm that the LAN cable is connected before taking the following procedure When it is not connected turn OFF the power supply to each device and then connect the LAN cable 1 Right click CJ2M EIP21 on the PLC IO Table Window and select Start Special Application Start with Settings Inherited The Select Special Application Dialog Box is displayed Select Network Configurator and click the OK Button ff C2M
36. tree x Camera connection Inter camera setting i Dutput signal setting 5 Communication 13 13 The dialog box on the right is displayed Select the Use the following IP address Option for Address setting and set the following values IP address 192 2 Subnet mask 255 255 255 0 change a value click the Button in the item in which a value is to be set The numeric keyboard is displayed Enter values using the mouse After entering the values click the OK Button on the numeric keyboard S so How to change values 121 ee eee 14 When a value is changed the 15 16 Apply Button is displayed Click the Apply Button While the setting is being processed the dialog box on the right is displayed After the dialog box disappears click the Close Button to close the System Settings Dialog Box In the same way as steps 7 and 8 select Data save from the Function Menu In the same way as steps 9 and 10 select System restart from the Function Menu 7 EtherNet IP Connection Procedure Apply 7 EtherNet IP Connection Procedure Setting Up the PLC 7 3 Set up the PLC 7 3 1 Hardware Settings Set the hardware switches on the EtherNet IP Unit and wire the network P Precautions for Correct Use Make sure that the power supply is OFF when you perform the setting up 1 Make sure that the power supply to the PLC is OFF I
37. type Controller FZ5 L35 L35 10 OMRON 0 3 Megapixel Digital Camera FZ SC S 0 3 Megapixel Small Digital Camera FZ SFC SF 0 3 Megapixel Small Digital Pen Shaped Camera FZ SPC SP 0 3 Megapixel High Speed Camera FZ SHC SH 2 Megapixel Digital Camera FZ SC2M S2M 5 Megapixel Digital Camera FZ SC5M2 S5M2 Intelligent Camera FZ SLC100 Intelligent Compact Camera FZ SQ010F SQO50F FZ SQ100F SQ100N Precautions for Correct Use As applicable devices above the devices with the models and versions listed in Section 5 2 are actually used in this document to describe the procedure for connecting devices and checking the connection You cannot use devices with versions lower than the versions listed in Section 5 2 To use the above devices with versions not listed in Section 5 2 or versions higher than those listed in Section 5 2 check the differences in the specifications by referring to the manuals before operating the devices Additional Information This document describes the procedure to establish the network connection Except for the connection procedure it does not provide information on operation installation or wiring method It also does not describe the functionality or operation of the devices Refer to the manuals or contact your OMRON representative 5 Applicable Devices and Device Configuration Device Configuration 5 2 The hardware components to reproduce the connection procedure of this document are as follows
38. upply to the FZ5 Sensor Controller 3 The Language setting Dialog Box is displayed on the Monitor connected to the FZ5 Sensor select language of the system Controller only at the initial start Select English and click the OK Sete English 4 Button Language setting Confirm that your desired Language setting Language is selected and click the Yes Button To select YES save settings F PanDA File Function Window 4 Select System Settings from the Tool Menu on the FZ PanDA Dialog Box that are shown on NG analyzer S FZ5 Sensor Controller Security settings 11 7 EtherNet IP Connection Procedure 5 Select System Settings Startup Startup setting from the tree The Language setting Dialog Box is displayed Select the Communication Tab Language setting Inter camera setting Output signal setting Select language ofthe system El Communication Parallel Language Engish RS 232C 422 Normsl Ethernet Normsl UDP Other Date time setting Fan control setting STEP setting Encoder trigger setting Network drive setting Screen capture setting Measurement setting Logging setting Operstion log setting 6 The Communication module select Dialog Box is displayed nomoen ease commmneson oreanonnon Select EtherNet IP from the Fieldbus pull down list l
Download Pdf Manuals
Related Search
Related Contents
Kärcher 2.645-014.0 Page 1 Page 2 門` ワ~、丶丶ヰ ` 女全上のし)王思 〇ご使用前に、 この Tutor Trac Instructor User Manual Craftsman 358.745651 Instruction manual 取扱説明書 Rad io - American Radio History Copyright © All rights reserved.
Failed to retrieve file