Set Pickmaster variable from PC SDK application

Kapil
✭
We are using Pickmaster for our pick and place operation. The pattern selection needs to be done fron a PC application developed using PC SDK. I am trying to write to the variables of Pickmaster for performing the pattern selection but the controller gives exception.
code snippet:
Dim sig As IOSystemDomain.Signal = robctrl.IOSystem.GetSignal("pmOutfeeder1_giProdSel")
Dim gSig As IOSystemDomain.GroupSignal = DirectCast(sig, IOSystemDomain.GroupSignal)
gSig.WriteGroupValue(1)
Error: "Write of unblocked in-signal not allowed."
please let me know how to do this.
code snippet:
Dim sig As IOSystemDomain.Signal = robctrl.IOSystem.GetSignal("pmOutfeeder1_giProdSel")
Dim gSig As IOSystemDomain.GroupSignal = DirectCast(sig, IOSystemDomain.GroupSignal)
gSig.WriteGroupValue(1)
Error: "Write of unblocked in-signal not allowed."
please let me know how to do this.
0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 304 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 354 IRC5
- 74 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 850 RAPID Programming
- 26 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings