IOSystem GetSignal Parse Properties
 
            
                
                    saitoevc                
                
                     ✭                
            
                        
            
                    Dear All, I`m kinda slipping on this and need some tip from the experts:
I`m developing an AddIN Button to parse IO`s properties from RS (-Name, -Type, -Value, -DeviceMapping);
I can read all but last one by e.g.:
Signal signal1 = controller.IOSystem.GetSignal("diMotorOn");
Ok, I can Query those values from EIO.cfg after doing a backup and compare them with my standard sequence but there maybe is some shortcut from IOSystem?
I need to make sure IO`s are located in the right sequence bit (standard).
Thank you in advance
Edson
                
                I`m developing an AddIN Button to parse IO`s properties from RS (-Name, -Type, -Value, -DeviceMapping);
I can read all but last one by e.g.:
Signal signal1 = controller.IOSystem.GetSignal("diMotorOn");
string Name = signal1.Name; (I know redundant =S, just as example)
string Type = signal1.Type.ToString();
float Value = signal1.Value;
int mapPosition = signal1.?
Ok, I can Query those values from EIO.cfg after doing a backup and compare them with my standard sequence but there maybe is some shortcut from IOSystem?
I need to make sure IO`s are located in the right sequence bit (standard).
Thank you in advance
Edson
0  
            Best Answer
- 
            Ok, I`ve found my answer.
 If you are interested on knowing:
 . using ...Controllers.ConfigurationDomainl;
 then able to use this:
 .ConfigurationDataBase myconfigDB = mycontroller.configuration;
 . string[] myPath={"EIO","EIO_SIGNAL","diMotorOnStart","DeviceMap"};
 .string myData=myconfigDB.READ(myPath);
 Ok, so what? this is already in ABB WebSite: Configuration domain (robotstudio.com)
 Right! But here is my tip:
 RS says "Device Mapping" in Signal Config and ABB Website says: "UnitMap" for Unit scan.
 As I`m tryna scan from RS, EIO.cfg label is "DeviceMap" 
 Cheers from Italy
 Edson1
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 363 IRC5
- 80 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 853 RAPID Programming
- 30 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings