Hello All,
We have a second hand modified VKRC2 turned to KRC2 and I am using a omron Devicenet module for digital input/output. I have figured i/o mapping by asking to a friend of mine.
At the beginning, we had 8 input and 8 output and the i/o mapping under the devnet line was like;
[DEVNET]
INB0=5,2,x1
OUTB0=5,0,x1
We want to put 16 more input and 8 more output to make our module 24 in / 16 out.
So from my training I should make something like;
[DEVNET]
INB0=5,0,x3 ;$IN[1-24]
OUTB0=5,0,x2 ;$OUT[1-16]
but it didn't work out, so we asked our vendor about this and he suggested us to make something like this ;
[DEVNET]
INB0=5,2,x1 ;$IN[1-8]
INB1=5,4,x1 ;$IN[9-16]
INB2=5,6,x1 ;$IN[16-24]
OUTB0=5,0,x1 ;$OUT[1-8]
OUTB1=5,2,x1 ;$OUT[9-16]
and it worked fine.
so my question is; is it because the robot is a modified vkrc2 to krc2
or is this another way of doing it?
I am not sure but 5 means baudrate and 0 means from the 0th bit. I am not really sure about this
can anyone clarify this.
Thanks
//kutalp