Siemens NAN 67 Series Manual de Serviço Página 70

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 318
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 69
5-8
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
5.5 Choosing a Test Environment and Starting/Stopping the Program
Status
There are two ways of testing your program online.
S The “process” test environment tests your program online, in a working
process. The status of the statements in programmed loops that are run
through more than once in the scan cycle is stopped at the return jump to
the start of the loop and is no longer updated while the loop is visible.
This mode causes the least load on the cycle.
S In the test environment “laboratory” your program is also tested online
under laboratory conditions. In this case, however, the status of
statements in programmed loops that are run through more than once in
the scan cycle is shown after the end of each loop. This mode can take up
considerable scan time depending on the number of loop iterations and
the number of tested statements.
You can select the test environment using the menu command Debug
"
Test
Environment
"
Laboratory/Process.
The program status is started and stopped by using the command Debug
"
Monitor. The program status is only displayed for the area currently visible
in the editor.
FB6-<Online>
Network 1
Network 2: Green for road traffic
#starter
#condition
#condition
#condition #g car
#t_next_red_car #t_dur_r_car
Network 3: Start duration of yellow for road traffic
#condition
FB6 : Traffic Light
#t_dur_y_car
SD
S5T#3S
S5T#3S
Address Decl. Symbol Data Type Initial Value Comment
dur_g_p
del_r_p
starter
S5TIME
S5TIME
BOOL
S5T#0MS
S5T#0MS
FALSE
in
in
in
0.0
2.0
4.0
Figure 5-5 Program Status in Ladder (Example)
Selecting a Test
Environment
Starting and
Stopping the
Program Status
Editing the Block Properties and Testing the Program
Vista de página 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 317 318

Comentários a estes Manuais

Sem comentários