Personal Data

Username:
wayne-riesterer
Joined:
2025-03-07 01:49:37.658000
Location:
Coodanup / Australia / AWST
Gender:
Male

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Thanks for your responses. I like to write the leanest possible code that I can because it makes it much easier to read/maintain/debug. OR_ELSE is what I was looking for. I wasn't sure if CodeSys short-circuited evaluation and I didn't realize this operator existed. Thanks!

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Hello Can anyone see any problems with constant assignment as in the following statement: Coils[0] := Coils[0] OR (Buttons[0] AND Sensors[0] > 6); Rather than using the more verbose and vertically-larger: IF NOT Coils[0] AND Buttons[0] AND (Sensors[0] > 6) THEN Coils[0] := TRUE; END_IF Also, is the test expression short-circuited in the latter case? In other words, will the runtime move on after it sees Coils[0] = FALSE AND? Thanks

View All