background image

Vision Sensor Connection Guide

-VS20M-11F310

-VS80M-202-E

-VS20M-12F410

-VS80M-202-ER

-VS20M-13F410

-VS80M-202

-VS20C-12F410

-VS80M-202-R

-VS20C-13F410

-VS80M-402-E

-VS70M-600-E

-VS80M-402-ER

-VS70M-600-ER

-VS80M-402

-VS70M-600

-VS80M-402-R

-VS70M-600-R
-VS70M-800-E
-VS70M-800-ER
-VS70M-800
-VS70M-800-R
-VS70M-802-E
-VS70M-802-ER
-VS70M-802
-VS70M-802-R
-VS80M-100-E
-VS80M-100
-VS80M-200-E
-VS80M-200-ER
-VS80M-200
-VS80M-200-R
-VS80M-400-E
-VS80M-400-ER
-VS80M-400
-VS80M-400-R

This product is designed and manufactured by Cognex Corporation. 
*Note that the warranty and general specifications of this product 

differ from that of programmable controller products.

Summary of Contents for MELSENSOR Vision Sensor VS20C-12F410

Page 1: ...S80M 402 R VS70M 600 R VS70M 800 E VS70M 800 ER VS70M 800 VS70M 800 R VS70M 802 E VS70M 802 ER VS70M 802 VS70M 802 R VS80M 100 E VS80M 100 VS80M 200 E VS80M 200 ER VS80M 200 VS80M 200 R VS80M 400 E VS80M 400 ER VS80M 400 VS80M 400 R This product is designed and manufactured by Cognex Corporation Note that the warranty and general specifications of this product differ from that of programmable cont...

Page 2: ......

Page 3: ...ause the vision sensor to fail or malfunction Be sure to install an I O connector module to a main module If not installed dust or water proof performance may not be obtained CAUTION IP protection rating is guaranteed only when all the connectors are connected with cables or sealed with sealing caps The cable is designed to connect with its key aligned with the keyway of the connector on the Visio...

Page 4: ...and Maintenance Precautions CAUTION Do not clean the Vision Sensor VS20 with highly irritating or corrosive solvent such as caustic alkali solution methyl ethyl ketone MEK and gasoline Doing so may cause a fault ...

Page 5: ...ision sensor in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the vision sensor Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User Aircraft or Aerospace Med...

Page 6: ...on between a programmable controller and a vision sensor with an engineering tool a profile of the vision sensor needs to be registered to the engineering tool A profile is data that stores information of a connected device such as a model name By registering the profile to an engineering tool vision sensors are added to Module List in the Ethernet Configuration window and the CC Link IEF Basic Co...

Page 7: ...n parameter 31 Changing jobs loading another job 33 CHAPTER 2 SLMP SCANNER CONNECTION 34 2 1 System Configuration Example for Connecting a Vision Sensor 34 Configurations 35 Connection and wiring of a vision sensor 36 2 2 Basic Operations for an SLMP Scanner Connection 37 Basic operation process for an SLMP scanner connection 37 Basic operations for an SLMP scanner connection 38 Data blocks 39 2 3...

Page 8: ... an I O connection 81 3 4 Writing the Parameters and Program 82 3 5 Checking Operations 83 Making the vision sensor online 83 Enabling a trigger on the vision sensor 83 Checking inspection results 84 3 6 Using CIO MICRO I O module 85 REVISIONS 87 TRADEMARKS 88 ...

Page 9: ... Field Network Basic Reference Manual 1 1 System Configuration Example for Connecting a Vision Sensor The following figure shows the system configuration for connecting a vision sensor VS20 CC Link IE Field Network Basic connection is available for other vision sensors VS70 and VS80 For details on the system configuration refer to the user s manual of the vision sensor used 9 USB cable 3 Engineeri...

Page 10: ...c products COGNEX products Commercial products For available devices for the system configuration refer to the user s manual of the vision sensor used 1 Vision sensor VS20M 13F410 2 Programmable controller CPU module R08ENCPU 3 Engineering tool profile GX Works3 4 Vision sensor setup tool In Sight Explorer 5 Ethernet cable COGNEX product 6 Breakout cable 7 Switching hub 8 Ethernet cable 9 USB cabl...

Page 11: ...the M12 connector of the breakout cable to the Power I O and RS 232 connector of the vision sensor 5 Turn ON the 24 VDC power supply Precautions When connecting a vision sensor and a programmable controller simultaneously turn ON the power of the vision sensor and programmable controller or first turn ON the power of the programmable controller Cut unused wires or protect them with insulating mate...

Page 12: ...E Field Network Basic connection With a CC Link IE Field Network Basic connection data communication cyclic transmission is periodically performed between a master station programmable controller and a slave station vision sensor using link devices Remote input and output RY and RX and remote registers RWr and RWw are used for data communication RX RWr RY RWw RX RWr RY RWw Device Device Link refre...

Page 13: ...register RWw RY7 RY6 RY5 RY4 RY3 RY2 RY1 RY0 Set Offline Reserved Execute Command Inspection Results Ack Buffer Results Enable Trigger Trigger Enable RYF RYE RYD RYC RYB RYA RY9 RY8 Reserved RY17 RY16 RY15 RY14 RY13 RY12 RY11 RY10 Reserved Clear Exposure Complete Clear Error Reserved Set User Data RY1F RY1E RY1D RY1C RY1B RY1A RY19 RY18 Soft Event 7 Soft Event 6 Soft Event 5 Soft Event 4 Soft Even...

Page 14: ...ations for a CC Link IE Field Network Basic Connection For details on each data to control a vision sensor refer to the help of In Sight Explorer Enter CC Link IE Field Network Basic as a keyword in the Search tab of Help and refer to the explanation of the data ...

Page 15: ...n IP address to a personal computer Set the IP address 192 168 3 3 to a personal computer Connecting the vision sensor Start In Sight Explorer to set the vision sensor 1 Start In Sight Explorer 2 Add the vision sensor to the network Click the Add button Add the vision sensor to the network IP Address 192 168 3 1 Subnet Mask 255 255 255 0 Click the Apply button Ò Ò Ó ...

Page 16: ...14 1 CC Link IE Field Network Basic CONNECTION 1 3 Setting the Vision Sensor 3 Connect to the vision sensor Click the Connect button to connect to the vision sensor Ò ...

Page 17: ...te a new job 2 Adjust so that the lens captures an inspection target in Set Up Image and configure the settings to acquire the image Click the New Job button Click the Set Up Image button Select the Trigger tab Select Industrial Ethernet Click the Live Video button to adjust the image After adjusting the image click the Live Video button again Ò Ò Ó Ô Õ ...

Page 18: ...N 1 3 Setting the Vision Sensor 3 Set a tool 4 Set a model on the position to be detected Click the Locate Part button Select Pattern Click the Add button Set a model CE mark is selected Click the OK button Check that Name is Pattern_1 Ò Ó Ô Ò Ó Ô ...

Page 19: ...tting CC Link IE Field Network Basic 2 Add the CC Link IE Field Network Basic Click the Communication button Click the Add Device button Configure a device setting Device PLC Motion Controller Manufacturer Mitsubishi Protocol CC Link IE Field Basic Click the OK button When the Protocol Service Change Required appears click the OK button Ò Ó Ó Ô Ò ...

Page 20: ...dd the data to be transmitted in the cyclic transmission of the CC Link IE Field Network Basic Select the Format Output Word Data tab Click the Add button Select the data to add in the following order Pattern_1 Pass Pattern_1 Fail Job Inspection_Count Click the OK button Ó Ô Ô Õ Ò ...

Page 21: ...ame and save the job The running job can be changed loaded to another job by prefixing a numeric value to a file name For the procedure to change jobs refer to the following section Page 33 Changing jobs loading another job Click the Save Job button Click the Save As button Enter an arbitrary file name Click the Save button Ó Ò Ó Ò Ó ...

Page 22: ...for the vision sensor Restarting the vision sensor Turn the power of the vision sensor OFF and ON to restart Click the button under Job Select the checkbox of Load Job on Startup Select the file name saved in step 2 Select the checkbox of Start the Sensor in Online Mode Click the OK button Ò Ó Ö Ô Õ ...

Page 23: ...ters of a programmable controller in GX Works3 Registering a profile Register the profile of a vision sensor in GX Works3 Profiles need to be registered when a GX Works3 project is closed 1 Start GX Works3 2 Resister a profile Select Tool Profile Management Register Select the profile obtained previously Click the Register button Ò Ò Ó ...

Page 24: ...ler Setting a programmable controller Set parameters of a programmable controller in GX Works3 1 Create a new project in GX Works3 2 Configure the settings in the New screen Select New Series RCPU Type R08EN Program Language Ladder Click the OK button Click the OK button Ò Ó Ô Õ Ò Ö ...

Page 25: ...mmable Controller 23 1 3 Set the module parameter Double click Module Parameter in the Navigation window to set the module parameters IP Address 192 168 3 2 To Use or Not to Use CC Link IEF Basic Setting Enable Double click the Network Configuration Settings Ó Ô Õ Ò ...

Page 26: ...ic configuration Click the Detect Now button Read the message and click the Yes button Check that the connected vision sensor is displayed Click Close with Reflecting the Setting For details on the automatic detection function of connected devices refer to the following manual iQ Sensor Solution Reference Manual Ò Ó ...

Page 27: ...resh Settings Set Target Device Name and Start on the CPU side Page 25 Refresh settings Click the Apply button to end the parameter settings Link side CPU side Device name Target Device name Points Start End RX Specify Device X 64 01000 0103F RY Specify Device Y 64 01000 0103F RWr Specify Device W 32 00000 0001F RWw Specify Device W 32 01000 0101F Ò Ó Ô ...

Page 28: ...This signal is changed toggled at the completion of an inspection of a vision sensor Refresh device for RX9 Y1000 Trigger Enable Trigger Y1001 is enabled while this signal is ON Refresh device for RY0 Y1001 Trigger By turning this signal OFF and ON an image capture is started Refresh device for RY1 M0 Online command Trigger Enable Y1000 turns ON to make a vision sensor online while this signal is ...

Page 29: ...Trigger Ready RX0 is ON by turning ON Trigger Enable RY0 the status of the vision sensor is output to Trigger Ack RX1 and Inspection Completed RX9 The status of Inspection Completed RY9 is changed toggled at the completion of an inspection RY0 Trigger Enable RY1 Trigger RX0 Trigger Ready Read image processing Inspection Processing RX9 Inspection Completed RX1 Trigger Ack Turn ON OFF with the PLC P...

Page 30: ... set in GX Works3 to the programmable controller Writing to the programmable controller 1 Start the programmable controller 2 Write parameters Restarting the programmable controller After writing the parameters and program reset the programmable controller to RUN Click the Write to PLC button Click the Parameter Program button Click the Execute button Ò Ò Ó ...

Page 31: ...munication with the programmable controller Enabling a trigger on the vision sensor Enable a trigger on the vision sensor to acquire the inspection results Open Online Monitor Device Buffer Memory Batch Monitor in GX Works3 to display device values 1 Display device values 2 Enable a trigger on the vision sensor Check that the operating status is Online Enter M0 for Device Name Click the Start Moni...

Page 32: ...lick the Start Monitoring button Check that the bit of Inspection Completed X1009 is changed toggled Enter W0 for Device Name Click the Start Monitoring button Check the following information Job PASS W5 0 This bit turns ON when the set inspection target is detected in the captured image Job FAIL W6 0 This bit turns ON when the set inspection target is not detected in the captured image Number of ...

Page 33: ...ensor offline with In Sight Explorer 2 Add parameter items to the list in the Format Input Word Data tab 3 Save the job and make the vision sensor online Parameter items need to be added to the list in the Format Input Word Data tab in advance to change parameter values More than one parameter item can be selected Click the Add button Select the Format Input Word Data tab and click the Add button ...

Page 34: ... 6 Trigger a device Enter W1000 for Device Name Click the Start Monitoring button Enter 90 for User Data W1001 of a remote register RWw Enter Y1000 for Device Name Turn ON Set User Data Y1010 of a remote output Enter X1000 for Device Name By completing the settings Set User Data Ack X1010 of a remote input turns ON After that Turn OFF Set User Data Y1010 Enter Y1000 for Device Name Turn ON Trigger...

Page 35: ...ge jobs load another job To load a job the file name of the job need to begin with an ID number When loading a job make a vision sensor offline Enter W1000 for Device Name Click the Start Monitoring button Enter 1 for Command W1000 of a remote register RWw Enter Y1000 for Device Name Turn ON Set Offline Y1007 of a remote output to make the vision sensor offline Turn ON Execute Command Y1004 of a r...

Page 36: ...cting a Vision Sensor The following figure shows the system configuration for connecting a vision sensor VS20 SLMP scanner connection is available for other vision sensors VS70 and VS80 For details on the system configuration refer to the user s manual of the vision sensor used 9 USB cable 3 Engineering tool Profile 4 Vision sensor setup tool 2 Programmable controller 8 Ethernet cable 8 Ethernet c...

Page 37: ...ts COGNEX products Commercial products For available devices for the system configuration refer to the user s manual of the vision sensor used 1 Vision sensor VS20M 13F410 2 Programmable controller CPU module R08ENCPU 3 Engineering tool profile GX Works3 4 Vision sensor setup tool In Sight Explorer 5 Ethernet cable COGNEX product 6 Breakout cable 7 Switching hub 8 Ethernet cable 9 USB cable 10 24 ...

Page 38: ...onnector of the breakout cable to the Power I O and RS 232 connector of the vision sensor 5 Turn ON the 24 VDC power supply Precautions When connecting a vision sensor and a programmable controller simultaneously turn ON the power of the vision sensor and programmable controller or first turn ON the power of the programmable controller Cut unused wires or protect them with insulating materials Be ...

Page 39: ... control area Reading control area Reading control area Trigger ON Writing status Writing status Writing inspection results Reading control area Reading CPU device Set the trigger instruction Bit of CPU device to ON with the PLC Reading the control area using the vision sensor and accepting the trigger Updating the status bit block and output word block Updating the status bit block and output wor...

Page 40: ... instructions such as trigger to a vision sensor Bit information is used for the control instructions The vision sensor is controlled by turning ON and OFF the devices set to the control bit block Status bit block This block indicates the status of a vision sensor The status can be checked with bit information Input word block This block is used to input application data including parameters for i...

Page 41: ...t Event 2 Soft Event 1 Soft Event 0 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Online Offline Reason Missed Acq Reserved Trigger Ack Trigger Ready Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Error Command Failed Command Completed Command Executing Results Valid Results Buffer Overrun Inspection Completed System Busy Bit 23 Bit 22 Bit 21 Bit 20 Bit 19 Bit 18 Bit 17 Bit 16 Reserved Jo...

Page 42: ...ions for an SLMP Scanner Connection For details on the data block functions to control a vision sensor refer to the help of In Sight Explorer Enter SLMP scanner as a keyword in the Search tab of Help and refer to the explanation of the data block ...

Page 43: ...ess to a personal computer Set the IP address 192 168 3 3 to a personal computer Connecting the vision sensor Start In Sight Explorer to set the vision sensor 1 Start In Sight Explorer 2 Add the vision sensor to the network Click the Add button Add the vision sensor to the network IP Address 192 168 3 1 Subnet Mask 255 255 255 0 Click the Apply button Ò Ò Ó ...

Page 44: ...42 2 SLMP SCANNER CONNECTION 2 3 Setting the Vision Sensor 3 Connect to the vision sensor Click the Connect button to connect to the vision sensor Ò ...

Page 45: ...job 2 Adjust so that the lens captures an inspection target in Set Up Image and configure the settings to acquire the image Click the New Job button Click the Set Up Image button Select the Trigger tab Select Industrial Ethernet Click the Live Video button to adjust the image After adjusting the image click the Live Video button again Ò Õ Ò Ó Ô ...

Page 46: ...ting the Vision Sensor 3 Set a tool 4 Set a model on the position to be detected Click the Locate Part button Select Pattern Click the Add button Set a model CE mark is selected Click the OK button Check that Name is Pattern_1 Ò Ó Ô Ò Ó Ô ...

Page 47: ...nication setting SLMP scanner 2 Add the SLMP scanner Click the Communication button Click the Add Device button Configure a device setting Device PLC Motion Controller Manufacturer Mitsubishi Protocol SLMP Scanner Click the OK button When the Protocol Service Change Required screen appears click the OK button Ò Ó Ò Ó Ô ...

Page 48: ...mmable controller status Assigning devices Device addressing Setting contents are as follows Controller Type iQ R Q L Series 3E Frame IP Address 192 168 3 2 Host Port 12289 Port number set for the Ethernet parameter in GX Works3 Timeout ms 1000 Poll interval ms 100 Select the Device Addressing tab Set a selected device offset and the number of devices to each of the six data blocks as shown left P...

Page 49: ...utput to the programmable controller 3 The output result to the programmable controller is displayed Select the Format Output Data tab Click the Add button Select Pattern_1 inspection result PASS FAIL Select Job Inspection_Count Click the OK button Device Address D1015 to D1017 Message size words 3 Items corresponding to the device address can be changed by using the Up and Down button As an examp...

Page 50: ...ave the job The running job can be changed loaded to another job by prefixing a numeric value to a file name For the procedure to change jobs refer to the following section Page 62 Changing jobs loading another job Click the Save Job button Click the Save As button Enter an arbitrary file name Click the Save button Ó Ò Ó Ò ...

Page 51: ...vision sensor Restarting the vision sensor Turn the power of the vision sensor OFF and ON to restart Click the button under Job Select the checkbox of Load Job on Startup Select the file name saved in step 2 Select the checkbox of Start the Sensor in Online Mode Click the OK button Ó Ò Õ Ö Ô ...

Page 52: ...programmable controller in GX Works3 Registering a profile Register the profile of a vision sensor in GX Works3 Profiles need to be registered when a GX Works3 project is closed 1 Start GX Works3 2 Resister a profile Select Tool Profile Management Register Select the profile obtained previously Click the Register button Ò Ò Ó ...

Page 53: ...ing a programmable controller Set parameters of a programmable controller in GX Works3 1 Create a new project in GX Works3 2 Configure the settings in the New screen Select New Series RCPU Type R08EN Program Language Ladder Click the OK button Click the OK button Ò Ó Ô Õ Ò Ö ...

Page 54: ...oller 3 Set the module parameter Double click Module Parameter in the Navigation window to set module parameters IP Address 192 168 3 2 Enable Disable Online Change Enable All SLMP Communication Data Code Binary Double click External Device Configuration Ò Ó Ô Õ ...

Page 55: ...t case set TCP for Protocol 5 Apply the setting Click the Detect Now button Read the message and click the Yes button Check that the connected vision sensor is displayed Click Close with Reflecting the Setting For details on the automatic detection function of connected devices refer to the following manual iQ Sensor Solution Reference Manual Click the Apply button to end the settings Ò Ó Ò ...

Page 56: ...ON Online OFF Offline D1002 9 Inspection Completed This signal is changed toggled at the completion of an inspection of a vision sensor D1000 0 Trigger Enable Trigger D1000 1 is enabled while this signal is ON D1000 1 Trigger By turning this signal OFF and ON an image capture is started M0 Online command Trigger Enable D1000 0 turns ON to make a vision sensor online while this signal is ON M1 Trig...

Page 57: ...rigger Ready of the status bit block is ON by turning ON Trigger Enable the status of the vision sensor is output to Trigger Ack and Inspection Completed of the status bit block The status of Inspection Completed is changed toggled at the completion of an inspection Trigger Enable Trigger Trigger Ready Inspection Completed Trigger Ack Read image processing Inspection Processing Turn ON OFF with th...

Page 58: ... Works3 to the programmable controller Writing to the programmable controller 1 Start the programmable controller 2 Write parameters Restarting the programmable controller After writing the parameters and program reset the programmable controller to RUN Click the Write to PLC button Select the Parameter Program button Click the Execute button Ò Ò Ó ...

Page 59: ...ng the vision sensor using the programmable controller Making the vision sensor online Make the vision sensor online and start the communication with the programmable controller Check that the operating status is Online Select the Communication button Click SLMP Scanner Check that Connected is displayed Ò Ó Ò Ô ...

Page 60: ...e inspection results Open Online Monitor Device Buffer Memory Batch Monitor in GX Works3 to display device values 1 Display device values 2 Enable a trigger on the vision sensor 3 Trigger a device Enter M0 for Device Name Click the Start Monitoring button Turn M0 ON to turn Trigger Enable D1000 0 ON Turn M1 ON to turn Trigger D1000 1 ON Ò Ó Ò Ò ...

Page 61: ... Start Monitoring button Check that the bit of Inspection Completed D1002 9 is changed toggled Check the following information Job PASS D1015 0 This bit turns ON when the set inspection target is detected in the captured image Job FAIL D1016 0 This bit turns ON when the set inspection target is not detected in the captured image Number of jobs inspected D1017 The number of times the device is trig...

Page 62: ...ne with In Sight Explorer 2 Add parameter items to the list in the Format Input Data tab 3 Save the job and make the vision sensor online Click the Communication button Enter the following information to the cells in the Input Block row in the Device Addressing tab Selected Device D Data Register Offset 2000 Number of Devices 3 Select the Format Input Data tab and click the Add button Select Patte...

Page 63: ...t Data tab a warning mark is displayed next to Message size words 4 Set Pattern_1 Rotation Tolerance as a parameter to be changed Set a device value in the Device Buffer Memory Batch Monitor window in GX Works3 5 Change parameter values 6 Trigger a device Enter D2000 for Device Name Click the Start Monitoring button Enter 90 for User Data D2002 of an input word block Enter D1000 for Device Name Tu...

Page 64: ...s load another job To load a job the file name of the job need to begin with an ID number When loading a job make a vision sensor offline Enter D2000 for Device Name Click the Start Monitoring button Enter 1 for Command D2000 of an input word block Enter D1000 for Device Name Turn ON Set Offline D1000 7 of a control bit block to make the vision sensor offline Turn ON Execute Command D1000 4 of a c...

Page 65: ... devices in the Command Result row for the size of the data to be acquired Acquiring a file name Send the native mode command GF to acquire a file name 1 Set a native command and a command length Enter the following information to the cells in the Command row Selected Device D Data Register Offset 3000 Number of Devices 20 Enter the following information to the cells in the Command Result row Sele...

Page 66: ...000 4 character length D3001 GF native mode command D3002 2573 line feed code CRLF Enter D1000 for Device Name Turn ON Initiate String Command D1001 1 of a control bit block String Command Ack D1003 1 of a status bit block turns ON After that Turn OFF Initiate String Command D1001 1 Enter D3050 for Device Name The information in the following string command result word blocks can be acquired Resul...

Page 67: ...Operations 65 2 For details on the native mode commands to control a vision sensor refer to the help of In Sight Explorer Enter Native Mode Commands as a keyword in the Search tab of Help and refer to the explanation of Native Mode Commands ...

Page 68: ...or The following figure shows the system configuration for connecting a vision sensor VS20 I O connection is available for other vision sensors VS70 and VS80 For details on the system configuration refer to the user s manual of the vision sensor used 12 I O wire 7 I O module 10 USB cable 3 Engineering tool 4 Vision sensor setup tool 2 Programmable controller 8 Ethernet cable 6 I O module cable 100...

Page 69: ...e devices for the system configuration refer to the user s manual of the vision sensor used 1 Vision sensor VS20M 13F410 2 Programmable controller CPU module R08ENCPU Input module RX40C7 Output module RY40NT5P 3 Engineering tool GX Works3 4 Vision sensor setup tool In Sight Explorer 5 Ethernet cable COGNEX product 6 I O module cable 7 I O module CIO 1400 I O extension module 8 Switching hub 9 Ethe...

Page 70: ...wing figure Precautions Use only 24 VDC and observe the indicated polarity When connecting a vision sensor and a programmable controller simultaneously turn ON the power of the vision sensor and programmable controller or first turn ON the power of the programmable controller Cut unused wires or protect them with insulating materials Be careful not to short circuit with 24 VDC wires The cable is d...

Page 71: ...to a personal computer Set the IP address 192 168 3 3 to a personal computer Connecting the vision sensor Start In Sight Explorer to set the vision sensor 1 Start In Sight Explorer 2 Add the vision sensor to the network Click the Add button Add the vision sensor to the network IP Address 192 168 3 1 Subnet Mask 255 255 255 0 Click the Apply button Ò Ò Ó ...

Page 72: ...70 3 I O CONNECTION 3 2 Setting the Vision Sensor 3 Connect to the vision sensor Click the Connect button to connect to the vision sensor Ò ...

Page 73: ...w job 2 Adjust so that the lens captures an inspection target in Set Up Image and configure the settings to acquire the image Click the New Job button Click the Set Up Image button Select the Trigger tab Select Camera Click the Live Video button to adjust the image After adjusting the image click the Live Video button again Ò Ò Ô Ó Õ ...

Page 74: ...72 3 I O CONNECTION 3 2 Setting the Vision Sensor 3 Set a tool Click the Locate Part button Select Pattern Click the Add button Ò Ó Ô ...

Page 75: ...3 I O CONNECTION 3 2 Setting the Vision Sensor 73 3 4 Set a model on the position to be detected Set a model CE mark is selected Click the OK button Check that Name is Pattern_1 Ò Ó Ô ...

Page 76: ...tings 1 Set inputs and outputs I O connection 2 Select an I O module Click the Inputs Outputs button Select De Energize While Offline Click the I O Module button Set CIO 1400 in Select I O Module Click the OK button Check De Energize While Offline Ò Ó Ô Ò Ó Ô ...

Page 77: ...d outputs Click the Details button in the row of 3 Input Signal Type Job Result 1 Online Offline Undefined Output Signal Type Job Result Direct 0 Job Result Pattern_1 Pass Direct 1 Job Result Pattern_1 Fail 2 Online Offline Undefined 3 Job completion Undefined Set 1000 1 second in pulse length Click the OK button Ò Ò Ò Ó Ò Ó ...

Page 78: ...ng the job 1 Name the created job and save it 2 Enter a file name and save the job Click the Save Job button Click the Save As button Select the file name saved in Startup Job after saving the job Enter an arbitrary file name Click the Save button Ó Ò Ò Ó ...

Page 79: ...on sensor Restarting the vision sensor Turn the power of the vision sensor OFF and ON to restart Click the button under Job Select the checkbox of Load Job on Startup Select the file name saved in step 2 Select the checkbox of Start the Sensor in Online Mode Click the OK button Ó Ò Õ Ö Ô ...

Page 80: ...ammable controller in GX Works3 Setting a programmable controller Set parameters of a programmable controller in GX Works3 1 Start GX Works3 2 Configure the settings in the New screen Start GX Works3 and create a new project Series RCPU Type R08EN Program Language Ladder Click the OK button Click the OK button Ò Ó Ô Õ Ò Ö ...

Page 81: ...rogrammable Controller 79 3 3 Set the system parameter Double click System Parameter in the Navigation window to set input output modules Select I O Assignment Set RX40C7 for slot 0 and RY40NT5P for slot 1 Click the OK button Ó Ô Õ Ò ...

Page 82: ...74 I O settings Y10 Trigger When the trigger setting of the vision sensor is set to Camera an image capture is performed by turning this signal OFF and ON To perform the image capture again turn the signal ON and OFF and then turn it OFF and ON It becomes enabled only when the vision sensor is online Y12 Online request Turn this signal ON to change the vision sensor in discrete online status to on...

Page 83: ...ON when the inspection target set in Pattern_1 is not detected in the captured image 11 The processing for the completion of the image capture of the vision sensor is performed 1 The bit turns ON for one second set time period 0 M0 Y12 2 M1 X2 X3 Y10 SET Y10 7 X0 M10 9 X1 M11 11 X3 RST Y10 RST M1 14 END 1 1 Online request Y12 Turn ON OFF with the PLC Program Turn ON OFF the vision sensor automatic...

Page 84: ...ks3 to the programmable controller Writing to the programmable controller 1 Start the programmable controller 2 Write parameters Restarting the programmable controller After writing the parameters and program reset the programmable controller to RUN Click the Write to PLC button Click the Parameter Program button Click the Execute button Ò Ò Ó ...

Page 85: ...on with the programmable controller Enabling a trigger on the vision sensor Enable a trigger on the vision sensor to acquire the inspection results Open Online Monitor Device Buffer Memory Batch Monitor in GX Works3 to display device values 1 Display device values 2 Make the vision sensor online Check that the operating status is Online Enter M0 for Device Name Click the Start Monitoring button Tu...

Page 86: ...esults 1 Check the inspection results Turn M1 ON to turn Trigger Y10 ON Check the following information Pattern_1 Pass M10 This bit turns ON when the set inspection target is detected in the captured image Pattern_1 Fail M11 This bit turns ON when the set inspection target is not detected in the captured image Ò Ò ...

Page 87: ...o set an IP address to a CIO MICRO I O module For the vision sensors that can be connected to a CIO MICRO I O module refer to the user s manuals of vision sensors 1 Set inputs and outputs I O connection Click the Inputs Outputs button Click the I O Module button Set items as follows Select I O Module CIO Micro Connect To cioMicro_xxxxxx Select the Change Settings button Ó Ò Ô Õ ...

Page 88: ...RO I O module 2 Set the network of the I O module 3 Select the I O module Set items as follows IP Address 192 168 3 4 Subnet Mask 255 255 255 0 Click the OK button Click the OK button Select the checkbox of De Energize While Offline Ò Ó Ô ...

Page 89: ...1 Chapter 2 Chapter 3 June 2018 BCN P5999 0861 C Added or modified parts Section 1 3 Section 1 6 Section 2 3 Section 2 6 March 2019 BCN P5999 0861 D Added or modified parts Section 1 6 Section 2 6 Section 3 6 This manual confers no industrial property rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involvin...

Page 90: ...Solutions VisionPro VisionView The following are trademarks of Cognex Corporation The Cognex logo 1DMax 3D Locate 3DMax BGAII CheckPoint Cognex VSoC CVC 1000 FFD iLearn In Sight design insignia with cross hairs In Sight 2000 InspectEdge Inspection Designer MVS NotchMax OCRMax PatMax RedLine ProofRead SmartSync ProfilePlus SmartDisplay SmartSystem SMD4 VisiFlex Xpand The company names system names ...

Page 91: ......

Page 92: ...out notice When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN ...

Reviews: