Skip to main content
Version: 5.0.x {nightly}

Contactor control

Contactor output on siliXcon controllers is power output with pwm capability (low side switch). Usually used for controlling contactors.

info

All here listed variables are located in folder /common/contactoX. Where X is the contactor number.

danger

Do not connect capacitance load to the contactor, the in-rush current will burn the output.

Parameters

contactor

attack [-V / +%]

Voltage value during contactor startup.

  • Positive value: Set contactor voltage as percentage from battery voltage.
  • Negative value: Set contactor value to exac voltage.
Example

attack = 10; battery voltage = 50V
voltage on contactor will be 5V

attack = -10
voltage on contactor will be 10V

hold [-V / +%]

Contactor voltage after startup.

  • Positive value: Set contactor voltage as percentage from battery voltage.
  • Negative value: Set contactor value to exac voltage.

Value "dimension" is same as attack

attacktime [ms]

When the contactor is closed, attack value is used during attacktime. After that hold value is used.

opts

Options for the contactors.

This is bitwise parameter.

bitdec valueDescription
01Close on driver init
12Open on driver or cmio error
24Ramp on start

retrytim [ms]

When overcurrent occurs, the contactor is opened. After this time, the contactor is closed again automatically. To disable this, set this parameter to 0.

info

Only present on contactors with overcurrent capability.


States

current [mA]

Actual current on the contactor.

note

Only present on contactors with current measurement capability.


Shell commands

cont [contactor number] [cmd]

You can control manualy contactors. This is also for controling douts on AM controler.

If you run the command with only contactor number, you will get contactor duty cycle, or 1,0 for dout.

cmdDescription
0switch off the contactor
1switch on the contactor
note

If you enable: Close on driver init, this command will not switch the contactor.