Hi Henrik!
Thanks for your reply!
I’ve tried to do a backgroundtask with the following code (at first made task NORMAL instead of SEMISTATIC):
MODULE MainModule
VAR jointtarget joints;
PROC main()
WHILE 1=1 DO
joints:=CJointT(\TaskRef:=T_ROB1Id);
ENDWHILE
ENDPROC
ENDMODULE
and following task T_ROB1 also in NORMAL mode:
MODULE MainModule
PROC main()
MoveJ [[437.94,242.07,226.08],[0.000128885,0.164209,-0.986425,2.19848E-05],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], v1000, z50, tool0;
MoveL [[437.94,242.07,129.10],[0.000129096,0.164209,-0.986426,2.21218E-05],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], v100, fine, tool0;
MoveL [[437.94,242.07,277.05],[0.000128927,0.164209,-0.986426,2.20586E-05],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], v100, z10, tool0;
MoveJ [[437.94,52.29,352.29],[0.000129264,0.164209,-0.986426,2.20375E-05],[0,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], v1000, z50, tool0;
MoveJ [[437.94,-155.04,229.34],[0.000129854,0.164209,-0.986426,2.17056E-05],[-1,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], v1000, z50, tool0;
MoveL [[437.94,-155.04,184.42],[0.000129644,0.164209,-0.986426,2.1811E-05],[-1,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], v100, fine, tool0;
MoveL [[437.94,-155.04,270.72],[0.000129686,0.164209,-0.986426,2.18057E-05],[-1,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], v100, z10, tool0;
MoveJ [[437.94,29.65,377.70],[0.000129517,0.164209,-0.986426,2.18373E-05],[0,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]], v1000, z50, tool0;
ENDPROC
ENDMODULE
If i want to run the simulation it simply doesn’t start without any feedback (neither on the flexpedant nor in Rapid tap under simulate and debug if i press play).
If i want to set the task for my logger to SEMISTATIC i get following error message:
Do you have anny suggestions for fixing?
Thanks