User Documentation
Table Of Contents
- Table of contents
- 1 Introduction
- 2 Safety instructions
- 3 System overview
- 4 Operating behavior
- 5 Software installation
- 6 Configuration
- 7 Program development
- 8 Licensing
- 9 Device Administration (DevAdmin)
- 10 Software units
- 11 OPC UA Server
- 12 Node-RED
- 13 LongtermDiagnosticMonitor
- 14 Data recorder
- 15 Diagnostics
- 16 Maintenance
- 17 Technical data
- 18 Directives and standards
- 19 Appendix: Tutorial - creating an IEC project
- 20 Appendix: Addressing in the Ethernet (basics)
- 21 Appendix: Tutorial FoE
- 22 Appendix: Tutorial - call C function from IEC
- Index

Program development
System manual
2696790000/02/04.2020
32
Command
Command
type
Description
Stop Controller State transition The status changes from "OsReady".
Start Applica-
tions
State transition The status changes from "Stop" to "Run".
Stop Applica-
tions
State transition The status changes from "Run" to "Stop".
Init Controller State transition The status changes from "OsReady" to "Stop".
Shutdown Con-
troller
Special state
transition
Closes all running software applications on the device
and stops it.
Reboot Con-
troller
Special state
transition
Closes all running software applications on the device
and restarts it.
Delete Applica-
tions
Comprehensive
Command
Deletes all applications on the device ("reset to factory
settings").
Restart Con-
troller
Combined state
transition
Execute "Stop Controller" followed by "Start Con-
troller".
Restart Applica-
tions
Combined state
transition
Execute "Stop Applications" followed by "Start Applica-
tions".
7.3.2 Device Service Item
A Device Service Item represents a program installed on the current device.
To do this, a description file called <itemname>.item is created in the direc-
tory /opt/deviceservice/items.d/. The file must be created in Lua
(http://www.lua.org). The program must implement a defined status model
with defined transitions.
7.3.2.1 Defined state model Device Service Item
Each program (DeviceServiceItem) must implement a status model de-
fined as given below to be managed by the DeviceService.
Fig.7-6: DeviceService Item status model