Display More[PBMASL]
;slave outputs
;OUTB0=3,0,x2 $OUT[1-16]
;OUTB2=4,0,x2 $OUT[17-32]
;OUTB4=4,0,x2 $OUT[33-64]
OUTB0=5,0,x1 ;$OUT[81-88]
OUTB1=5,1,x1 ;$OUT[89-96]
;INB2=2,0,x1 ;$IN[17-24]
;OUTB2=2,0,x1 ;$OUt[17-24]
;INW3=2,4,x1 ;$IN[25-40]
OUTW8=2,0,x1 ;$OUT[65-80]
Hold on -- this addressing only works if the robot is the PB master. The KRC2's PB Slave interface is always address 127. On the CP5614 card in the KRC2, one port is permanently in Master mode, and the other is always in Slave mode.
So, if the PLC is the Master and the robot is the Slave, first you have to:
1. Use the correct port on the PB card
2. Use address 127, as Hermann's example up thread has: OUTB0=127,0,x1 or similar.
With this IOSYS shown above, the robot is acting as Master to a PB Slave at address 2, and another at address 5. Is one of those the PLC?
I got it to work with sending byte's however when i try to send word bytes I dont recieve any signals from my KR2C to my PLC.
One thing to keep in mind: KRCs and Siemens use different byte ordering for multi-byte words. You'll probably need to resolve that conflict, either in the PLC setup, or in IOSYS.INI.