Devicenet configuration KRC1. Slave and master in LPDN

  • Hi everyone.

    I'm working with an old KR150L150 that uses KRC1. V4.1.4 SP02.

    I'm having some issues making a connectio with a logix 5563 using a devicenet module. In the controller a LPDN card is being used, in channel 1 (x835) I have the plc. That works fine, I can send and receive signals between RSLogix and the robot.

    The main issue comes when I try to connect three external devices. An SMC EX230-SDN1 and two interlinkBT with some sensors attached to them.

    In a kuka-devicenet manual it says that a connection can be made using LPDN as master and slave, it can be achieved in two different ways. The firs one is using the same channel, and the second one suggests to use the first channel as a slave to the PLC and the second channel as a master to the external I/O devices.

    Actually I'm trying the second solution. The files that are being used are: DNSC_1CO.INI, DNSC_1SL.INI, DNSC_2CO.INI, DNSC_2SL.INI and IOSYS.INI.

    The files look like this.

    IOSYS.INI

    DNSC_1CO.INI

    Code
    [CONFIG]
    MAC_ID=1
    BAUDRATE=250
    DEBUG=0

    DNSC_1SL.INI

    Code
    [1]
    MAC_ID=1
    VENDOR_ID=418
    PRODUCT_TYP=12
    PRODUCT_CODE=14
    POLL_RESPL=16
    POLL_CMDL=16

    DNSC_2CO.INI

    Code
    [CONFIG]
    MAC_ID=2
    BAUDRATE=250
    DEBUG=0

    DNSC_2SL.INI

    Thanks for reading.

    I hoe somebody can help me ?(

  • AD
    • Helpful

    The main issue comes when I try to connect three external devices. An SMC EX230-SDN1 and two interlinkBT with some sensors attached to them.

    So, what problem are you having, specifically? What error messages? What status LEDs on the LPDN and on the external devices?


    On an LPDN card, each port can be either Master or Slave, but only one at a time. So you would probably need one port dedicated to being a Slave to the PLC's Master, and the other port dedicated to being a Master to the devices you're adding.


    All the DNSC1 files control one port, all the DNSC2 files control the other port. (Up to 3 LPDN cards can be installed, creating DNSC1-DNSC6, but we can ignore that in this case).


    It appears that you have the robot connected to the PLC on DNSC2. Correct? In that case, you need to add your Slave devices to DNSC1.


    For the DNSC port to be a master, the .CO file must use a MAC ID of 00. The Baud Rate must match what is set on the Slave devices. Then .SL file (Scan List) must contain an entry for each Slave device being controlled through the DNSC port. Each entry must be numbered, set to the correct MAC ID for the device, and include the vendor-provided information for Vendor ID, Product Type, Bytes Consumed (Robot outputs), Bytes Produces (Robot Inputs), etc.


    Each slave device must have its MAC ID and Baud Rate set, usually this is done by DIP switches on the device. You will need to read the documentation for each device.


  • For the DNSC port to be a master, the .CO file must use a MAC ID of 00. The Baud Rate must match what is set on the Slave devices. Then .SL file (Scan List) must contain an entry for each Slave device being controlled through the DNSC port. Each entry must be numbered, set to the correct MAC ID for the device, and include the vendor-provided information for Vendor ID, Product Type, Bytes Consumed (Robot outputs), Bytes Produces (Robot Inputs), etc.


    Each slave device must have its MAC ID and Baud Rate set, usually this is done by DIP switches on the device. You will need to read the documentation for each device

    Thanks a lot, this helped me so much. Today I tried this configuration, I was missing the MAC ID of 00 to identify the channel as a master.


    Also the Poll numbers of each device was causing an error, but I read the documentation and now it is working fine.


    Thanks again for the answer. Have a nice day. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now