P30
UDP commands
UDP Programmers Guide V2.01
24
© KEBA
3.2.7
UDP command: setenergy
The command
setenergy
can be used to set an energy limit for an already
running or the next charging session. If the energy limit is greater than or
equal to the value in the
E pres
field of
report 3
the charging session will
be stopped and the device will be deactivated (similar to
ena 0
). All settings
caused by
setenergy
are not permanent and are reset at the next time the
device registers that the EV plug is pulled from a vehicle inlet or the charging
station is restarted. The
setenergy
command must only be used during a
charging session. The reference value (
E pres
from
report 3
) is reset at
the beginning of a new charging session and not at the end of the charging
session. This can lead to an unexpected disabling of the charging station if
the value defined by
setenergy
is smaller than the energy transferred dur-
ing the last charging session.
One variant of the
setenergy
command must be highlighted:
●
setenergy 0
: A previously set energy limit is deactivated
Command structure
Command
Parameters
Additional Description
setenergy [e]
[e]: Energy value
Energy value in 0.1 Wh, e. g.
setenergy
100000
specifies 10 kWh.
Possible values: 0; 1 - 999999999
Max. value is 99999999.9 Wh (higher values
will cause a counter overflow)
Reply structure
Field
Contents
Additional Description
-
TCH-OK: done
Generic confirmation message
3.2.8
UDP command: output
Output opens and closes the relay terminal X2. X2 is located in the connec-
tion panel of the charging station. The reply
TCH-OK
confirms only the receiv-
ing of the command and not the correctness of the value. Values between 2
and 9 are not being replied to (reserved functions). Invalid values (e.g. let-
ters) are leading to a deactivation of the relay. The correct reception can be
verified using
report 2
.
Information
This command needs DSW1.2 to be set to ON.