Skip to content

dual_wound_coils:

This is a config file reference. Click for instructions.

This page is reference material which explains every setting and option for this section of an MPF yaml config file. See the instructions for config files for formatting and other details. See our guide to config file examples for more examples of real configs in action.

Valid in
machine config files YES ✅
mode config files NO 🚫

The dual_wound_coils: section of your config is where you configure dual-would coils that are added to your "coils" device list which can be used anywhere in MPF.

Here's an example:

coils:
  c_hold:
    number:
    allow_enable: true
  c_power:
    number:
    default_pulse_ms: 20
switches:
  s_eos:
    number:
dual_wound_coils:
  c_dual_wound:
    hold_coil: c_hold
    main_coil: c_power
    eos_switch: s_eos

In the configuration above, a new coil called c_dual_wound is created that, when enabled, would energize both the c_hold and c_power coils. Then when the s_eos switch is activated, the c_power coil would be de-energized, leaving just the c_hold coil active until the c_dual_wound coil is deactivated.

Note

Note: Dual-wound flipper coils are configured in the flippers: section of the config, so you don't have to define them here. Other dual-wound coils (like for diverters, etc.) should be defined here since other MPF devices do not have explicit support for dual-wound coils.

Required settings

The following sections are required in the dual_wound_coils: section of your config:

hold_coil:

Single value, type: string name of a coils: device. Defaults to empty.

The name of the hold coil winding. This coil must be a valid coil defined in your coils: section.

main_coil:

Single value, type: string name of a coils: device. Defaults to empty.

The name of the main (power) coil winding. This coil must be a valid coil defined in your coils: section.

When this dual-wound coils is enabled, this coil will be pulsed for the number of milliseconds specified in the original coil's default_pulse_ms: setting.

Optional settings

The following sections are optional in the dual_wound_coils: section of your config. (If you don't include them, the default will be used).

eos_switch:

Single value, type: string name of a switches: device. Defaults to empty.

The name of a switch which, when activated, will disable the power to the main coil winding.

Help us write it!

This section is unwritten or needs an update or edit. Can you help write it? Get your name in lights and geeky pinball bragging rights! Hit the magic sparkly wand to the right of the title to see this page source on GitHub. Then add/edit and submit your change. It's easy!


console_log:

Single value, type: one of the following options: none, basic, full. Default: basic

Log level for the console log for this device.

debug:

Single value, type: boolean (true/false). Default: false

See the documentation on the debug setting for details.

file_log:

Single value, type: one of the following options: none, basic, full. Default: basic

Log level for the file log for this device.

label:

Single value, type: string. Default: %

A descriptive name for this device which will show up in the service menu and reports.

tags:

List of one (or more) values, each is a type: string. Defaults to empty.

Special / reserved tags for dual-wound coils: None

See the documentation on tags for details.


Something missing or wrong? You can fix it!

This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?

Please help us! You can fix it yourself and be an official "open source" contributor!

It's easy! See our Beginner's guide to editing the docs.

Page navigation via the keyboard: < >

You can navigate this site via the keyboard. There are two modes:

General navigation, when search is not focused:

  • F , S , / : open search dialog
  • P , , : go to previous page
  • N , . : go to next page

While using the search function:

  • Down , Up : select next / previous result
  • Esc , Tab : close search
  • Enter : go to highlighted page in the results