Oplægget blev holdt ved et seminar i InfinIT-interessegruppen Højniveausprog til indlejrede systemer. Læs mere om interessegruppen her: http://infinit.dk/dk/interessegrupper/hoejniveau_sprog_til_indlejrede_systemer/hoejniveau_sprog_til_indlejrede_systemer.htm
9. Apps for Industrial Devices
Control
Generic
Firmware
Application specific functionality
1->10 kB
Programmed in the field
Programmed by the 'user'
Downloaded to the device
Executed on the device micro-controller,
along side the generic firmware
11. Apps for Industrial Devices
●
Advantages
–
–
●
External hardware (PLC/iPC) can in some
cases be avoided
Simplicity? Is programming a small app in
Eclipse easier/harder than setting up a PLC or
learning AT commands?
Disadvantages
–
Worry: Is the sandbox tight?
–
'Select is broken'
–
Are ressources available on existing
hardware in terms of RAM/ROM and
CPU time?
App1
App2
Virtual Machine
Generic
Firmware
12. Apps for Industrial Devices
●
Advantages/disadvantages
–
Apps for industrial devices is a complementary
technology to existing solutions
–
May be useful in some contexts
App1
App2
Virtual Machine
Generic
Firmware
13. Apps for Industrial Devices
●
Enabling technologies
–
Scripting languages, e.g. Python/Javascript
–
Interpreted languages, e.g. Java/C#/Lua
–
App1
App2
Virtual Machine
Generic
Firmware
14. Apps for Industrial Devices
●
Python,
–
CPython,
–
–
–
For Linux based environments
Full Python support
PyMite
–
–
–
–
8 bit micro controllers
Minimal 64 kB of program memory (flash) and 4 kB of RAM
Subset of Python
No Python libraries
App1
App2
Virtual Machine
Generic
Firmware