Read/Write variable from PLC

Casius
✭
Hello,
It's possible to read a numeric variable (integer) from Rapid using a PLC Siemens? And to send from PLC back to Rapid. I have IRC5 controller.
Thank you!
It's possible to read a numeric variable (integer) from Rapid using a PLC Siemens? And to send from PLC back to Rapid. I have IRC5 controller.
Thank you!

0
Comments
-
Hi, if it is just an integer, I have found that mapping the integer required (both In and Out) to a group input/output on the robot-side works just fine for me. I do this all the time, albeit it is an Allen-Bradley PLC communicating over Ethernet IP, but it's 6 of one, half-dozen of the other! You should be able to get that to work no problem.Simple Syntax:VAR dnum dnIntegerRequired;dnIntegerRequired := GInputDnum(gi_IntegerFromPLCyouWant);SetGO SignalGOToPLC, DnumToNum(dnIntegerYouWantToPass);-Brian1
-
Hello,Thank you Brian, this is a helpfully. I did like this and is working.0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 338 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 832 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings