Thursday, January 21, 2010

Jan.21 Further X2Y2 Testing

X2Y2 application always should return x^2+y^2

Basis is X2X2 Tutorial
Goals:
  • to understand 61499 Function Blocks / 4DIAC-IDE details
  • to test the tutorial contents.
Observations / Questions / Problems:
Data or data flow:

IN_ANY / OUT_ANY from hmi.FBRT Pallete:
Output is not like in tutorial? Why?
(System section may be for all 4 examples so you don't have to keep changing user interface details, which are a side issue.)

1. Output for 3 fields is 2 1/2 fields high
Easiest Solution:
   re-size with mouse and forget it
Easiest correction:
in X2Y2. System Configuration
in VIS_IN (panel resource) set ROWS value to 2
GRID variable can be empty for now.

2. Also after cold start the old y value is used, but not shown.
Solution: Feedback from OUT_ANY

Ingo noticed FORTE is not mapped to anything, so if don't check FORTE it won't be downloaded and does not have to be launched for this simple first example.

I/O notes:
W: width is ignored if in System Configuration the GRID variable is used.

Tables.xls : EventStds
shows standard mapping of in to out events and in to out  Data variables. (Ref: Std. Table 2)

X2Y2_BFB started.

Hints:
Accidentally via right click selected unmap (hardware) for OUT_ANY and lost the output field.

No comments:

Post a Comment