Greetings,
I'm helping to retrofit an old KR C2 SR Controller. While this is my first experience with an industrial robot, some other members of our team have a bit of experience, but no one has configured C2 before. The robot was previously a GM welding bot.
We are trying to hook up a DeviceNet LPDN card with a Beckhoff KL BK5200 Bus Coupler with modules KL1104 4-channel digital in, KL2114 4-channel digital out, KL3064 4-channel analog in, and KL4002 2-channel analog out.
I read as much documentation for both Kuka and Beckhoff as I could find. I've also Googled every search term I could think of and have read many forum posts before opening a new topic. I've now gone a whole workday without making any progress, so I could really use a nudge in the right direction.
==========devnet.ini==========
[KRC]
DEBUG=1
BAUDRATE=500
LOGFILE=log/devnet.log
[1]
MACID=10
==========iosys.ini==========
[CONFIG]
VERSION=1.00
[DRIVERS]
DNSC2=13, dnsc2Init, dnsc2drv.o
[DNSC2]
INB3=10,0,x1
OUTB3=10,0,x1
ANIN1=10,1,16,3,CAL32768
ANIN2=10,3,16,3,CAL32768
ANIN3=10,5,16,3,CAL32768
ANIN4=10,7,16,3,CAL32768
ANOUT1=10,1,16,3,CAL32768
ANOUT2=10,3,16,3,CAL32768
We used the value of 3 in the digital I/O because we wanted to make sure we weren't mapping over reserved system space, which the Simulate I/O Monitor made us think we might if we used 0-2.
==========dnsc_2co.ini==========
[CONFIG]
MAC_ID=00
LOGFILE=log/dnsc2.log
DEBUG=1
BAUDRATE=500
OPTIONS=0
SCANLIST_COMMENT=1
==========dnsc_2sl.ini==========
[1]
;NAME=Beckhoff Bus Terminal
;USERNAME=Beckhoff
MAC_ID=10
VENDOR_ID=0108
PRODUCT_TYP=0012
PRODUCT_CODE=5200
POLL_RESPL=9
POLL_CMDL=5
I get the same three errors every time I reconfigure the I/O.
1025 Configuration error 1/0 driver CH2; Module 10 Error
1034 Error on writing, driver: LPDN Ch 2
1033 Error on reading, driver: LPDN Ch 2
Our dnsc2.log file further explains: DNch(2): Device[10]: Data size does not match.
I have tried to address the data size issue with various POLL_RESPL and POLL_CMDL values in dnsc2_sl.ini. The values of POLL_RESPL=9 and POLL_CMDL=5 made sense to me because we have 9 bytes of input (8 bytes of analog in, 1 byte of digital in) and 5 bytes of output data (4 bytes of analog out, 1 byte of digital out). It seems like no matter how I edit my iosys.ini, I keep getting these three errors.
Any help would be thoroughly appreciate.