DI-159 PLC Hardware Manual
StickOS
System Variables
The following system variables may be used in expressions or simply with "print" statements to
examine internal system state. These variables are all read-only.
analog
analog supply millivolts
getchar
most recent console character
keychar
most recent keypad character
msecs
number of milliseconds since boot
seconds
number of seconds since boot
ticks
number of ticks since boot
ticks_per_msec
number of ticks per millisecond
Examples
>
print seconds, ticks, ticks/1000
2640 10562152 10562
>
40
Содержание DI-159
Страница 51: ...StickOS DI 159 PLC Hardware Manual 4 is even _ 51...
Страница 76: ...DI 159 Block Diagram 76...
Страница 77: ...Dimensional Drawing 77...