
Modify .mod files variable assignments using code

XNOR
✭
I'm looking to modify a variable assignment in a module file using Rapid code. Looks like this might be possible with some use of Open, datapos, getnextsym, ReadAnyBin, WriteAnyBin, Rewind, Close commands.
Has anyone done this and have a basic example to share? Any tips or hazards to avoid? Obviously this opens up some safety concerns if used incorrectly.
I assume the TP is doing something to this effect when changing variable declarations and using ModPos.
Has anyone done this and have a basic example to share? Any tips or hazards to avoid? Obviously this opens up some safety concerns if used incorrectly.
I assume the TP is doing something to this effect when changing variable declarations and using ModPos.
Tagged:
0
Answers
-
Modify using a rapid program or from a remote device such as a PC? Modify in which way? Just changing value or maybe the name?Lee Justice0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings