timohei.net / My Courses / Automation Systems / MetsoDNA FbCAD FAQ /
MetsoDNA FbCAD FAQ
Twelve Most Common Problems
General
Inserting Function Blocks
Page Functions
Communication Between Modules
Miscellanous
Guru Stuff
Twelve Most Common Problems
- Where can I find function block X? Function blocks can be found under Fblocks1..3
- I need a logic (calculation, comparision) function block with n inputs. There are, however, only gates with 2, 3, 5 and 10 inputs! Use a block with excess inputs and just leave the inputs you do not need unconnected. If you need a block with more than ten inputs connect two or more blocks in paraller and/or series.
- I need a calculation (comparision) function block with only one input. There are, however, only blocks with two or more inputs available! Use a block with two inputs and just leave the inputs you do not need unconnected.
- Checking causes errors related to calculation or comparision function block formulas even though I'm sure they
are made according to rules! Check that
- you have used names like a, b, c, ... for the inputs and o or o1, o2, o3, ... for the outputs
- you end the formula with a semicolon (;)
- you do not use constant values (Constant left/right) at the inputs of the function block. If you do need a constant value in the formula, type it in the formula as a literal value, or connect a Constant left/right to ccoX function block input and connect its output to Calc/Cmp input.
- How do I branch a connecting line? Draw - Dot (see Joining Crossing Lines below)
- I'm out of room. How do I get more? Create a page or change page size. See Page Functions below.
- How do I draw a connecting line from one page to another? Draw - Add reference (see Page Functions below).
- Module Check fails with error messages about missing connections even though all the connection lines are definately drawn as they should!
Check that- nothing has bounced outside the visible area: View - Zoom All (return View - Select Page)
- there are no broken lines (select one line at the time and see that the whole line becomes selected). Note the the lines have to be cut at the Dots!
- there are no short pieces of lines on top of other lines or module frames (move each line and frame to check this, restore original position with Undo (press U
).
- Module Check fails with error message X!
Check:- function block numbering - each and every function block in a module has to have a unique execution order number.
- I/O module names and addresses - each and every I/O module has to have a unique name and address accross the whole system.
- data type compatibility - data type is indicated by the color of the connecting point. Connected point colors have to match unless a Draw - specifier us used.
- all the I/O module connection points have to be connected to something. cb interface points of a BOU8 card, for example, are commonly connected to an Interface. See General below.
- Constant left/right cannot be used with Calc or Cmp function blocks. See #4 above!
- Module can not be saved to the repository. See the error message and act accordingly. Usually the error is about overlapping I/O addresses or non-unique I/O module names.
- module can not be donwloaded to the system! See the error message and act accordingly! More information is usually in Check Log (Logs - Check Log).
- Module can be saved and downloaded, but the changes I made to my application do not seem to have any
effect!
Check that- you really understand the effect of your changes. use debugger or Test tool.
- the I/O rack has been switched to correspond to your PIC address.
- there are no "ghost modules" in the system using the same address as your module. This can be checked by reading process station error log with BsGUI while downloading the module. Ghost module name is shown in the log next to your module name. Delete ghost module from the system with DNAExplorer Upload/Download - Delete Functions from Environment.
General
- Module name (shown as Identifier in DNAexplorer) must not contain a point.
- All I/O module interface ports have to be connected to something This is a common error with BOU (:c ja :cb) end AOU configuration. Connect unused interface to a Common - Interface out.
Inserting Function Blocks
Page Functions
- Creating a new page or changing page size
- Drawing connecting lines from one page to another
- Reference
- Copying objects from one page to another
- Moving objects from one page to another
- Viewing or accessing another page
Communication Between Modules
When modules communicate,
- the module providing data has an Interface or Direct Access point
- the module reading data has an External in Continuous.
- Interface, Direct Access
- External data point in the menu
- Selecting external data point
- Filling in the information on the External data point
- Two external data points (External in Continuous). The one on the top connects to a Direct Access data point, the bottom one to an Interface data point. Make note about the naming convention! Direct Access is used to define the name as a whole, as the Interface name has to be appended to the module name it resides in.
Miscellanous
- Adding a Constant value (Constants Left, e.g. Pulse Length)
- Joining Crossing Lines
- Connecting to a Far Away Point on a Same Page
- Detecting a Rising Edge
- Oscillating Output w/ Different Frequencies
- Deleting a Module from the System (not from the Server)
- Search fo External Data
Guru Stuff
Updated 15.11.2020
© Timo Heikkinen | timo piste heikkinen at oamk piste fi