\XtoCVerification{PLimit Float32 CPU dsPIC33EP256MC502}
\begin{tabular}{l l}
\textbf{Date of Test} & 2026-06-23 \\
\textbf{Target controller} & dsPIC33EP256MC502 \\
\end{tabular}
\vspace{1ex}
\XtoCTestCase{Inport test}{1}
Inport test for Control block PLimit.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|c|c|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=5]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & ... & 201 \\ \hline
\textbf{CPU cycles} & 55 & 55 & ... & 386 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & 0 & 0 & ... & 0 \\ \hline
\textbf{max (DSP)} & 0.8 & 0.8 & ... & 0.8 \\ \hline
\textbf{min (DSP)} & 0.15 & 0.15 & ... & 0.15 \\ \hline
\textbf{Enable (DSP)} & 0 & 0 & ... & 1 \\ \hline
\textbf{In} & 0 & 0 & ... & 0 \\ \hline
\textbf{max} & 0.8 & 0.8 & ... & 0.8 \\ \hline
\textbf{min} & 0.15 & 0.15 & ... & 0.15 \\ \hline
\textbf{Enable} & 0 & 0 & ... & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{Kp} & \SetCell[c=4]{c}2 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0 & 0 & ... & 0.15 \\ \hline
\textbf{Exp. Out} & 0 & 0 & ... & 0.15 \\ \hline
\textbf{Out (DSP)} & 0 & 0 & ... & 0.15 \\ \hline
\textbf{Exp. Out (DSP)} & 0 & 0 & ... & 0.15 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$9,3132e-09 ($\pm$20 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 55 \\ \hline
Max CPU cycles & 428 \\ \hline
Avg CPU cycles & 409 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for Control block PLimit.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|c|c|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=5]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & ... & 37 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Mask parameters} \\ \hline
\textbf{Kp} & -11 & -10.389 & ... & 11 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{b1} & -11 & -10.389 & ... & 11 \\ \hline
\textbf{Exp. b1} & -11 & -10.389 & ... & 11 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance b1 & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion-on-Target test}{1}
Conversion-on-Target test for Control block PLimit.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|c|c|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=5]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & ... & 37 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Mask parameters} \\ \hline
\textbf{Kp} & -11 & -10.389 & ... & 11 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{b1} & -11 & -10.389 & ... & 11 \\ \hline
\textbf{Exp. b1} & -11 & -10.389 & ... & 11 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance b1 & $\pm$1,0000e-06 \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 515 \\ \hline
Max CPU cycles & 860 \\ \hline
Avg CPU cycles & 848 \\ \hline
\end{XtoCtabular}
