746
OPUS Projektor Manual
How To
a)
- create the variable you want to read from the ECU (data type must match!)
- open the Variable Manager
- set the ECU as the owner of the variable
- set the ECU index and ECU sub index of the variable according to the index / sub index the
variable has in the ECU
- use the JavaScript function requestVariableValueFromOwner to request the value of the
variable from the ECU
b)
- create the variable that the ECU wants to read (here the internal index / sub index are used)
- the ECU needs to send a read request message for the variable
c)
- create the variable that the ECU wants to read (here the internal index / sub index are used)
- the ECU needs to send a write request message for the variable
12.6
How to remember variable values when the device is
powered off
You want to remember variable values when the device is shut down and use them when it is
started again.
The most important setting is the property Remanent in the Variable Manager .
The property can only be activated for user-defined variables with the PClient as the owner .
For pre-defined variables or variables with an owner other than the PClient this setting is not
possible.
Remanent variable values will be saved on the file system automatically, whenever their value
changes.
Removing power completely (disconnect clamp 15) directly after a value change might lead to
the loss of the last change.
Please note: When a project update with the same name is downloaded to the device, the
remanent variable values will be kept.
If a project with a different name is installed on the device, the remanent variable values from
the old project are not used. However, they will still be stored on the device, so if the old
project (i.e. a project with the old name) is installed, the remanent variable values are used.
12.7
How to use the power management
You want to be able to use the power management in your system to save power and / or shut
down the device safely.
All devices have an integrated power management.
There are 4 power modes, On, Low Power, Sleep and Off.
When the device starts up, it starts in the On mode.
The Low Power mode is reached by disconnecting clamp 15 (ignition pin).
165
548
165
154