- No : 1656
- Displayed Date : 2023/04/25 19:00
-
Print
In Expert (D300win), I copied and pasted an existing timer (or counter) to add timer. However, a compilation error (Function block or structure corresponding to ** not found!) occurred. Why?
In Expert (D300win), I copied and pasted an existing timer (or counter) to add timer. However, a compilation error (Function block or structure corresponding to ** not found!) occurred. Why?
- Category :
-
Answer
Timers (or other FBs such as counters) each have an internal memory that is called an instance.
Therefore, after copying a timer, you need to define a variable for it. A variable is not defined by
just copying and pasting a timer.
Right-click the copied timer, select 'Object Properties.' On the 'Function / Function Block Properties'
dialog box, click the [OK] button to define a variable.