Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Need help before losing control over myself with the BK1150 ;-)

NJK-IT
2017-05-19
2017-05-31
  • NJK-IT - 2017-05-19

    Hi there,

    I have seen some posts about the fieldbus coupler BK1150 from Beckhoff. None has helped. The provided MPD file only included BK1120. My scan in CoDeSys for attached components succeeds but I cannot get them running. I do not know why and would appreciate any hint or help.
    Have a look at the attached image ...

    IMG: Screen Shot 2017

     
  • eschwellinger

    eschwellinger - 2017-05-19

    Hi,
    hm... does this configuration reflext your real Hardware?
    Is the `k-bus end terminal connected too?

    BR
    Edwin

     
  • NJK-IT - 2017-05-19

    Yes, though I have more modules available but they are not installed. The K bus is 'closed' by a KL9010.
    If I get this running successfully it will turn out into a new job for me. So thanks for your efforts.

    Greetz

    Nicholas

     
  • NJK-IT - 2017-05-22

    No one?
    The coupler is connected to eth0 (on board) and TCP network to eth1 with a USB-Ethernet adaptor.
    Can I use any type of CAT cable for the EtherCAT connection? I need this running.
    Thanks

     
  • eschwellinger

    eschwellinger - 2017-05-22

    Hi,
    you need to check this emergency message from screenshot in post 1
    Maybe you get more informations in the plc logger...
    check the documentation what this Emergency from the BK1150 reports.

    BR
    Edwin

     
  • NJK-IT - 2017-05-23

    Unfortunately the ordinary manual does not provide that information. I am hoping for someone who could give me an example project. As far as I know I do not need to provide any startup parameters to the BK1150, right?

    Nicholas

     
  • eschwellinger

    eschwellinger - 2017-05-23

    Hi Nicholas,
    if you give me the full Emergency Information from PLC Logger... we could maybe check.
    0x0E mean something PDO length is wrong (not really sure)
    BR
    Edwin

     
  • NJK-IT - 2017-05-23

    I cannot expand that message in CoDeSys. So that emergency message is all I have. The logs of the PLC show:

    IMG: Screen Shot 2017

     
  • eschwellinger

    eschwellinger - 2017-05-23

    Hi,

    AL Status 0x001E

    Error Code 0x001E
    Meaning:
    Invalid Input Configuration
    Description
    SM configuration for input process data is invalid

    Current State (or state change)
    O, S, O, P→S

    Resulting State
    S + E

    BR
    Edwin

     
  • NJK-IT - 2017-05-23

    Hi Edwin,

    your help is great. But it leaves me as a CoDeSys rookie still behind.
    So do I have to provide startup parameters? And if what kind of. Sorry that I am lost. I really want to get into it.
    Here is some more details on the error:

    IMG: Screen Shot 2017

     
  • NJK-IT - 2017-05-31

    Mission accomplished!

    The coupler does not run with the normal BK1150 declaration from Beckhoff. It then throws the errors. What did help was to use the MDP variant of the BK1120 (!) and to disable the product ID check. The reason why I did not succeeded before was because of the confusing fact that some elements on the bus need two attached virtual devices per element in CODESYS, e.g. KL3458.
    Finally all is up and running.

     

Log in to post a comment.