1345 <relPosition x="143" y="37"/> |
1404 <relPosition x="143" y="37"/> |
1346 </connectionPointOut> |
1405 </connectionPointOut> |
1347 </variable> |
1406 </variable> |
1348 </outputVariables> |
1407 </outputVariables> |
1349 </block> |
1408 </block> |
1350 <inVariable localId="4" height="27" width="18"> |
1409 <inVariable localId="4" height="27" width="18" executionOrderId="0" negated="false"> |
1351 <position x="118" y="228"/> |
1410 <position x="118" y="558"/> |
1352 <connectionPointOut> |
1411 <connectionPointOut> |
1353 <relPosition x="18" y="13"/> |
1412 <relPosition x="18" y="13"/> |
1354 </connectionPointOut> |
1413 </connectionPointOut> |
1355 <expression>1</expression> |
1414 <expression>1</expression> |
1356 </inVariable> |
1415 </inVariable> |
1357 <inVariable localId="5" height="27" width="105"> |
1416 <inVariable localId="5" height="27" width="105" executionOrderId="0" negated="false"> |
1358 <position x="31" y="164"/> |
1417 <position x="31" y="494"/> |
1359 <connectionPointOut> |
1418 <connectionPointOut> |
1360 <relPosition x="105" y="13"/> |
1419 <relPosition x="105" y="13"/> |
1361 </connectionPointOut> |
1420 </connectionPointOut> |
1362 <expression>'SWITCH_OFF'</expression> |
1421 <expression>'SWITCH_OFF'</expression> |
1363 </inVariable> |
1422 </inVariable> |
1364 <inVariable localId="6" height="27" width="105"> |
1423 <inVariable localId="6" height="27" width="105" executionOrderId="0" negated="false"> |
1365 <position x="31" y="196"/> |
1424 <position x="31" y="526"/> |
1366 <connectionPointOut> |
1425 <connectionPointOut> |
1367 <relPosition x="105" y="13"/> |
1426 <relPosition x="105" y="13"/> |
1368 </connectionPointOut> |
1427 </connectionPointOut> |
1369 <expression>'SWITCH_ON'</expression> |
1428 <expression>'SWITCH_ON'</expression> |
1370 </inVariable> |
1429 </inVariable> |
1371 <inVariable localId="7" height="27" width="137"> |
1430 <inVariable localId="7" height="27" width="137" executionOrderId="0" negated="false"> |
1372 <position x="22" y="378"/> |
1431 <position x="22" y="708"/> |
1373 <connectionPointOut> |
1432 <connectionPointOut> |
1374 <relPosition x="137" y="13"/> |
1433 <relPosition x="137" y="13"/> |
1375 </connectionPointOut> |
1434 </connectionPointOut> |
1376 <expression>'PEDESTRIAN_OFF'</expression> |
1435 <expression>'PEDESTRIAN_OFF'</expression> |
1377 </inVariable> |
1436 </inVariable> |
1378 <inVariable localId="8" height="27" width="137"> |
1437 <inVariable localId="8" height="27" width="137" executionOrderId="0" negated="false"> |
1379 <position x="22" y="413"/> |
1438 <position x="22" y="743"/> |
1380 <connectionPointOut> |
1439 <connectionPointOut> |
1381 <relPosition x="137" y="13"/> |
1440 <relPosition x="137" y="13"/> |
1382 </connectionPointOut> |
1441 </connectionPointOut> |
1383 <expression>'PEDESTRIAN_ON'</expression> |
1442 <expression>'PEDESTRIAN_ON'</expression> |
1384 </inVariable> |
1443 </inVariable> |
1385 <block localId="9" width="115" height="133" typeName="Led" instanceName="RedLight"> |
1444 <block localId="9" width="115" height="133" typeName="Led" instanceName="RedLight" executionOrderId="0"> |
1386 <position x="1057" y="116"/> |
1445 <position x="1057" y="395"/> |
1387 <inputVariables> |
1446 <inputVariables> |
1388 <variable formalParameter="back_id"> |
1447 <variable formalParameter="back_id"> |
1389 <connectionPointIn> |
1448 <connectionPointIn> |
1390 <relPosition x="0" y="38"/> |
1449 <relPosition x="0" y="38"/> |
1391 <connection refLocalId="10"> |
1450 <connection refLocalId="10"> |
1392 <position x="1057" y="154"/> |
1451 <position x="1057" y="433"/> |
1393 <position x="1010" y="154"/> |
1452 <position x="1010" y="433"/> |
1394 </connection> |
1453 </connection> |
1395 </connectionPointIn> |
1454 </connectionPointIn> |
1396 </variable> |
1455 </variable> |
1397 <variable formalParameter="sele_id"> |
1456 <variable formalParameter="sele_id"> |
1398 <connectionPointIn> |
1457 <connectionPointIn> |
1399 <relPosition x="0" y="75"/> |
1458 <relPosition x="0" y="75"/> |
1400 <connection refLocalId="11"> |
1459 <connection refLocalId="11"> |
1401 <position x="1057" y="191"/> |
1460 <position x="1057" y="470"/> |
1402 <position x="1010" y="191"/> |
1461 <position x="1010" y="470"/> |
1403 </connection> |
1462 </connection> |
1404 </connectionPointIn> |
1463 </connectionPointIn> |
1405 </variable> |
1464 </variable> |
1406 <variable formalParameter="state_in"> |
1465 <variable formalParameter="state_in"> |
1407 <connectionPointIn> |
1466 <connectionPointIn> |
1408 <relPosition x="0" y="112"/> |
1467 <relPosition x="0" y="112"/> |
1409 <connection refLocalId="1" formalParameter="RED_LIGHT"> |
1468 <connection refLocalId="1" formalParameter="RED_LIGHT"> |
1410 <position x="1057" y="228"/> |
1469 <position x="1057" y="507"/> |
1411 <position x="819" y="228"/> |
1470 <position x="819" y="507"/> |
1412 </connection> |
1471 </connection> |
1413 </connectionPointIn> |
1472 </connectionPointIn> |
1414 </variable> |
1473 </variable> |
1415 </inputVariables> |
1474 </inputVariables> |
1416 <inOutVariables/> |
1475 <inOutVariables/> |
1417 <outputVariables/> |
1476 <outputVariables/> |
1418 </block> |
1477 </block> |
1419 <inVariable localId="10" height="27" width="79"> |
1478 <inVariable localId="10" height="27" width="79" executionOrderId="0" negated="false"> |
1420 <position x="931" y="141"/> |
1479 <position x="931" y="420"/> |
1421 <connectionPointOut> |
1480 <connectionPointOut> |
1422 <relPosition x="79" y="13"/> |
1481 <relPosition x="79" y="13"/> |
1423 </connectionPointOut> |
1482 </connectionPointOut> |
1424 <expression>'RED_OFF'</expression> |
1483 <expression>'RED_OFF'</expression> |
1425 </inVariable> |
1484 </inVariable> |
1426 <inVariable localId="11" height="27" width="79"> |
1485 <inVariable localId="11" height="27" width="79" executionOrderId="0" negated="false"> |
1427 <position x="931" y="178"/> |
1486 <position x="931" y="457"/> |
1428 <connectionPointOut> |
1487 <connectionPointOut> |
1429 <relPosition x="79" y="13"/> |
1488 <relPosition x="79" y="13"/> |
1430 </connectionPointOut> |
1489 </connectionPointOut> |
1431 <expression>'RED_ON'</expression> |
1490 <expression>'RED_ON'</expression> |
1432 </inVariable> |
1491 </inVariable> |
1433 <block localId="12" width="115" height="133" typeName="Led" instanceName="OrangeLight"> |
1492 <block localId="12" width="115" height="133" typeName="Led" instanceName="OrangeLight" executionOrderId="0"> |
1434 <position x="1058" y="279"/> |
1493 <position x="1058" y="558"/> |
1435 <inputVariables> |
1494 <inputVariables> |
1436 <variable formalParameter="back_id"> |
1495 <variable formalParameter="back_id"> |
1437 <connectionPointIn> |
1496 <connectionPointIn> |
1438 <relPosition x="0" y="38"/> |
1497 <relPosition x="0" y="38"/> |
1439 <connection refLocalId="13"> |
1498 <connection refLocalId="13"> |
1440 <position x="1058" y="317"/> |
1499 <position x="1058" y="596"/> |
1441 <position x="1010" y="317"/> |
1500 <position x="1010" y="596"/> |
1442 </connection> |
1501 </connection> |
1443 </connectionPointIn> |
1502 </connectionPointIn> |
1444 </variable> |
1503 </variable> |
1445 <variable formalParameter="sele_id"> |
1504 <variable formalParameter="sele_id"> |
1446 <connectionPointIn> |
1505 <connectionPointIn> |
1447 <relPosition x="0" y="75"/> |
1506 <relPosition x="0" y="75"/> |
1448 <connection refLocalId="14"> |
1507 <connection refLocalId="14"> |
1449 <position x="1058" y="354"/> |
1508 <position x="1058" y="633"/> |
1450 <position x="1010" y="354"/> |
1509 <position x="1010" y="633"/> |
1451 </connection> |
1510 </connection> |
1452 </connectionPointIn> |
1511 </connectionPointIn> |
1453 </variable> |
1512 </variable> |
1454 <variable formalParameter="state_in"> |
1513 <variable formalParameter="state_in"> |
1455 <connectionPointIn> |
1514 <connectionPointIn> |
1456 <relPosition x="0" y="112"/> |
1515 <relPosition x="0" y="112"/> |
1457 <connection refLocalId="1" formalParameter="ORANGE_LIGHT"> |
1516 <connection refLocalId="1" formalParameter="ORANGE_LIGHT"> |
1458 <position x="1058" y="391"/> |
1517 <position x="1058" y="670"/> |
1459 <position x="819" y="391"/> |
1518 <position x="819" y="670"/> |
1460 </connection> |
1519 </connection> |
1461 </connectionPointIn> |
1520 </connectionPointIn> |
1462 </variable> |
1521 </variable> |
1463 </inputVariables> |
1522 </inputVariables> |
1464 <inOutVariables/> |
1523 <inOutVariables/> |
1465 <outputVariables/> |
1524 <outputVariables/> |
1466 </block> |
1525 </block> |
1467 <inVariable localId="13" height="27" width="111"> |
1526 <inVariable localId="13" height="27" width="111" executionOrderId="0" negated="false"> |
1468 <position x="899" y="304"/> |
1527 <position x="899" y="583"/> |
1469 <connectionPointOut> |
1528 <connectionPointOut> |
1470 <relPosition x="111" y="13"/> |
1529 <relPosition x="111" y="13"/> |
1471 </connectionPointOut> |
1530 </connectionPointOut> |
1472 <expression>'ORANGE_OFF'</expression> |
1531 <expression>'ORANGE_OFF'</expression> |
1473 </inVariable> |
1532 </inVariable> |
1474 <inVariable localId="14" height="27" width="106"> |
1533 <inVariable localId="14" height="27" width="106" executionOrderId="0" negated="false"> |
1475 <position x="904" y="341"/> |
1534 <position x="904" y="620"/> |
1476 <connectionPointOut> |
1535 <connectionPointOut> |
1477 <relPosition x="106" y="13"/> |
1536 <relPosition x="106" y="13"/> |
1478 </connectionPointOut> |
1537 </connectionPointOut> |
1479 <expression>'ORANGE_ON'</expression> |
1538 <expression>'ORANGE_ON'</expression> |
1480 </inVariable> |
1539 </inVariable> |
1481 <block localId="15" width="115" height="133" typeName="Led" instanceName="GreenLight"> |
1540 <block localId="15" width="115" height="133" typeName="Led" instanceName="GreenLight" executionOrderId="0"> |
1482 <position x="1058" y="442"/> |
1541 <position x="1058" y="721"/> |
1483 <inputVariables> |
1542 <inputVariables> |
1484 <variable formalParameter="back_id"> |
1543 <variable formalParameter="back_id"> |
1485 <connectionPointIn> |
1544 <connectionPointIn> |
1486 <relPosition x="0" y="38"/> |
1545 <relPosition x="0" y="38"/> |
1487 <connection refLocalId="16"> |
1546 <connection refLocalId="16"> |
1488 <position x="1058" y="480"/> |
1547 <position x="1058" y="759"/> |
1489 <position x="1010" y="480"/> |
1548 <position x="1010" y="759"/> |
1490 </connection> |
1549 </connection> |
1491 </connectionPointIn> |
1550 </connectionPointIn> |
1492 </variable> |
1551 </variable> |
1493 <variable formalParameter="sele_id"> |
1552 <variable formalParameter="sele_id"> |
1494 <connectionPointIn> |
1553 <connectionPointIn> |
1495 <relPosition x="0" y="75"/> |
1554 <relPosition x="0" y="75"/> |
1496 <connection refLocalId="17"> |
1555 <connection refLocalId="17"> |
1497 <position x="1058" y="517"/> |
1556 <position x="1058" y="796"/> |
1498 <position x="1010" y="517"/> |
1557 <position x="1010" y="796"/> |
1499 </connection> |
1558 </connection> |
1500 </connectionPointIn> |
1559 </connectionPointIn> |
1501 </variable> |
1560 </variable> |
1502 <variable formalParameter="state_in"> |
1561 <variable formalParameter="state_in"> |
1503 <connectionPointIn> |
1562 <connectionPointIn> |
1504 <relPosition x="0" y="112"/> |
1563 <relPosition x="0" y="112"/> |
1505 <connection refLocalId="1" formalParameter="GREEN_LIGHT"> |
1564 <connection refLocalId="1" formalParameter="GREEN_LIGHT"> |
1506 <position x="1058" y="554"/> |
1565 <position x="1058" y="833"/> |
1507 <position x="819" y="554"/> |
1566 <position x="819" y="833"/> |
1508 </connection> |
1567 </connection> |
1509 </connectionPointIn> |
1568 </connectionPointIn> |
1510 </variable> |
1569 </variable> |
1511 </inputVariables> |
1570 </inputVariables> |
1512 <inOutVariables/> |
1571 <inOutVariables/> |
1513 <outputVariables/> |
1572 <outputVariables/> |
1514 </block> |
1573 </block> |
1515 <inVariable localId="16" height="27" width="111"> |
1574 <inVariable localId="16" height="27" width="111" executionOrderId="0" negated="false"> |
1516 <position x="899" y="467"/> |
1575 <position x="899" y="746"/> |
1517 <connectionPointOut> |
1576 <connectionPointOut> |
1518 <relPosition x="111" y="13"/> |
1577 <relPosition x="111" y="13"/> |
1519 </connectionPointOut> |
1578 </connectionPointOut> |
1520 <expression>'GREEN_OFF'</expression> |
1579 <expression>'GREEN_OFF'</expression> |
1521 </inVariable> |
1580 </inVariable> |
1522 <inVariable localId="17" height="27" width="106"> |
1581 <inVariable localId="17" height="27" width="106" executionOrderId="0" negated="false"> |
1523 <position x="904" y="504"/> |
1582 <position x="904" y="783"/> |
1524 <connectionPointOut> |
1583 <connectionPointOut> |
1525 <relPosition x="106" y="13"/> |
1584 <relPosition x="106" y="13"/> |
1526 </connectionPointOut> |
1585 </connectionPointOut> |
1527 <expression>'GREEN_ON'</expression> |
1586 <expression>'GREEN_ON'</expression> |
1528 </inVariable> |
1587 </inVariable> |
1529 <block localId="18" width="115" height="133" typeName="Led" instanceName="PedestrianRedLight"> |
1588 <block localId="18" width="115" height="133" typeName="Led" instanceName="PedestrianRedLight" executionOrderId="0"> |
1530 <position x="1059" y="605"/> |
1589 <position x="1059" y="884"/> |
1531 <inputVariables> |
1590 <inputVariables> |
1532 <variable formalParameter="back_id"> |
1591 <variable formalParameter="back_id"> |
1533 <connectionPointIn> |
1592 <connectionPointIn> |
1534 <relPosition x="0" y="38"/> |
1593 <relPosition x="0" y="38"/> |
1535 <connection refLocalId="19"> |
1594 <connection refLocalId="19"> |
1536 <position x="1059" y="643"/> |
1595 <position x="1059" y="922"/> |
1537 <position x="1020" y="643"/> |
1596 <position x="1020" y="922"/> |
1538 </connection> |
1597 </connection> |
1539 </connectionPointIn> |
1598 </connectionPointIn> |
1540 </variable> |
1599 </variable> |
1541 <variable formalParameter="sele_id"> |
1600 <variable formalParameter="sele_id"> |
1542 <connectionPointIn> |
1601 <connectionPointIn> |
1543 <relPosition x="0" y="75"/> |
1602 <relPosition x="0" y="75"/> |
1544 <connection refLocalId="20"> |
1603 <connection refLocalId="20"> |
1545 <position x="1059" y="680"/> |
1604 <position x="1059" y="959"/> |
1546 <position x="1020" y="680"/> |
1605 <position x="1020" y="959"/> |
1547 </connection> |
1606 </connection> |
1548 </connectionPointIn> |
1607 </connectionPointIn> |
1549 </variable> |
1608 </variable> |
1550 <variable formalParameter="state_in"> |
1609 <variable formalParameter="state_in"> |
1551 <connectionPointIn> |
1610 <connectionPointIn> |
1552 <relPosition x="0" y="112"/> |
1611 <relPosition x="0" y="112"/> |
1553 <connection refLocalId="1" formalParameter="PEDESTRIAN_RED_LIGHT"> |
1612 <connection refLocalId="1" formalParameter="PEDESTRIAN_RED_LIGHT"> |
1554 <position x="1059" y="717"/> |
1613 <position x="1059" y="996"/> |
1555 <position x="819" y="717"/> |
1614 <position x="819" y="996"/> |
1556 </connection> |
1615 </connection> |
1557 </connectionPointIn> |
1616 </connectionPointIn> |
1558 </variable> |
1617 </variable> |
1559 </inputVariables> |
1618 </inputVariables> |
1560 <inOutVariables/> |
1619 <inOutVariables/> |
1561 <outputVariables/> |
1620 <outputVariables/> |
1562 </block> |
1621 </block> |
1563 <inVariable localId="19" height="27" width="171"> |
1622 <inVariable localId="19" height="27" width="171" executionOrderId="0" negated="false"> |
1564 <position x="849" y="630"/> |
1623 <position x="849" y="909"/> |
1565 <connectionPointOut> |
1624 <connectionPointOut> |
1566 <relPosition x="171" y="13"/> |
1625 <relPosition x="171" y="13"/> |
1567 </connectionPointOut> |
1626 </connectionPointOut> |
1568 <expression>'PEDESTRIAN_RED_OFF'</expression> |
1627 <expression>'PEDESTRIAN_RED_OFF'</expression> |
1569 </inVariable> |
1628 </inVariable> |
1570 <inVariable localId="20" height="27" width="166"> |
1629 <inVariable localId="20" height="27" width="166" executionOrderId="0" negated="false"> |
1571 <position x="854" y="667"/> |
1630 <position x="854" y="946"/> |
1572 <connectionPointOut> |
1631 <connectionPointOut> |
1573 <relPosition x="166" y="13"/> |
1632 <relPosition x="166" y="13"/> |
1574 </connectionPointOut> |
1633 </connectionPointOut> |
1575 <expression>'PEDESTRIAN_RED_ON'</expression> |
1634 <expression>'PEDESTRIAN_RED_ON'</expression> |
1576 </inVariable> |
1635 </inVariable> |
1577 <block localId="21" width="115" height="133" typeName="Led" instanceName="PedestrianGreenLight"> |
1636 <block localId="21" width="115" height="133" typeName="Led" instanceName="PedestrianGreenLight" executionOrderId="0"> |
1578 <position x="1059" y="768"/> |
1637 <position x="1059" y="1047"/> |
1579 <inputVariables> |
1638 <inputVariables> |
1580 <variable formalParameter="back_id"> |
1639 <variable formalParameter="back_id"> |
1581 <connectionPointIn> |
1640 <connectionPointIn> |
1582 <relPosition x="0" y="38"/> |
1641 <relPosition x="0" y="38"/> |
1583 <connection refLocalId="22"> |
1642 <connection refLocalId="22"> |
1584 <position x="1059" y="806"/> |
1643 <position x="1059" y="1085"/> |
1585 <position x="1035" y="806"/> |
1644 <position x="1035" y="1085"/> |
1586 </connection> |
1645 </connection> |
1587 </connectionPointIn> |
1646 </connectionPointIn> |
1588 </variable> |
1647 </variable> |
1589 <variable formalParameter="sele_id"> |
1648 <variable formalParameter="sele_id"> |
1590 <connectionPointIn> |
1649 <connectionPointIn> |
1591 <relPosition x="0" y="75"/> |
1650 <relPosition x="0" y="75"/> |
1592 <connection refLocalId="23"> |
1651 <connection refLocalId="23"> |
1593 <position x="1059" y="843"/> |
1652 <position x="1059" y="1122"/> |
1594 <position x="1035" y="843"/> |
1653 <position x="1035" y="1122"/> |
1595 </connection> |
1654 </connection> |
1596 </connectionPointIn> |
1655 </connectionPointIn> |
1597 </variable> |
1656 </variable> |
1598 <variable formalParameter="state_in"> |
1657 <variable formalParameter="state_in"> |
1599 <connectionPointIn> |
1658 <connectionPointIn> |
1600 <relPosition x="0" y="112"/> |
1659 <relPosition x="0" y="112"/> |
1601 <connection refLocalId="1" formalParameter="PEDESTRIAN_GREEN_LIGHT"> |
1660 <connection refLocalId="1" formalParameter="PEDESTRIAN_GREEN_LIGHT"> |
1602 <position x="1059" y="880"/> |
1661 <position x="1059" y="1159"/> |
1603 <position x="819" y="880"/> |
1662 <position x="819" y="1159"/> |
1604 </connection> |
1663 </connection> |
1605 </connectionPointIn> |
1664 </connectionPointIn> |
1606 </variable> |
1665 </variable> |
1607 </inputVariables> |
1666 </inputVariables> |
1608 <inOutVariables/> |
1667 <inOutVariables/> |
1609 <outputVariables/> |
1668 <outputVariables/> |
1610 </block> |
1669 </block> |
1611 <inVariable localId="22" height="27" width="190"> |
1670 <inVariable localId="22" height="27" width="190" executionOrderId="0" negated="false"> |
1612 <position x="845" y="793"/> |
1671 <position x="845" y="1072"/> |
1613 <connectionPointOut> |
1672 <connectionPointOut> |
1614 <relPosition x="190" y="13"/> |
1673 <relPosition x="190" y="13"/> |
1615 </connectionPointOut> |
1674 </connectionPointOut> |
1616 <expression>'PEDESTRIAN_GREEN_OFF'</expression> |
1675 <expression>'PEDESTRIAN_GREEN_OFF'</expression> |
1617 </inVariable> |
1676 </inVariable> |
1618 <inVariable localId="23" height="27" width="185"> |
1677 <inVariable localId="23" height="27" width="185" executionOrderId="0" negated="false"> |
1619 <position x="850" y="830"/> |
1678 <position x="850" y="1109"/> |
1620 <connectionPointOut> |
1679 <connectionPointOut> |
1621 <relPosition x="185" y="13"/> |
1680 <relPosition x="185" y="13"/> |
1622 </connectionPointOut> |
1681 </connectionPointOut> |
1623 <expression>'PEDESTRIAN_GREEN_ON'</expression> |
1682 <expression>'PEDESTRIAN_GREEN_ON'</expression> |
1624 </inVariable> |
1683 </inVariable> |
1625 <inVariable localId="24" height="27" width="84"> |
1684 <comment localId="24" height="262" width="804"> |
1626 <position x="289" y="1141"/> |
1685 <position x="22" y="13"/> |
1627 <connectionPointOut> |
1686 <content> |
1628 <relPosition x="84" y="13"/> |
1687 <xhtml:p><![CDATA[This example implements control of traffic lights. |
1629 </connectionPointOut> |
1688 |
1630 <expression>TEST_DATE</expression> |
1689 Basically it shows following features of Beremiz: |
1631 </inVariable> |
1690 - web interface (SCADA) using integrated web server in svgui extension; |
1632 <block localId="25" width="128" height="40" typeName="DATE_TO_STRING"> |
1691 - interaction with web UI; |
1633 <position x="426" y="1124"/> |
1692 - functional blocks in SFC language. |
1634 <inputVariables> |
1693 |
1635 <variable formalParameter="IN"> |
1694 |
1636 <connectionPointIn> |
1695 |
1637 <relPosition x="0" y="30"/> |
1696 |
1638 <connection refLocalId="24"> |
1697 SVGUI is extensions to build web interface to PLC. It has *integrated* web-server. So it's NOT necessary to install Apache, lighttpd or nginx for that!!! |
1639 <position x="426" y="1154"/> |
1698 |
1640 <position x="373" y="1154"/> |
1699 As the program is running in PLC, web UI will be available at http://localhost:8009/. |
1641 </connection> |
1700 |
1642 </connectionPointIn> |
1701 Web interface is build as SVG file in Inkscape. To edit SVG file click 'Inkscape' button in 0x: svgui extension. |
1643 </variable> |
1702 Inkscape is a free and open-source vector graphics editor. It's not part of Beremiz and needs to be installed separately. |
1644 </inputVariables> |
1703 ]]></xhtml:p> |
1645 <inOutVariables/> |
1704 </content> |
1646 <outputVariables> |
1705 </comment> |
1647 <variable formalParameter="OUT"> |
1706 <comment localId="102" height="126" width="411"> |
1648 <connectionPointOut> |
1707 <position x="20" y="319"/> |
1649 <relPosition x="128" y="30"/> |
1708 <content> |
1650 </connectionPointOut> |
1709 <xhtml:p><![CDATA[In this example FB like 'Button', 'Led' and 'Text' are used. |
1651 </variable> |
1710 Back_id and sele_id inputs of these blocks are IDs of |
1652 </outputVariables> |
1711 graphic primitives in SVG file. |
1653 </block> |
1712 This is the way how elements in SVG are bound to elements |
1654 <outVariable localId="26" height="27" width="116"> |
1713 in PLC program. You can find out or edit these IDs in Inkscape.]]></xhtml:p> |
1655 <position x="640" y="1141"/> |
1714 </content> |
1656 <connectionPointIn> |
1715 </comment> |
1657 <relPosition x="0" y="13"/> |
|
1658 <connection refLocalId="25" formalParameter="OUT"> |
|
1659 <position x="640" y="1154"/> |
|
1660 <position x="554" y="1154"/> |
|
1661 </connection> |
|
1662 </connectionPointIn> |
|
1663 <expression>RESULT_STRING</expression> |
|
1664 </outVariable> |
|
1665 <inVariable localId="27" height="27" width="90"> |
|
1666 <position x="294" y="1271"/> |
|
1667 <connectionPointOut> |
|
1668 <relPosition x="90" y="13"/> |
|
1669 </connectionPointOut> |
|
1670 <expression>TEST_ULINT</expression> |
|
1671 </inVariable> |
|
1672 <outVariable localId="28" height="27" width="89"> |
|
1673 <position x="630" y="1271"/> |
|
1674 <connectionPointIn> |
|
1675 <relPosition x="0" y="13"/> |
|
1676 <connection refLocalId="29" formalParameter="OUT"> |
|
1677 <position x="630" y="1284"/> |
|
1678 <position x="551" y="1284"/> |
|
1679 </connection> |
|
1680 </connectionPointIn> |
|
1681 <expression>RESULT_INT</expression> |
|
1682 </outVariable> |
|
1683 <block localId="29" width="107" height="40" typeName="ULINT_TO_INT"> |
|
1684 <position x="444" y="1254"/> |
|
1685 <inputVariables> |
|
1686 <variable formalParameter="IN"> |
|
1687 <connectionPointIn> |
|
1688 <relPosition x="0" y="30"/> |
|
1689 <connection refLocalId="27"> |
|
1690 <position x="444" y="1284"/> |
|
1691 <position x="384" y="1284"/> |
|
1692 </connection> |
|
1693 </connectionPointIn> |
|
1694 </variable> |
|
1695 </inputVariables> |
|
1696 <inOutVariables/> |
|
1697 <outputVariables> |
|
1698 <variable formalParameter="OUT"> |
|
1699 <connectionPointOut> |
|
1700 <relPosition x="107" y="30"/> |
|
1701 </connectionPointOut> |
|
1702 </variable> |
|
1703 </outputVariables> |
|
1704 </block> |
|
1705 <inVariable localId="30" height="27" width="89"> |
|
1706 <position x="139" y="1032"/> |
|
1707 <connectionPointOut> |
|
1708 <relPosition x="89" y="13"/> |
|
1709 </connectionPointOut> |
|
1710 <expression>RESULT_INT</expression> |
|
1711 </inVariable> |
|
1712 <block localId="31" width="68" height="85" typeName="LIMIT"> |
|
1713 <position x="419" y="994"/> |
|
1714 <inputVariables> |
|
1715 <variable formalParameter="MN"> |
|
1716 <connectionPointIn> |
|
1717 <relPosition x="0" y="30"/> |
|
1718 <connection refLocalId="33"> |
|
1719 <position x="419" y="1024"/> |
|
1720 <position x="390" y="1024"/> |
|
1721 </connection> |
|
1722 </connectionPointIn> |
|
1723 </variable> |
|
1724 <variable formalParameter="IN"> |
|
1725 <connectionPointIn> |
|
1726 <relPosition x="0" y="51"/> |
|
1727 <connection refLocalId="38" formalParameter="OUT"> |
|
1728 <position x="419" y="1045"/> |
|
1729 <position x="335" y="1045"/> |
|
1730 </connection> |
|
1731 </connectionPointIn> |
|
1732 </variable> |
|
1733 <variable formalParameter="MX"> |
|
1734 <connectionPointIn> |
|
1735 <relPosition x="0" y="72"/> |
|
1736 <connection refLocalId="34"> |
|
1737 <position x="419" y="1066"/> |
|
1738 <position x="404" y="1066"/> |
|
1739 <position x="404" y="1067"/> |
|
1740 <position x="389" y="1067"/> |
|
1741 </connection> |
|
1742 </connectionPointIn> |
|
1743 </variable> |
|
1744 </inputVariables> |
|
1745 <inOutVariables/> |
|
1746 <outputVariables> |
|
1747 <variable formalParameter="OUT"> |
|
1748 <connectionPointOut> |
|
1749 <relPosition x="68" y="30"/> |
|
1750 </connectionPointOut> |
|
1751 </variable> |
|
1752 </outputVariables> |
|
1753 </block> |
|
1754 <inVariable localId="33" height="27" width="20"> |
|
1755 <position x="370" y="1011"/> |
|
1756 <connectionPointOut> |
|
1757 <relPosition x="20" y="13"/> |
|
1758 </connectionPointOut> |
|
1759 <expression>0</expression> |
|
1760 </inVariable> |
|
1761 <inVariable localId="34" height="27" width="26"> |
|
1762 <position x="363" y="1054"/> |
|
1763 <connectionPointOut> |
|
1764 <relPosition x="26" y="13"/> |
|
1765 </connectionPointOut> |
|
1766 <expression>31</expression> |
|
1767 </inVariable> |
|
1768 <block localId="35" width="100" height="45" typeName="INT_TO_BYTE"> |
|
1769 <position x="529" y="992"/> |
|
1770 <inputVariables> |
|
1771 <variable formalParameter="IN"> |
|
1772 <connectionPointIn> |
|
1773 <relPosition x="0" y="32"/> |
|
1774 <connection refLocalId="31" formalParameter="OUT"> |
|
1775 <position x="529" y="1024"/> |
|
1776 <position x="487" y="1024"/> |
|
1777 </connection> |
|
1778 </connectionPointIn> |
|
1779 </variable> |
|
1780 </inputVariables> |
|
1781 <inOutVariables/> |
|
1782 <outputVariables> |
|
1783 <variable formalParameter="OUT"> |
|
1784 <connectionPointOut> |
|
1785 <relPosition x="100" y="32"/> |
|
1786 </connectionPointOut> |
|
1787 </variable> |
|
1788 </outputVariables> |
|
1789 </block> |
|
1790 <outVariable localId="37" height="27" width="100"> |
|
1791 <position x="681" y="1011"/> |
|
1792 <connectionPointIn> |
|
1793 <relPosition x="0" y="13"/> |
|
1794 <connection refLocalId="35" formalParameter="OUT"> |
|
1795 <position x="681" y="1024"/> |
|
1796 <position x="629" y="1024"/> |
|
1797 </connection> |
|
1798 </connectionPointIn> |
|
1799 <expression>RESULT_BYTE</expression> |
|
1800 </outVariable> |
|
1801 <block localId="38" width="67" height="60" typeName="MUL"> |
|
1802 <position x="268" y="1015"/> |
|
1803 <inputVariables> |
|
1804 <variable formalParameter="IN1"> |
|
1805 <connectionPointIn> |
|
1806 <relPosition x="0" y="30"/> |
|
1807 <connection refLocalId="30"> |
|
1808 <position x="268" y="1045"/> |
|
1809 <position x="228" y="1045"/> |
|
1810 </connection> |
|
1811 </connectionPointIn> |
|
1812 </variable> |
|
1813 <variable formalParameter="IN2"> |
|
1814 <connectionPointIn> |
|
1815 <relPosition x="0" y="50"/> |
|
1816 <connection refLocalId="39"> |
|
1817 <position x="268" y="1065"/> |
|
1818 <position x="248" y="1065"/> |
|
1819 <position x="248" y="1084"/> |
|
1820 <position x="229" y="1084"/> |
|
1821 </connection> |
|
1822 </connectionPointIn> |
|
1823 </variable> |
|
1824 </inputVariables> |
|
1825 <inOutVariables/> |
|
1826 <outputVariables> |
|
1827 <variable formalParameter="OUT"> |
|
1828 <connectionPointOut> |
|
1829 <relPosition x="67" y="30"/> |
|
1830 </connectionPointOut> |
|
1831 </variable> |
|
1832 </outputVariables> |
|
1833 </block> |
|
1834 <inVariable localId="39" height="27" width="18"> |
|
1835 <position x="211" y="1071"/> |
|
1836 <connectionPointOut> |
|
1837 <relPosition x="18" y="13"/> |
|
1838 </connectionPointOut> |
|
1839 <expression>1</expression> |
|
1840 </inVariable> |
|
1841 </FBD> |
1716 </FBD> |
1842 </body> |
1717 </body> |
1843 </pou> |
1718 </pou> |
1844 </pous> |
1719 </pous> |
1845 </types> |
1720 </types> |