DI-159 PLC Hardware Manual
StickOS
Other Commands
To clear BASIC program variables, and reset all pins to digital input mode, use the command:
clear
This command is also used after a stopped program has defined program variables and before
redefining program variables in "immediate" mode, to avoid duplicate definition errors without
having to erase the program with a "new" command.
To clear BASIC program variables, including flash parameters, use the command:
clear flash
To display the StickOS memory usage, use the command:
memory
To reset the DI-159 PLC as if it was just powered up, use the command:
reset
Note that the reset command inherently breaks the USB or Ethernet connection between the
DI-159 PLC and host computer; press the "Disconnect" button followed by the "Call" button,
to reconnect Hyper Terminal.
To clear the terminal screen, use the command:
cls
To display the time since the DI-159 PLC was last reset, use the command:
uptime
Examples
>
memory
0% ram code bytes used
0% flash code bytes used
0% ram variable bytes used
0% flash parameter bytes used
0% variables used
>
10 dim a[100]
>
20 rem this is a loooooooooooooooooooooooooooong line
>
run
34
Summary of Contents for DI-159
Page 51: ...StickOS DI 159 PLC Hardware Manual 4 is even _ 51...
Page 76: ...DI 159 Block Diagram 76...
Page 77: ...Dimensional Drawing 77...