DeviceNet on KUKA C1

  • Hi, all,


    I have several Omron DRT1-MD16 (8 in 8 out) modules,


    successfully connect to the DeviceNet port on MFC card using the setting attached in the end:


    However, I failed to use it on the port of LPDN Board, both LED on the LPDN and LED on the IO module solid green, but I just can not get the input signal and put output active.


    I guess maybe that I didn't put the following command lines in dnsc_2sl.ini file?
    PRODUCT_CODE=?
    POLL_RESPL=?
    POLL_CMDL=?


    question is:
    what does these parameters mean?
    how I can get the value for Omron DRT1-MD16?


    thanks for any help.


    ===Iosys.ini===
    [DRIVERS]
    DEVNET=2,dnInit,dn2drv.o


    [DEVNET]
    INB8=5,0 ;[65-72]
    OUTB8=5,0 ;
    INB9=6,0 ;[73-80]
    OUTB9=6,0 ;
    INB10=7,0 ;[81-88]
    OUTB10=7,0 ;


    ===Devnet.ini===
    [krc]
    debug=0
    baudrate=500
    [1]
    macid=5
    [2]
    macid=6
    [3]
    macid=7

    Edited once, last by ucol ().


  • post your files


    forum not allow me to attach files?


    I post the text as follow, thanks.


    ====================iosys.ini================================
    [CONFIG]
    VERSION=1.00


    [DRIVERS]
    MFC=0,mfcEntry,mfcdrv.o
    DEVNET=2,dnInit,dn2drv.o
    DNSC1=12,dnsc1Init,dnsc1drv.o
    DNSC2=13,dnsc2Init,dnsc2drv.o


    [MFC]
    INW0=0
    OUTW0=0


    [DEVNET]
    INB10=5,0
    OUTB10=5,0


    [DNSC1]
    INB11=6,0
    OUTB12=6,0


    [DNSC2]
    INB12=7,0
    OUTB12=7,0


    ====================devnet.ini================================
    [krc]
    debug=0
    baudrate=500


    [1]
    macid=5



    ====================dnsc_1co.ini================================
    [CONFIG]
    MAC_ID=6
    DEBUG=0
    BAUDRATE=125
    OPTIONS=0


    ====================dnsc_1sl.ini================================
    [1]
    ;NAME=OMRON DRT1-MD16 8IN 8OUT
    MAC_ID=6


    ====================dnsc_2co.ini================================
    [CONFIG]
    MAC_ID=00
    DEBUG=0
    BAUDRATE=500
    OPTIONS=0



    ====================dnsc_2sl.ini================================
    [1]
    ;NAME=OMRON DRT1-MD16 8IN 8OUT
    MAC_ID=7
    ;VENDOR_ID=47
    ;PRODUCT_TYP=12
    ;PRODUCT_CODE=0
    ;POLL_RESPL=2
    ;POLL_CMDL=2

  • Well, for one thing, you have to un-comment the last 5 lines of the DNSC2_SL file.


    Also, you DNSC2 lines in IOSYS will only access the first 8 inputs/outputs of the Omron module. You need to change them to
    IN/OUTB12 = 7,0,x2
    in order to get all 16.


    Also, need to confirm that the Omron module is set to 500kb, and Mac-ID 7. Also, setting DEBUG=1 will make the log file more detailed, which could help with troubleshooting.



  • thanks, this OMRON MODULE is DRT1-MD16, which is only 8 in and 8 out, so , IN/OUTB=x,0 is enough, and I already test it.
    the problem of DNSC2_SL file is I don't know the value for those lines, especially


    PRODUCT_CODE=?
    POLL_RESPL=?
    POLL_CMDL=?


  • The information can be gleaned from the EDS file, but it's easier to understand if you post your INI files.


    wow, thanks, I didn't find that you also provide me the EDS file for the module I use!


    thanks for that , I will try it.

Advertising from our partners