![Jetter JVM-104-O09 Скачать руководство пользователя страница 31](http://html1.mh-extra.com/html/jetter/jvm-104-o09/jvm-104-o09_user-manual_3895231031.webp)
Jetter AG
Programming | 7
JVM-104-O09 User Manual
31 / 62
7.5.3 Ignition and OFF delay
This chapter covers the ignition and the function
Shutdown()
.
Special registers
The special register 361100 of the JVM-104-O09 is responsible for prompting the
state of the ignition. Where:
If …
… then …
Bit 0 = 0
Ignition is switched on and voltage is
present at terminal 15 Ignition (+)
Bit 0 = 1
Ignition is off and no voltage is present
at terminal 15 Ignition (+)
Default ignition
function
The HMI has the following default settings in connection with ignition:
If …
… and …
… then …
... voltage is applied to the
HMI, ...
... the ignition is off, ...
... the HMI does not boot
up.
... voltage is applied to the
HMI, ...
... the ignition is on, ...
... the HMI boots up.
... the HMI is powered on, ... ... the ignition is switched
off (not the power sup-
ply), ...
... the HMI remains
switched on.
Shutdown() func-
tion - Options
Unlike the default ignition function, the
Shutdown()
function offers the following
options:
■
The HMI can be explicitly shut down.
■
The HMI can be restarted.
Function declara-
tion
Function
Shutdown(Reboot:Bool) :Bool;
Function parame-
ters
The
Shutdown ()
function has the following parameters:
Parameter
Description
Value
Reboot
System restart
True
The system is shut down
False
Return value
This function transmits the following return values to the higher-level program.
Return value
Description
0
OK
-1
Ignition is still switched on
INFO
If the ignition is still switched on, the device will not be switched off. However, the
HMI can be restarted. Such a restart is carried out irrespective of the fact that the
ignition is on.
If you switch off the vehicle's ignition, the sample program executes the
Shut-
down()
function after a delay of 3 seconds. The
Reboot
parameter for the
Shutdown()
function has the value
false
. This means that the device will switch
off.