LOOK/MONITOR mode is available in any window.
Each window can have a unique default program.
Selecting a teach pendant program from the SELECT screen in the left-hand window will cause that program to be the default program for that window ($TP_DEFPROG).
Selecting a teach pendant program from the SELECT screen in the right-hand window will cause that program to be the default program for that window ($UI_DEFPROG[1]).
Selecting a teach pendant program from the SELECT screen in the lower right-hand window will cause that program to be the default program for that window ($UI_DEFPROG[2]).
The Status line will always show the default program for the left-hand window even if it does not have focus.
The Editor title line shows the program that is being edited.
The program selected will be retained during cycle power. The current line number will only be retained during cycle power for the left-hand window during hot start. The right-hand windows do not retain the current line number.
The same program can be edited in multiple windows. The cursor is independent. When a change is made in one window, the change is immediately reflected in the other window. Both windows can make changes to the same program. This is useful for copy and paste within the same program.
The 3 windows will share the same copy and paste buffer. This provides the ability to copy and paste from one TP program to another.
Each window has its own undo and redo buffers so multiple edit sessions will not affect each other.
TP FWD/BWD is only supported in the left-hand window. If focus is in a right-hand window, then the warning “TPIF-166 FWD/BWD in left window only” is posted.
The program must be moved to the left-hand window for TP FWD/BWD to work. The DISPLAY menu will contain EDIT->EDIT entry. While in the left-hand window, the entry is only enabled if 2 windows are active. The entry is always enabled while in a right-hand window. The entry is available even if you are not in the EDIT screen. When pressed, the programs are swapped and the EDIT screens are automatically entered.
The system variable $UI_CONFIG.$recovermenu is provided to display the menus in the same state they were in when the controller was turned off.
After the controller is turned off and then on again, the editor configuration should not change if $UI_CONFIG.$recovermenu is set. Refer to Table 14, " $UI_CONFIG.$recovermenu " .
Table 14. $UI_CONFIG.$recovermenu
Setting | Description |
---|---|
0 | At Cold start the system will display the "Hints" screen in single window mode. |
1 | At Cold start the system will display the last screen displayed before power down in single window mode. |
2 | At Cold start the system will display the "Hints" screen in all windows in whatever window mode was used at power down. |
3 | Both 1 and 2. |
4 | At Hot start the system will display the last screen displayed before power down in single window mode. |
6 | Both 4 and 2. This is the default setting. |