13.2.18. ev_board_support

This defines the board support package for the EV side

13.2.18.1. Variables

Events from CP/Relais
There is an extended definition for this object here.
bsp_measurement:object (board_support_common-BspMeasurement)
BSP Measurements
There is an extended definition for this object here.

13.2.18.2. Commands

enable:void
Enable/disable the simulation
value:boolean <required>
true to enable, false to disable
set_cp_state:void
Sets the CP State that should be set by the EV board support driver (controlled by S2)
cp_state:string <required> (ev_board_support-EvCpState)
The CP State
There is an extended definition for this object here.
allow_power_on:void
Sets allow_power_on flag. If false, contactor must never be switched on.
value:boolean <required>
True: allow power on, false: do not allow power on.
diode_fail:void
Setting a diode failure
value:boolean <required>
True: diode failure
set_ac_max_current:void
Setting the max current requested from the ev
current:number <required>
Max current requested from the ev
set_three_phases:void
Setting three or one phase support
three_phases:boolean <required>
True: Three phase support, False: One phase support
set_rcd_error:void
Setting a rcd error. Only for simulation purpose.
rcd_current_mA:number <required>
RCD current in mA