Hi Micky,
Thanks for your response.
That’s what I’m trying to do with my C# application:
I 'm scanning the mPartData and printing on the screen all modules assigned inside that mPartData - example:
This is inside of mPartData:
TASK PERS partdata pd_Test_01:=[“Call_Test_01”,“Test_01”,“T_ROB1”,1,0,“”,“”];
TASK PERS partdata pd_Test_02:=[“Call_Test_02”,“Test_02”,“T_ROB1”,1,0,“”,“”];
TASK PERS partdata pd_Test_03:=[“Call_Test_03”,“Test_03”,“T_ROB1”,1,0,“”,“”];
On my pc application it showing up like a scroll down menu with the names of the modules:
Test_01
Test_02
Test_03
And operator making selection and that selection is stored inside the variable - and assigned to the variable inside the mPartData module:
PERS string moduleName:=“”;
Example:
The user will select Test_01 - it will be:
PERS string moduleName:=“Test_01”;
Now I wont to make an ee_event myEventCycleStart to check that variable - name of the module and start that proc.
Example:
It will be 3 procs inside that mPartData:
PROC Call_Test_01(\switch Dummy)
LoadModule “mTest_01”\CallRoutine:=“user_selection”\AutoSave;
ENDPROC
PROC Call_Test_02(\switch Dummy)
LoadModule “mTest_02”\CallRoutine:=“user_selection”\AutoSave;
ENDPROC
PROC Call_Test_03(\switch Dummy)
LoadModule “mTest_03”\CallRoutine:=“user_selection”\AutoSave;
ENDPROC
And if inside my variable is stored name - Test_01 it will start first proc:
PROC Call_Test_01(\switch Dummy)
LoadModule “mTest_01”\CallRoutine:=“user_selection”\AutoSave;
ENDPROC.
I’m not sure if it’s possible to do this with ee_event.?