
ComboBox read and write issue

Dedex
✭
in ScreenMaker
So, iam using comboBox i can read the string in rapid program but i cant write any thing. My rapid code correct but i cant find the correct way in the screen maker.

here is my code block. If someone select the 2c i need the test 2c or 2b,2a.

here is my code block. If someone select the 2c i need the test 2c or 2b,2a.
MODULE Mainmodule
PERS string prog;
PERS string nMyArray{3}:=["2a","2b","2c"];
PROC main()
baslangic;
ENDPROC
PROC baslangic()
Reset gripperbirak;
WaitTime 1;
Set gripperbirak;
Reset gripperbirak2;
WaitTime 1;
Set gripperbirak2;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitDI DI00_START,1;
TEST prog
CASE "2a":
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[452.31,335.73,354.29],[0.022227,0.672489,0.739497,0.0202134],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[530.02,339.23,237.24],[0.0224218,0.672486,0.739466,0.0212318],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Set gripperal;
WaitTime 1;
MoveL [[530.02,339.23,377.31],[0.0224218,0.672485,0.739466,0.0212318],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
WaitDI DI_01MARKA1,1;
MoveL [[403.76,511.87,647.78],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.0295059,0.0689509,-0.74137,-0.666893],[0,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[427.64,444.33,666.92],[0.0346933,0.0664917,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,202.87,666.92],[0.0346931,0.0664913,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[191.18,-548.45,565.47],[0.0803693,0.23661,0.963592,-0.0951187],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v1000,fine,tool0;
MoveL [[191.18,-548.45,203.84],[0.080369,0.23661,0.963592,-0.0951183],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Reset gripperal;
WaitTime 1;
Reset gripperbirak;
WaitTime 1;
Set gripperbirak;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[452.31,241.57,354.29],[0.022227,0.672489,0.739497,0.0202134],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[530.02,246.29,237.24],[0.0224217,0.672486,0.739466,0.0212316],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Set gripperal2;
WaitTime 1;
MoveL [[530.02,244.66,377.31],[0.0224219,0.672485,0.739466,0.0212319],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
WaitDI DI_02MARKA2,1;
MoveL [[403.76,511.87,647.78],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.0295059,0.0689509,-0.74137,-0.666893],[0,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[427.64,444.33,666.92],[0.0346933,0.0664917,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,202.87,666.92],[0.0346931,0.0664913,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[191.18,-548.45,565.47],[0.0803693,0.23661,0.963592,-0.0951187],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v1000,fine,tool0;
MoveL [[191.18,-548.45,203.84],[0.080369,0.23661,0.963592,-0.0951183],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Reset gripperal2;
WaitTime 1;
Reset gripperbirak2;
WaitTime 1;
Set gripperbirak2;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
CASE "2b":
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[452.31,335.73,354.29],[0.022227,0.672489,0.739497,0.0202134],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[530.02,339.23,237.24],[0.0224218,0.672486,0.739466,0.0212318],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Set gripperal;
WaitTime 1;
MoveL [[530.02,339.23,377.31],[0.0224218,0.672485,0.739466,0.0212318],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
WaitDI DI_01MARKA1,1;
MoveL [[403.76,511.87,647.78],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.0295059,0.0689509,-0.74137,-0.666893],[0,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[427.64,444.33,666.92],[0.0346933,0.0664917,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,202.87,666.92],[0.0346931,0.0664913,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[191.18,-548.45,565.47],[0.0803693,0.23661,0.963592,-0.0951187],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v1000,fine,tool0;
MoveL [[191.18,-548.45,203.84],[0.080369,0.23661,0.963592,-0.0951183],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Reset gripperal;
WaitTime 1;
Reset gripperbirak;
WaitTime 1;
Set gripperbirak;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[452.31,241.57,354.29],[0.022227,0.672489,0.739497,0.0202134],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[530.02,246.29,237.24],[0.0224217,0.672486,0.739466,0.0212316],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Set gripperal2;
WaitTime 1;
MoveL [[530.02,244.66,377.31],[0.0224219,0.672485,0.739466,0.0212319],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
WaitDI DI_02MARKA2,1;
MoveL [[403.76,511.87,647.78],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.0295059,0.0689509,-0.74137,-0.666893],[0,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[427.64,444.33,666.92],[0.0346933,0.0664917,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,202.87,666.92],[0.0346931,0.0664913,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[191.18,-548.45,565.47],[0.0803693,0.23661,0.963592,-0.0951187],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v1000,fine,tool0;
MoveL [[191.18,-548.45,203.84],[0.080369,0.23661,0.963592,-0.0951183],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Reset gripperal2;
WaitTime 1;
Reset gripperbirak2;
WaitTime 1;
Set gripperbirak2;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
CASE "2c":
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[452.31,335.73,354.29],[0.022227,0.672489,0.739497,0.0202134],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[530.02,339.23,237.24],[0.0224218,0.672486,0.739466,0.0212318],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Set gripperal;
WaitTime 1;
MoveL [[530.02,339.23,377.31],[0.0224218,0.672485,0.739466,0.0212318],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
WaitDI DI_01MARKA1,1;
MoveL [[403.76,511.87,647.78],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.0295059,0.0689509,-0.74137,-0.666893],[0,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[427.64,444.33,666.92],[0.0346933,0.0664917,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,202.87,666.92],[0.0346931,0.0664913,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[191.18,-548.45,565.47],[0.0803693,0.23661,0.963592,-0.0951187],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v1000,fine,tool0;
MoveL [[191.18,-548.45,203.84],[0.080369,0.23661,0.963592,-0.0951183],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Reset gripperal;
WaitTime 1;
Reset gripperbirak;
WaitTime 1;
Set gripperbirak;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[452.31,241.57,354.29],[0.022227,0.672489,0.739497,0.0202134],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[530.02,246.29,237.24],[0.0224217,0.672486,0.739466,0.0212316],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Set gripperal2;
WaitTime 1;
MoveL [[530.02,244.66,377.31],[0.0224219,0.672485,0.739466,0.0212319],[0,-1,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
WaitDI DI_02MARKA2,1;
MoveL [[403.76,511.87,647.78],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,338.59,666.92],[0.667049,-0.740968,-0.0731442,0.0257323],[0,0,1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[427.64,338.59,666.92],[0.0295059,0.0689509,-0.74137,-0.666893],[0,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
MoveL [[427.64,444.33,666.92],[0.0346933,0.0664917,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 3;
MoveL [[427.64,202.87,666.92],[0.0346931,0.0664913,-0.688187,-0.721646],[0,1,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
MoveL [[191.18,-548.45,565.47],[0.0803693,0.23661,0.963592,-0.0951187],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v1000,fine,tool0;
MoveL [[191.18,-548.45,203.84],[0.080369,0.23661,0.963592,-0.0951183],[-1,0,-1,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v200,fine,tool0;
WaitTime 1;
Reset gripperal2;
WaitTime 1;
Reset gripperbirak2;
WaitTime 1;
Set gripperbirak2;
MoveJ [[459.71,4.98,548.39],[0.294235,0.0447618,0.953591,0.0456838],[-1,0,0,0],[9E+9,9E+9,9E+9,9E+9,9E+9,9E+9]],v400,fine,tool0;
ENDTEST
ENDPROC
ENDMODULE
0
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
- 323 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 812 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings