RobotStudio event

Group In/Outputs

Hello,
 

I have a problem ,with a piece of programming, I will try to explain it clearly.

 

Problem:

I receive data (16 bytes) over a 'socket connection', from a plc. I want to translate this I/O data to digital signals on a virtual board, and read them out in my program as normal I/O.

 

My Solution:

I created the following signals on a 'virtual I/O' board in the eio.cfg file.

 

- 16 Group Output bytes

 


- 16 Group Input    bytes

- 128 input signals with the same address as the group inputs above.

 

- Cross connection, 16 Group Output bytes to the 16 Group Input bytes.

 

Here comes the problem part:

 

I read the received data over the socket, and store this data in the 16 group Output bytes, in the cross-connetion part of the EIO list this I/O data is connected to the 16 group Input bytes.

I hoped that all the IO input signals are also changed with the same value as the input group! All the signals are still '0' but the group input value is for example '3', Bit 0+1.

 

Questions

 

- Why are the IO signals not changed and the group input value is changed?

- How can I solve this problem?

 

I hope it is a clear story......!

 

Best Regards,