Group In/Outputs
Jaaahhh
✭
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,
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings