StickOS
DI-159 PLC Hardware Manual
To save the BASIC program permanently to flash memory, use the command:
save
Note that any unsaved changes to the BASIC program will be lost if the DI-159 PLC is reset
or loses power.
To renumber the BASIC program by 10's and save the BASIC program permanently to flash
memory, use the command:
renumber
To delete all lines from the BASIC program, use the command:
new
Examples
>
10 dim a
>
20 for a = 1 to 10
>
auto 30
>
30 print a
>
40 next
>
50
>
60
>
save
>
list 20-40
20 for a = 1 to 10
30 print a
40 next
end
>
delete 20-40
>
list
10 dim a
end
>
undo
>
list
10 dim a
20 for a = 1 to 10
30 print a
40 next
end
>
1 rem this is a comment
>
list
1 rem this is a comment
10 dim a
25
Содержание DI-159
Страница 51: ...StickOS DI 159 PLC Hardware Manual 4 is even _ 51...
Страница 76: ...DI 159 Block Diagram 76...
Страница 77: ...Dimensional Drawing 77...