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.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