1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

PROFINET IO communication between Siemens S7 1512SP PLC and PROFINET FANUC board

  • yolovs
  • August 19, 2022 at 8:28 AM
  • Thread is Unresolved
  • yolovs
    Reactions Received
    4
    Trophies
    1
    Posts
    48
    • August 19, 2022 at 8:28 AM
    • #1

    Hi,

    I must to make PROFINET IO communication between Siemens S7 1512SP PLC with FANUC Robor R-30iB Plus. The FANUC communication card is PROFINET FANUC board (A05B-2600-S523).

    In TIA Portal side, I import GSDML file. I insert PROFINET Stack into Device & Network, and add DI 512 and DO 512 at slot 1 and 2 respectively. By means of TIA Portal I set IP address and PROBINET name to the PROFINET FANUC board.

    I connect PROFINET FANUC board to the switch at port 3.

    According the manual three files must be created: device1.zip, tic.zip, dev_config.dt

    The creation of device1.zip (device1.xml) is clear.

    Now I am straggling with creation of tic.zip and dev_config.dt.

    For tic.zip you need PLCnext Engineer 2022 software from PHOENIX CONTCT to create file. To do that first you need a .fdcml file, which can be obtained from FANUC file. I made the configuration but in documentation is written that GSDML file for Siemens PLC must be imported. The Siemens PLC is IO Controler and there is no GSDML file! In addition to export GSDML file from TIA Portal, Siemens PLC must be configured as I-Device, but it is not possible, because for that you need to specify another IO Controller.

    I also have doubts regarding dev_config.dt. If the .name and .station_id must related to anything from tic.zip configuration?

    Any way I did the files, put them in FR:\pnfb folder in system R-30iB Plus, load the configuration into PROFINET FANUC board. There is no errors, but Siemens PLC, shows no communication with R-30iB Plus.

    Does anybody make such configuration? Any help will highly appreciated!

    Best regards,

    Svetozar Yolov

    Images

    • PLCnext Engineer 2022 - topology.png
      • 60.7 kB
      • 1,551 × 993
      • 323
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • August 21, 2022 at 2:59 PM
    • #2

    I guess your robot controller is the Device and your Siemens PLC is the Controller. If you are only using the Device function on the robot side, you only need to create the device1.zip file. tic.zip and dev_condig.dt are only required when the robot controller is also used as a PROFINET Controller.

    Did you correctly create the device1.zip? I am asking because one of the examples in the manual is not correct (the numbering of the module slots are incorrect). Could you post your device1.zip? Then I will have a look on it.

  • yolovs
    Reactions Received
    4
    Trophies
    1
    Posts
    48
    • August 22, 2022 at 9:55 AM
    • #3

    Hi, DS

    Thank you very much for the response.

    You are right, CPU 1512SP is IO Controller and robot is IO device.

    Here is my device1.zip. Creating the file, I follow strictly recommendation in manual. I decide to have 512 inputs and 512 outputs. That is why I configure in TIA Portal:

    - Slot 0 - PROFINET Stack

    - Slot 1 DI 512

    - Slot 2 DO 512

    The documentation is not very clear. Especially, when related to the tic.zip.

    The files (device1.zip, tic.zip, dev_config.dt) I prepare was copied into FR:\pnfb\ folder. I start profinet card and there is no errors. Unfortunatelly, Siemens PLC reports, error communicating with PROFINET IO Device (PROFINET FANUC board).

    In documentation manual B-82864EN_07.pdf, it is considered configuration for IO Controller and I-device (when using Siemens CP1604/1616) but not IO device (which is my case).

    You help is highly appreciated.

    Regards,

    Svetozar

    Files

    device1.zip 318 Byte – 283 Downloads
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • August 22, 2022 at 12:32 PM
    • #4

    In this case, you don't need the tic.zip and dev_config.dt files. Did you check if the device1.zip file is copied to the correct folder and also updated? Your device1.zip file only has 2 bytes In and Out configured. This is wrong since you want to use 64 bytes In and Out.

    Quote from yolovs

    That is why I configure in TIA Portal:

    - Slot 0 - PROFINET Stack

    - Slot 1 DI 512

    - Slot 2 DO 512

    Please also change the DIs and DOs on the TIA portal side. Use slot 1 for DO512 and slot 2 for DI512. Reason: On the robot side you have slot 1 for DIs and slot 2 for DOs. It has to be the other way round on the PLC side.

    What is the system software version of your R-30iB Plus? Is it <= V9.40P/22 or >= V9.40P/25? With this information I can reliably check your device1.zip file. The GSDML files and the device1.zip file are different for these system software versions. Please check if you are using the correct files.

  • yolovs
    Reactions Received
    4
    Trophies
    1
    Posts
    48
    • August 22, 2022 at 2:48 PM
    • #5

    Dear DS,

    Thank you very much for the update.

    Regarding the I/Out bytes in device1.zip, it was my mistake. At the beginning, I did right (In of 64 bytes, and Out of 64 bytes). Next I decide to o experiments and by mistake I sent you wrong file.

    Now my device1.zip is as the following:

    Here are modules description:

    <Module Slot="1" ID="17">

    <Submodule API="0" Subslot="01" ID="0x00000001" Inputlen="64" Outputlen="0" />

    </Module>

    <Module Slot="2" ID="18">

    <Submodule API="0" Subslot="01" ID="0x00000001" Inputlen="0" Outputlen="64" />

    </Module>

    Attached is corrected file.

    In addition I switched the IO modules in TIA portal:

    - Slot 1 is DO 512

    - Slot 2 is DI 512

    My system software version of R-30iB Plus is V9.40P-20.

    Our FANUC representative, send me the following GSDML file:

    GSDML-V2.41-Fanuc-A05B2600S523V940P4P-20210921.xml

    My PROFINET FANUC board is A05B-2600-S523.

    Can you advise me the configuration I must do on 6 SETUP -> PROFINET I/O menu.

    My robot is IO device, but at PROFINET I/O General screen there are:

    I/O Controller

    I-Device

    I believe that :

    I/O Controller - DISABLED

    I-Device - ENABLED

    Is that correct?

    Next on Setup PROFINET I/O I/O Controller:

    1 Error one shot: Disable

    2. Number of digital inputs: 512

    3. Number of digital outputs: 512

    4. Number of analog inputs: 0

    5. Number of analog outputs: 0

    6. Digital inputs offset address: ???

    7. Digital outputs offset address: ???

    8. Analog inputs offset address: 0

    9. Analog outputs offset address: 0

    10 Clear Alarm Storm: Execute

    Is that correct?

    Next at Setup PROFINET I/O I-Device:

    1 Error one shot: Disable

    2. Number of digital inputs: 512

    3. Number of digital outputs: 512

    4. Number of analog inputs: 0

    5. Number of analog outputs: 0

    Is that correct?

    Which rack number I must use for digital inputs/outputs configuration:

    - 99 = PROFINET I/O controller

    - 100 = PROFINET I/O device?


    Best regards,

    Svetozar

    Files

    device1.zip 316 Byte – 160 Downloads
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • August 22, 2022 at 8:02 PM
    • #6

    GSDML file and device1.zip file seems to be correct for your system software version. I will check it tomorrow when I'm back in the office.

    Regarding the PROFINET IO setup on the robot side:

    Quote from yolovs

    I believe that :

    I/O Controller - DISABLED

    I-Device - ENABLED

    Is that correct?

    IO Controller - DISABLE and I-Device - ENABLE is correct.

    Quote from yolovs

    Next on Setup PROFINET I/O I/O Controller:

    1 Error one shot: Disable

    2. Number of digital inputs: 512

    3. Number of digital outputs: 512

    4. Number of analog inputs: 0

    5. Number of analog outputs: 0

    6. Digital inputs offset address: ???

    7. Digital outputs offset address: ???

    8. Analog inputs offset address: 0

    9. Analog outputs offset address: 0

    10 Clear Alarm Storm: Execute

    Is that correct?

    Next at Setup PROFINET I/O I-Device:

    1 Error one shot: Disable

    2. Number of digital inputs: 512

    3. Number of digital outputs: 512

    4. Number of analog inputs: 0

    5. Number of analog outputs: 0

    Is that correct?

    Which rack number I must use for digital inputs/outputs configuration:

    - 99 = PROFINET I/O controller

    - 100 = PROFINET I/O device?

    Display More

    Clear all IO assignments for the IO Controller. I-Device settings looks correct. I-Device is using rack 100, slot 1.

    Did you correctly set up IP address and PROFINET name (e.g. via PRONETA or another tool) for the FANUC board? Otherweise no connection is possible.

    All the changes on the robot side require the FANUC board in STOP mode. After that, set the mode to RUN and perform a power cycle.

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • August 22, 2022 at 8:07 PM
    • #7

    Are you sure that the module description in your device1.zip is correct? At least on my mobile phone it looks like it is in the wrong order (Submodule API, Subslot, etc.). I will check it tomorrow.

    Edit:

    Sorry, my mistake. Order of description is correct.

  • yolovs
    Reactions Received
    4
    Trophies
    1
    Posts
    48
    • August 23, 2022 at 2:29 PM
    • #8

    Dear DS,

    I follow you advices and have some success - see "TIA - Device & Network - arc-robot01.png",

    You advise me to put DO on slot 1 and DI on slot2 (vice versa of the configuration in robot) but when I go online, in TIA portal, the modules are not green. That is why I place DI first slot, DO second slot.

    As you see that IO modules are OK, but the port is not right. I am connected to port 3 (as it is described in manual B-82864EN_07.pdf) but TIA Portal diagnostic claim that it is port 1.

    I am wondering if it is issue with configuration if digital IO in teach pendant. That is why I did some picture of DI/DO configuration.

    Any other ideas what could be wrong?

    I hope that you can not get bored from my question/problems!

    Best regards,

    svetozar

    Files

    Fanuc - TIA Portal.zip 1.09 MB – 317 Downloads
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • August 23, 2022 at 9:10 PM
    • #9
    Quote from yolovs

    My system software version of R-30iB Plus is V9.40P-20.

    Our FANUC representative, send me the following GSDML file:

    GSDML-V2.41-Fanuc-A05B2600S523V940P4P-20210921.xml

    My PROFINET FANUC board is A05B-2600-S523.

    I have checked the GSDML file you are using. For your R-30iB Plus with system software version V9.40P/20 you have to use another GSDML file. Also the device1.zip file is different for <= V9.40/22. Please find attached the correct GSDML file. I have also written a correct device1.xml for you. Please double-check the device1.xml.

    What you should do now:

    Exchange the GSDML file in TIA portal. Make sure IP address and PROFINET device name are also correctly configured in TIA Portal. And again, please use the below slot order for DOs and DIs for the robot in TIA portal.

    Quote from DS186

    Please also change the DIs and DOs on the TIA portal side. Use slot 1 for DO512 and slot 2 for DI512. Reason: On the robot side you have slot 1 for DIs and slot 2 for DOs. It has to be the other way round on the PLC side.

    Also update the device1.zip on the robot controller and check if all settings in the PROFINET IO setup are correct.

    Quote from DS186

    Regarding the PROFINET IO setup on the robot side:

    IO Controller - DISABLE and I-Device - ENABLE is correct.

    Clear all IO assignments for the IO Controller. I-Device settings looks correct. I-Device is using rack 100, slot 1.

    Did you correctly set up IP address and PROFINET name (e.g. via PRONETA or another tool) for the FANUC board? Otherweise no connection is possible.

    All the changes on the robot side require the FANUC board in STOP mode. After that, set the mode to RUN and perform a power cycle.

    Files

    device1.zip 315 Byte – 279 Downloads GSDML.zip 10.83 kB – 320 Downloads
  • yolovs
    Reactions Received
    4
    Trophies
    1
    Posts
    48
    • August 24, 2022 at 3:52 PM
    • #10

    Dear DS,

    Many thanks for the files. I did as you advice and now I have got PROFINET IO communication with R-30iB plus, PROFINET card.

    For the GSDML file it is clear.

    Regarding the device1.xml file, it is very confusing! According the documentation (B-82864EN/07, page 52):

    - ID=17 is Input 512 points

    - ID=18 is Output 512 points.

    In my device1 is set:

    -<Module ID="17" Slot="1">

    <Submodule ID="0x00000001" Outputlen="0" Inputlen="64" Subslot="01" API="0"/>

    </Module>

    -<Module ID="18" Slot="2">

    <Submodule ID="0x00000001" Outputlen="64" Inputlen="0" Subslot="01" API="0"/>

    </Module>

    In SETUP, PROFINET, [Other], I-Device, Slot 1 details, it is recognized as:

    - Slot 1 – ModId=”0x11” (17), Inputlen="0", Outputlen="64"

    - Slot 2 – ModId=”0x12” (18), Inputlen="64", Outputlen="0".

    It is vice-versa, to what I put into xml file.

    Do you think that it is system behavior or it is mistake of module type ID?

    I have difficulties configuring the mapping of logical I/O to physical I/O. Finally, I succeed with the following mapping:

    I/O Digital In

    1 DI[ 1- 512] RACK=100 SLOT=1 START=1

    I/O Digital Out

    1 DO[ 1- 512] RACK=100 SLOT=1 START=1

    Now there is no errors, and I can change robot’s input from PLC outputs and vice versa.

    I want to thank you one more time for your time and good will to help me.

    I would bought you a few beers gladly!!!!

    Best regards,

    Svetozar

    Images

    • TIA - Device & Network - arc-robot01 - OK.png
      • 236.04 kB
      • 1,920 × 1,048
      • 333
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • August 24, 2022 at 4:41 PM
    • #11

    Thank you very much for the feedback.

    Quote from yolovs

    Regarding the device1.xml file, it is very confusing! According the documentation (B-82864EN/07, page 52):

    - ID=17 is Input 512 points

    - ID=18 is Output 512 points.

    In my device1 is set:

    -<Module ID="17" Slot="1">

    <Submodule ID="0x00000001" Outputlen="0" Inputlen="64" Subslot="01" API="0"/>

    </Module>

    -<Module ID="18" Slot="2">

    <Submodule ID="0x00000001" Outputlen="64" Inputlen="0" Subslot="01" API="0"/>

    </Module>

    In SETUP, PROFINET, [Other], I-Device, Slot 1 details, it is recognized as:

    - Slot 1 – ModId=”0x11” (17), Inputlen="0", Outputlen="64"

    - Slot 2 – ModId=”0x12” (18), Inputlen="64", Outputlen="0".

    It is vice-versa, to what I put into xml file.

    Do you think that it is system behavior or it is mistake of module type ID?

    Display More

    That is indeed confusing. Unfortunately, I have no real robot at the moment to check it. In a few weeks I have some robots with a FANUC PROFINET board. I will then have a look on it.

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • September 9, 2022 at 9:15 PM
    • #12
    Quote from yolovs

    Regarding the device1.xml file, it is very confusing! According the documentation (B-82864EN/07, page 52):

    - ID=17 is Input 512 points

    - ID=18 is Output 512 points.

    In my device1 is set:

    -<Module ID="17" Slot="1">

    <Submodule ID="0x00000001" Outputlen="0" Inputlen="64" Subslot="01" API="0"/>

    </Module>

    -<Module ID="18" Slot="2">

    <Submodule ID="0x00000001" Outputlen="64" Inputlen="0" Subslot="01" API="0"/>

    </Module>

    In SETUP, PROFINET, [Other], I-Device, Slot 1 details, it is recognized as:

    - Slot 1 – ModId=”0x11” (17), Inputlen="0", Outputlen="64"

    - Slot 2 – ModId=”0x12” (18), Inputlen="64", Outputlen="0".

    It is vice-versa, to what I put into xml file.

    Do you think that it is system behavior or it is mistake of module type ID?

    Display More

    At the moment I have some robots with software version V9.40P/33 and FANUC PROFINET board. I have the same behavior you have described.

    It is confusing but it seems to be all correct. The configurartion on the PLC side need to match with the configurartion of the device1.xml. The slot order on the robot side (shown in the I-Device module list) is swapped. I have also checked this with the FANUC tech support and they confirmed that everything is correct.

  • Saravana Kannan
    Trophies
    3
    Posts
    2
    • November 17, 2022 at 12:13 PM
    • #13

    hello yolov and ds186,

    I also facing the same issue in profinet communication with fanuc board.

    i'm performing io device communication not a controller.

    for device communication also all three files are required device1,tic ,dev_config.dt ????

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • November 17, 2022 at 12:17 PM
    • #14

    When only using PROFINET Device functionality you don't need tic.zip and dev_condig.dt files.

  • Saravana Kannan
    Trophies
    3
    Posts
    2
    • November 18, 2022 at 5:12 AM
    • #15

    hello ds,

    here is my device 1 file and the slot configuration for your reference, when i upload the profinet file in pnfb directory, the input and output length is changing automatically to 4 , even though i have given 128 , i am not able to change the byte length.

    Files

    device1.zip 449.04 kB – 108 Downloads
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • November 18, 2022 at 6:39 AM
    • #16

    Look at your error messages. You have to switch the controller off and on again to read in the new configurartion.

  • akay98
    Trophies
    1
    Posts
    13
    • November 25, 2022 at 12:45 PM
    • #17

    Hey guys,

    I need your help. I have a similar problem.

    I want to make Profinet IO communication between Siemens PLC S1200 DCDCDC(IO Controller) and Fanuc Robot (IO device-R30iB-Mini Plus).

    I am able to see the connection in PRONETA but in Role section it says Not defined ( it should say something like Device or slave)( Image in attachment below) and also I am getting the error in the TP PRIO-621 PNIO(D) device is not running.

    I have configured my Fanuc Profinet Card using TIA portal and used this file : GSDML-V2.41-Fanuc-A05B2600S523V940X-20210511.xml

    I am ready to provide the documents if anything else is also needed to verify.

    Thanks all in advance

    Docs in attachment:

    - PRONETA software images

    - device1.zip

    - TIA Portal image

    Files

    FANUC_PROFINET.zip 295.36 kB – 258 Downloads
  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • November 25, 2022 at 1:03 PM
    • #18

    First of all what is the system software version of your R-30iB Mini Plus controller?

    EDIT: akay98 You was faster. Thank you for providing your solution.

  • akay98
    Trophies
    1
    Posts
    13
    • November 25, 2022 at 1:05 PM
    • #19

    The system software version is V9.40P/29

  • akay98
    Trophies
    1
    Posts
    13
    • November 25, 2022 at 1:24 PM
    • #20

    DS186. Yeah it is working now. I forgot to switch it to RUN after turning it to STOP.

    Thanks alot for your time.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Tags

  • s7
  • PROFINET IO
  • PROFINET FANUC board
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download