PLECS Probe
In order to use the PLECS Probe in Simulink, drag the Probe block from the PLECS library into the Simulink model that contains the circuit which you want to probe. Double-click the icon to open the probe editor window.
This window contains the following information.
Probed circuit For the Simulink Probe the text box across the top shows the name of the circuit that you are probing and its path, i.e. the Simulink system containing the Circuit block.
Note A Simulink Probe must be in the same Simulink model as the Circuit block whose components you want to monitor. In addition, a Simulink Probe block only accepts components from one single Circuit block at a time.
Probed components
The list box on the left side shows the components that you have selected for
probing. The components are identified by their type, name and path within the
circuit. For adding components to this list, simply select them in the schematic editor
and drag them into the probe editor. The new components are appended at the
bottom of the list. You can reorder the components using the Up , Down
and Remove
buttons. If you click on the Show component
button, the currently selected component will be shown in the schematic
editor.
Component signals The list box on the right side shows the available probe signals for the selected component. Use the check boxes next to the signal names in order to enable or disable individual signals. You can simultaneously edit the signal states of several components provided that the components have the same type. In order to select multiple components, hold the Shift or Ctrl key while clicking on a list entry.
For PLECS Probes that are used in a PLECS schematic there are two ways to add components to the probe: Either drag them into the Probed components area in the probe dialog (see above) or drop them onto the Probe block directly.
The output of the Probe block is a vector signal consisting of all enabled probe signals. If no probe signal is enabled a warning message will be printed to the command window and the block will output a scalar zero.
Copying a Probe
When you copy a PLECS Probe in a PLECS schematic, one of the following three cases can apply:
- If a probed component is copied simultaneously with a Probe block referring to it, the copied Probe block will refer to the copy of the component.
- Else, if the Probe block is copied within the same circuit, the copied Probe block will refer to the original component.
- Else (i.e. if the Probe block is copied into a different circuit), the probe reference will be removed.
For technical reasons it is not possible to determine whether a PLECS Probe for Simulink is copied simultaneously with a Circuit block. Therefore, PLECS only distinguishes between the following two cases:
- If you copy a Simulink Probe block within the same model, the copied Probe block will always refer to the original components.
- If you copy a Probe block into a different model, all data is cleared from the copied block.