Drop Target Bank
Related Config File Sections:
In MPF, you can combine multiple drop targets into drop target banks. The main reasons for doing this are to combine reset coils (since one coil typically resets an entire bank) and to get additional events posted when the entire bank is up, down or in a mixed state.
This is an example:
#! switches: #! s_drop_front: #! number: #! s_drop_middle: #! number: #! s_drop_back: #! number: #! coils: #! c_drop_reset: #! number: drop_targets: front: switch: s_drop_front middle: switch: s_drop_middle back: switch: s_drop_back drop_target_banks: vuk_bank: drop_targets: front, middle, back reset_coils: c_drop_reset reset_on_complete: 1s
: Boolean (true/false) which shows whether every target in this bank is complete (down).
: Number of drop targets in the bank that are in the down state.
: Number of drop targets in the bank that are in the up state.
Related How To guides
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