Join us today!
Last seen: Sep 24, 2024
@twincontrols No worries, there are lots of helpful topics in this community that helped me so I wanted to share somethings. Might delve deeper i...
Simplest and fasted way to do this is: FUNCTION F_ContainsString : BOOL VAR_IN_OUT StringArray : ARRAY [*] OF T_MaxString; END_VAR VAR_IN_OUT C...
You can create a function to malloc the function block you want and assign it in the constructor. // Allocates memory for FB_A FUNCTION F_MallocFB_...
Nice post. I just wanted to add that this is essentally linear interpolation commonly referred to as lerp. Here's a simplified equation. lerp(a,...
I hope I am not too late. You can use PlcTaskSystemInfo to get the CycleCount and save its value to a local variable in the function block. On every...