Increment a dual-stage counter (MicroCount + MacroCount) every scan while enabled in rungs.dev, and report the combined total as a single DINT output.
| Name | Type | Usage | Description |
|---|---|---|---|
| In_EnableCount | BOOL | Input | 1 to enable counting, 0 to hold count. |
| Out_CountValue | DINT | Output | The total accumulated value representing MacroCount * 10 + MicroCount. |
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.