> i just need the analog output- and digital input block.. am i right?
You are correct for the analog output signals. For example, you can connect a voltage or current measurement to an Analog Out block. For the PWM signals, you should use the PWM Capture component. The PWM Capture works with any digital input pin, but oversamples the digital input to produce an averaged value over the last model time step. The result from the PWM Capture should be used along with a hybrid switch model from the Electrical + Power Modules section of the PLECS Library.
Refer to the RT Box demo models in the PLECS Help for an example. You may also benefit from reviewing the RT Box Tutorials on the Plexim website, particularly the "RT Box: Timing and Step-Size Selection" exercise.
> Is there some kind of documentation wich output /input number correspondends with the controllers Pins?
The mapping is included in the documentation for each board: