Getting Started: I-8437-80/8837-80/8417/8817, Jul 2020 V4.0 31
2.3.5
Create and Edit the ST -
“
ST1
”
Program
In this project we need an ST program to handle the
“
INIT
”
variable.
1.
Click on
“
Create new program
”
in the window.
2.
Given the Name as
“
ST1
”
, the Comment as
“
Handle INIT variable
”
, the Language as
“
ST:
Structured Text
”
, and then Style as
“
Begin: Main program
”
. Then click on
“
OK
”
.
Now we have one program inside this project.
ISaGRAF will run every program one time in each PLC scan cycle. Programs in the
“
begin
”
area
will run first, then the
“
Sequential
”
area, and last the
“
End
”
area. An ISaGRAF cycle run in the
way as the below scheme.
Scan all inputs
Process ‘Sequential’ area
Process ‘
begin
’ area
Process ‘End’ area
Refresh all outputs
ISaGRAF
Cycle
2.
1.
Содержание ISaGRAF I-8437-80
Страница 70: ...Getting Started I 8437 80 8837 80 8417 8817 Jul 2020 V2 0 70 3 19 Pin Assignment of Communication Ports...
Страница 71: ...Getting Started I 8437 80 8837 80 8417 8817 Jul 2020 V2 0 71 3 20 Dimension 8 Slots...
Страница 72: ...Getting Started I 8437 80 8837 80 8417 8817 Jul 2020 V2 0 72 4 Slots...