Download PG 702 Programming Device
Transcript
Editing STL Programs 5.7 GOTO Network or Line Number To go to a specific network and line number, use the FCT combination. The display shows the current network, line 1. 3 key NETWORK #: 1 LINE #: 1 Enter the network number and line number that you want to go to and press the key. The editor moves to the specified statement and displays it as the current line. If you enter a network number that is greater than the highest network number in your program, the PG 702 displays the specified line in the last network. If you enter a line number that is greater than the highest line in a specific network, the PG 702 displays the last line in that network. All statement list programs begin with network 1 and line 1. If you enter a zero, the PG 702 displays the first line or network. Table 5-3 contains examples of GOTO entries and results. Table 5-3 GOTO Results Entry Action Goes to network 1, line 1 NETWORK #: 0 LINE #: 0 Goes to network 4, line 1 NETWORK #: 4 LINE #: 0 Goes to network 4, line 1 NETWORK #: 4 LINE #: 1 Goes to last network, line 1 NETWORK #: 3000 LINE #: 0 NETWORK #: 3000 If there are only 10 lines in the last network, this entry goes to the last line in the last network. LINE #: 500 PG 702 Programming Device C79000-G7076-C709-01 5-15