Hello,
I came to a point where I'm able to run my cell in automatic, but I have a problem after doing a ABORT, either by selecting ABORT or a program gets to a line with ABORT.
If that happens and I'll send cycle start from PLC then robot will start running from program pointer. So I can select any program and as soon as I get cycle start I'll start executing the program wherever the program pointer will be.
What I want to do is to start MAIN program, that I've selected as "default" in Program Select menu after getting cycle start from PLC. So I'll do ABORT I'm getting cycle start form PLC and robot starts MAIN program from Line 0.
I hope I'm explaining this right
Here are my settings for Prog Select:
(Note: System Variable $SHELL_WRK.$cust_name = MAIN - MAIN is the name of my main program that I want to run every time I'll get cycle start after ABORT or cycle power)
Setting Name: | Setting: |
Program Select Mode: | Other |
Production Start Method: | UOP |
At Home Check: | Disabled |
Resume Position Tolerance: | Enabled |
Simulated I/O: | Disabled |
General Override < 100%: | Disabled |
Program Override < 100%: | Disabled |
Machine Lock: | Disabled |
Single Step: | Disabled |
Process Ready: | Disabled |
Heartbeat Timing: | 1000 MS |
Low TEMP DRAM Memory: | 100 KB |
Low PERMCMOS Memory: | 50 KB |
Config settings:
Setting Name: | Setting: |
1) Use HOT START: | False |
2) I/O Power Fail Recovery: | Recover All |
3) COLD START Autoexec Program: | RUN_BCKG.TP |
4) HOT START Autoexec Program: | RUN_BCKG.TP |
5) HOT START Done Signal: | DO[ 0 ] |
6) Restore Selected Program: | TRUE |
7) Enable UI Signals: | TRUE |
START for CONTINUE Only: | FALSE |
9) CSTOPI for ABORT: | TRUE |
10) Abort all Programs by CSTOPI: | FALSE |
11) PROD_STRT depend on PNSTROBE | FALSE |
12) Detect FAULT_RESET Signal: | FALL |
13) Use PPABN Signal: | FALSE |
14) WAIT Timeout: | 0.05 sec |
15) RECEIVE Timeout: | 30 sec |
16) Return to Top of Program: | TRUE |
23) Maximum of ACC Instruction: | 150 |
24) Minimum of ACC Instruction: | 0 |
25) WJNT for Default Motion | ******* |
26) Auto Display of Alarm Menu: | FALSE |
27) Force Message: | ENABLE |
28) Reset CHAIN FAILURE Detection: | FALSE |
29) Allow Force I/O in AUTO Mode: | TRUE |
30) Allow Change OverRide in AUTO Mode: | TRUE |
37) Sim. Input Wait Delay: | 0.00 sec |
38) Set if Sim. Skip Enabled: | DO[ 0 ] |
39) Set when Prompt Displayed: | DO[0] |
43) Remote/Local Setup: | Remote |
44) External I/O (ON: Remote): | DI[ 0 ] |
45) UOP Auto Assignment: | None |
46) Multi Program Selection: | TRUE |
I've started playing around with $SHELLxxxxx variables, but I'm not quite sure what some of them mean, so maybe someone can give a hand and help me out ?
Thanks