KSS: 5.6.11
Arm: KR180PA-2
Cabinet: KRC2 ed05
EtherNet/IP: 2.1.2
Doing some modifications on a couple KRC2 robots and struggling on the fieldbus config.
Robot 1:
- Replacing a DeviceNet IO block with an EIP IOL master
- Adding an AB PLC (EIP comms)
Robot 2:
- Replacing a DeviceNet IO block with a different DeviceNet block
- Adding an AB PLC (EIP comms, but this one will speak through a DeviceNet -> EIP gateway as it does not have an EIP comm card)
I've managed to:
- Understand how the iosys.ini & applicom software work (through a Win XP VM, no less)
- Understand how to share robot folders over the network
- Semi-configure the applicom stuff, download to the robot, and then reconfigure the IO driver on the pendant
Unfortunately, I have no idea how the existing configuration was set up. Apparently there's no functionality built in to let you read from the comm card... It should have been fairly simple, though, as it was just talking to one EA7 HMI panel. I was able to pull the EDS before breaking the config so I think it should work, but I keep getting comm errors (device not ready: status 65 & error on read/write of EthIPDRV). It's just using a generic EDS that I added 50 bytes of IO to.
iosys.ini:
My additions are just the "IOBK" and "PLC" lines underneath [ETHERNETIP].
;==========================================================
; IOSYS.INI - Configuration file for the IO-System
;==========================================================
; For configuration help go to the end of this file.
;----------------------------------------------------------
; ATTENTION !!!! Since V5.0 Build13 we have removed the DeviceNet
; driver "dndrv.o". Now you have to use the driver
; "dn2drv.o" and the appropriate syntax (form 2)
[CONFIG]
VERSION=2.00
[DRIVERS]
ETHERNETIP=23,eipInit,eipdrv.o
;CNKE2=21,cnke2CPInit,cnke2drv.o
;DNSC6=20,dnsc6Init,dnsc6drv.o
;DNSC5=19,dnsc5Init,dnsc5drv.o
;DNSC4=18,dnsc4Init,dnsc4drv.o
;DNSC3=17,dnsc3Init,dnsc3drv.o
;CNKE1=16,cnke1CPInit,cnke1drv.o
;INTERBUSPCI=15,ibsCPPciInit,ibpcidrv.o
;DSEIO=14,dseIoInit,dseiodrv.o
;DNSC2=13,dnsc2Init,dnsc2drv.o
;DNSC1=12,dnsc1Init,dnsc1drv.o
;PBMASL=11,pbmsInit,pfbmsdrv.o
DEVNET=2,dnInit,dn2drv.o
;INTERBUS=1,ibusInit,ibusdrv.o
;MFC=0,mfcEntry,mfcdrv.o
[ETHERNETIP]
; HMI
INB75=1,0,x50 ;INPUT [601-1000]
OUTB75=1,0,x50 ;OUTPUT[601-1000]
; IOBK
INB125=2,0,x2 ;INPUT [1001-1016]
OUTB125=2,0,x2 ;OUTPUT[1001-1016]
; PLC
INB127=3,0,x32 ;INPUT [1017-1272]
OUTB127=3,0,x32 ;OUTPUT[1017-1272]
[MFC]
INW0=0 ;$IN[1-16]
OUTW0=0 ;$OUT[1-16]
OUTW2=2 ;$OUT[17-32]
[INTERBUS]
;------- Inputs ---------
;Slave Inputs
INW50=896 ;$IN[401-416]
INW52=898 ;$IN[417-432]
INW54=900 ;$IN[433-448]
INW56=902 ;$IN[449-464]
;------- Outputs --------
;Slave Outputs
OUTW50=896 ;$OUT[401-416]
OUTW52=898 ;$OUT[417-432]
OUTW54=900 ;$OUT[433-448]
OUTW56=902 ;$OUT[449-464]
[DEVNET]
INB0=1,0,x4 ;$IN[1-32]
INB4=3,0,x1 ;$IN[33-40]
INB5=4,0,x1 ;$IN[41-48]
INB6=5,0,x1 ;$IN[49-56]
INB7=6,0,x1 ;$IN[57-64]
INB25=2,0,x2 ;$IN[201-216]
OUTB0=1,0,x2 ;$OUT[1-16]
OUTB7=6,0,x1 ;$OUT[57-64]
OUTB25=2,0,x2 ;$OUT[201-216]
[PBMASL]
[DNSC1]
[DNSC2]
[DNSC3]
[DNSC4]
[DNSC5]
[DNSC6]
[DSEIO]
INDW0=0 ;$IN[1-32]
OUTDW0=0 ;$OUT[1-32]
[INTERBUSPCI]
;------- Inputs ---------
;Slave Inputs
INW50=896 ;$IN[401-416]
INW52=898 ;$IN[417-432]
INW54=900 ;$IN[433-448]
INW56=902 ;$IN[449-464]
;------- Outputs --------
;Slave Outputs
OUTW50=896 ;$OUT[401-416]
OUTW52=898 ;$OUT[417-432]
OUTW54=900 ;$OUT[433-448]
OUTW56=902 ;$OUT[449-464]
[CNKE1]
; =ConNo, additional offset,xSize
[CNKE2]
; =ConNo, additional offset,xSize
[VIO]
;INW0=0 ;$IN[1-16]
;INW8=2 ;$IN[65-80]
;OUTW0=0 ;$OUT[1-16]
;OUTW2=2 ;$OUT[17-32]
[O2I]
;INW4=0 ;$IN[33-48]
;INW6=2 ;$IN[49-64]
;OUTW4=0 ;$OUT[33-48]
;OUTW6=2 ;$OUT[49-64]
[IOLINKING]
[END SECTION]
Display More
Pics of the EIP Console / Applicom software:
Pic of errors:
Manual says to check the connection settings for status 65, so:
I know they're super old robots, but anyone remember setting this stuff up? I can probably get the new stuff sorted after fixing the HMI I broke...