Sei sulla pagina 1di 96

FANUC Profinet TIA Portal Integration

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.
Friday Webinar Series

Upcoming Schedule
FRIDAY TITLE PRESENTED BY

April 27, 2018 How to Help your Customer get Started with ZDT Jessica Vallis

May 11, 2018 How to Demo/Sell ZDT to your Customers 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
– Siemens
– Fanuc

• TIA Portal V14 SP1 UPD4


– Creating a Project
– Creating a custom GSD File

• Configuring and Mapping IO


– I-Controller
– I-Device
– F-Device
FANUC R-30+B Plus – Hardware
• Siemens Communication Card
– Siemens CP1604 # 6GK1 160-4AA01 PCBDO000000038O
(PCBDO000000038O)
– FANUC wide-mini motherboard
(A05B-2600-J075)
– FANUC CPL Profinet wide-mini PNCP1604
(PROFINET_ASSYIB)

• FANUC Controller
– R-30+B Plus A or B Cabinet
– Excludes Mate and Compact Cabinets PROFINET_ASSYIB
FANUC R-30+B Plus – Software
• Siemens Communication Card
– Firmware Version 2.7.2.0
– Included in load media (..\product\J744\)

• R-30+B Plus Controller


– I-Device and I-Controller Function
• V9.10P/05
• J709: PROFINET I/O G2
• J744*: PROFINET CP16XX Firmware
– F-Device Function
• V9.10P/06
• J709: PROFINET I/O G2
• J931**: PROFINET Safety
* includes firmware pn2720.fwl for Siemens CP1604; ** includes J568, DCS Safe I/O Connect
FANUC R-30+B Plus – Hardware and Software Summary
PROFINET R-30+B Plus R-30+B Plus R-30+B Plus
Hardware A and B Cabinets Mate Cabinet Compact Cabinet
I-Device V9.10P/05 or later V9.10P/05 or later Targeted for
I-Controller + R834* + R834* July 2018
MOLEX

I-Device V9.10P/05 or later


Targeted for Targeted for
I-Controller + R834*
June 2018 July 2018
F-Device + J931**

I-Device V9.10P/05 or later


N/A N/A
I-Controller + J709
SIEMENS

I-Device V9.10P/06 or later


I-Controller + J709 N/A N/A
F-Device + J931**
* includes J744 – PROFINET CP16XX Firmware; ** includes J568 – DCS Safe I/O Connect
FANUC R-30+B Plus – Configuration For Webinar
PROFINET R-30+B Plus
FIRMWARE GSDML
Option A Cabinet
I-Device V9.10P/08 GSDML-V2.33-Fanuc-
I-Controller + R834* ef2.bin A05B2600R834V910-
MOLEX

20170720.xml
I-Device V9.10P/08 located in load media
I-Controller + R834* ..\product\J744) located in load media
F-Device + J931** ..\product\R834

I-Device V9.10P/08
I-Controller + J709 pn2720.fwl
SIEMENS

CP1604 V2.7 GSDML


I-Device V9.10P/08 located in load media
downloadable from Siemens
I-Controller + J709 ..\product\J744)
F-Device + J931**
* includes J744 – PROFINET CP16XX Firmware; ** includes J568 – DCS Safe I/O Connect
4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 14
R-30+B Plus TIA Portal Integration – Network Diagram
I-Controller
• R-30+B Plus A-Cabinet V9.10P/08 I-Device
F-Device
– J709: PROFINET I/O G2 R-30+B Plus A-Cab
V9.10P/08
– J744: PROFINET CP16XX Firmware w/ CP1604
– J931: PROFINET Safety

• CP1604 PROFINET Siemens Card


– F/W V2.7.2.0 (..\product\J744\pn2720.fwl)
– CP1604 6GK1 160-4AA01 V2.7 GSDML 8-Port Switch CP1604

• Siemens PLC (6ES7516-3FN01-0AB0)


– I-Controller to I-Device (robot)
– F-Controller to F-Device (robot) I-Devices
TURCK
• (3) Turck IO Modules (TBEN-LG-8DIP-8DOP) TBEN-LG-8DIP-8DOP

– IO Modules I-Controller
Siemens
– I-Devices to I-Controller (robot) 6ES7516-
3FN01-0AB0
R-30+B Plus TIA Portal Integration – Siemens Firmware Verification
• Go to Controlled Start
– Press MENU
– Press ‘0’ NEXT
– Press ‘0’ NEXT
– Press ‘1’ PROFINET Setup
• Expected Firmware is 2.7.2.0
– If firmware is not 2.7.2.0, an alarm message will be displayed
indicating incorrect version
– If current firmware does not match expected, perform
firmware update
• Firmware Update
– Firmware file name is: pn2720.fwl
– Firmware file location (..\product\J744\pn2720.fwl)
– Item 4 has the default file location for firmware (i.e.
FRH:\PNG2\pn2720.fwl)
– Press ‘3’ to download firmware. This will take up to 7
minutes. Press ‘F4’ to confirm
– Upon ‘firmware download successful’, press FCTN, ‘1’ START
COLD
R-30+B Plus TIA Portal Integration – Set System Variable, Clear IO

4/23/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
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

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

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 30


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 31


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 32


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 33


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 34


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 35


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 36


R-30+B Plus TIA Portal Integration

Transfer area name:


Safety I/O

Type:
F-PS

Length:
8 byte

Submodule ID
(hex):
0x1008

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 37


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 38


R-30+B Plus TIA Portal Integration

Transfer area name:


Input
Output

Type:
CD

Length:
16 byte

Arrow directions
 for Input
 for Output

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 39


R-30+B Plus TIA Portal Integration

Set IP Address:
192.168.1.12

Uncheck boxes:
PROFINET device name…
Generate PROFINET device name…

PROFINET device
name:
cp1604

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 40


R-30+B Plus TIA Portal Integration

Check Enable Customization

Modify
Vendor ID
Device ID
Article Number
Vendor Name
Product Name
Name of GSD bitmap file

Check Export software version

Latest BMP File

GSDML-01B7-000E-
R2000iB165FV910_CP1604V27.bmp
4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 41
R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 42


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 43


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 44


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 45


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 46


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 47


R-30+B Plus TIA Portal Integration

Set IP Address:
192.168.1.16
192.168.1.17
192.168.1.18

Uncheck boxes:
Generate PROFINET device name…

PROFINET device name:


Turck_16
Turck_17
Turck_18

Be sure to assign name


to each device using
Online & Diagnostic for
each module
4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 48
R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 49


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 50


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 51


R-30+B Plus TIA Portal Integration

PROFINET I-Device requires that for a CP to act as an I-


Device, its final configuration must first be exported as a
GSDML file and then later imported in whichever project
will utilize the CP as an I-Device

Choose a Path that is readily accessible

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 52


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 53


R-30+B Plus TIA Portal Integration

The Load process will take some time


Below is successful Load; next cycle Robot controller power

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 54


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 55


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 56


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 57


R-30+B Plus TIA Portal Integration
• Go to the SETUP PROFINET I/O
– Press MENU
– Press ‘6’ SETUP
– Press ‘F1’ TYPE
– Press ‘0’ NEXT
– Press ‘0’ NEXT
– Press ‘3’ PROFINET
• Change Item #2, Start Mode from
STOP to RUN
• Press ‘F4’ YES, to Start Data Transfer
• Alarm banner will display ‘PRIO-625
PNIO(C) read in complete’
4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 58
R-30+B Plus TIA Portal Integration

• Go to the Config Screen


– Press ‘F3’ [OTHER]
– Press ‘4’ CONFIG

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 59


R-30+B Plus TIA Portal Integration
• Note all three Turck IO
modules are successfully
enabled
• Next go to the status screen
– Press MENU
– Press ‘0’ NEXT
– Press ‘4’ STATUS
– Press ‘F1’ TYPE
– Press ‘0’ NEXT
– Press ‘0’ NEXT
– Press ‘1’ PROFINET
4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 60
R-30+B Plus TIA Portal Integration
• Pressing detail shows more specific
information about the I/O Module
• This completes the I-Controller
configuration of the three Turck
modules
• Next we will configure the I-Device
and F-Device
• Return to PROFINET setup screen
– Press MENU
– Press ‘6’ SETUP
– Go to PROFINET
– Press ‘F3’ OTHER
– Press ‘3’ I-Device
– Press ‘2’ TRANSFER AREAS
– Press ENTER

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 61


R-30+B Plus TIA Portal Integration
• The following screen displays the
configuration completed in the
previous steps
• Pressing ‘F2’ provides the details of
each slot connection
• Note the subslot for Safety Module
• Note the subslots for the Input and
Output modules, respectively
• Next, configure TIA portal to
connect the F-Device and I-Device
to the Siemens PLC

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 62


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 63


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 64


R-30+B Plus TIA Portal Integration
• Newly added
CP1604 appears
under
– Other filed devices
– PROFINET I/O
– PLCs and CPs
– FANUC
– Robot Controller
– R30iB_Plus_Safe
• Drag and drop
R30iB_Plus_Safe
into the Network
View

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 65


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 66


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 67


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 68


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 69


R-30+B Plus TIA Portal Integration

4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 70


R-30+B Plus TIA Portal Integration

Switch Programming Language to


LAD = LADDER
R-30+B Plus TIA Portal Integration

Logic for Reintegration


R-30+B Plus TIA Portal Integration

Logic for Reintegration


R-30+B Plus TIA Portal Integration

Logic for Reintegration


R-30+B Plus TIA Portal Integration

Logic for Reintegration


R-30+B Plus TIA Portal Integration

1. Right Click the PLC_1


2. Go to Compile
3. Select Hardware and software (only changes)
R-30+B Plus TIA Portal Integration

1. Right Click the PLC_1


2. Go to Download to device
3. 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. Configuration and Download is successful


2. Indicated by two green check marks for both PLC and Robot
Controller
R-30+B Plus TIA Portal Integration
• I-Device Function
– I/O can be mapped as digital, group,
and/or UOP
– Rack 100 Slot 1
• 16 bytes I/O for I-Device connection
– 128 bits to DI Rack 100 Slot 1 BEFORE
– 128 bits to DO Rack 100 Slot 1
• Cycle power to controller
• IO is now active (blue) as shown to
the right
c

AFTER
R-30+B Plus TIA Portal Integration

• Inputs are assigned to %Q12-27


• Outputs are assigned to %I12-27
R-30+B Plus TIA Portal Integration

DI
c• Inputs are assigned to %Q12-27

DO • Outputs are assigned to %I12-27


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
• I-Controller Function
– I/O can be mapped as digital, group,
and/or UOP
– Rack 99 Slot 1
• 8 bytes I/O for each Turck IO module:
– 24 bits total to DI Rack 99 Slot 1 BEFORE
– 24 bits total to DO Rack 99 Slot 1
• Cycle power to controller
• IO is now active (blue) as shown to
the right

AFTER
R-30+B Plus TIA Portal Integration
• Digital Outputs to Turck IO
Modules
– DO[201 – 208]: Turck_16
– DO[209 – 216]: Turck_17
– DO[217 – 224]: Turck_18
• 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 Turck_17
Turck_18
Turck_16
4/23/2018 FANUC America Corporation CONFIDENTIAL - Not To Be Re-Distributed In Any Form 88
R-30+B Plus TIA Portal Integration Summary
• Identified key components to implement a Siemens Profinet Safe on the R-30+B Plus controller using TIA Portal
V14, SP1, UPD4
• Identified platforms supporting Siemens Profinet Hardware
• Identified software options required for Siemens Profinet and Profinet Safe option
• Created a roadmap (network diagram) to breakdown device functions
– I-Controller
– I-Device
– F-Device
• Generated custom GSD file to create an F-Device and I-Device connection to F-Controller
• 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
• FANUC Molex Dual Channel Profinet Option
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

April 27, 2018 How to Help your Customer get Started with ZDT Jessica Vallis

May 11, 2018 How to Demo/Sell ZDT to your Customers 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

Potrebbero piacerti anche