6 <fileHeader companyName="beremiz" |
6 <fileHeader companyName="beremiz" |
7 productName="Beremiz" |
7 productName="Beremiz" |
8 productVersion="0.0" |
8 productVersion="0.0" |
9 creationDateTime="2008-12-14T16:21:19"/> |
9 creationDateTime="2008-12-14T16:21:19"/> |
10 <contentHeader name="Beremiz Python Support Tests" |
10 <contentHeader name="Beremiz Python Support Tests" |
11 modificationDateTime="2012-10-18T20:21:28"> |
11 modificationDateTime="2012-10-18T20:37:52"> |
12 <coordinateInfo> |
12 <coordinateInfo> |
13 <pageSize x="1024" y="1024"/> |
13 <pageSize x="1024" y="1024"/> |
14 <fbd> |
14 <fbd> |
15 <scaling x="5" y="5"/> |
15 <scaling x="5" y="5"/> |
16 </fbd> |
16 </fbd> |
466 </connection> |
485 </connection> |
467 </connectionPointIn> |
486 </connectionPointIn> |
468 <expression>pytest_var3</expression> |
487 <expression>pytest_var3</expression> |
469 </outVariable> |
488 </outVariable> |
470 <outVariable localId="25" height="30" width="60"> |
489 <outVariable localId="25" height="30" width="60"> |
471 <position x="820" y="750"/> |
490 <position x="520" y="655"/> |
472 <connectionPointIn> |
491 <connectionPointIn> |
473 <relPosition x="0" y="15"/> |
492 <relPosition x="0" y="15"/> |
474 <connection refLocalId="26" formalParameter="OUT"> |
493 <connection refLocalId="26" formalParameter="OUT"> |
475 <position x="820" y="765"/> |
494 <position x="520" y="670"/> |
476 <position x="765" y="765"/> |
495 <position x="465" y="670"/> |
477 </connection> |
496 </connection> |
478 </connectionPointIn> |
497 </connectionPointIn> |
479 <expression>FromC</expression> |
498 <expression>FromC</expression> |
480 </outVariable> |
499 </outVariable> |
481 <inVariable localId="1" height="30" width="30"> |
500 <inVariable localId="1" height="30" width="30"> |
482 <position x="605" y="750"/> |
501 <position x="305" y="655"/> |
483 <connectionPointOut> |
502 <connectionPointOut> |
484 <relPosition x="30" y="15"/> |
503 <relPosition x="30" y="15"/> |
485 </connectionPointOut> |
504 </connectionPointOut> |
486 <expression>23</expression> |
505 <expression>23</expression> |
487 </inVariable> |
506 </inVariable> |
488 <block localId="26" width="80" height="45" typeName="C_Pragma" instanceName="C_Pragma0"> |
507 <block localId="26" width="80" height="45" typeName="C_Pragma" instanceName="C_Pragma0"> |
489 <position x="685" y="735"/> |
508 <position x="385" y="640"/> |
490 <inputVariables> |
509 <inputVariables> |
491 <variable formalParameter="IN"> |
510 <variable formalParameter="IN"> |
492 <connectionPointIn> |
511 <connectionPointIn> |
493 <relPosition x="0" y="30"/> |
512 <relPosition x="0" y="30"/> |
494 <connection refLocalId="1"> |
513 <connection refLocalId="1"> |
495 <position x="685" y="765"/> |
514 <position x="385" y="670"/> |
496 <position x="635" y="765"/> |
515 <position x="335" y="670"/> |
497 </connection> |
516 </connection> |
498 </connectionPointIn> |
517 </connectionPointIn> |
499 </variable> |
518 </variable> |
500 </inputVariables> |
519 </inputVariables> |
501 <inOutVariables/> |
520 <inOutVariables/> |
505 <relPosition x="80" y="30"/> |
524 <relPosition x="80" y="30"/> |
506 </connectionPointOut> |
525 </connectionPointOut> |
507 </variable> |
526 </variable> |
508 </outputVariables> |
527 </outputVariables> |
509 </block> |
528 </block> |
|
529 <inVariable localId="27" height="30" width="75"> |
|
530 <position x="305" y="770"/> |
|
531 <connectionPointOut> |
|
532 <relPosition x="75" y="15"/> |
|
533 </connectionPointOut> |
|
534 <expression>TestInput</expression> |
|
535 </inVariable> |
|
536 <outVariable localId="28" height="30" width="90"> |
|
537 <position x="395" y="705"/> |
|
538 <connectionPointIn> |
|
539 <relPosition x="0" y="15"/> |
|
540 <connection refLocalId="2"> |
|
541 <position x="395" y="720"/> |
|
542 <position x="340" y="720"/> |
|
543 </connection> |
|
544 </connectionPointIn> |
|
545 <expression>TestOutput</expression> |
|
546 </outVariable> |
|
547 <outVariable localId="29" height="30" width="85"> |
|
548 <position x="415" y="770"/> |
|
549 <connectionPointIn> |
|
550 <relPosition x="0" y="15"/> |
|
551 <connection refLocalId="27"> |
|
552 <position x="415" y="785"/> |
|
553 <position x="380" y="785"/> |
|
554 </connection> |
|
555 </connectionPointIn> |
|
556 <expression>FromInput</expression> |
|
557 </outVariable> |
|
558 <inVariable localId="2" height="30" width="30"> |
|
559 <position x="310" y="705"/> |
|
560 <connectionPointOut> |
|
561 <relPosition x="30" y="15"/> |
|
562 </connectionPointOut> |
|
563 <expression>10</expression> |
|
564 </inVariable> |
|
565 <comment localId="30" height="90" width="405"> |
|
566 <position x="245" y="825"/> |
|
567 <content> |
|
568 <![CDATA[You will be ready to use beremiz with C and Python when you will understand why "FromInput" is equal to 75. |
|
569 Enjoy. ]]> |
|
570 </content> |
|
571 </comment> |
510 </FBD> |
572 </FBD> |
511 </body> |
573 </body> |
512 </pou> |
574 </pou> |
513 <pou name="C_Pragma" pouType="functionBlock"> |
575 <pou name="C_Pragma" pouType="functionBlock"> |
514 <interface> |
576 <interface> |