In this post, we will see how to resolve FB_Init method capability Question: I have a function block for alarm management. To make it more flexible, I try and only add new alarms as new enum members in the alarm ...
In this post, we will see how to resolve What do the I/O Idle Taks and the PlcAux Task do in TwinCAT? Question: There are two default tasks which always get added to a newly created TwinCAT project: the I/O ...
In this post, we will see how to resolve check if a specific hardware input is linked to a plc variable in Twincat 3.1 Question: i am trying to check if a specific input from a hardware device is linked ...
Question: I’m trying to run MC_TorqueControl in simulation mode, but I get the following error: Group function is rejected with error-code 0x4626 or the function is not supported ! and The axis function 'TorqueControl' has been declined because it's not ...
Question: Is there a way to declare a undefined length string as a constructor or a work around? I need to write a log file for a function block. The file name needs to be declared in the FB declaration ...
Question: I started making the structure for a new PLC program, but I was wondering when is convenient to use a funtion rather than a function block, if there’s any benefit on using them in TwinCat. Answer: The defining characteristic ...
Question: Everytime after startup my Beckhoff PLC keeps resetting its date to the original 01.01.2006 date. This very annoying because all licenses are broken then. It is a Beckhoff CX9020 PLC running Windows CE 7 Answer: How old is this ...
Question: With variables such as integer, float or string I used Write To Symbol to write the variable to the PLC with the HMI textbox under .onTextChanged in the properties window (see images below). But it won’t work with the ...