TPI GPI – Helper block
Table of Contents
The TPI GPI helper block is a wrapper that simplifies the use of the GPI block with the all-in-one programmable inverter (TPI8032 22kW).
Simulink GPI helper block
Signal specification
- The output signal returns the value of one GPI pin.
- The
sim
input signal is used in simulation and documented in Simulation essentials with Simulink (PN135).
![GPI helper block for Simulink](https://imperix.com/doc/wp-content/uploads/2023/08/simulink-tpi-gpi-block.png)
Parameters
Device ID
selects which TPI to address when used in a multi-device configuration.GPI bit
selects one pin to read.Show simulation input port
defines if the simulation input is displayed or not.
![Simulink mask](https://imperix.com/doc/wp-content/uploads/2023/08/simulink-tpi-gpi-mask.png)
PLECS GPI helper block
Signal specification
- The output signal returns the value of one GPI pin.
- The target input port (only visible at the atomic subsystem level) is used in simulation and documented in Simulation essentials with PLECS (PN137).
![GPI helper block for PLECS](https://imperix.com/doc/wp-content/uploads/2023/08/plecs-tpi-gpi-block-blank.png)
Parameters
Device ID
elects which TPI to address when used in a multi-device configuration.GPI bit
selects one pin to read.Show simulation input port
defines if the simulation input is displayed or not.
![Mask GPI helper block in PLECS](https://imperix.com/doc/wp-content/uploads/2023/08/plecs-tpi-gpi-mask.png)
C++ functions
There are no C++ helper functions for the TPI. Please refer to the generic GPI functions.