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
Everywhere
  • Everywhere
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Members
  3. Robot_apprenti

Posts by Robot_apprenti

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 10, 2022 at 8:27 AM

    Ok thank you for this well developed explanation, I understand better.

    in my system I will have 3 KRC2 bays with CP5613/14 profibus cards as a slave which communicates with a master PLC.

    the "pfbms.ini" file for the 3 bays and as explained below.

    Code: pfbms.ini
    [CP_5613/14]
    DEBUG=1
    LOGFILE_PATH=init/profibus.log
    ERROR_TEXT=English
    FORCE_RESET=1
    
    [MASTER]
    MASTER_USED=0
    DATABASE_PATH=init/brother.ldb
    FIRMWARE_PATH=drivers/FW_5613.bin
    WATCHDOG_TIME=3
    MAPPING_USED=0
    MAPPING_PATH=init/
    
    [SLAVE]
    MODUL_USED=1
    MODUL_ADDRESS=15
    ;START_TIME=20
    ERROR_ACTION=1
    ;STANDBY=0
    ;SLAVE_TIMEOUT=0
    CHECK_CONFIGURATION_DATA=0
    ACCEPTABLE_INPUT_LENGTH=244
    ACCEPTABLE_OUTPUT_LENGTH=244
    IO_DATA_BASE=0
    CONSISTENCE=1 
    Display More

    however, i have to adapt the code of the "iosys.ini" file to make the bays functional and independent.

    Code: iosys.ini bay 1
    [CONFIG]
    VERSION=2.00
    
    
    [DRIVERS]
    ;MFC=0,mfcEntry,mfcdrv.o
    PBMASL=11,pbmsInit,pfbmsdrv.o
    
    
    [MFC]
    ;INW0=0       ;$IN[33-48]
    ;OUTW0=0      ;$OUT[33-48]
    ;OUTW2=2      ;$OUT[49-64]
    
    [INTERBUS]
    [DEVNET]
    [BOSCH]
    [PERCEPTRON]
    [SBIP]
    [FIPIO]
    [PROFISL]
    [PROFIMA]
    [RIO]
    [LIBO]
    
    [PBMASL]
    ;maitre
    ;inb0=2,0,x4  ;ET200LSC entrees 1 a 32
    ;outb0=2,0,x4 ;ET200LSC sorties 1 a 32
    
    ;inb4=5,0,x2  ;ET200L entrees 33 a 47
    ;outb4=5,0,x2 ;ET200L sorties 33 a 47
    
    ;esclave
    inb1=61,0,x4  ; Automate    ($IN[9-40])
    outb1=61,0,x4 ; AUtomate    ($out[9-40])
    
    [DNSC1]
    [DNSC2]
    [DNSC3]
    [DNSC4]
    [DNSC5]
    [DNSC6]
    [DSEIO]
    [INTERBUSPCI]
    [CNKE1]
    
    [END SECTION]
    Display More
    Code: iosys.ini bay 2
    [CONFIG]
    VERSION=2.00
    
    
    [DRIVERS]
    ;MFC=0,mfcEntry,mfcdrv.o
    PBMASL=11,pbmsInit,pfbmsdrv.o
    
    
    [MFC]
    ;INW0=0       ;$IN[33-48]
    ;OUTW0=0      ;$OUT[33-48]
    ;OUTW2=2      ;$OUT[49-64]
    
    [PBMASL]
    
    ;esclave
    inb1=62,5,x4  ; Automate    ($IN[9-40])
    outb1=62,5,x4 ; AUtomate    ($out[9-40])
    
    [END SECTION]
    Display More
    Code: iosys.ini bay 3
    ;esclave
    inb1=63,9,x4  ; Automate    ($IN[9-40])
    outb1=63,9,x4 ; AUtomate    ($out[9-40])

    I really hope I am not mistaken, if not that means that I did not understand everything.

    Thank you very much for your advice and your patience.

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 9, 2022 at 4:50 PM

    Thank you so much for pointing me in the right direction.

    so in my case the name of my CP5613/14 profibus card is 127

    example 1;

    inb3=127,0,x3 ; inb6 means $IN[25..48]

    example 2;

    inb6=127,0,x3 ; inb6 means $IN[41..64]

    but not at the same time otherwise correlation.

    inbX --> input bytes

    inbX --> start bytes

    127,0,x3 --> the name of the IO carte (in my case CP5613/14)

    127,0,x3 --> start bytes PLC

    127,0,x3 --> start bytes robot

    thanks for your help and your attention

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 9, 2022 at 2:54 PM

    OK, your answer explains to me how declarations work.

    Thanks a lot,

    If I summarize quickly, kuka is limited to a maximum of 127 bytes input and output.

    inb (declaration in bytes), and the 6 (or X num) bytes belong to when taking into account the input and output of the profibus card.

    the X4 represents the number of bytes we want to map.

    for the moment I don't know how the profibus card is configured on the PLC side, and the PLC is not yet connected to the bay, the project being under development.

    So as my Profibus CP5613/14 card is not yet connected to the PLC even if I correctly configure my card, the robot displays the error message "I/O configuration) every day?

    I only know the settings on the automatic side within 1 week.

    Thank you very much for your help and this explanation, it means a lot to me

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 9, 2022 at 12:22 PM

    Hello and thank you for your answer,

    If I understand everything correctly, I should only focus on the "pfbms.ini" and "iosys.ini" files and ignore the other files I mentioned.

    as if below, I commented on what you told me and will test it during the day.

    Quote from hermann

    For your card everything is configured in pfbms.ini and iosys.ini.

    In your excerpt of iosys.ini everything already is declared, you have to delete or comment the lines for master io (et200..)

    Code: iosys.ini
    ;==========================================================
    ; IOSYS.INI - Configuration file for the IO-System
    ;==========================================================
    ; For configuration help go to the end of this file.
    ;----------------------------------------------------------
    
    [CONFIG]
    VERSION=2.00
    
    
    [DRIVERS]
    ;MFC=0,mfcEntry,mfcdrv.o
    PBMASL=11,pbmsInit,pfbmsdrv.o
    
    
    [MFC]
    ;INW0=0       ;$IN[33-48]
    ;OUTW0=0      ;$OUT[33-48]
    ;OUTW2=2      ;$OUT[49-64]
    
    [INTERBUS]
    [DEVNET]
    [BOSCH]
    [PERCEPTRON]
    [SBIP]
    [FIPIO]
    [PROFISL]
    [PROFIMA]
    [RIO]
    [LIBO]
    
    [PBMASL]
    ;maitre
    ;inb0=2,0,x4  ;ET200LSC entrees 1 a 32
    ;outb0=2,0,x4 ;ET200LSC sorties 1 a 32
    
    ;inb4=5,0,x2  ;ET200L entrees 33 a 47
    ;outb4=5,0,x2 ;ET200L sorties 33 a 47
    
    ;esclave
    inb6=127,0,x4  ; Automate
    outb6=127,0,x4 ; AUtomate
    
    
    
    [DNSC1]
    [DNSC2]
    [DNSC3]
    [DNSC4]
    [DNSC5]
    [DNSC6]
    [DSEIO]
    [INTERBUSPCI]
    [CNKE1]
    
    
    [END SECTION]
    Display More

    but sorry i don't understand what you mean in your last sentence.

    Quote from hermann

    This lines declare 4 (x4) bytes of io on the slave part (fixed number in iosys.ini of 127) of cp5614, beginning from io number 6*8+1=49 on robot.

    I understand that this is the number of inputs and outputs to declare for (probably) my profibus card.

    I referred to the linked document (I apologize because it is in French) where you can see the number input and output on the CP5614.

    Files

    184563-CP 5614 A3 - Global eBusiness - Siemens WW-220405110124228.pdf 475.94 kB – 54 Downloads
  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 9, 2022 at 9:02 AM

    Alright, I was negligent.

    I mainly refer to the French version of the document.

    I understand the English version, which means that to operate my profibus card as a slave, I must have "MASTER_USER=0" and "MODUL_USED=1".

    Code
    pfbms.ini
    
    [CP_5613/14]
    DEBUG=1
    LOGFILE_PATH=init/profibus.log
    ERROR_TEXT=German
    FORCE_RESET=1
    
    [MASTER]
    MASTER_USED=0
    DATABASE_PATH=init/brother.ldb
    FIRMWARE_PATH=drivers/FW_5613.bin
    WATCHDOG_TIME=3
    MAPPING_USED=0
    MAPPING_PATH=init/
    
    [SLAVE]
    MODUL_USED=1
    MODUL_ADDRESS=15
    ;START_TIME=20
    ERROR_ACTION=1
    ;STANDBY=0
    ;SLAVE_TIMEOUT=0
    CHECK_CONFIGURATION_DATA=0
    ACCEPTABLE_INPUT_LENGTH=244
    ACCEPTABLE_OUTPUT_LENGTH=244
    IO_DATA_BASE=0
    CONSISTENCE=1
    
    [SWAP]
    Display More

    I must have a "slave.ldb" file, even if I don't use it in slave version. I have this file but I can't open it to find out what it contains.

    moreover, I looked at the "IOSYS.ini" file, from what I understand it is a file that configures the input and output depending on the card.

    but I can't understand the explanation given at the end of the card which explains how it works.

    Code: IOSYS.ini
    ;==========================================================
    ; IOSYS.INI - Configuration file for the IO-System
    ;==========================================================
    ; For configuration help go to the end of this file.
    ;----------------------------------------------------------
    
    [CONFIG]
    VERSION=2.00
    
    
    [DRIVERS]
    ;MFC=0,mfcEntry,mfcdrv.o
    PBMASL=11,pbmsInit,pfbmsdrv.o
    
    
    [MFC]
    ;INW0=0       ;$IN[33-48]
    ;OUTW0=0      ;$OUT[33-48]
    ;OUTW2=2      ;$OUT[49-64]
    
    [INTERBUS]
    [DEVNET]
    [BOSCH]
    [PERCEPTRON]
    [SBIP]
    [FIPIO]
    [PROFISL]
    [PROFIMA]
    [RIO]
    [LIBO]
    
    [PBMASL]
    ;maitre
    inb0=2,0,x4  ;ET200LSC entrees 1 a 32
    outb0=2,0,x4 ;ET200LSC sorties 1 a 32
    
    inb4=5,0,x2  ;ET200L entrees 33 a 47
    outb4=5,0,x2 ;ET200L sorties 33 a 47
    
    ;esclave
    inb6=127,0,x4  ; Automate
    outb6=127,0,x4 ; AUtomate
    
    
    
    [DNSC1]
    [DNSC2]
    [DNSC3]
    [DNSC4]
    [DNSC5]
    [DNSC6]
    [DSEIO]
    [INTERBUSPCI]
    [CNKE1]
    
    
    [END SECTION]
    Display More

    I assume that the profibus part is the one declared under [PROFISL] and [PROFIMA] which are not declared in my case.

    I also recently found a "profibus.ini" file of which I do not understand all of its functions.

    I know it's a lot but I want to understand how it works to be able to be independent afterwards.

    Thanks in advance for your answers and explanations.

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 8, 2022 at 4:22 PM

    I translated the slave part of the previously transmitted kuka document

    Quote

    If, in the pfbms.ini file, there are “MASTER_USED=1” records (they must

    are present, because the default value is “1”), and the record “MODUL_USED =0” (it

    must be present, because the default here is “0”), only the slave part of the card is

    commissioning.

    The DATABASE_PATH record must still be present and refer to a

    valid database!

    Display More

    thanks for your reply

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 8, 2022 at 4:17 PM

    sorry I don't understand IOSYS.INI, I must have seen this file.

    can you please elaborate on your answer?

    Thanks

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 8, 2022 at 4:12 PM

    Thank you very much for your quick and efficient response.

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 8, 2022 at 4:10 PM

    I made the change

    Now when I go to the configuration - driver input and output, the profibus card and recognized as it appear in red.

    where should I go to modify/map the output inputs of the profibus card?

    for the moment, I do'nt have an automaton to connect directly to the bay.

    how can i test if it is working?

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 8, 2022 at 3:14 PM

    OK I will invert the 0 and 1 of the variables.

    then the doc kuka is mistaken for the slave mode in the French version?

  • Slave configuration of the CP 5613/14 profibus card with KUKA KRC2 Bay

    • Robot_apprenti
    • June 8, 2022 at 2:43 PM

    Hello, I am contacting you to find out how to correctly configure my CP5613/14 profibus card as a slave and how to activate it on the bay KRC2.

    Info baie : KRC2, 2003, V4.1.5

    Version IHM : V3.3.64 B106 (V)KRC1 V3.3/V4.1

    Info robot : KR16 C2 FLR ZH16 ‘’ - \ KRC2\KR16\FLOOR - 2004

    link for images with bay and robot info --> https://we.tl/t-JCExVFncEf

    kuka documents link use --> https://we.tl/t-klBtNwYpuD

    I followed the indications of the document PBCP5613/41 10.02.02 FR to configure the pfbms.ini file which manages the configuration of the profibus card.

    "MASTER_USED=1" and "MODUL USED=0" to configure the card as a slave, this is what is said in the document.

    the document also talks about DATABASE_PATH but I don't understand what I should do exactly.

    But for some unknown reason I have the error that my input and output are not configured.

    as can be seen in the linked image, the profibus driver is not active.

    what should I do please to make it work?

    Thank you in advance for your help. :smiling_face:

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics
  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