Skip to content

How to configure MPF for the P-ROC/P3-ROC platform

Related Config File Sections:

Once you have your P-ROC/P3-ROC drivers installed, you need to configure your machine to use the P-ROC or P3-ROC.

1. Set your platform

In your machine-wide config file, set the platform.

For the P-ROC:

hardware:
  platform: p_roc

For the P3-ROC:

hardware:
  platform: p3_roc

2. Set your driver boards:

Next, configure the driver boards setting which tells MPF which type of driver boards you're using. If you're using the P-ROC driver boards (like the PD-16 or PD-8x8), then you set it like this:

For the P-ROC:

hardware:
  platform: p_roc

p_roc:
  driverboards: pdb

For the P3-ROC:

hardware:
  platform: p3_roc

p_roc:
  driverboards: pdb

Note that if you're using a P-ROC with an existing machine, then your driver boards will be either wpc, stern, etc. See the documentation on configuring MPF for use in existing machines for details.

3. Configure your watch dog timeout

The P-ROC has the ability to use a watch dog timer. This is enabled by default with a timeout of 1 second. If you would like to disable this, or you'd like to change the timeout, you can do so in either the p_roc: or p3_roc: section of your machine-wide config.

For the P-ROC or P3-Roc:

p_roc:
  use_watchdog: true
  watchdog_time: 1s

What if it did not work?

Have a look at our troubleshooting guide for the P/P3-Roc.


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