Join us today!

FisoThemes
@fisothemes
Active Member
Joined: Jun 17, 2023
Last seen: Sep 24, 2024
Topics: 1 / Replies: 5
Reply
RE: Operator Overloading in TwinCAT using OOP

@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...

10 months ago
Topic
Replies: 3
Views: 698
Reply
RE: Find 5 strings with one fonction

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...

10 months ago
Reply
RE: __NEW(FB_A) with FB_INIT Method?

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_...

1 year ago
Reply
RE: PLC Analog Input Scaling

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,...

1 year ago
Reply
RE: Set variable after every cycle start

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...

1 year ago