imdatatas - 17 hours ago

In the CODESYS Ladder Logic editor, there's a really practical feature available while logged in (online) to the PLC: for an existing function block (e.g. TON or MC_MoveAbsolute), double-clicking on an unconnected input pin directly opens a value entry window right in the editor β€” with no need to assign any variable β€” and you can type a value directly.
Likewise, if the input pin is of an ENUM or STRUCT type, it lets you pick a value of that type straight from a dropdown list. It also doesn't require assigning a variable or adding it to a watch list, etc.

Unfortunately, in the CFC editor you can't write values directly to those unconnected input pins the way you can in Ladder β€” CFC only supports monitoring/display there.

I wish this existing Ladder editor feature were also available in CFC β€” it would make the CFC editor far more usable.

I think this would be a relatively small addition to the CFC editor, but it would make a real difference in daily commissioning and debugging work. It would be great to hear the development team's thoughts on whether this could be considered for a future release.

Thanks in advance for reading!

 

Last edit: imdatatas 17 hours ago