All exercises

Constant Pass-Through

Pass an integer input straight through to one DINT output every scan, while a second DINT output holds the constant value 43 — a starter rungs.dev AOI.

beginner

Parameters

NameTypeUsageDescription
In_IDINTInputThe value to be passed through to Out_O.
Out_ODINTOutputThe value copied from In_I.
Out_CDINTOutputThe constant value 43.

Behavior

  1. When executed, copy the value of In_I to Out_O every scan.
  2. Set Out_C to the static constant value 43.
  3. Any DINT overflow or underflow follows standard PLC numeric behavior.

Ready to start?

Open this exercise in Rungs Studio, write your solution, then click Test in the toolbar to verify your work against the built-in test cases.