FANUC Profinet TIA Portal Integration - Molex Haresh Moradia Senior Segment Engineer Software and Controller Products Group General Industries and Automotive Segment FANUC America Corporation Today’s Speaker Haresh Moradia Senior Segment Engineer Software and Controller Products General Industries and Automotive Segment Telephone: 248.377.7793 Email: Haresh.Moradia@fanucamerica.com FANUC America Corporation 3900 W. Hamlin Rd. Rochester Hills, Michigan 48309 www.fanucamerica.com Access to Controls & Audio You can access controls for the meeting at the top right of your screen if you are in window mode, OR from a drop down menu at the top center if you are in full screen mode. If you do experience any audio problems, we find that the call in number can resolve most issues; therefore, we do recommend you use that option if an audio problem arises. Questions We will be taking questions using the Q&A panel that can be found on the top right if you are in window mode or from a drop down menu at the top if you are in full screen mode. Any questions entered in the Q&A will be addressed at the END of today’s webinar. Access to Webinar Files A friendly reminder… An archive copy of today’s presentation will be made available in 1 week on our CRC website where you will be able to download the video file OR stream it to your desktop. Additionally, an email will be sent to webinar registrants when the presentation is available for download in PowerPoint. Upcoming Schedule FRIDAY TITLE PRESENTED BY June 22, 2018 DE palletizing - 3D ASD (Vision) Bernhard Walker July 13, 2018 How to Demo/Sell ZDT to your Customers - Part III Missy Walker Today’s Speaker Haresh Moradia Senior Segment Engineer Software and Controller Products General Industries and Automotive Segment Telephone: 248.377.7793 Email: Haresh.Moradia@fanucamerica.com FANUC America Corporation 3900 W. Hamlin Rd. Rochester Hills, Michigan 48309 www.fanucamerica.com FANUC R-30+B Plus Totally Integrated Automation Version 14, Service Pack 1, Update 4 TIA Portal Integration FANUC R-30+B Plus – Overview • Hardware and Software Requirements – Molex – Fanuc • TIA Portal V14 SP1 UPD4 – Creating a Project – Installing GSD Files • Molex Profinet Configuration Tool – Creating a Library – Installing GSD Files • Configuring and Mapping IO – I-Controller – I-Device – F-Device FANUC R-30+B Plus – Hardware • Molex Communication Card – Molex F104 Dual Channel Profinet (A05B-2600-J083) – FANUC mini-slot carrier board (A05B-2600-J076) – FANUC PROFINET ASSY IB MINI (PROFINET_ASSYIBM) • FANUC Controller – R-30+B Plus A or B Cabinet – R-30+B Plus Mate Cabinet – R-30+B Compact Cabinet PROFINET_ASSYIBM FANUC R-30+B Plus – Software • Molex Communication Card – Software V9.10P/05 and higher, below V9.10P/10 • Firmware Version 1.3.3.2 • Included in load media (..\product\J744\ef2.bin) – Software V9.10P/10 or higher • Firmware Version 1.3.3.3 (V9.10P/10 or higher) • Included in load media (..\product\J744\ef2m.bin) • R-30+B Plus Controller V9.10P/05 or higher – I-Device and I-Controller Function • R834: Dual Channel PROFINET • Includes J744*: PROFINET CP16XX Firmware – F-Device Function • R834: Dual Channel PROFINET • J931**: PROFINET Safety * includes firmware ef2.bin for Molex; ** includes J568, DCS Safe I/O Connect FANUC R-30+B Plus – Hardware and Software Summary R-30+B Plus A and B Cabinets R-30+B Plus Mate Cabinet R-30+B Plus Compact Cabinet I-Device I-Controller V9.10P/05 or later + R834* V9.10P/05 or later + R834* V9.10P/10 or later + R834* I-Device I-Controller F-Device V9.10P/05 or later + R834* + J931** V9.10P/10 or later + R834* + J931** V9.10P/10 or later + R834* + J931** I-Device I-Controller V9.10P/05 or later + J709 N/A N/A I-Device I-Controller F-Device V9.10P/06 or later + J709 + J931** N/A N/A SIEMENS MOLEX PROFINET Hardware * includes J744 – PROFINET CP16XX Firmware; ** includes J568 – DCS Safe I/O Connect FANUC R-30+B Plus – Configuration For Webinar SIEMENS MOLEX PROFINET Option R-30+B Plus A Cabinet FIRMWARE GSDML ef2.bin GSDML-V2.33-FanucA05B2600R834V91020170720.xml I-Device I-Controller V9.10P/08 + R834* I-Device I-Controller F-Device V9.10P/08 + R834* + J931** I-Device I-Controller V9.10P/08 + J709 I-Device I-Controller F-Device V9.10P/08 + J709 + J931** located in load media ..\product\J744) * includes J744 – PROFINET CP16XX Firmware; located in load media ..\product\J744) located in load media ..\product\R834 pn2720.fwl CP1604 V2.7 GSDML downloadable from Siemens ** includes J568 – DCS Safe I/O Connect 6/20/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 14 R-30+B Plus TIA Portal Integration – Network Diagram I-Device F-Device • R-30+B Plus A-Cabinet V9.10P/08 – R834: Dual Channel PROFINET – J744: PROFINET CP16XX Firmware – J931: PROFINET Safety • Dual Channel PROFINET Molex F104 Card Channel 2 Port 1 + 2 R-30+B Plus A Cabinet V9.10P/08 Channel 1 Port 1 + 2 I-Controller – F/W V1.3.3.2 (..\product\R834\ef2.bin) – GSDML-V2.33-Fanuc-A05B2600R834V910-20170720.xml (..\product\R834\r834_gsdml.zip) • Siemens (6ES7516-3FN01-0AB0) – I-Controller to I-Device (robot) – F-Controller to F-Device (robot) • (3) Turck IO Modules (TBEN-LG-8DIP-8DOP) – IO Modules – I-Devices to I-Controller (robot) I-Controller Siemens 6ES75163FN01-0AB0 I-Devices TURCK TBEN-LG-8DIP-8DOP R-30+B Plus TIA Portal Integration – Molex Firmware Verification • Go to Controlled Start – – – – Press MENU Press ‘0’ NEXT Press ‘0’ NEXT Press ‘1’ PROFINET (M) Setup • Expected Firmware is 1.3.3.2 – Compare to current firmware – If current firmware does not match expected, perform firmware update • Firmware Update – Firmware file name is: ef2.bin – Firmware file (..\product\R834\ef2.bin) – Change FW File location to directory (i.e. UD1:\ef2.bin) – Press ‘F2’ UPDATE – Upon completion, press FCTN, ‘1’ START COLD R-30+B Plus TIA Portal Integration – Set System Variable, Clear IO 6/20/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 17 R-30+B Plus TIA Portal Integration – Apply PROFINET DCS Parameters • Go to DCS Menu (if start-up does present screen) – Press MENU – Press ‘0’ NEXT – Press ‘6’ SYSTEM – Press ‘F1’ TYPE – Press ‘9’ DCS • Go to PROFINET Safety and press ‘ENTER’ – Ensure that Enable/Bypass is set to ‘ENABLE’ – Enter the Safety input size (byte): 8 – Enter the Safety output size (byte): 8 – Record the F-Address: 200 – F-Address is required for PLC – Apply the DCS parameters and cycle power R-30+B Plus TIA Portal Integration – IO-Device and F-Device Setup • Go to Molex Setup Menu – Press MENU – Press ‘5’ I/O – Press ‘F1’ TYPE – Press ‘0’ NEXT – Press ‘5’ PROFINET (M) • Preconfigured Channel 1 and Channel 2 – Channel 1 • Channel Name: ef2-ioc • By default, IP Address is 192.168.1.10 – Channel 2 • Channel Name: ef2-iod • By default, IP Address is 192.168.1.20 – Verifies card function, by plugging Port 1 to Port 3 IO-Device Channel 2 Port 1 + 2 IO-Controller Channel 1 Port 1 + 2 R-30+B Plus TIA Portal Integration – IO-Device and F-Device Setup • Delete the IO-Controller, Configured Devices – – – – – – Scroll down to 01:ef2-iod Press ‘F3’ REMOVE Confirm by selecting ‘YES’ and press ENTER Press ‘F1’ SAVE Press ENTER to acknowledge ‘OK’ reboot reminder Cycle Power on controller Confirm removal Reboot Reminder R-30+B Plus TIA Portal Integration – IO-Device and F-Device Setup • Modify the IO-Device Configuration – – – – – Scroll down to IO-Device Press ‘F4’ EDIT Press ‘F4’ EDIT, again to modify Slot 1 Settings Select Safety Slot Press ‘F1’ APPLY Edit Slot 1 Settings Select Safety Slot Press ‘F1’ Apply R-30+B Plus TIA Portal Integration – IO-Device and F-Device Setup • Modify the IO-Device Configuration – Scroll down to Slot Size – Press ‘F4’ EDIT – Change from 1 byte to 8 byte per DCS configuration then press ‘F1’ Apply – Press ‘F1’, again, to APPLY changes Change to 8 byte Press ‘F1’ APPLY Confirm 8 bytes Press ‘F1’ APPLY R-30+B Plus TIA Portal Integration – IO-Device and F-Device Setup • Modify the IO-Device Configuration – – – – – – Similar procedure, modify Slot 2 and Slot 3 Change Slot 2 settings to 16 bytes Input Change Slot 3 settings to 16 bytes Output Press ‘F1’ APPLY Press ‘F1’ SAVE Acknowledge reboot message, cycle power Slot 2 Settings Change to Input Slot Change to 16 bytes Press ‘F1’ APPLY Slot 3 Settings Change to Output Slot Change to 16 bytes Press ‘F1’ APPLY R-30+B Plus TIA Portal Integration – IO-Device and F-Device Setup • Channel 2 is the IO-Device – I-Device – F-Device • F-Device – Configured in Slot 1 – Configurable up to 8 bytes • I-Device – Configured in slots 2 and 3 – Slot 2 configured here as 16 bytes Digital Input – Slot 3 configured here as 16 bytes Digital Output • Note: I-Device status is RED R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration PLC: 192.168.1.2 Robot IO-Controller: 192.168.1.10 Robot IO-Device: 192.168.1.20 3 IO Modules: 192.168.1.5, 192.168.1.6, 192.168.1.7 R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration Subnet on two ports cannot be same Since X1 is set to 192.168.1.XXX X2 cannot be set to 192.168.1.XXX Instead, 192.168.2.XXX can be used Perform this change next R-30+B Plus TIA Portal Integration Subnet on two ports cannot be same Since X1 is set to 192.168.1.XXX X2 cannot be set to 192.168.1.XXX Instead, 192.168.2.XXX can be used R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration 6/20/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 36 R-30+B Plus TIA Portal Integration 6/20/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 37 R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration Note: Names MUST MATCH The I-Device Address is listed as The I-Device Name is listed as 192.168.1.20 ef2-iod R-30+B Plus TIA Portal Integration Method 1: Click and drag this X1 connection to robot Method 2: Click on the blue underlined Not Assigned This will automatically create the link between devices R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration Slot 1 8 bytes of Safety I/O Slot 2 and 3 settings Slot 2: 16 Input Slot 3: 16 Output R-30+B Plus TIA Portal Integration Slot 2 and 3 settings In Robot Slot 2: 16 Input Slot 3: 16 Output Slot 2 and 3 settings In PLC Slot 2: 16 Output Slot 3: 16 Input R-30+B Plus TIA Portal Integration R-30+B Plus TIA Portal Integration F-Device I-Device R-30+B Plus TIA Portal Integration Switch Programming Language to LAD = LADDER R-30+B Plus TIA Portal Integration Add logic for reintegration R-30+B Plus TIA Portal Integration Add logic for reintegration R-30+B Plus TIA Portal Integration Add logic for reintegration R-30+B Plus TIA Portal Integration Add logic for reintegration R-30+B Plus TIA Portal Integration 1. 2. 3. Right Click the PLC_1 Go to Compile Select Hardware and software (only changes) R-30+B Plus TIA Portal Integration 1. 2. 3. Right Click the PLC_1 Go to Download to device Select Hardware and software (only changes) R-30+B Plus TIA Portal Integration • Select the type of the PG/PC interface (i.e. PN/IE) – PG/PC Interface (i.e. Ethernet Adapter) – Connection to interface (i.e. direct at slot X1) • Select target device – Three options available – Select ‘Show accessible devices’ • Start search – Scans the network for accessible devices – Completed when search is finished and accessible devices are found R-30+B Plus TIA Portal Integration • List of accessible devices displayed – ef2-ioc: Robot I-Controller Profinet Port – PLC_1: Siemens CPU 1516F-3 – (3) IO Modules: Turck TBEN-LG-8DIP-8DOP – ef2-iod: R30iBPlus • Select the PLC_1 as target device • Press Load when PLC_1 is selected • Continue without synchronization if prompted, as shown below R-30+B Plus TIA Portal Integration • Continue without synchronization if prompted • Final checks are performed before loading • Upon check completion – Protection is checked – Device configuration is ready for download to device – Consistent Download checks performed • Device configuration • Software • Safety Program • Press Load to download the configuration – This will take some time R-30+B Plus TIA Portal Integration • Status and actions after downloading to device will be displayed – The download to PLC will display errors, if any – A CRC comparison is performed • Press Finish • And then Go online as shown below R-30+B Plus TIA Portal Integration 1. 2. 3. Configuration and Download is successful Indicated by two green check marks for both PLC and Robot Controller Place the PLC into RUN mode at the PLC manually (if switch at PLC is in STOP) or button shown above (if switch at PLC is in RUN) R-30+B Plus TIA Portal Integration • I-Device Function supports up to 128 bytes of inputs and 128 bytes of outputs – I/O can be mapped as digital, group, and/or UOP – Rack 102 Slot 1 BEFORE • Example configured for 16 bytes IO. Assign the following: – 128 bits to DI Rack 102 Slot 1 – 128 bits to DO Rack 102 Slot 1 • Cycle power to controller • IO is now active (blue) as shown to the right AFTER R-30+B Plus TIA Portal Integration c • Safety Inputs are assigned to %Q0 – 11 • Safety Outputs are assigned to %I0 – 11 • Inputs are assigned to %Q12 – 27 • Outputs are assigned to %I12 – 27 R-30+B Plus TIA Portal Integration • IO can be simulated and tested in the PLC • Here %Q12 and %I12 first 8 bits are monitored in the PLC – Outputs turned on in robot to PLC – Outputs turned on in PLC to robot • Robot digital outputs [DO] correspond to %I addresses in the PLC • Robot digital inputs [DI] correspond to %Q addresses in the PLC DI DO R-30+B Plus TIA Portal Integration • F-Device Function – Robot Safety Inputs/Outputs • Mapped to CSI and CSO Safety Bits • 8 bytes total for each • Modified and controlled by DCS Safe I/O logic and PLC Safe Logic CSI CSO R-30+B Plus TIA Portal Integration – IO-Controller Setup • Setting up the IO-Controller – Requires the Molex PFN-CT Profinet Configuration Tool located in load media (..\product\R834\setuppct.exe) to create libraries – Does not require TIA Portal – Procedure located in the Dual Channel PROFINET (Molex Hardware): Setup and Operations Manual, Chapter 3 I-O Controller Setup • Generating a template library to download into robot(s) – One time procedure – Includes all the devices that may be used • Adding IO-Devices to the robot(s) – Done on teach pendant automatically using the DETECT function – Devices can be added manually if not on network – Save new configuration and cycle power to the robot R-30+B Plus TIA Portal Integration – IO-Controller Setup • • Current network configuration – Siemens PLC: 192.168.1.2 – Robot ef2-ioc: 192.168.1.10 – Robot ef2-iod: 192.168.1.20 – Turck-05: 192.168.1.5 – Turck-06: 192.168.1.6 – Turck-07: 192.168.1.7 Detecting I-Controller devices connected to the network – Go to IO-Controller – Select Unconfigured Devices – Press ‘F2’ DETECT • A list of all unknown devices connected to network will be displayed • Devices are unknown because they do not match devices in the template library List of unknown devices populates the list of devices detected on the network. These devices are not recognized R-30+B Plus TIA Portal Integration – IO-Controller Setup • Molex PFN-CT PROFINET Configuration Tool – Software located in load media (..\product\R834\setuppct.exe) or contacting FANUC support – Allows users to create a Template Library – Requires GSDML files for all modules – GSDML files imported into Configuration Tool • • • • Automatically detecting devices on a network Manually adding devices Template library is generated Template library downloaded to robot • Creating a template library requires GSDML files – (3) Turck TBEN-LG-8DIP-8DOP modules – (1) Robot ef2-iod module • The template library is part of a robot backup and is included in pmcfg.zip R-30+B Plus TIA Portal Integration – IO-Controller Setup • Go to the FILE menu • Select the Configuration Manager R-30+B Plus TIA Portal Integration – IO-Controller Setup • Select New in the Configuration Manager dialog box R-30+B Plus TIA Portal Integration – IO-Controller Setup • Enter a configuration name (i.e. MOLEX_CONFIG) and description (i.e. MOLEX TIA PORTAL INTEGRATION) and then press OK R-30+B Plus TIA Portal Integration – IO-Controller Setup • Select the MOLEX_CONFIG and then press OK R-30+B Plus TIA Portal Integration – IO-Controller Setup • Right click the Target Configuration under the Molex_Config • Select Add Target R-30+B Plus TIA Portal Integration – IO-Controller Setup • Select the target type, the SST_PFC_PCU_4 • The target type listed here is the Molex F104 Dual Channel Profinet Card R-30+B Plus TIA Portal Integration – IO-Controller Setup • Select Local Network Interface Card • Choose the IP Address which is on the same subnet as the robot controller (Molex Card) • Type in the IP Address of the Molex Card, Channel 1, IP Address (i.e. 192.168.10) • Press OK to proceed R-30+B Plus TIA Portal Integration – IO-Controller Setup • Connect to the network using the connection/disconnection icon in the top icon bar CONNECT/DISCONNECT R-30+B Plus TIA Portal Integration – IO-Controller Setup • Press the ADD icon to add GSDML files • GSDML files can be downloaded from vendor specific sites – Turck Website – GSDML File for the TBEN-LG-8DIP-8DOP ADD ICON R-30+B Plus TIA Portal Integration – IO-Controller Setup R-30+B Plus TIA Portal Integration – IO-Controller Setup R-30+B Plus TIA Portal Integration – IO-Controller Setup READ NETWORK CONFIGURATION ICON R-30+B Plus TIA Portal Integration – IO-Controller Setup R-30+B Plus TIA Portal Integration – IO-Controller Setup R-30+B Plus TIA Portal Integration – IO-Controller Setup R-30+B Plus TIA Portal Integration – IO-Controller Setup DOWNLOAD CONFIGURATION ICON R-30+B Plus TIA Portal Integration – IO-Controller Setup no templates updating library library updated R-30+B Plus TIA Portal Integration – IO-Controller Setup • Adding the Turck IO Modules R-30+B Plus TIA Portal Integration – IO-Controller Setup R-30+B Plus TIA Portal Integration – IO-Controller Setup • Configured Devices R-30+B Plus TIA Portal Integration – IO-Controller Setup R-30+B Plus TIA Portal Integration – IO-Controller Setup • Configured Devices R-30+B Plus TIA Portal Integration – IO-Controller Setup • Configured Devices R-30+B Plus TIA Portal Integration – IO-Controller Setup • I-Controller Function supports up to 128 bytes of inputs and 128 bytes of outputs – I/O can be mapped as digital, group, and/or analog – Rack 101 and the slot configured (1-128) – Supports up to 128 connections to peripheral devices R-30+B Plus TIA Portal Integration • The (3) Turck Modules are allocated to three slots – 8 DI/DO bits to DI Rack 101 Slot 1 – 8 DI/DO bits to DI Rack 101 Slot 2 – 8 DI/DO bits to DI Rack 101 Slot 3 • Cycle power to controller to accept pending changes • IO is now active (blue) as shown to the right • The system has been successfully configured for BEFORE – I-Device – I-Controller – F-Device AFTER R-30+B Plus TIA Portal Integration • Digital Outputs to Turck IO Modules – DO[131 – 138]: Turck-05 – DO[141 – 148]: Turck-06 – DO[151 – 158]: Turck-07 • Manually set digital outputs and observe Turck IO module outputs turned on • Digital inputs (i.e. proximity switches, photo-eyes, etc.) can be attached to modules; inputs observed in robot digital input table 6/20/2018 Turck-05 Turck-07 Turck-06Turck_18 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form Turck_16 Turck_17 98 R-30+B Plus TIA Portal Integration Summary • Identified key components to implement a Molex Dual Channel Profinet Safe on the R-30+B Plus controller using TIA Portal V14, SP1, UPD4 • Identified platforms supporting Molex Dual Channel Profinet Hardware • Identified software options required for Molex Dual Channel Profinet and Molex Dual Channel Profinet Safe option • Created a roadmap (network diagram) to breakdown device functions – I-Controller – I-Device – F-Device • Installed GSDML files in both the TIA Portal and Profinet Configuration Tool • Implemented IO mapping and verification for all IO configured – IO Device Mapping to PLC – DCS Safe IO Mapping to PLC – IO Module Mapping to Robot • Siemens Profinet and Siemens Profinet Safe Options R-30+B Plus TIA Portal Integration Questions? R-30+B Plus TIA Portal Integration thank you Questions We will now be taking questions using the Q&A panel that can be found on the top right if you are in window mode or from a drop down menu at the top if you are in full screen mode. Friday Webinar Series Upcoming Schedule FRIDAY TITLE PRESENTED BY June 22, 2018 DE palletizing - 3D ASD (Vision) Bernhard Walker July 13, 2018 How to Demo/Sell ZDT to your Customers - Part III Missy Walker FANUC ASI Network I would also like to remind you that this webinar series is an exclusive benefit of being a part of our FANUC Authorized System Integrator Network. Benefits of that network give you access to a lot of other great features including the FANUC Sales Toolbox, our Robotics Advantage Program, the CRC website and many other marketing programs. Access to Webinar Files A friendly reminder… An archive copy of today’s presentation will be made available in 1 week on our CRC website where you will be able to download the video file OR stream it to your desktop. Additionally, an email will be sent to webinar registrants when the presentation is available for download in PowerPoint. Contact Information Haresh Moradia Senior Segment Engineer Software and Controller Products General Industries and Automotive Segment Telephone: 248.377.7793 Email: Haresh.Moradia@fanucamerica.com FANUC America Corporation 3900 W. Hamlin Rd. Rochester Hills, Michigan 48309 www.fanucamerica.com