# HG changeset patch # User Edouard Tisserant # Date 1643126714 -3600 # Node ID 53c66c4aefa322043680fb9238270386115523d6 # Parent c270b6c8162b9f4a9f4fd9a0c7934e23a095862b TESTS: moved non-automated tests Beremiz projects stored as directories in /tests to new directory /tests/projects diff -r c270b6c8162b -r 53c66c4aefa3 tests/BACnet/bacnet_0@bacnet/bacnet_slave --- a/tests/BACnet/bacnet_0@bacnet/bacnet_slave Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,202 +0,0 @@ -(dp0 -S'BV_Obj' -p1 -(lp2 -sS'AV_Obj' -p3 -(lp4 -(dp5 -S'loc' -p6 -S'MD0_2' -p7 -sS'Description' -p8 -S'' -p9 -sS'Unit ID' -p10 -I19 -sS'Object Identifier' -p11 -I0 -sS'Ctype' -p12 -S'float' -p13 -sS'BACnetObjTypeID' -p14 -I2 -sS'Settable' -p15 -S'Y' -p16 -sS'Engineering Units' -p17 -V(Energy) kilowatt-hours (19) -p18 -sS'Object Name' -p19 -VEnergyCounter -p20 -sasS'AO_Obj' -p21 -(lp22 -(dp23 -g6 -S'QD0_1' -p24 -sg8 -V -p25 -sS'Unit ID' -p26 -I62 -sS'Object Identifier' -p27 -V0 -p28 -sg12 -g13 -sg14 -I1 -sg15 -g16 -sS'Object Name' -p29 -VTemperatureSetPoint -p30 -sS'Engineering Units' -p31 -V(Temperature) degrees-celsius (62) -p32 -sasS'MSI_Obj' -p33 -(lp34 -sS'BO_Obj' -p35 -(lp36 -(dp37 -g6 -S'QX0_4' -p38 -sg8 -g9 -sS'Object Identifier' -p39 -I2 -sg12 -S'uint8_t' -p40 -sg14 -I4 -sg15 -g16 -sS'Object Name' -p41 -VBlockClimateControl -p42 -sasS'MSO_Obj' -p43 -(lp44 -sS'EDEfile_parm' -p45 -(dp46 -S'next_EDE_file_version' -p47 -I1 -ssS'BI_Obj' -p48 -(lp49 -(dp50 -g6 -S'IX0_3' -p51 -sg8 -g9 -sS'Object Identifier' -p52 -I0 -sg12 -g40 -sg14 -I3 -sg15 -S'N' -p53 -sS'Object Name' -p54 -VHeater -p55 -sa(dp56 -g6 -g51 -sg8 -g9 -sg52 -I1 -sg12 -g40 -sg14 -I3 -sg15 -g53 -sg54 -VCooler -p57 -sasS'AI_Obj' -p58 -(lp59 -(dp60 -g6 -S'ID0_0' -p61 -sg8 -VCurrent termperature in Beremiz lab -p62 -sS'Unit ID' -p63 -I62 -sS'Object Identifier' -p64 -I0 -sg12 -g13 -sg14 -I0 -sg15 -g53 -sS'Engineering Units' -p65 -V(Temperature) degrees-celsius (62) -p66 -sS'Object Name' -p67 -VTemperature -p68 -sa(dp69 -g6 -g61 -sg8 -VCurrent humidity in Beremiz lab -p70 -sg63 -I29 -sg64 -I1 -sg12 -g13 -sg14 -I0 -sg15 -g53 -sg67 -VHumidity -p71 -sg65 -V(Humidity) percent-relative-humidity (29) -p72 -sasS'MSV_Obj' -p73 -(lp74 -s. \ No newline at end of file diff -r c270b6c8162b -r 53c66c4aefa3 tests/BACnet/bacnet_0@bacnet/baseconfnode.xml --- a/tests/BACnet/bacnet_0@bacnet/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/BACnet/bacnet_0@bacnet/confnode.xml --- a/tests/BACnet/bacnet_0@bacnet/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/BACnet/beremiz.xml --- a/tests/BACnet/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/BACnet/plc.xml --- a/tests/BACnet/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,601 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - EnergyCounter - - - - - - - - - - - EnergyCounter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.00131 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Temperature - - - - - - - 18.0 - - - - - - - 30.0 - - - - - - - 120 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Humidity - - - - - - - 55.0 - - - - - - - 78.0 - - - - - - - 58 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Temperature - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ControlDisable - - - - - - - - - - - Cooler - - - - - - - TemperatureSetPoint - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Temperature - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ControlDisable - - - - - - - - - - - Heater - - - - - - - TemperatureSetPoint - - - - - - - - - - - - - - - - - - "beremiz" - "BACnet" - -If library is installed elsewhere, then place corresponding paths -in CFLAGS/LDFLAGS in project settings. - -For GNU/Linux to install BACnet library in parent directory run following commands: -$ svn checkout https://svn.code.sf.net/p/bacnet/code/trunk/bacnet-stack/ BACnet -$ cd BACnet -$ make - -After that BACnet extension is ready to be used in Beremiz projects. -BACnet stack implementation contains a lot of test tools. They could be useful during -debugging and BACnet investigation. See "BACnet/bin/readme.txt" for more information about them.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/README.md --- a/tests/README.md Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -Beremiz projects for non-automated testing -=== - -This directory contains unsorted projects used as manually executed test while working on particular topics. - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/beremiz.xml --- a/tests/canopen_master/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/canopen@canfestival/baseconfnode.xml --- a/tests/canopen_master/canopen@canfestival/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/canopen@canfestival/confnode.xml --- a/tests/canopen_master/canopen@canfestival/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/canopen@canfestival/master@CanOpenNode/baseconfnode.xml --- a/tests/canopen_master/canopen@canfestival/master@CanOpenNode/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/canopen@canfestival/master@CanOpenNode/confnode.xml --- a/tests/canopen_master/canopen@canfestival/master@CanOpenNode/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/canopen@canfestival/master@CanOpenNode/eds/Slave_0_0.eds --- a/tests/canopen_master/canopen@canfestival/master@CanOpenNode/eds/Slave_0_0.eds Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1161 +0,0 @@ -[FileInfo] -FileName=Slave_0_0.eds -FileVersion=1 -FileRevision=1 -EDSVersion=4.0 -Description= -CreationTime=06:35PM -CreationDate=10-07-2009 -CreatedBy=CANFestival -ModificationTime=06:35PM -ModificationDate=10-07-2009 -ModifiedBy=CANFestival - -[DeviceInfo] -VendorName=CANFestival -VendorNumber=0x00000000 -ProductName=OD_0_0 -ProductNumber=0x00000000 -RevisionNumber=0x00000000 -BaudRate_10=1 -BaudRate_20=1 -BaudRate_50=1 -BaudRate_125=1 -BaudRate_250=1 -BaudRate_500=1 -BaudRate_800=1 -BaudRate_1000=1 -SimpleBootUpMaster=0 -SimpleBootUpSlave=1 -Granularity=8 -DynamicChannelsSupported=0 -CompactPDO=0 -GroupMessaging=0 -NrOfRXPDO=4 -NrOfTXPDO=4 -LSS_Supported=0 - -[DummyUsage] -Dummy0001=0 -Dummy0002=1 -Dummy0003=1 -Dummy0004=1 -Dummy0005=1 -Dummy0006=1 -Dummy0007=1 - -[Comments] -Lines=0 - -[MandatoryObjects] -SupportedObjects=3 -1=0x1000 -2=0x1001 -3=0x1018 - -[1000] -ParameterName=Device Type -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[1001] -ParameterName=Error Register -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=0 -PDOMapping=1 - -[1018] -ParameterName=Identity -ObjectType=0x8 -SubNumber=5 - -[1018sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=4 -PDOMapping=0 - -[1018sub1] -ParameterName=Vendor ID -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[1018sub2] -ParameterName=Product Code -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[1018sub3] -ParameterName=Revision Number -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[1018sub4] -ParameterName=Serial Number -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[OptionalObjects] -SupportedObjects=17 -1=0x1200 -2=0x1400 -3=0x1401 -4=0x1402 -5=0x1403 -6=0x1600 -7=0x1601 -8=0x1602 -9=0x1603 -10=0x1800 -11=0x1801 -12=0x1802 -13=0x1803 -14=0x1A00 -15=0x1A01 -16=0x1A02 -17=0x1A03 - -[1200] -ParameterName=Server SDO Parameter -ObjectType=0x8 -SubNumber=3 - -[1200sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=2 -PDOMapping=0 - -[1200sub1] -ParameterName=COB ID Client to Server (Receive SDO) -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=$NODEID+0x600 -PDOMapping=0 - -[1200sub2] -ParameterName=COB ID Server to Client (Transmit SDO) -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=$NODEID+0x580 -PDOMapping=0 - -[1400] -ParameterName=Receive PDO 1 Parameter -ObjectType=0x8 -SubNumber=5 - -[1400sub0] -ParameterName=Highest SubIndex Supported -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=5 -PDOMapping=0 - -[1400sub1] -ParameterName=COB ID used by PDO -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=$NODEID+0x200 -PDOMapping=0 - -[1400sub2] -ParameterName=Transmission Type -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1400sub3] -ParameterName=Inhibit Time -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1400sub5] -ParameterName=Event Timer -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1401] -ParameterName=Receive PDO 2 Parameter -ObjectType=0x8 -SubNumber=5 - -[1401sub0] -ParameterName=Highest SubIndex Supported -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=5 -PDOMapping=0 - -[1401sub1] -ParameterName=COB ID used by PDO -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=$NODEID+0x300 -PDOMapping=0 - -[1401sub2] -ParameterName=Transmission Type -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1401sub3] -ParameterName=Inhibit Time -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1401sub5] -ParameterName=Event Timer -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1402] -ParameterName=Receive PDO 3 Parameter -ObjectType=0x8 -SubNumber=5 - -[1402sub0] -ParameterName=Highest SubIndex Supported -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=5 -PDOMapping=0 - -[1402sub1] -ParameterName=COB ID used by PDO -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=$NODEID+0x400 -PDOMapping=0 - -[1402sub2] -ParameterName=Transmission Type -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1402sub3] -ParameterName=Inhibit Time -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1402sub5] -ParameterName=Event Timer -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1403] -ParameterName=Receive PDO 4 Parameter -ObjectType=0x8 -SubNumber=5 - -[1403sub0] -ParameterName=Highest SubIndex Supported -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=5 -PDOMapping=0 - -[1403sub1] -ParameterName=COB ID used by PDO -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=$NODEID+0x500 -PDOMapping=0 - -[1403sub2] -ParameterName=Transmission Type -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1403sub3] -ParameterName=Inhibit Time -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1403sub5] -ParameterName=Event Timer -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1600] -ParameterName=Receive PDO 1 Mapping -ObjectType=0x9 -SubNumber=9 - -[1600sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=8 -PDOMapping=0 - -[1600sub1] -ParameterName=PDO 1 Mapping for an application object 1 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1600sub2] -ParameterName=PDO 1 Mapping for an application object 2 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1600sub3] -ParameterName=PDO 1 Mapping for an application object 3 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1600sub4] -ParameterName=PDO 1 Mapping for an application object 4 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1600sub5] -ParameterName=PDO 1 Mapping for an application object 5 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1600sub6] -ParameterName=PDO 1 Mapping for an application object 6 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1600sub7] -ParameterName=PDO 1 Mapping for an application object 7 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1600sub8] -ParameterName=PDO 1 Mapping for an application object 8 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1601] -ParameterName=Receive PDO 2 Mapping -ObjectType=0x9 -SubNumber=9 - -[1601sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=8 -PDOMapping=0 - -[1601sub1] -ParameterName=PDO 2 Mapping for an application object 1 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1601sub2] -ParameterName=PDO 2 Mapping for an application object 2 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1601sub3] -ParameterName=PDO 2 Mapping for an application object 3 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1601sub4] -ParameterName=PDO 2 Mapping for an application object 4 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1601sub5] -ParameterName=PDO 2 Mapping for an application object 5 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1601sub6] -ParameterName=PDO 2 Mapping for an application object 6 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1601sub7] -ParameterName=PDO 2 Mapping for an application object 7 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1601sub8] -ParameterName=PDO 2 Mapping for an application object 8 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1602] -ParameterName=Receive PDO 3 Mapping -ObjectType=0x9 -SubNumber=9 - -[1602sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=8 -PDOMapping=0 - -[1602sub1] -ParameterName=PDO 3 Mapping for an application object 1 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1602sub2] -ParameterName=PDO 3 Mapping for an application object 2 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1602sub3] -ParameterName=PDO 3 Mapping for an application object 3 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1602sub4] -ParameterName=PDO 3 Mapping for an application object 4 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1602sub5] -ParameterName=PDO 3 Mapping for an application object 5 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1602sub6] -ParameterName=PDO 3 Mapping for an application object 6 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1602sub7] -ParameterName=PDO 3 Mapping for an application object 7 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1602sub8] -ParameterName=PDO 3 Mapping for an application object 8 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1603] -ParameterName=Receive PDO 4 Mapping -ObjectType=0x9 -SubNumber=9 - -[1603sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=8 -PDOMapping=0 - -[1603sub1] -ParameterName=PDO 4 Mapping for an application object 1 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1603sub2] -ParameterName=PDO 4 Mapping for an application object 2 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1603sub3] -ParameterName=PDO 4 Mapping for an application object 3 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1603sub4] -ParameterName=PDO 4 Mapping for an application object 4 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1603sub5] -ParameterName=PDO 4 Mapping for an application object 5 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1603sub6] -ParameterName=PDO 4 Mapping for an application object 6 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1603sub7] -ParameterName=PDO 4 Mapping for an application object 7 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1603sub8] -ParameterName=PDO 4 Mapping for an application object 8 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1800] -ParameterName=Transmit PDO 1 Parameter -ObjectType=0x8 -SubNumber=5 - -[1800sub0] -ParameterName=Highest SubIndex Supported -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=5 -PDOMapping=0 - -[1800sub1] -ParameterName=COB ID used by PDO -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=$NODEID+0x180 -PDOMapping=0 - -[1800sub2] -ParameterName=Transmission Type -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1800sub3] -ParameterName=Inhibit Time -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1800sub5] -ParameterName=Event Timer -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1801] -ParameterName=Transmit PDO 2 Parameter -ObjectType=0x8 -SubNumber=5 - -[1801sub0] -ParameterName=Highest SubIndex Supported -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=5 -PDOMapping=0 - -[1801sub1] -ParameterName=COB ID used by PDO -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=$NODEID+0x280 -PDOMapping=0 - -[1801sub2] -ParameterName=Transmission Type -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1801sub3] -ParameterName=Inhibit Time -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1801sub5] -ParameterName=Event Timer -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1802] -ParameterName=Transmit PDO 3 Parameter -ObjectType=0x8 -SubNumber=5 - -[1802sub0] -ParameterName=Highest SubIndex Supported -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=5 -PDOMapping=0 - -[1802sub1] -ParameterName=COB ID used by PDO -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=$NODEID+0x380 -PDOMapping=0 - -[1802sub2] -ParameterName=Transmission Type -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1802sub3] -ParameterName=Inhibit Time -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1802sub5] -ParameterName=Event Timer -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1803] -ParameterName=Transmit PDO 4 Parameter -ObjectType=0x8 -SubNumber=5 - -[1803sub0] -ParameterName=Highest SubIndex Supported -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=5 -PDOMapping=0 - -[1803sub1] -ParameterName=COB ID used by PDO -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=$NODEID+0x480 -PDOMapping=0 - -[1803sub2] -ParameterName=Transmission Type -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1803sub3] -ParameterName=Inhibit Time -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1803sub5] -ParameterName=Event Timer -ObjectType=0x7 -DataType=0x0006 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A00] -ParameterName=Transmit PDO 1 Mapping -ObjectType=0x9 -SubNumber=9 - -[1A00sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=8 -PDOMapping=0 - -[1A00sub1] -ParameterName=PDO 1 Mapping for a process data variable 1 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A00sub2] -ParameterName=PDO 1 Mapping for a process data variable 2 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A00sub3] -ParameterName=PDO 1 Mapping for a process data variable 3 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A00sub4] -ParameterName=PDO 1 Mapping for a process data variable 4 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A00sub5] -ParameterName=PDO 1 Mapping for a process data variable 5 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A00sub6] -ParameterName=PDO 1 Mapping for a process data variable 6 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A00sub7] -ParameterName=PDO 1 Mapping for a process data variable 7 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A00sub8] -ParameterName=PDO 1 Mapping for a process data variable 8 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A01] -ParameterName=Transmit PDO 2 Mapping -ObjectType=0x9 -SubNumber=9 - -[1A01sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=8 -PDOMapping=0 - -[1A01sub1] -ParameterName=PDO 2 Mapping for a process data variable 1 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A01sub2] -ParameterName=PDO 2 Mapping for a process data variable 2 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A01sub3] -ParameterName=PDO 2 Mapping for a process data variable 3 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A01sub4] -ParameterName=PDO 2 Mapping for a process data variable 4 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A01sub5] -ParameterName=PDO 2 Mapping for a process data variable 5 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A01sub6] -ParameterName=PDO 2 Mapping for a process data variable 6 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A01sub7] -ParameterName=PDO 2 Mapping for a process data variable 7 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A01sub8] -ParameterName=PDO 2 Mapping for a process data variable 8 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A02] -ParameterName=Transmit PDO 3 Mapping -ObjectType=0x9 -SubNumber=9 - -[1A02sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=8 -PDOMapping=0 - -[1A02sub1] -ParameterName=PDO 3 Mapping for a process data variable 1 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A02sub2] -ParameterName=PDO 3 Mapping for a process data variable 2 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A02sub3] -ParameterName=PDO 3 Mapping for a process data variable 3 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A02sub4] -ParameterName=PDO 3 Mapping for a process data variable 4 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A02sub5] -ParameterName=PDO 3 Mapping for a process data variable 5 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A02sub6] -ParameterName=PDO 3 Mapping for a process data variable 6 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A02sub7] -ParameterName=PDO 3 Mapping for a process data variable 7 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A02sub8] -ParameterName=PDO 3 Mapping for a process data variable 8 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A03] -ParameterName=Transmit PDO 4 Mapping -ObjectType=0x9 -SubNumber=9 - -[1A03sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=rw -DefaultValue=8 -PDOMapping=0 - -[1A03sub1] -ParameterName=PDO 4 Mapping for a process data variable 1 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A03sub2] -ParameterName=PDO 4 Mapping for a process data variable 2 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A03sub3] -ParameterName=PDO 4 Mapping for a process data variable 3 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A03sub4] -ParameterName=PDO 4 Mapping for a process data variable 4 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A03sub5] -ParameterName=PDO 4 Mapping for a process data variable 5 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A03sub6] -ParameterName=PDO 4 Mapping for a process data variable 6 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A03sub7] -ParameterName=PDO 4 Mapping for a process data variable 7 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[1A03sub8] -ParameterName=PDO 4 Mapping for a process data variable 8 -ObjectType=0x7 -DataType=0x0007 -AccessType=rw -DefaultValue=0 -PDOMapping=0 - -[ManufacturerObjects] -SupportedObjects=2 -1=0x2000 -2=0x2001 - -[2000] -ParameterName=OutVar -ObjectType=0x7 -DataType=0x0003 -AccessType=rw -DefaultValue=0 -PDOMapping=1 - -[2001] -ParameterName=InVar -ObjectType=0x7 -DataType=0x0003 -AccessType=rw -DefaultValue=0 -PDOMapping=1 diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/canopen@canfestival/master@CanOpenNode/master.od --- a/tests/canopen_master/canopen@canfestival/master@CanOpenNode/master.od Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,224 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/canopen@canfestival/master@CanOpenNode/nodelist.cpj --- a/tests/canopen_master/canopen@canfestival/master@CanOpenNode/nodelist.cpj Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -[TOPOLOGY] -NetName=None -Nodes=0x01 -Node2Present=0x01 -Node2Name=SlaveNode -Node2DCFName=Slave_0_0.eds -EDSBaseName=eds diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_master/plc.xml --- a/tests/canopen_master/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PLC_OUT - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PLC_IN - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_slave/beremiz.xml --- a/tests/canopen_slave/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_slave/canopen@canfestival/baseconfnode.xml --- a/tests/canopen_slave/canopen@canfestival/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_slave/canopen@canfestival/confnode.xml --- a/tests/canopen_slave/canopen@canfestival/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_slave/canopen@canfestival/slave@CanOpenSlave/baseconfnode.xml --- a/tests/canopen_slave/canopen@canfestival/slave@CanOpenSlave/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_slave/canopen@canfestival/slave@CanOpenSlave/confnode.xml --- a/tests/canopen_slave/canopen@canfestival/slave@CanOpenSlave/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_slave/canopen@canfestival/slave@CanOpenSlave/slave.eds --- a/tests/canopen_slave/canopen@canfestival/slave@CanOpenSlave/slave.eds Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,169 +0,0 @@ -[FileInfo] -FileName=slave.eds -FileVersion=1 -FileRevision=1 -EDSVersion=4.0 -Description= -CreationTime=09:10AM -CreationDate=10-27-2008 -CreatedBy=CANFestival -ModificationTime=09:10AM -ModificationDate=10-27-2008 -ModifiedBy=CANFestival - -[DeviceInfo] -VendorName=CANFestival -VendorNumber=0x00000000 -ProductName=SlaveNode -ProductNumber=0x00000000 -RevisionNumber=0x00000000 -BaudRate_10=1 -BaudRate_20=1 -BaudRate_50=1 -BaudRate_125=1 -BaudRate_250=1 -BaudRate_500=1 -BaudRate_800=1 -BaudRate_1000=1 -SimpleBootUpMaster=0 -SimpleBootUpSlave=1 -Granularity=8 -DynamicChannelsSupported=0 -CompactPDO=0 -GroupMessaging=0 -NrOfRXPDO=4 -NrOfTXPDO=4 -LSS_Supported=0 - -[DummyUsage] -Dummy0001=0 -Dummy0002=1 -Dummy0003=1 -Dummy0004=1 -Dummy0005=1 -Dummy0006=1 -Dummy0007=1 - -[Comments] -Lines=0 - -[MandatoryObjects] -SupportedObjects=3 -1=0x1000 -2=0x1001 -3=0x1018 - -[1000] -ParameterName=Device Type -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[1001] -ParameterName=Error Register -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=0 -PDOMapping=1 - -[1018] -ParameterName=Identity -ObjectType=0x8 -SubNumber=5 - -[1018sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=4 -PDOMapping=0 - -[1018sub1] -ParameterName=Vendor ID -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[1018sub2] -ParameterName=Product Code -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[1018sub3] -ParameterName=Revision Number -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[1018sub4] -ParameterName=Serial Number -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=0 -PDOMapping=0 - -[OptionalObjects] -SupportedObjects=1 -1=0x1200 - -[1200] -ParameterName=Server SDO Parameter -ObjectType=0x8 -SubNumber=3 - -[1200sub0] -ParameterName=Number of Entries -ObjectType=0x7 -DataType=0x0005 -AccessType=ro -DefaultValue=2 -PDOMapping=0 - -[1200sub1] -ParameterName=COB ID Client to Server (Receive SDO) -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=$NODEID+0x600 -PDOMapping=0 - -[1200sub2] -ParameterName=COB ID Server to Client (Transmit SDO) -ObjectType=0x7 -DataType=0x0007 -AccessType=ro -DefaultValue=$NODEID+0x580 -PDOMapping=0 - -[ManufacturerObjects] -SupportedObjects=2 -1=0x2000 -2=0x2001 - -[2000] -ParameterName=OutVar -ObjectType=0x7 -DataType=0x0003 -AccessType=rw -DefaultValue=0 -PDOMapping=1 - -[2001] -ParameterName=InVar -ObjectType=0x7 -DataType=0x0003 -AccessType=rw -DefaultValue=0 -PDOMapping=1 diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_slave/canopen@canfestival/slave@CanOpenSlave/slave.od --- a/tests/canopen_slave/canopen@canfestival/slave@CanOpenSlave/slave.od Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,317 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - OutVar - - - - - - - OutVar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - InVar - - - - - - - InVar - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/canopen_slave/plc.xml --- a/tests/canopen_slave/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,113 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - outvar - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - invar - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/genericmake/beremiz.xml --- a/tests/genericmake/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/genericmake/plc.xml --- a/tests/genericmake/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LocalVara - - - - - - - - - - - LocalVarb - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/genericmake/project_files/Makefile --- a/tests/genericmake/project_files/Makefile Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -BEREMIZ_OBJS = $(BEREMIZSRC:.c=.o) - -all: warn some_binary - @echo "*** all done ***" - -warn: - @echo "*** Sample Makefile, does nothing ***" - -some_binary: $(BEREMIZ_OBJS) - @echo "* Would link $^ -> $@" - -%.o: %.c - @echo "* Would compile $< -> $@" diff -r c270b6c8162b -r 53c66c4aefa3 tests/logging/beremiz.xml --- a/tests/logging/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/logging/plc.xml --- a/tests/logging/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,350 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 'IEC side logging: beat #' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - beat - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - count - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lvl - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T#3s - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/logging/py_ext_0@py_ext/baseconfnode.xml --- a/tests/logging/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/logging/py_ext_0@py_ext/pyfile.xml --- a/tests/logging/py_ext_0@py_ext/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/beremiz.xml --- a/tests/modbus/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/baseconfnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/confnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/baseconfnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/confnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/baseconfnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/confnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/HoldingRegs@MemoryArea/baseconfnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/HoldingRegs@MemoryArea/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/HoldingRegs@MemoryArea/confnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/HoldingRegs@MemoryArea/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/InputRegs@MemoryArea/baseconfnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/InputRegs@MemoryArea/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/InputRegs@MemoryArea/confnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/InputRegs@MemoryArea/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/baseconfnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/confnode.xml --- a/tests/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/baseconfnode.xml --- a/tests/modbus/modbus_0@modbus/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/modbus_0@modbus/confnode.xml --- a/tests/modbus/modbus_0@modbus/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/modbus/plc.xml --- a/tests/modbus/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,314 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "beremiz" - "Modbus" - -If Modbus library is installed elsewhere, then place corresponding paths -in CFLAGS/LDFLAGS in project settings. - -For GNU/Linux to install Modbus library in parent directory run following commands: -$ hg clone https://bitbucket.org/mjsousa/modbus Modbus -$ cd Modbus -$ make - -After that Modbus extension is ready to be used in Beremiz projects.]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - T#1s - - - - - - - 32767 - - - - - - - - - - - - - - Counter - - - - - - - - - - - MasterWriteToReg0 - - - - - - - MasterReadFromReg1 - - - - - - - - - - - CounterReadBack - - - - - - - - - - - - - SlaveHoldReg0 - - - - - - - - - - - SlaveInputReg0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/BACnet/bacnet_0@bacnet/bacnet_slave --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/BACnet/bacnet_0@bacnet/bacnet_slave Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,202 @@ +(dp0 +S'BV_Obj' +p1 +(lp2 +sS'AV_Obj' +p3 +(lp4 +(dp5 +S'loc' +p6 +S'MD0_2' +p7 +sS'Description' +p8 +S'' +p9 +sS'Unit ID' +p10 +I19 +sS'Object Identifier' +p11 +I0 +sS'Ctype' +p12 +S'float' +p13 +sS'BACnetObjTypeID' +p14 +I2 +sS'Settable' +p15 +S'Y' +p16 +sS'Engineering Units' +p17 +V(Energy) kilowatt-hours (19) +p18 +sS'Object Name' +p19 +VEnergyCounter +p20 +sasS'AO_Obj' +p21 +(lp22 +(dp23 +g6 +S'QD0_1' +p24 +sg8 +V +p25 +sS'Unit ID' +p26 +I62 +sS'Object Identifier' +p27 +V0 +p28 +sg12 +g13 +sg14 +I1 +sg15 +g16 +sS'Object Name' +p29 +VTemperatureSetPoint +p30 +sS'Engineering Units' +p31 +V(Temperature) degrees-celsius (62) +p32 +sasS'MSI_Obj' +p33 +(lp34 +sS'BO_Obj' +p35 +(lp36 +(dp37 +g6 +S'QX0_4' +p38 +sg8 +g9 +sS'Object Identifier' +p39 +I2 +sg12 +S'uint8_t' +p40 +sg14 +I4 +sg15 +g16 +sS'Object Name' +p41 +VBlockClimateControl +p42 +sasS'MSO_Obj' +p43 +(lp44 +sS'EDEfile_parm' +p45 +(dp46 +S'next_EDE_file_version' +p47 +I1 +ssS'BI_Obj' +p48 +(lp49 +(dp50 +g6 +S'IX0_3' +p51 +sg8 +g9 +sS'Object Identifier' +p52 +I0 +sg12 +g40 +sg14 +I3 +sg15 +S'N' +p53 +sS'Object Name' +p54 +VHeater +p55 +sa(dp56 +g6 +g51 +sg8 +g9 +sg52 +I1 +sg12 +g40 +sg14 +I3 +sg15 +g53 +sg54 +VCooler +p57 +sasS'AI_Obj' +p58 +(lp59 +(dp60 +g6 +S'ID0_0' +p61 +sg8 +VCurrent termperature in Beremiz lab +p62 +sS'Unit ID' +p63 +I62 +sS'Object Identifier' +p64 +I0 +sg12 +g13 +sg14 +I0 +sg15 +g53 +sS'Engineering Units' +p65 +V(Temperature) degrees-celsius (62) +p66 +sS'Object Name' +p67 +VTemperature +p68 +sa(dp69 +g6 +g61 +sg8 +VCurrent humidity in Beremiz lab +p70 +sg63 +I29 +sg64 +I1 +sg12 +g13 +sg14 +I0 +sg15 +g53 +sg67 +VHumidity +p71 +sg65 +V(Humidity) percent-relative-humidity (29) +p72 +sasS'MSV_Obj' +p73 +(lp74 +s. \ No newline at end of file diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/BACnet/bacnet_0@bacnet/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/BACnet/bacnet_0@bacnet/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/BACnet/bacnet_0@bacnet/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/BACnet/bacnet_0@bacnet/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/BACnet/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/BACnet/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,4 @@ + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/BACnet/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/BACnet/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,601 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + EnergyCounter + + + + + + + + + + + EnergyCounter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.00131 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Temperature + + + + + + + 18.0 + + + + + + + 30.0 + + + + + + + 120 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Humidity + + + + + + + 55.0 + + + + + + + 78.0 + + + + + + + 58 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Temperature + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ControlDisable + + + + + + + + + + + Cooler + + + + + + + TemperatureSetPoint + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Temperature + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ControlDisable + + + + + + + + + + + Heater + + + + + + + TemperatureSetPoint + + + + + + + + + + + + + + + + + + "beremiz" + "BACnet" + +If library is installed elsewhere, then place corresponding paths +in CFLAGS/LDFLAGS in project settings. + +For GNU/Linux to install BACnet library in parent directory run following commands: +$ svn checkout https://svn.code.sf.net/p/bacnet/code/trunk/bacnet-stack/ BACnet +$ cd BACnet +$ make + +After that BACnet extension is ready to be used in Beremiz projects. +BACnet stack implementation contains a lot of test tools. They could be useful during +debugging and BACnet investigation. See "BACnet/bin/readme.txt" for more information about them.]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/README.md Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,7 @@ +Beremiz projects for non-automated testing +=== + +This directory contains unsorted projects used as manually executed test while working on particular topics. + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,4 @@ + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/canopen@canfestival/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/canopen@canfestival/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/canopen@canfestival/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/canopen@canfestival/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/eds/Slave_0_0.eds --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/eds/Slave_0_0.eds Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,1161 @@ +[FileInfo] +FileName=Slave_0_0.eds +FileVersion=1 +FileRevision=1 +EDSVersion=4.0 +Description= +CreationTime=06:35PM +CreationDate=10-07-2009 +CreatedBy=CANFestival +ModificationTime=06:35PM +ModificationDate=10-07-2009 +ModifiedBy=CANFestival + +[DeviceInfo] +VendorName=CANFestival +VendorNumber=0x00000000 +ProductName=OD_0_0 +ProductNumber=0x00000000 +RevisionNumber=0x00000000 +BaudRate_10=1 +BaudRate_20=1 +BaudRate_50=1 +BaudRate_125=1 +BaudRate_250=1 +BaudRate_500=1 +BaudRate_800=1 +BaudRate_1000=1 +SimpleBootUpMaster=0 +SimpleBootUpSlave=1 +Granularity=8 +DynamicChannelsSupported=0 +CompactPDO=0 +GroupMessaging=0 +NrOfRXPDO=4 +NrOfTXPDO=4 +LSS_Supported=0 + +[DummyUsage] +Dummy0001=0 +Dummy0002=1 +Dummy0003=1 +Dummy0004=1 +Dummy0005=1 +Dummy0006=1 +Dummy0007=1 + +[Comments] +Lines=0 + +[MandatoryObjects] +SupportedObjects=3 +1=0x1000 +2=0x1001 +3=0x1018 + +[1000] +ParameterName=Device Type +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1001] +ParameterName=Error Register +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[1018] +ParameterName=Identity +ObjectType=0x8 +SubNumber=5 + +[1018sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=4 +PDOMapping=0 + +[1018sub1] +ParameterName=Vendor ID +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1018sub2] +ParameterName=Product Code +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1018sub3] +ParameterName=Revision Number +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1018sub4] +ParameterName=Serial Number +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[OptionalObjects] +SupportedObjects=17 +1=0x1200 +2=0x1400 +3=0x1401 +4=0x1402 +5=0x1403 +6=0x1600 +7=0x1601 +8=0x1602 +9=0x1603 +10=0x1800 +11=0x1801 +12=0x1802 +13=0x1803 +14=0x1A00 +15=0x1A01 +16=0x1A02 +17=0x1A03 + +[1200] +ParameterName=Server SDO Parameter +ObjectType=0x8 +SubNumber=3 + +[1200sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1200sub1] +ParameterName=COB ID Client to Server (Receive SDO) +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=$NODEID+0x600 +PDOMapping=0 + +[1200sub2] +ParameterName=COB ID Server to Client (Transmit SDO) +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=$NODEID+0x580 +PDOMapping=0 + +[1400] +ParameterName=Receive PDO 1 Parameter +ObjectType=0x8 +SubNumber=5 + +[1400sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1400sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x200 +PDOMapping=0 + +[1400sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1400sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1400sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1401] +ParameterName=Receive PDO 2 Parameter +ObjectType=0x8 +SubNumber=5 + +[1401sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1401sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x300 +PDOMapping=0 + +[1401sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1401sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1401sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1402] +ParameterName=Receive PDO 3 Parameter +ObjectType=0x8 +SubNumber=5 + +[1402sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1402sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x400 +PDOMapping=0 + +[1402sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1402sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1402sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1403] +ParameterName=Receive PDO 4 Parameter +ObjectType=0x8 +SubNumber=5 + +[1403sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1403sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x500 +PDOMapping=0 + +[1403sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1403sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1403sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1600] +ParameterName=Receive PDO 1 Mapping +ObjectType=0x9 +SubNumber=9 + +[1600sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=8 +PDOMapping=0 + +[1600sub1] +ParameterName=PDO 1 Mapping for an application object 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1600sub2] +ParameterName=PDO 1 Mapping for an application object 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1600sub3] +ParameterName=PDO 1 Mapping for an application object 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1600sub4] +ParameterName=PDO 1 Mapping for an application object 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1600sub5] +ParameterName=PDO 1 Mapping for an application object 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1600sub6] +ParameterName=PDO 1 Mapping for an application object 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1600sub7] +ParameterName=PDO 1 Mapping for an application object 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1600sub8] +ParameterName=PDO 1 Mapping for an application object 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1601] +ParameterName=Receive PDO 2 Mapping +ObjectType=0x9 +SubNumber=9 + +[1601sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=8 +PDOMapping=0 + +[1601sub1] +ParameterName=PDO 2 Mapping for an application object 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1601sub2] +ParameterName=PDO 2 Mapping for an application object 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1601sub3] +ParameterName=PDO 2 Mapping for an application object 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1601sub4] +ParameterName=PDO 2 Mapping for an application object 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1601sub5] +ParameterName=PDO 2 Mapping for an application object 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1601sub6] +ParameterName=PDO 2 Mapping for an application object 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1601sub7] +ParameterName=PDO 2 Mapping for an application object 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1601sub8] +ParameterName=PDO 2 Mapping for an application object 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1602] +ParameterName=Receive PDO 3 Mapping +ObjectType=0x9 +SubNumber=9 + +[1602sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=8 +PDOMapping=0 + +[1602sub1] +ParameterName=PDO 3 Mapping for an application object 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1602sub2] +ParameterName=PDO 3 Mapping for an application object 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1602sub3] +ParameterName=PDO 3 Mapping for an application object 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1602sub4] +ParameterName=PDO 3 Mapping for an application object 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1602sub5] +ParameterName=PDO 3 Mapping for an application object 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1602sub6] +ParameterName=PDO 3 Mapping for an application object 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1602sub7] +ParameterName=PDO 3 Mapping for an application object 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1602sub8] +ParameterName=PDO 3 Mapping for an application object 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603] +ParameterName=Receive PDO 4 Mapping +ObjectType=0x9 +SubNumber=9 + +[1603sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=8 +PDOMapping=0 + +[1603sub1] +ParameterName=PDO 4 Mapping for an application object 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603sub2] +ParameterName=PDO 4 Mapping for an application object 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603sub3] +ParameterName=PDO 4 Mapping for an application object 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603sub4] +ParameterName=PDO 4 Mapping for an application object 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603sub5] +ParameterName=PDO 4 Mapping for an application object 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603sub6] +ParameterName=PDO 4 Mapping for an application object 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603sub7] +ParameterName=PDO 4 Mapping for an application object 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1603sub8] +ParameterName=PDO 4 Mapping for an application object 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1800] +ParameterName=Transmit PDO 1 Parameter +ObjectType=0x8 +SubNumber=5 + +[1800sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1800sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x180 +PDOMapping=0 + +[1800sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1800sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1800sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1801] +ParameterName=Transmit PDO 2 Parameter +ObjectType=0x8 +SubNumber=5 + +[1801sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1801sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x280 +PDOMapping=0 + +[1801sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1801sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1801sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1802] +ParameterName=Transmit PDO 3 Parameter +ObjectType=0x8 +SubNumber=5 + +[1802sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1802sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x380 +PDOMapping=0 + +[1802sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1802sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1802sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1803] +ParameterName=Transmit PDO 4 Parameter +ObjectType=0x8 +SubNumber=5 + +[1803sub0] +ParameterName=Highest SubIndex Supported +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=5 +PDOMapping=0 + +[1803sub1] +ParameterName=COB ID used by PDO +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=$NODEID+0x480 +PDOMapping=0 + +[1803sub2] +ParameterName=Transmission Type +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1803sub3] +ParameterName=Inhibit Time +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1803sub5] +ParameterName=Event Timer +ObjectType=0x7 +DataType=0x0006 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00] +ParameterName=Transmit PDO 1 Mapping +ObjectType=0x9 +SubNumber=9 + +[1A00sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=8 +PDOMapping=0 + +[1A00sub1] +ParameterName=PDO 1 Mapping for a process data variable 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00sub2] +ParameterName=PDO 1 Mapping for a process data variable 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00sub3] +ParameterName=PDO 1 Mapping for a process data variable 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00sub4] +ParameterName=PDO 1 Mapping for a process data variable 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00sub5] +ParameterName=PDO 1 Mapping for a process data variable 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00sub6] +ParameterName=PDO 1 Mapping for a process data variable 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00sub7] +ParameterName=PDO 1 Mapping for a process data variable 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A00sub8] +ParameterName=PDO 1 Mapping for a process data variable 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A01] +ParameterName=Transmit PDO 2 Mapping +ObjectType=0x9 +SubNumber=9 + +[1A01sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=8 +PDOMapping=0 + +[1A01sub1] +ParameterName=PDO 2 Mapping for a process data variable 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A01sub2] +ParameterName=PDO 2 Mapping for a process data variable 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A01sub3] +ParameterName=PDO 2 Mapping for a process data variable 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A01sub4] +ParameterName=PDO 2 Mapping for a process data variable 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A01sub5] +ParameterName=PDO 2 Mapping for a process data variable 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A01sub6] +ParameterName=PDO 2 Mapping for a process data variable 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A01sub7] +ParameterName=PDO 2 Mapping for a process data variable 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A01sub8] +ParameterName=PDO 2 Mapping for a process data variable 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A02] +ParameterName=Transmit PDO 3 Mapping +ObjectType=0x9 +SubNumber=9 + +[1A02sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=8 +PDOMapping=0 + +[1A02sub1] +ParameterName=PDO 3 Mapping for a process data variable 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A02sub2] +ParameterName=PDO 3 Mapping for a process data variable 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A02sub3] +ParameterName=PDO 3 Mapping for a process data variable 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A02sub4] +ParameterName=PDO 3 Mapping for a process data variable 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A02sub5] +ParameterName=PDO 3 Mapping for a process data variable 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A02sub6] +ParameterName=PDO 3 Mapping for a process data variable 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A02sub7] +ParameterName=PDO 3 Mapping for a process data variable 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A02sub8] +ParameterName=PDO 3 Mapping for a process data variable 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A03] +ParameterName=Transmit PDO 4 Mapping +ObjectType=0x9 +SubNumber=9 + +[1A03sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=rw +DefaultValue=8 +PDOMapping=0 + +[1A03sub1] +ParameterName=PDO 4 Mapping for a process data variable 1 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A03sub2] +ParameterName=PDO 4 Mapping for a process data variable 2 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A03sub3] +ParameterName=PDO 4 Mapping for a process data variable 3 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A03sub4] +ParameterName=PDO 4 Mapping for a process data variable 4 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A03sub5] +ParameterName=PDO 4 Mapping for a process data variable 5 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A03sub6] +ParameterName=PDO 4 Mapping for a process data variable 6 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A03sub7] +ParameterName=PDO 4 Mapping for a process data variable 7 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[1A03sub8] +ParameterName=PDO 4 Mapping for a process data variable 8 +ObjectType=0x7 +DataType=0x0007 +AccessType=rw +DefaultValue=0 +PDOMapping=0 + +[ManufacturerObjects] +SupportedObjects=2 +1=0x2000 +2=0x2001 + +[2000] +ParameterName=OutVar +ObjectType=0x7 +DataType=0x0003 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[2001] +ParameterName=InVar +ObjectType=0x7 +DataType=0x0003 +AccessType=rw +DefaultValue=0 +PDOMapping=1 diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/master.od --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/master.od Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/nodelist.cpj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/canopen@canfestival/master@CanOpenNode/nodelist.cpj Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,7 @@ +[TOPOLOGY] +NetName=None +Nodes=0x01 +Node2Present=0x01 +Node2Name=SlaveNode +Node2DCFName=Slave_0_0.eds +EDSBaseName=eds diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_master/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_master/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PLC_OUT + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PLC_IN + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_slave/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_slave/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,4 @@ + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_slave/canopen@canfestival/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_slave/canopen@canfestival/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_slave/canopen@canfestival/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_slave/canopen@canfestival/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_slave/canopen@canfestival/slave@CanOpenSlave/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_slave/canopen@canfestival/slave@CanOpenSlave/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_slave/canopen@canfestival/slave@CanOpenSlave/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_slave/canopen@canfestival/slave@CanOpenSlave/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_slave/canopen@canfestival/slave@CanOpenSlave/slave.eds --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_slave/canopen@canfestival/slave@CanOpenSlave/slave.eds Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,169 @@ +[FileInfo] +FileName=slave.eds +FileVersion=1 +FileRevision=1 +EDSVersion=4.0 +Description= +CreationTime=09:10AM +CreationDate=10-27-2008 +CreatedBy=CANFestival +ModificationTime=09:10AM +ModificationDate=10-27-2008 +ModifiedBy=CANFestival + +[DeviceInfo] +VendorName=CANFestival +VendorNumber=0x00000000 +ProductName=SlaveNode +ProductNumber=0x00000000 +RevisionNumber=0x00000000 +BaudRate_10=1 +BaudRate_20=1 +BaudRate_50=1 +BaudRate_125=1 +BaudRate_250=1 +BaudRate_500=1 +BaudRate_800=1 +BaudRate_1000=1 +SimpleBootUpMaster=0 +SimpleBootUpSlave=1 +Granularity=8 +DynamicChannelsSupported=0 +CompactPDO=0 +GroupMessaging=0 +NrOfRXPDO=4 +NrOfTXPDO=4 +LSS_Supported=0 + +[DummyUsage] +Dummy0001=0 +Dummy0002=1 +Dummy0003=1 +Dummy0004=1 +Dummy0005=1 +Dummy0006=1 +Dummy0007=1 + +[Comments] +Lines=0 + +[MandatoryObjects] +SupportedObjects=3 +1=0x1000 +2=0x1001 +3=0x1018 + +[1000] +ParameterName=Device Type +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1001] +ParameterName=Error Register +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=0 +PDOMapping=1 + +[1018] +ParameterName=Identity +ObjectType=0x8 +SubNumber=5 + +[1018sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=4 +PDOMapping=0 + +[1018sub1] +ParameterName=Vendor ID +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1018sub2] +ParameterName=Product Code +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1018sub3] +ParameterName=Revision Number +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[1018sub4] +ParameterName=Serial Number +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=0 +PDOMapping=0 + +[OptionalObjects] +SupportedObjects=1 +1=0x1200 + +[1200] +ParameterName=Server SDO Parameter +ObjectType=0x8 +SubNumber=3 + +[1200sub0] +ParameterName=Number of Entries +ObjectType=0x7 +DataType=0x0005 +AccessType=ro +DefaultValue=2 +PDOMapping=0 + +[1200sub1] +ParameterName=COB ID Client to Server (Receive SDO) +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=$NODEID+0x600 +PDOMapping=0 + +[1200sub2] +ParameterName=COB ID Server to Client (Transmit SDO) +ObjectType=0x7 +DataType=0x0007 +AccessType=ro +DefaultValue=$NODEID+0x580 +PDOMapping=0 + +[ManufacturerObjects] +SupportedObjects=2 +1=0x2000 +2=0x2001 + +[2000] +ParameterName=OutVar +ObjectType=0x7 +DataType=0x0003 +AccessType=rw +DefaultValue=0 +PDOMapping=1 + +[2001] +ParameterName=InVar +ObjectType=0x7 +DataType=0x0003 +AccessType=rw +DefaultValue=0 +PDOMapping=1 diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_slave/canopen@canfestival/slave@CanOpenSlave/slave.od --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_slave/canopen@canfestival/slave@CanOpenSlave/slave.od Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OutVar + + + + + + + OutVar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + InVar + + + + + + + InVar + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/canopen_slave/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/canopen_slave/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + outvar + + + + + + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + invar + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/genericmake/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/genericmake/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,7 @@ + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/genericmake/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/genericmake/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LocalVara + + + + + + + + + + + LocalVarb + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/genericmake/project_files/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/genericmake/project_files/Makefile Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,13 @@ +BEREMIZ_OBJS = $(BEREMIZSRC:.c=.o) + +all: warn some_binary + @echo "*** all done ***" + +warn: + @echo "*** Sample Makefile, does nothing ***" + +some_binary: $(BEREMIZ_OBJS) + @echo "* Would link $^ -> $@" + +%.o: %.c + @echo "* Would compile $< -> $@" diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/logging/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/logging/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/logging/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/logging/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 'IEC side logging: beat #' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + beat + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + count + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + lvl + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T#3s + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/logging/py_ext_0@py_ext/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/logging/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/logging/py_ext_0@py_ext/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/logging/py_ext_0@py_ext/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,6 @@ + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_1@ModbusRequest/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/HoldingRegs@MemoryArea/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/HoldingRegs@MemoryArea/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/HoldingRegs@MemoryArea/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/HoldingRegs@MemoryArea/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/InputRegs@MemoryArea/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/InputRegs@MemoryArea/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/InputRegs@MemoryArea/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/InputRegs@MemoryArea/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/ModbusTCPserver_0@ModbusTCPserver/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/modbus_0@modbus/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/modbus_0@modbus/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/modbus/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/modbus/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,314 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "beremiz" + "Modbus" + +If Modbus library is installed elsewhere, then place corresponding paths +in CFLAGS/LDFLAGS in project settings. + +For GNU/Linux to install Modbus library in parent directory run following commands: +$ hg clone https://bitbucket.org/mjsousa/modbus Modbus +$ cd Modbus +$ make + +After that Modbus extension is ready to be used in Beremiz projects.]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + T#1s + + + + + + + 32767 + + + + + + + + + + + + + + Counter + + + + + + + + + + + MasterWriteToReg0 + + + + + + + MasterReadFromReg1 + + + + + + + + + + + CounterReadBack + + + + + + + + + + + + + SlaveHoldReg0 + + + + + + + + + + + SlaveInputReg0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,1104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TargetPressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + 0 + + + + + + + + + + + + + + CURRENT_PAGE_0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PAGESWITCH + + + + + + + '!RelativePageTest@/PUMP2' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TargetPressure + + + + + + + + + + + + + + Sloth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sloth + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + strout + + + + + + + TargetPressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + strin + + + + + + + boolin + + + + + + + + + + + boolout + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + floating + + + + + + + Sloth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + REAL#100.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + 0 + + + + + + + + + + + Sloth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sloth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi/py_ext_0@py_ext/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi/py_ext_0@py_ext/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi/py_ext_0@py_ext/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,99 @@ + + + + + + + + + + 0 and extra[0] != "": + fAlarms = [alrm for alrm in Alarms if alrm[1].find(extra[0])!=-1] + else: + fAlarms = Alarms[:] + fAlarms.reverse() + new_range = len(fAlarms) + delta = new_range - visible + new_position = 0 if delta <= 0 else delta if old_position > delta else old_position + new_visible = new_range if delta <= 0 else visible + + visible_alarms = [] + for ts, text, status, alarmid in fAlarms[new_position:new_position + new_visible]: + visible_alarms.append({ + "time": time.ctime(ts), + "text": text, # TODO translate text + "status": status, + "alarmid": alarmid + }) + + return new_range, new_position, visible_alarms + + +]]> + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi/svghmi_0@svghmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi/svghmi_0@svghmi/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi/svghmi_0@svghmi/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi/svghmi_0@svghmi/svghmi.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi/svghmi_0@svghmi/svghmi.svg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,8357 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Home + + + + + + + + + Settings + + + + 8888 + + + + + + + + 8888 + + + + 0 + 10000 + bar + + SetPoint + Actual + Pressure + + + + 0 + 10000 + €£$¥ + + + 8888 + + + + →0← + + + + -10 + + + + -100 + + + + +100 + + + + +10 + + + 8888 + 8888 + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + + + + number + + + + + + + + 7 + + + + 4 + + + + 1 + + + + 8 + + + + 5 + + + + 2 + + + + 9 + + + + 6 + + + + 3 + + + + 0 + + + + + Esc + + + + + + + + +/- + + information + + + . + + + + + + + + + Q + + + + W + + + + E + + + + R + + + + T + + + + Y + + + + U + + + + I + + + + O + + + + P + + + + A + + + + S + + + + D + + + + F + + + + G + + + + H + + + + J + + + + K + + + + L + + + + Z + + + + X + + + + C + + + + V + + + + B + + + + N + + + + M + + + + . + : + + + + ; + , + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + 6 + + + + 7 + + + + 8 + + + + 9 + - + + + + 0 + + + + + + + Esc + + + + + + + + + + + + + Caps + Lock + + + + Caps + Lock + + + + text + + + + Shift + + Shift + + + + Shift + + Shift + + + information + + + + + sel_0 + + + + + 8 + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + 3 + + + + 2 + + + + 1 + + + + + + + + message + + + + OK + + + information + + + + + 0 + 10000 + bar + + + + + + + + + + + + + + + + + + + + + 8888 + + + + + + + + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + 8888 + + + + + + Pump 0 + + + + + + + + Pump 1 + + + + + + + + Pump 2 + + + + + + + + Pump 3 + + + 8888 + 8888 + 8888 + 8888 + + + + + + + + + + + + + + Pump + 8888 + + + + + + + + + + + + + + + + Pump + 8888 + + + + + + + + + + + + + + + + Pump + 8888 + + + + + + + + + + + + + + + + Pump + 8888 + + + + + + +1 + + + + -1 + + + 8888 + Multiple variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + HMI_LOCAL variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + PAGE_LOCAL variables + + + + 0 + 10000 + bar + + + 8888 + + + + + + + + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + HMI_LOCAL variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + PAGE_LOCAL variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + HMI_LOCAL variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + PAGE_LOCAL variables + + + + + + + + Alarm Page + + + + + + + + + + + + + + + + + + + + + + + + reset + + + + + + + + + + + + + + + + + 8888 + + + + + + + + + + + + value + value + value + value + + + + + + + + + 8888 + + + + + + 8888 + + + + + range + position + notify + + + 8888 + + + + + + + + trigger + + + + + 8888 + + + ack + + + + disabled + + + + active + + + + alarm + + + Alarm Text + Status + + + + + + Alarms + + + 8888 + + 8888 + + + filter + + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + + + + + + + + Home + + + + + + + Alarm Page 2 + + + + + + + + + + + + + + + + + + + + 8888 + + + + + + 8888 + + + + + + 8888 + + + + + range + position + notify + + + 8888 + + + + + + + + trigger + + + + + 8888 + + + ack + + + + disabled + + + + active + + + + alarm + + + Alarm Text + Status + + 8888 + + + filter + + + + + + Alarms2 + + + + + + + + Alarms + + + + + + + + + page node + + + + + up + + + + + + + + + + + + + + + Home + + + + + + + + DropDown + + + + Three + Two + One + Zero + + + 8 + + + + + + 000 + 000 + 000 + 000 + + + + + + + up + + + + + + + + + Home + + + Freq : unspec + + + + + up + + + + + + + + Freq1 + + + + + + + + Freq16 + + + + + + + + Freq + + + + + + + + + Home + + + Freq : 1 + + + + + up + + + + + + + + Freq2 + + + + + + + + Freq0 + + + + + + + + + Home + + + Freq : 2 + + + + + up + + + + + + + + Freq4 + + + + + + + + Freq1 + + + + + + + + + Home + + + Freq : 4 + + + + + up + + + + + + + + Freq16 + + + + + + + + Freq2 + + + + + + + + + Home + + + Freq : 16 + + + + + up + + + + + + + + Freq0 + + + + + + + + Freq4 + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_i18n/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_i18n/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TargetPressure + + + + + + + + + + + + + selection + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/svghmi_0@svghmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_i18n/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/svghmi_0@svghmi/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_i18n/svghmi_0@svghmi/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/svghmi_0@svghmi/fr_FR.mo Binary file tests/projects/svghmi_i18n/svghmi_0@svghmi/fr_FR.mo has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/svghmi_0@svghmi/fr_FR.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_i18n/svghmi_0@svghmi/fr_FR.po Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,42 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: 2021-02-14 18:36+CET\n" +"PO-Revision-Date: 2021-02-14 18:37+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: SVGHMI 1.0\n" +"X-Generator: Poedit 2.4.2\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +msgid "height is %d meters" +msgstr "la hauteur est de %d metres" + +msgid "This is an integer value : %d" +msgstr "C'est un nombre entier : %d" + +msgid "Some \"other\" ČĆĐš english text" +msgstr "De l'\"autre\" texte en français žfšŽŠĐĆČ" + +msgid "" +"Some english text\n" +"another line\n" +"a third one" +msgstr "" +"Trois lignes en francais\n" +"blah\n" +"blah" + +#~ msgid "Some english text" +#~ msgstr "Du texte en français" + +#~ msgid "Blah" +#~ msgstr "Blup" diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/svghmi_0@svghmi/messages.pot --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_i18n/svghmi_0@svghmi/messages.pot Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,36 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2021-02-15 14:45+CET\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: SVGHMI 1.0\n" + + +#:svghmi.svg: format:text424 +msgid "height is %d meters" +msgstr "" + +#:svghmi.svg: format:text5271 +msgid "This is an integer value : %d" +msgstr "" + +#:svghmi.svg: someothertext:text5267 +msgid "Some \"other\" ČĆĐš english text" +msgstr "" + +#:svghmi.svg: sometext:text5283 +msgid "" +"Some english text\n" +"another line\n" +"a third one" +msgstr "" + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/svghmi_0@svghmi/sl_SI.mo Binary file tests/projects/svghmi_i18n/svghmi_0@svghmi/sl_SI.mo has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/svghmi_0@svghmi/sl_SI.po --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_i18n/svghmi_0@svghmi/sl_SI.po Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,37 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: 2021-02-14 18:36+CET\n" +"PO-Revision-Date: 2021-02-14 18:38+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: sl_SI\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: SVGHMI 1.0\n" +"X-Generator: Poedit 2.4.2\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n" +"%100<=4 ? 2 : 3);\n" + +msgid "height is %d meters" +msgstr "To je celo število %d m" + +msgid "This is an integer value : %d" +msgstr "To je celo število %d" + +msgid "Some \"other\" ČĆĐš english text" +msgstr "En drug angleški tekt" + +msgid "" +"Some english text\n" +"another line\n" +"a third one" +msgstr "" +"En angleški tekst\n" +"druga vrstica\n" +"tretja vrstica" diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_i18n/svghmi_0@svghmi/svghmi.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_i18n/svghmi_0@svghmi/svghmi.svg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2632 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Q + + + + W + + + + E + + + + R + + + + T + + + + Y + + + + U + + + + I + + + + O + + + + P + + + + A + + + + S + + + + D + + + + F + + + + G + + + + H + + + + J + + + + K + + + + L + + + + Z + + + + X + + + + C + + + + V + + + + B + + + + N + + + + M + + + + . + : + + + + ; + , + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + 6 + + + + 7 + + + + 8 + + + + 9 + - + + + + 0 + + + + + + + Esc + + + + + + + + + + + + + Caps + Lock + + + + Caps + Lock + + + + text + + + + Shift + + Shift + + + + Shift + + Shift + + + information + + + + + + + number + + + + + + + + 7 + + + + 4 + + + + 1 + + + + 8 + + + + 5 + + + + 2 + + + + 9 + + + + 6 + + + + 3 + + + + 0 + + + + + Esc + + + + + + + + +/- + + information + + + . + + + + + + + + + + + + + + This is an integer value : %d + + Some "other" ČĆĐš english text + 8888 + Some english textanother linea third one + + + 1234 + + + +1 + + + + + + + Language (Country) + + + + height is %d meters + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_pathslider/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_pathslider/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_pathslider/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_pathslider/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + var0 + + + + + + + + + + + + + var1 + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_pathslider/svghmi_0@svghmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_pathslider/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_pathslider/svghmi_0@svghmi/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_pathslider/svghmi_0@svghmi/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_pathslider/svghmi_0@svghmi/messages.pot --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_pathslider/svghmi_0@svghmi/messages.pot Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,17 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2021-02-12 21:55+CET\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: SVGHMI 1.0\n" + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_pathslider/svghmi_0@svghmi/svghmi.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_pathslider/svghmi_0@svghmi/svghmi.svg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,882 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + number + + + + + + + + 7 + + + + 4 + + + + 1 + + + + 8 + + + + 5 + + + + 2 + + + + 9 + + + + 6 + + + + 3 + + + + 0 + + + + + Esc + + + + + + + + +/- + + information + + + . + + + + + + 1234 + + + -1 + + + + -10 + + + + +1 + + + + +10 + + + + + 1234 + + + -1 + + + + -10 + + + + +1 + + + + +10 + + + + + 1234 + + + -1 + + + + -10 + + + + +1 + + + + +10 + + + + + + Position + Min + Max + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_real/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_real/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_real/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_real/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + var0 + + + + + + + + + + + + + var1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_real/svghmi_0@svghmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_real/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_real/svghmi_0@svghmi/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_real/svghmi_0@svghmi/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_real/svghmi_0@svghmi/svghmi.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_real/svghmi_0@svghmi/svghmi.svg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,647 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + number + + + + + + + + 7 + + + + 4 + + + + 1 + + + + 8 + + + + 5 + + + + 2 + + + + 9 + + + + 6 + + + + 3 + + + + 0 + + + + + Esc + + + + + + + + +/- + + information + + + . + + + + + + 1234 + + + -1 + + + + -10 + + + + +1 + + + + +10 + + + + +.1 + + + + -.1 + + + + %.2f + + + %d + + + temp: %.2f℃ + + + ratio: %.2f%% + + + padded: %'04d + + + this way, %d and %.3f are together + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_scrollbar/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_scrollbar/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_scrollbar/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_scrollbar/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + var0 + + + + + + + + + + + + + var1 + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_scrollbar/svghmi_0@svghmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_scrollbar/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_scrollbar/svghmi_0@svghmi/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_scrollbar/svghmi_0@svghmi/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_scrollbar/svghmi_0@svghmi/messages.pot --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_scrollbar/svghmi_0@svghmi/messages.pot Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,17 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2021-02-12 21:55+CET\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: SVGHMI 1.0\n" + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_scrollbar/svghmi_0@svghmi/svghmi.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_scrollbar/svghmi_0@svghmi/svghmi.svg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,891 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + number + + + + + + + + 7 + + + + 4 + + + + 1 + + + + 8 + + + + 5 + + + + 2 + + + + 9 + + + + 6 + + + + 3 + + + + 0 + + + + + Esc + + + + + + + + +/- + + information + + + . + + + + + + 1234 + + + -1 + + + + -10 + + + + +1 + + + + +10 + + + + + 1234 + + + -1 + + + + -10 + + + + +1 + + + + +10 + + + + + 1234 + + + -1 + + + + -10 + + + + +1 + + + + +10 + + + + + + + + + + + + Position + Range + Size + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_v2/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_v2/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_v2/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_v2/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,585 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TargetPressure + + + + + + + TestButton + + + + + + + + + + + + + TestLocal + + + + + + + Multistate + + + + + + + + + + + MultistateExt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TargetPressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sloth + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + strout + + + + + + + TargetPressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + strin + + + + + + + boolin + + + + + + + + + + + boolout + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + Sloth + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_v2/py_ext_0@py_ext/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_v2/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_v2/py_ext_0@py_ext/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_v2/py_ext_0@py_ext/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_v2/svghmi_0@svghmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_v2/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_v2/svghmi_0@svghmi/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_v2/svghmi_0@svghmi/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_v2/svghmi_0@svghmi/svghmi.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_v2/svghmi_0@svghmi/svghmi.svg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,1619 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 10 + 000 + + + Test + + + + + + + + + + Q + + + + W + + + + E + + + + R + + + + T + + + + Y + + + + U + + + + I + + + + O + + + + P + + + + A + + + + S + + + + D + + + + F + + + + G + + + + H + + + + J + + + + K + + + + L + + + + Z + + + + X + + + + C + + + + V + + + + B + + + + N + + + + M + + + + . + : + + + + ; + , + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + 6 + + + + 7 + + + + 8 + + + + 9 + - + + + + 0 + + + + + + + Esc + + + + + + + + + + + + + Caps + Lock + + + + Caps + Lock + + + + text + + + + Shift + + Shift + + + + Shift + + Shift + + + information + + + + + + + + + + + + + 0 + 1000 + 000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 000 + + + + + + + + + + + + + 000 + + + + + + + + + + + + + + + + + + + + <img xmlns="http://www.w3.org/1999/xhtml" id="img" src="https://thumbs.gfycat.com/ImpoliteSoupyKakapo-size_restricted.gif" width="100%" height="80%" /> <a xmlns="http://www.w3.org/1999/xhtml" href='www.gmail.com'>Gmail</a> <p xmlns="http://www.w3.org/1999/xhtml">Koj kurac to ne dela</p> + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_widgets/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_widgets/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_widgets/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_widgets/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,922 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TargetPressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TargetPressure + + + + + + + + + + + + + + Sloth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sloth + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + strout + + + + + + + TargetPressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + strin + + + + + + + boolin + + + + + + + + + + + boolout + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pressure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + floating + + + + + + + Sloth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + REAL#100.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + 0 + + + + + + + + + + + Sloth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sloth + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_widgets/py_ext_0@py_ext/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_widgets/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_widgets/py_ext_0@py_ext/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_widgets/py_ext_0@py_ext/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,93 @@ + + + + + + + + + + 0 and extra[0] != "": + fAlarms = [alrm for alrm in Alarms if alrm[1].find(extra[0])!=-1] + else: + fAlarms = Alarms + new_range = len(fAlarms) + delta = new_range - visible + new_position = 0 if delta <= 0 else delta if old_position > delta else old_position + new_visible = new_range if delta <= 0 else visible + + visible_alarms = [] + for ts, text, status, alarmid in fAlarms[new_position:new_position + new_visible]: + visible_alarms.append({ + "time": time.ctime(ts), + "text": text, # TODO translate text + "status": status, + "alarmid": alarmid + }) + + return new_range, new_position, visible_alarms + + +]]> + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_widgets/svghmi_0@svghmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_widgets/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_widgets/svghmi_0@svghmi/confnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_widgets/svghmi_0@svghmi/confnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/svghmi_widgets/svghmi_0@svghmi/svghmi.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/svghmi_widgets/svghmi_0@svghmi/svghmi.svg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,13525 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Home + + + + + + + + + Settings + + + + 8888 + + + + + + + + 8888 + + + + 0 + 10000 + 000 + bar + + SetPoint + Actual + Pressure + + + + nastavljena vrednost + dejanska vrednost + pritisk + Settings + Home + + + + + 0 + 10000 + 000 + €£$¥ + + + 8888 + + + + →0← + + + + -10 + + + + -100 + + + + +100 + + + + +10 + + + 8888 + 8888 + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + + + + number + + + + + + + + 7 + + + + 4 + + + + 1 + + + + 8 + + + + 5 + + + + 2 + + + + 9 + + + + 6 + + + + 3 + + + + 0 + + + + + Esc + + + + + + + + +/- + + information + + + . + + + + + + + + + Q + + + + W + + + + E + + + + R + + + + T + + + + Y + + + + U + + + + I + + + + O + + + + P + + + + A + + + + S + + + + D + + + + F + + + + G + + + + H + + + + J + + + + K + + + + L + + + + Z + + + + X + + + + C + + + + V + + + + B + + + + N + + + + M + + + + . + : + + + + ; + , + + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + 6 + + + + 7 + + + + 8 + + + + 9 + - + + + + 0 + + + + + + + Esc + + + + + + + + + + + + + Caps + Lock + + + + Caps + Lock + + + + text + + + + Shift + + Shift + + + + Shift + + Shift + + + information + + + + + sel_0 + + + + + 8 + + + + + + + + + + up + + + + + + + + + + + + + + + + + + + + + + + + message + + + + OK + + + information + + + + + 0 + 10000 + 000 + bar + + + + + + + + + + + + + + + + + + + + + 8888 + + + + + + + + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + 8888 + + + + + + Pump 0 + + + + + + + + Pump 1 + + + + + + + + Pump 2 + + + + + + + + Pump 3 + + + 8888 + 8888 + 8888 + 8888 + + + + + + + + Pump + 8888 + + + + + + + + + + Pump + 8888 + + + + + + + + + + Pump + 8888 + + + + + + + + + + Pump + 8888 + + + + + + +1 + + + + -1 + + + 8888 + Multiple variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + HMI_LOCAL variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + PAGE_LOCAL variables + + + + 0 + 10000 + 000 + bar + + + 8888 + + + + + + + + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + HMI_LOCAL variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + PAGE_LOCAL variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + HMI_LOCAL variables + 8888 + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + PAGE_LOCAL variables + + + + + + + + Alarm Page + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 8888 + + + + + + + + + + + + + + + value + value + value + value + + + + + + + + + 8888 + + + + + + 8888 + + + + + range + position + notify + + + 8888 + + + + + + + + trigger + + + + + 8888 + + + ack + + + + disabled + + + + active + + + + alarm + + + Alarm Text + Status + + + + + + Alarms + + + 8888 + + 8888 + + + filter + + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + + 8888 + + + + dhu + + + + plop + + + + mhoo + + + + yodl + + + + mhe + + + + + + + + + + Home + + + + + + + + + 0 + 10000 + [value] + + + + + 0 + 10000 + [value] + + + + 5,150 + + + + + + + + + + + 5,150 + + + + + + 5,150 + + + + + + 5,150 + + + + HMI:Meter:[min:max]@path + + clone +stroke color + template (usually out of page)needle has undefinedstroke paint + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://openclipart.org/detail/205486/voltmeter-and-ammeter + + + [max] + [min] + [max] + [min] + Second point of "needle" labeled SVG path moves along "range" labeled SVG path according to value. Value min and max range is either given as arguments or as "min" and "max" labeled SVG texts, or default to 0...100 if unspecified. + needle + range + needle + range + + + + + + + + + + 65% + + + + + + + + + HMI:CircularBar:[min:max]@path + https://openclipart.org/detail/203239/gauges-vectorbased-superb-quality + + [value] + + 0 + 100 + + [max] + [min] + Inkscape's Arc labeled "path" End angle varies according to value. Arc cannot be closed yet, use wide stroke to fill.Value min and max range is either given as arguments or as "min" and "max" labeled SVG texts, or default to 0...100 if unspecified. + + + + + + + + 65% + + + + + + + + + + + + + 65% + + + + + + + + + + + + + + + + HMI:Switch@path + Display only childs of widget's element (a SVG group) who's label match value. + + HMI:SwitchHMI_INT + 1 + 2 + 3 + 42 + 4 + 5 + + HMI:SwitchHMI_STRING + "aa" + "abba" + "mhoo" + "ggg" + "wtf" + "xxx" + + + + + + + + + + + + + + + + + + + + + + + + + + + + HMI:SwitchHMI_INT + 1 + 2 + 3 + 42 + 4 + 5 + + + + + + + + + + + + clone + + + + + + + + + + HMI:Switchcan containother widgets(or clonesof them) + + + + HMI:DropDown:[item0:item1:....]@path + TODO + + + + HMI:Input@path + TODO + + + + HMI:Display@path + TODO + + + + + Home + + + + + + + + + + + + + + + + + + + + + + + + + HMI:Button@path + TODO + + + + HMI:ForEach@path + TODO + + + + HMI:JsonTable@path + TODO + + + + HMI:Page:PageName[@RootPath]HMI:Jump:PageName[@RelativePath]HMI:Back + Pages are full screen, only one is displayed at the same time.If widget's bounding box is included in page bounding box, then widget is part of page.Page change is triggered by HMI:Jump and HMI:Back (TODO: /CURRENTPAGE).HMI:Back takes no parameter and just go back one step in page change history.HMI:Jump can have "inactive", "active" and "disabled" labeled children: - "inactive" is shown when target page is not currently displayed - "active" is shown when target page is currently displayed - "disabled" is shown when relative page's RootPath is set to 0, disabling jump. + When [@RootPath] is given, page is a relative page.When using HMI:Jump to reach a relative page, a compatible [@RelativePath] may be provided.To be compatible, RootPath and RelativePath must both point to same HMI_NODE (i.e same POU).Every widget using a path descendant of RootPath in a relative page is relative.Relative widgets get the RootPath section of their path replaced by RelativePath. + Relative pages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + HMI:MyPage@/A/B/C0 + + HMI:Jump:MyPage + + HMI:Jump:MyPage@/A/B/C1 + + HMI:Jump:MyPage@/A/B/C2 + + HMI:Jump:MyPage@/D/E/F + A + B + C0 + C1 + C2 + D + E + F + HMI:Jump:MyPage@/A/B/C0 + G + H + HMI:Widget@/A/B/C0/G + HMI:Widget@/A/B/C0/H + HMI:MyPage@/A/B/C0 + G + H + HMI:Widget@/A/B/C0/G + HMI:Widget@/A/B/C0/H + HMI:MyPage@/A/B/C0 + G + H + HMI:Widget@/A/B/C0/G + HMI:Widget@/A/B/C0/H + HMI:MyPage@/A/B/C0 + G + H + HMI:Widget@/A/B/C0/G + HMI:Widget@/A/B/C0/H + real path: /A/B/C0/G + real path: /A/B/C0/H + real path: /A/B/C1/G + real path: /A/B/C1/H + real path: /A/B/C2/G + real path: /A/B/C3/H + real path: /D/E/F/G + real path: /D/E/F/H + + HMI:SomePage + HMI:Widget@/A/I + HMI:Widget@/D/J + I + J + + HMI:Jump:SomePage + HMI_TREE root + + + HMI_NODE in a POU + HMI_* variable + + + + + HMI:KeyPad:HMI_TYPE[:HMI_TYPE...] + KeyPad widget let user draw keyboard for different types of input.It is shown for example when editing a value from HMI:Input widget. + + + HMI:Keypad:HMI_STRING:HMI_LOCAL:PAGE_LOCAL + + + + HMI:Keypad:HMI_INT:HMI_REAL + + + + + + + + + + Info + Esc + Shift + Enter + [...] + Keys + 0 + + 9 - + 8 + [...] + q Q + w W + + [...] + , ; + . : + HMI:KeyPad + + Value + + + + + + + + + + Info + Esc + Sign + Enter + [...] + Keys + 9 + 8 + 7 + 6 + 5 + + + + + + + + + + 4 + 3 + [...] + HMI:KeyPad + + Value + + NumDot + + + + + HMI:SliderHMI:CircularSlider + TODO + + + + + + + + TO BE REWRITTEN, DO NOT USE + + + + sel_0 + + + + + HMI:ToggleButton@path + TODO + + + + HMI:Multistate@path + TODO + + + + HMI:CustomHtml@path + TODO + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wamp/.crossbar/config.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wamp/.crossbar/config.json Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,56 @@ +{ + "version": 2, + "controller": {}, + "workers": [ + { + "type": "router", + "options": { + "pythonpath": [ + ".." + ] + }, + "realms": [ + { + "name": "Automation", + "roles": [ + { + "name": "anonymous", + "permissions": [ + { + "uri": "", + "match": "prefix", + "allow": { + "call": true, + "register": true, + "publish": true, + "subscribe": true + }, + "disclose": { + "caller": false, + "publisher": false + }, + "cache": true + } + ] + } + ] + } + ], + "transports": [ + { + "type": "websocket", + "debug": true, + "endpoint": { + "type": "tcp", + "port": 8888 + }, + "url": "ws://127.0.0.1:8888/", + "serializers": [ + "msgpack", + "json" + ] + } + ] + } + ] +} diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wamp/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wamp/README Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,42 @@ +/* This project contains wamp client config to be loaded at runtime startup. */ +./project_files/wampconf.json + +wampconf.json is in "Project Files", so it is copied to runtime's working directory, and then loaded after program transfer + runtime restart. + +Otherwise, wamp config file path can be forced : +./Beremiz_service.py -c /path/to/my/wampconf.json /working/dir + +/* Crossbar install */ +#sudo apt-get update +#sudo apt-get -y dist-upgrade +sudo apt-get -y install build-essential libssl-dev libffi-dev libreadline-dev libbz2-dev libsqlite3-dev libncurses5dev +sudo apt-get -y install python3-pip +sudo python3 -m pip install -U pip +sudo pip3 install crossbar +crossbar version + +/* Start Crossbar command: */ +crossbar start + +/* Crossbar test router configuration is available in .crossbar directory. */ +Tested on version: + + ::::::::::::::::: + ::::: _____ __ + ::::: : ::::: / ___/____ ___ ___ ___ / / ___ _ ____ + ::::::: ::::::: / /__ / __// _ \ (_-< (_-< / _ \/ _ `// __/ + ::::: : ::::: \___//_/ \___//___//___//_.__/\_,_//_/ + ::::: + ::::::::::::::::: Crossbar v18.7.2 + + Copyright (c) 2013-2018 Crossbar.io Technologies GmbH, licensed under AGPL 3.0. + + Crossbar.io : 18.7.2 + Autobahn : 18.7.1 + Twisted : 18.7.0-EPollReactor + LMDB : 0.94/lmdb-0.9.22 + Python : 3.6.6/CPython + Frozen executable : no + Operating system : Linux-4.16.0-2-rt-amd64-x86_64-with-debian-buster-sid + Host machine : x86_64 + Release key : RWS9T4NltFjmKSMbEtETnOMxRjLhOEZ6e80T5MYzTTh/+NP9Jk20sJmA diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wamp/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wamp/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,4 @@ + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wamp/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wamp/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + PyVar0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LocalVar0 + + + + + +]]> + + + + + + + + + + + + + + + PyVar1 + + + + + + + + + + + PyVar0 + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wamp/project_files/wampconf.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wamp/project_files/wampconf.json Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,10 @@ +{ + "ID": "wamptest", + "active": true, + "protocolOptions": { + "autoPingInterval": 60, + "autoPingTimeout": 20 + }, + "realm": "Automation", + "url": "ws://127.0.0.1:8888" +} diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wamp/py_ext_0@py_ext/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wamp/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wamp/py_ext_0@py_ext/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wamp/py_ext_0@py_ext/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wiimote/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wiimote/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,4 @@ + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wiimote/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wiimote/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,252 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + x + + + + + + + WiiNunchuckStickX + + + + + + + WiiNunchuckStickY + + + + + + + WiiNunchuckButtons + + + + + + + WiiButtons + + + + + + + + + + + y + + + + + + + + + + + b1 + + + + + + + + + + + b0 + + + + + + + WiiNunchuckAccX + + + + + + + WiiNunchuckAccY + + + + + + + WiiNunchuckAccZ + + + + + + + + + + + a + + + + + + + + + + + b + + + + + + + + + + + c + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wiimote/py_ext_0@py_ext/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wiimote/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wiimote/py_ext_0@py_ext/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wiimote/py_ext_0@py_ext/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wiimote/wxglade_hmi@wxglade_hmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wiimote/wxglade_hmi@wxglade_hmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wiimote/wxglade_hmi@wxglade_hmi/hmi.wxg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wiimote/wxglade_hmi@wxglade_hmi/hmi.wxg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,53 @@ + + + + + + + frame_1 + + wxVERTICAL + + + wxEXPAND + 0 + + + + + OnConnectButton + + + + + wxEXPAND + 0 + + + + + OnDisconnectButton + + + + + wxEXPAND + 0 + + + 1 + + + + + wxEXPAND + 0 + + + 1 + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wiimote/wxglade_hmi@wxglade_hmi/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wiimote/wxglade_hmi@wxglade_hmi/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxGlade/HMIFrame@wxglade_hmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxGlade/HMIFrame@wxglade_hmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxGlade/HMIFrame@wxglade_hmi/hmi.wxg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxGlade/HMIFrame@wxglade_hmi/hmi.wxg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,34 @@ + + + + + + + HMIFrame + + wxVERTICAL + + 0 + + + 0, 10000 + + + + 0 + + + + + + + 0 + + + 1 + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxGlade/HMIFrame@wxglade_hmi/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxGlade/HMIFrame@wxglade_hmi/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxGlade/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxGlade/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxGlade/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxGlade/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,426 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOOL#TRUE + + + + + + + 'int(HMIFrame.checkbox_1.GetValue())' + + + + + + + ')' + + + + + + + 'HMIFrame.spin_ctrl_1.SetValue(' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + counter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INT#1 + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/beremiz.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxHMI/beremiz.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,5 @@ + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/plc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxHMI/plc.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,1639 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Power_OFF + + + + + + + Power_ON + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + power + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + XaxisPos + + + + + + + power + + + + + + + XAxisMinus + + + + + + + XAxisPlus + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DrawTestDo.Q1 + + + + + + + DrawTestDo.Q1 + + + + + + + power + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + YaxisPos + + + + + + + YAxisMinus + + + + + + + YAxisPlus + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DrawTestDo.Q1 + + + + + + + DrawLogoDo.Q1 + + + + + + + power + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TaxisPos + + + + + + + power + + + + + + + TAxisPlus + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ZaxisPos + + + + + + + ZAxisMinus + + + + + + + ZAxisPlus + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TAxisMinus + + + + + + + DrawLogoDo.Q1 + + + + + + + DrawTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Power_OFF + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DrawTestBtn + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DrawLogo + + + + + + + + + + + + + DrawLogo + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Power_OFF + + + + + + + DrawTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + BOOL#TRUE + + + + + + + 'wxglade_hmi.UpdPos()' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + InitValue + + + + + + + + + + + NotInitializedVariable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + + + + + + + counter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Out + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Period + + + + + + + 2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Out + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Power + + + + + + + T#100ms + + + + + + + Up + + + + + + + Down + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + INT#32767 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/Detect_Circle.png Binary file tests/projects/wxHMI/project_files/Detect_Circle.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/DrawEscher.png Binary file tests/projects/wxHMI/project_files/DrawEscher.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/DrawLogo.png Binary file tests/projects/wxHMI/project_files/DrawLogo.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/DrawTest.png Binary file tests/projects/wxHMI/project_files/DrawTest.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/Power_OFF.png Binary file tests/projects/wxHMI/project_files/Power_OFF.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/Power_ON.png Binary file tests/projects/wxHMI/project_files/Power_ON.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/TaxisMinus.png Binary file tests/projects/wxHMI/project_files/TaxisMinus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/TaxisPlus.png Binary file tests/projects/wxHMI/project_files/TaxisPlus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/XaxisMinus.png Binary file tests/projects/wxHMI/project_files/XaxisMinus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/XaxisPlus.png Binary file tests/projects/wxHMI/project_files/XaxisPlus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/YaxisMinus.png Binary file tests/projects/wxHMI/project_files/YaxisMinus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/YaxisPlus.png Binary file tests/projects/wxHMI/project_files/YaxisPlus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/ZaxisMinus.png Binary file tests/projects/wxHMI/project_files/ZaxisMinus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/project_files/ZaxisPlus.png Binary file tests/projects/wxHMI/project_files/ZaxisPlus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/wxglade_hmi@wxglade_hmi/baseconfnode.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxHMI/wxglade_hmi@wxglade_hmi/baseconfnode.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,2 @@ + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/wxglade_hmi@wxglade_hmi/hmi.wxg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxHMI/wxglade_hmi@wxglade_hmi/hmi.wxg Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,96 @@ + + + + + + frame_1 + + + 1 + 4 + 0 + 0 + 0 + 0 + + + 0 + wxALIGN_CENTER + + 400,400 + + $parent + $id + + + + + + 0 + wxEXPAND + + 2 + 1 + 0 + 0 + 0 + + + 0 + wxEXPAND + + wxVERTICAL + + + + + + + + + 0 + wxEXPAND + + 6 + 2 + 0 + 0 + + + + + + + + + + + + + + + + + + + 0 + + + SetPLCTestBtnGlobalVar + + + + + + + 0 + + + SetPLCTestBtn2GlobalVar + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/projects/wxHMI/wxglade_hmi@wxglade_hmi/pyfile.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/projects/wxHMI/wxglade_hmi@wxglade_hmi/pyfile.xml Tue Jan 25 17:05:14 2022 +0100 @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 0: + for i in reversed(range(sizer_len)): + sizer.Remove(i) + +initorig = Class_wxglade_hmi.__init__ +def Init(self,*args,**kargs): + initorig(self,*args,**kargs) + sizer = self.GetSizer().GetItem(1).GetSizer().GetItem(0).GetSizer() + CleanSizer(sizer) + self.main_buttons = map( + lambda btname: MakeButtonFunc(self, sizer, btname), PwrButtons) + sizer = self.GetSizer().GetItem(1).GetSizer().GetItem(1).GetSizer() + CleanSizer(sizer) + self.main_buttons = map( + lambda btname: MakeButtonFunc(self, sizer, btname), ActionButtons) + self.axis_buttons = map( + lambda axis:( MakeButtonFunc(self, sizer, axis+"axisMinus"), + MakeButtonFunc(self, sizer, axis+"axisPlus")), + AxisList) + + + # self.timer = wx.Timer(self, -1) + # self.Bind(wx.EVT_TIMER, self.UpdatePositions, self.timer) + # self.ShowFullScreen(True,wx.FULLSCREEN_ALL) + # wx.CallAfter(self.timer.Start,200) + +Class_wxglade_hmi.__init__ = Init + +def SetPLCTestBtnGlobalVar(self, evt): + setattr(PLCGlobals, "DrawTestBtn", evt.GetEventObject().GetValue()) + +def SetPLCTestBtn2GlobalVar(self, evt): + setattr(PLCGlobals, "DrawTestBtn2", evt.GetEventObject().GetValue()) + +]]> + + + + + + + + + + + + + + diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi/beremiz.xml --- a/tests/svghmi/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi/plc.xml --- a/tests/svghmi/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TargetPressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - 0 - - - - - - - - - - - - - - CURRENT_PAGE_0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PAGESWITCH - - - - - - - '!RelativePageTest@/PUMP2' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TargetPressure - - - - - - - - - - - - - - Sloth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sloth - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 100 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - strout - - - - - - - TargetPressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - strin - - - - - - - boolin - - - - - - - - - - - boolout - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - floating - - - - - - - Sloth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - REAL#100.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - 0 - - - - - - - - - - - Sloth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sloth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi/py_ext_0@py_ext/baseconfnode.xml --- a/tests/svghmi/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi/py_ext_0@py_ext/pyfile.xml --- a/tests/svghmi/py_ext_0@py_ext/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,99 +0,0 @@ - - - - - - - - - - 0 and extra[0] != "": - fAlarms = [alrm for alrm in Alarms if alrm[1].find(extra[0])!=-1] - else: - fAlarms = Alarms[:] - fAlarms.reverse() - new_range = len(fAlarms) - delta = new_range - visible - new_position = 0 if delta <= 0 else delta if old_position > delta else old_position - new_visible = new_range if delta <= 0 else visible - - visible_alarms = [] - for ts, text, status, alarmid in fAlarms[new_position:new_position + new_visible]: - visible_alarms.append({ - "time": time.ctime(ts), - "text": text, # TODO translate text - "status": status, - "alarmid": alarmid - }) - - return new_range, new_position, visible_alarms - - -]]> - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi/svghmi_0@svghmi/baseconfnode.xml --- a/tests/svghmi/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi/svghmi_0@svghmi/confnode.xml --- a/tests/svghmi/svghmi_0@svghmi/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi/svghmi_0@svghmi/svghmi.svg --- a/tests/svghmi/svghmi_0@svghmi/svghmi.svg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8357 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Home - - - - - - - - - Settings - - - - 8888 - - - - - - - - 8888 - - - - 0 - 10000 - bar - - SetPoint - Actual - Pressure - - - - 0 - 10000 - €£$¥ - - - 8888 - - - - →0← - - - - -10 - - - - -100 - - - - +100 - - - - +10 - - - 8888 - 8888 - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - - - - number - - - - - - - - 7 - - - - 4 - - - - 1 - - - - 8 - - - - 5 - - - - 2 - - - - 9 - - - - 6 - - - - 3 - - - - 0 - - - - - Esc - - - - - - - - +/- - - information - - - . - - - - - - - - - Q - - - - W - - - - E - - - - R - - - - T - - - - Y - - - - U - - - - I - - - - O - - - - P - - - - A - - - - S - - - - D - - - - F - - - - G - - - - H - - - - J - - - - K - - - - L - - - - Z - - - - X - - - - C - - - - V - - - - B - - - - N - - - - M - - - - . - : - - - - ; - , - - - - 1 - - - - 2 - - - - 3 - - - - 4 - - - - 5 - - - - 6 - - - - 7 - - - - 8 - - - - 9 - - - - - - 0 - + - - - - - Esc - - - - - - - - - - - - - Caps - Lock - - - - Caps - Lock - - - - text - - - - Shift - - Shift - - - - Shift - - Shift - - - information - - - - - sel_0 - - - - - 8 - - - - - - - - - - - - - - - - - - - - - - - - - 4 - - - - 3 - - - - 2 - - - - 1 - - - - - - - - message - - - - OK - - - information - - - - - 0 - 10000 - bar - - - - - - - - - - - - - - - - - - - - - 8888 - - - - - - - - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - 8888 - - - - - - Pump 0 - - - - - - - - Pump 1 - - - - - - - - Pump 2 - - - - - - - - Pump 3 - - - 8888 - 8888 - 8888 - 8888 - - - - - - - - - - - - - - Pump - 8888 - - - - - - - - - - - - - - - - Pump - 8888 - - - - - - - - - - - - - - - - Pump - 8888 - - - - - - - - - - - - - - - - Pump - 8888 - - - - - - +1 - - - - -1 - - - 8888 - Multiple variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - HMI_LOCAL variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - PAGE_LOCAL variables - - - - 0 - 10000 - bar - - - 8888 - - - - - - - - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - HMI_LOCAL variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - PAGE_LOCAL variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - HMI_LOCAL variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - PAGE_LOCAL variables - - - - - - - - Alarm Page - - - - - - - - - - - - - - - - - - - - - - - - reset - - - - - - - - - - - - - - - - - 8888 - - - - - - - - - - - - value - value - value - value - - - - - - - - - 8888 - - - - - - 8888 - - - - - range - position - notify - - - 8888 - - - - - - - - trigger - - - - - 8888 - - - ack - - - - disabled - - - - active - - - - alarm - - - Alarm Text - Status - - - - - - Alarms - - - 8888 - - 8888 - - - filter - - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - - - - - - - - Home - - - - - - - Alarm Page 2 - - - - - - - - - - - - - - - - - - - - 8888 - - - - - - 8888 - - - - - - 8888 - - - - - range - position - notify - - - 8888 - - - - - - - - trigger - - - - - 8888 - - - ack - - - - disabled - - - - active - - - - alarm - - - Alarm Text - Status - - 8888 - - - filter - - - - - - Alarms2 - - - - - - - - Alarms - - - - - - - - - page node - - - - - up - - - - - - - - - - - - - - - Home - - - - - - - - DropDown - - - - Three - Two - One - Zero - - - 8 - - - - - - 000 - 000 - 000 - 000 - - - - - - - up - - - - - - - - - Home - - - Freq : unspec - - - - - up - - - - - - - - Freq1 - - - - - - - - Freq16 - - - - - - - - Freq - - - - - - - - - Home - - - Freq : 1 - - - - - up - - - - - - - - Freq2 - - - - - - - - Freq0 - - - - - - - - - Home - - - Freq : 2 - - - - - up - - - - - - - - Freq4 - - - - - - - - Freq1 - - - - - - - - - Home - - - Freq : 4 - - - - - up - - - - - - - - Freq16 - - - - - - - - Freq2 - - - - - - - - - Home - - - Freq : 16 - - - - - up - - - - - - - - Freq0 - - - - - - - - Freq4 - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/beremiz.xml --- a/tests/svghmi_i18n/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/plc.xml --- a/tests/svghmi_i18n/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TargetPressure - - - - - - - - - - - - - selection - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/svghmi_0@svghmi/baseconfnode.xml --- a/tests/svghmi_i18n/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/svghmi_0@svghmi/confnode.xml --- a/tests/svghmi_i18n/svghmi_0@svghmi/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/svghmi_0@svghmi/fr_FR.mo Binary file tests/svghmi_i18n/svghmi_0@svghmi/fr_FR.mo has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/svghmi_0@svghmi/fr_FR.po --- a/tests/svghmi_i18n/svghmi_0@svghmi/fr_FR.po Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR ORGANIZATION -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"POT-Creation-Date: 2021-02-14 18:36+CET\n" -"PO-Revision-Date: 2021-02-14 18:37+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: fr_FR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: SVGHMI 1.0\n" -"X-Generator: Poedit 2.4.2\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -msgid "height is %d meters" -msgstr "la hauteur est de %d metres" - -msgid "This is an integer value : %d" -msgstr "C'est un nombre entier : %d" - -msgid "Some \"other\" ČĆĐš english text" -msgstr "De l'\"autre\" texte en français žfšŽŠĐĆČ" - -msgid "" -"Some english text\n" -"another line\n" -"a third one" -msgstr "" -"Trois lignes en francais\n" -"blah\n" -"blah" - -#~ msgid "Some english text" -#~ msgstr "Du texte en français" - -#~ msgid "Blah" -#~ msgstr "Blup" diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/svghmi_0@svghmi/messages.pot --- a/tests/svghmi_i18n/svghmi_0@svghmi/messages.pot Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR ORGANIZATION -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2021-02-15 14:45+CET\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: SVGHMI 1.0\n" - - -#:svghmi.svg: format:text424 -msgid "height is %d meters" -msgstr "" - -#:svghmi.svg: format:text5271 -msgid "This is an integer value : %d" -msgstr "" - -#:svghmi.svg: someothertext:text5267 -msgid "Some \"other\" ČĆĐš english text" -msgstr "" - -#:svghmi.svg: sometext:text5283 -msgid "" -"Some english text\n" -"another line\n" -"a third one" -msgstr "" - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/svghmi_0@svghmi/sl_SI.mo Binary file tests/svghmi_i18n/svghmi_0@svghmi/sl_SI.mo has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/svghmi_0@svghmi/sl_SI.po --- a/tests/svghmi_i18n/svghmi_0@svghmi/sl_SI.po Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,37 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR ORGANIZATION -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: \n" -"POT-Creation-Date: 2021-02-14 18:36+CET\n" -"PO-Revision-Date: 2021-02-14 18:38+0100\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: sl_SI\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: SVGHMI 1.0\n" -"X-Generator: Poedit 2.4.2\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n" -"%100<=4 ? 2 : 3);\n" - -msgid "height is %d meters" -msgstr "To je celo število %d m" - -msgid "This is an integer value : %d" -msgstr "To je celo število %d" - -msgid "Some \"other\" ČĆĐš english text" -msgstr "En drug angleški tekt" - -msgid "" -"Some english text\n" -"another line\n" -"a third one" -msgstr "" -"En angleški tekst\n" -"druga vrstica\n" -"tretja vrstica" diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_i18n/svghmi_0@svghmi/svghmi.svg --- a/tests/svghmi_i18n/svghmi_0@svghmi/svghmi.svg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2632 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Q - - - - W - - - - E - - - - R - - - - T - - - - Y - - - - U - - - - I - - - - O - - - - P - - - - A - - - - S - - - - D - - - - F - - - - G - - - - H - - - - J - - - - K - - - - L - - - - Z - - - - X - - - - C - - - - V - - - - B - - - - N - - - - M - - - - . - : - - - - ; - , - - - - 1 - - - - 2 - - - - 3 - - - - 4 - - - - 5 - - - - 6 - - - - 7 - - - - 8 - - - - 9 - - - - - - 0 - + - - - - - Esc - - - - - - - - - - - - - Caps - Lock - - - - Caps - Lock - - - - text - - - - Shift - - Shift - - - - Shift - - Shift - - - information - - - - - - - number - - - - - - - - 7 - - - - 4 - - - - 1 - - - - 8 - - - - 5 - - - - 2 - - - - 9 - - - - 6 - - - - 3 - - - - 0 - - - - - Esc - - - - - - - - +/- - - information - - - . - - - - - - - - - - - - - - This is an integer value : %d - - Some "other" ČĆĐš english text - 8888 - Some english textanother linea third one - - - 1234 - - - +1 - - - - - - - Language (Country) - - - - height is %d meters - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_pathslider/beremiz.xml --- a/tests/svghmi_pathslider/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_pathslider/plc.xml --- a/tests/svghmi_pathslider/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - var0 - - - - - - - - - - - - - var1 - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_pathslider/svghmi_0@svghmi/baseconfnode.xml --- a/tests/svghmi_pathslider/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_pathslider/svghmi_0@svghmi/confnode.xml --- a/tests/svghmi_pathslider/svghmi_0@svghmi/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_pathslider/svghmi_0@svghmi/messages.pot --- a/tests/svghmi_pathslider/svghmi_0@svghmi/messages.pot Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR ORGANIZATION -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2021-02-12 21:55+CET\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: SVGHMI 1.0\n" - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_pathslider/svghmi_0@svghmi/svghmi.svg --- a/tests/svghmi_pathslider/svghmi_0@svghmi/svghmi.svg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,882 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - number - - - - - - - - 7 - - - - 4 - - - - 1 - - - - 8 - - - - 5 - - - - 2 - - - - 9 - - - - 6 - - - - 3 - - - - 0 - - - - - Esc - - - - - - - - +/- - - information - - - . - - - - - - 1234 - - - -1 - - - - -10 - - - - +1 - - - - +10 - - - - - 1234 - - - -1 - - - - -10 - - - - +1 - - - - +10 - - - - - 1234 - - - -1 - - - - -10 - - - - +1 - - - - +10 - - - - - - Position - Min - Max - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_real/beremiz.xml --- a/tests/svghmi_real/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_real/plc.xml --- a/tests/svghmi_real/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - var0 - - - - - - - - - - - - - var1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_real/svghmi_0@svghmi/baseconfnode.xml --- a/tests/svghmi_real/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_real/svghmi_0@svghmi/confnode.xml --- a/tests/svghmi_real/svghmi_0@svghmi/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_real/svghmi_0@svghmi/svghmi.svg --- a/tests/svghmi_real/svghmi_0@svghmi/svghmi.svg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,647 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - number - - - - - - - - 7 - - - - 4 - - - - 1 - - - - 8 - - - - 5 - - - - 2 - - - - 9 - - - - 6 - - - - 3 - - - - 0 - - - - - Esc - - - - - - - - +/- - - information - - - . - - - - - - 1234 - - - -1 - - - - -10 - - - - +1 - - - - +10 - - - - +.1 - - - - -.1 - - - - %.2f - - - %d - - - temp: %.2f℃ - - - ratio: %.2f%% - - - padded: %'04d - - - this way, %d and %.3f are together - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_scrollbar/beremiz.xml --- a/tests/svghmi_scrollbar/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_scrollbar/plc.xml --- a/tests/svghmi_scrollbar/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,73 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - var0 - - - - - - - - - - - - - var1 - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_scrollbar/svghmi_0@svghmi/baseconfnode.xml --- a/tests/svghmi_scrollbar/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_scrollbar/svghmi_0@svghmi/confnode.xml --- a/tests/svghmi_scrollbar/svghmi_0@svghmi/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_scrollbar/svghmi_0@svghmi/messages.pot --- a/tests/svghmi_scrollbar/svghmi_0@svghmi/messages.pot Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR ORGANIZATION -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2021-02-12 21:55+CET\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: SVGHMI 1.0\n" - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_scrollbar/svghmi_0@svghmi/svghmi.svg --- a/tests/svghmi_scrollbar/svghmi_0@svghmi/svghmi.svg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,891 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - number - - - - - - - - 7 - - - - 4 - - - - 1 - - - - 8 - - - - 5 - - - - 2 - - - - 9 - - - - 6 - - - - 3 - - - - 0 - - - - - Esc - - - - - - - - +/- - - information - - - . - - - - - - 1234 - - - -1 - - - - -10 - - - - +1 - - - - +10 - - - - - 1234 - - - -1 - - - - -10 - - - - +1 - - - - +10 - - - - - 1234 - - - -1 - - - - -10 - - - - +1 - - - - +10 - - - - - - - - - - - - Position - Range - Size - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_v2/beremiz.xml --- a/tests/svghmi_v2/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_v2/plc.xml --- a/tests/svghmi_v2/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,585 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TargetPressure - - - - - - - TestButton - - - - - - - - - - - - - TestLocal - - - - - - - Multistate - - - - - - - - - - - MultistateExt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TargetPressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sloth - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 100 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - strout - - - - - - - TargetPressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - strin - - - - - - - boolin - - - - - - - - - - - boolout - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - Sloth - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_v2/py_ext_0@py_ext/baseconfnode.xml --- a/tests/svghmi_v2/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_v2/py_ext_0@py_ext/pyfile.xml --- a/tests/svghmi_v2/py_ext_0@py_ext/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_v2/svghmi_0@svghmi/baseconfnode.xml --- a/tests/svghmi_v2/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_v2/svghmi_0@svghmi/confnode.xml --- a/tests/svghmi_v2/svghmi_0@svghmi/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_v2/svghmi_0@svghmi/svghmi.svg --- a/tests/svghmi_v2/svghmi_0@svghmi/svghmi.svg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1619 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 10 - 000 - - - Test - - - - - - - - - - Q - - - - W - - - - E - - - - R - - - - T - - - - Y - - - - U - - - - I - - - - O - - - - P - - - - A - - - - S - - - - D - - - - F - - - - G - - - - H - - - - J - - - - K - - - - L - - - - Z - - - - X - - - - C - - - - V - - - - B - - - - N - - - - M - - - - . - : - - - - ; - , - - - - 1 - - - - 2 - - - - 3 - - - - 4 - - - - 5 - - - - 6 - - - - 7 - - - - 8 - - - - 9 - - - - - - 0 - + - - - - - Esc - - - - - - - - - - - - - Caps - Lock - - - - Caps - Lock - - - - text - - - - Shift - - Shift - - - - Shift - - Shift - - - information - - - - - - - - - - - - - 0 - 1000 - 000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 000 - - - - - - - - - - - - - 000 - - - - - - - - - - - - - - - - - - - - <img xmlns="http://www.w3.org/1999/xhtml" id="img" src="https://thumbs.gfycat.com/ImpoliteSoupyKakapo-size_restricted.gif" width="100%" height="80%" /> <a xmlns="http://www.w3.org/1999/xhtml" href='www.gmail.com'>Gmail</a> <p xmlns="http://www.w3.org/1999/xhtml">Koj kurac to ne dela</p> - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_widgets/beremiz.xml --- a/tests/svghmi_widgets/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_widgets/plc.xml --- a/tests/svghmi_widgets/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,922 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TargetPressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TargetPressure - - - - - - - - - - - - - - Sloth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sloth - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 100 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - strout - - - - - - - TargetPressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - strin - - - - - - - boolin - - - - - - - - - - - boolout - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Pressure - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - floating - - - - - - - Sloth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - REAL#100.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - 0 - - - - - - - - - - - Sloth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sloth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_widgets/py_ext_0@py_ext/baseconfnode.xml --- a/tests/svghmi_widgets/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_widgets/py_ext_0@py_ext/pyfile.xml --- a/tests/svghmi_widgets/py_ext_0@py_ext/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,93 +0,0 @@ - - - - - - - - - - 0 and extra[0] != "": - fAlarms = [alrm for alrm in Alarms if alrm[1].find(extra[0])!=-1] - else: - fAlarms = Alarms - new_range = len(fAlarms) - delta = new_range - visible - new_position = 0 if delta <= 0 else delta if old_position > delta else old_position - new_visible = new_range if delta <= 0 else visible - - visible_alarms = [] - for ts, text, status, alarmid in fAlarms[new_position:new_position + new_visible]: - visible_alarms.append({ - "time": time.ctime(ts), - "text": text, # TODO translate text - "status": status, - "alarmid": alarmid - }) - - return new_range, new_position, visible_alarms - - -]]> - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_widgets/svghmi_0@svghmi/baseconfnode.xml --- a/tests/svghmi_widgets/svghmi_0@svghmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_widgets/svghmi_0@svghmi/confnode.xml --- a/tests/svghmi_widgets/svghmi_0@svghmi/confnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/svghmi_widgets/svghmi_0@svghmi/svghmi.svg --- a/tests/svghmi_widgets/svghmi_0@svghmi/svghmi.svg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13525 +0,0 @@ - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Home - - - - - - - - - Settings - - - - 8888 - - - - - - - - 8888 - - - - 0 - 10000 - 000 - bar - - SetPoint - Actual - Pressure - - - - nastavljena vrednost - dejanska vrednost - pritisk - Settings - Home - - - - - 0 - 10000 - 000 - €£$¥ - - - 8888 - - - - →0← - - - - -10 - - - - -100 - - - - +100 - - - - +10 - - - 8888 - 8888 - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - - - - number - - - - - - - - 7 - - - - 4 - - - - 1 - - - - 8 - - - - 5 - - - - 2 - - - - 9 - - - - 6 - - - - 3 - - - - 0 - - - - - Esc - - - - - - - - +/- - - information - - - . - - - - - - - - - Q - - - - W - - - - E - - - - R - - - - T - - - - Y - - - - U - - - - I - - - - O - - - - P - - - - A - - - - S - - - - D - - - - F - - - - G - - - - H - - - - J - - - - K - - - - L - - - - Z - - - - X - - - - C - - - - V - - - - B - - - - N - - - - M - - - - . - : - - - - ; - , - - - - 1 - - - - 2 - - - - 3 - - - - 4 - - - - 5 - - - - 6 - - - - 7 - - - - 8 - - - - 9 - - - - - - 0 - + - - - - - Esc - - - - - - - - - - - - - Caps - Lock - - - - Caps - Lock - - - - text - - - - Shift - - Shift - - - - Shift - - Shift - - - information - - - - - sel_0 - - - - - 8 - - - - - - - - - - up - - - - - - - - - - - - - - - - - - - - - - - - message - - - - OK - - - information - - - - - 0 - 10000 - 000 - bar - - - - - - - - - - - - - - - - - - - - - 8888 - - - - - - - - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - 8888 - - - - - - Pump 0 - - - - - - - - Pump 1 - - - - - - - - Pump 2 - - - - - - - - Pump 3 - - - 8888 - 8888 - 8888 - 8888 - - - - - - - - Pump - 8888 - - - - - - - - - - Pump - 8888 - - - - - - - - - - Pump - 8888 - - - - - - - - - - Pump - 8888 - - - - - - +1 - - - - -1 - - - 8888 - Multiple variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - HMI_LOCAL variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - PAGE_LOCAL variables - - - - 0 - 10000 - 000 - bar - - - 8888 - - - - - - - - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - HMI_LOCAL variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - PAGE_LOCAL variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - HMI_LOCAL variables - 8888 - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - PAGE_LOCAL variables - - - - - - - - Alarm Page - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8888 - - - - - - - - - - - - - - - value - value - value - value - - - - - - - - - 8888 - - - - - - 8888 - - - - - range - position - notify - - - 8888 - - - - - - - - trigger - - - - - 8888 - - - ack - - - - disabled - - - - active - - - - alarm - - - Alarm Text - Status - - - - - - Alarms - - - 8888 - - 8888 - - - filter - - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - - 8888 - - - - dhu - - - - plop - - - - mhoo - - - - yodl - - - - mhe - - - - - - - - - - Home - - - - - - - - - 0 - 10000 - [value] - - - - - 0 - 10000 - [value] - - - - 5,150 - - - - - - - - - - - 5,150 - - - - - - 5,150 - - - - - - 5,150 - - - - HMI:Meter:[min:max]@path - - clone +stroke color - template (usually out of page)needle has undefinedstroke paint - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://openclipart.org/detail/205486/voltmeter-and-ammeter - - - [max] - [min] - [max] - [min] - Second point of "needle" labeled SVG path moves along "range" labeled SVG path according to value. Value min and max range is either given as arguments or as "min" and "max" labeled SVG texts, or default to 0...100 if unspecified. - needle - range - needle - range - - - - - - - - - - 65% - - - - - - - - - HMI:CircularBar:[min:max]@path - https://openclipart.org/detail/203239/gauges-vectorbased-superb-quality - - [value] - - 0 - 100 - - [max] - [min] - Inkscape's Arc labeled "path" End angle varies according to value. Arc cannot be closed yet, use wide stroke to fill.Value min and max range is either given as arguments or as "min" and "max" labeled SVG texts, or default to 0...100 if unspecified. - - - - - - - - 65% - - - - - - - - - - - - - 65% - - - - - - - - - - - - - - - - HMI:Switch@path - Display only childs of widget's element (a SVG group) who's label match value. - - HMI:SwitchHMI_INT - 1 - 2 - 3 - 42 - 4 - 5 - - HMI:SwitchHMI_STRING - "aa" - "abba" - "mhoo" - "ggg" - "wtf" - "xxx" - - - - - - - - - - - - - - - - - - - - - - - - - - - - HMI:SwitchHMI_INT - 1 - 2 - 3 - 42 - 4 - 5 - - - - - - - - - - - - clone - - - - - - - - - - HMI:Switchcan containother widgets(or clonesof them) - - - - HMI:DropDown:[item0:item1:....]@path - TODO - - - - HMI:Input@path - TODO - - - - HMI:Display@path - TODO - - - - - Home - - - - - - - - - - - - - - - - - - - - - - - - - HMI:Button@path - TODO - - - - HMI:ForEach@path - TODO - - - - HMI:JsonTable@path - TODO - - - - HMI:Page:PageName[@RootPath]HMI:Jump:PageName[@RelativePath]HMI:Back - Pages are full screen, only one is displayed at the same time.If widget's bounding box is included in page bounding box, then widget is part of page.Page change is triggered by HMI:Jump and HMI:Back (TODO: /CURRENTPAGE).HMI:Back takes no parameter and just go back one step in page change history.HMI:Jump can have "inactive", "active" and "disabled" labeled children: - "inactive" is shown when target page is not currently displayed - "active" is shown when target page is currently displayed - "disabled" is shown when relative page's RootPath is set to 0, disabling jump. - When [@RootPath] is given, page is a relative page.When using HMI:Jump to reach a relative page, a compatible [@RelativePath] may be provided.To be compatible, RootPath and RelativePath must both point to same HMI_NODE (i.e same POU).Every widget using a path descendant of RootPath in a relative page is relative.Relative widgets get the RootPath section of their path replaced by RelativePath. - Relative pages - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - / - HMI:MyPage@/A/B/C0 - - HMI:Jump:MyPage - - HMI:Jump:MyPage@/A/B/C1 - - HMI:Jump:MyPage@/A/B/C2 - - HMI:Jump:MyPage@/D/E/F - A - B - C0 - C1 - C2 - D - E - F - HMI:Jump:MyPage@/A/B/C0 - G - H - HMI:Widget@/A/B/C0/G - HMI:Widget@/A/B/C0/H - HMI:MyPage@/A/B/C0 - G - H - HMI:Widget@/A/B/C0/G - HMI:Widget@/A/B/C0/H - HMI:MyPage@/A/B/C0 - G - H - HMI:Widget@/A/B/C0/G - HMI:Widget@/A/B/C0/H - HMI:MyPage@/A/B/C0 - G - H - HMI:Widget@/A/B/C0/G - HMI:Widget@/A/B/C0/H - real path: /A/B/C0/G - real path: /A/B/C0/H - real path: /A/B/C1/G - real path: /A/B/C1/H - real path: /A/B/C2/G - real path: /A/B/C3/H - real path: /D/E/F/G - real path: /D/E/F/H - - HMI:SomePage - HMI:Widget@/A/I - HMI:Widget@/D/J - I - J - - HMI:Jump:SomePage - HMI_TREE root - - - HMI_NODE in a POU - HMI_* variable - - - - - HMI:KeyPad:HMI_TYPE[:HMI_TYPE...] - KeyPad widget let user draw keyboard for different types of input.It is shown for example when editing a value from HMI:Input widget. - - - HMI:Keypad:HMI_STRING:HMI_LOCAL:PAGE_LOCAL - - - - HMI:Keypad:HMI_INT:HMI_REAL - - - - - - - - - - Info - Esc - Shift - Enter - [...] - Keys - 0 + - 9 - - 8 - [...] - q Q - w W - - [...] - , ; - . : - HMI:KeyPad - - Value - - - - - - - - - - Info - Esc - Sign - Enter - [...] - Keys - 9 - 8 - 7 - 6 - 5 - - - - - - - - - - 4 - 3 - [...] - HMI:KeyPad - - Value - - NumDot - - - - - HMI:SliderHMI:CircularSlider - TODO - - - - - - - - TO BE REWRITTEN, DO NOT USE - - - - sel_0 - - - - - HMI:ToggleButton@path - TODO - - - - HMI:Multistate@path - TODO - - - - HMI:CustomHtml@path - TODO - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wamp/.crossbar/config.json --- a/tests/wamp/.crossbar/config.json Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,56 +0,0 @@ -{ - "version": 2, - "controller": {}, - "workers": [ - { - "type": "router", - "options": { - "pythonpath": [ - ".." - ] - }, - "realms": [ - { - "name": "Automation", - "roles": [ - { - "name": "anonymous", - "permissions": [ - { - "uri": "", - "match": "prefix", - "allow": { - "call": true, - "register": true, - "publish": true, - "subscribe": true - }, - "disclose": { - "caller": false, - "publisher": false - }, - "cache": true - } - ] - } - ] - } - ], - "transports": [ - { - "type": "websocket", - "debug": true, - "endpoint": { - "type": "tcp", - "port": 8888 - }, - "url": "ws://127.0.0.1:8888/", - "serializers": [ - "msgpack", - "json" - ] - } - ] - } - ] -} diff -r c270b6c8162b -r 53c66c4aefa3 tests/wamp/README --- a/tests/wamp/README Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ -/* This project contains wamp client config to be loaded at runtime startup. */ -./project_files/wampconf.json - -wampconf.json is in "Project Files", so it is copied to runtime's working directory, and then loaded after program transfer + runtime restart. - -Otherwise, wamp config file path can be forced : -./Beremiz_service.py -c /path/to/my/wampconf.json /working/dir - -/* Crossbar install */ -#sudo apt-get update -#sudo apt-get -y dist-upgrade -sudo apt-get -y install build-essential libssl-dev libffi-dev libreadline-dev libbz2-dev libsqlite3-dev libncurses5dev -sudo apt-get -y install python3-pip -sudo python3 -m pip install -U pip -sudo pip3 install crossbar -crossbar version - -/* Start Crossbar command: */ -crossbar start - -/* Crossbar test router configuration is available in .crossbar directory. */ -Tested on version: - - ::::::::::::::::: - ::::: _____ __ - ::::: : ::::: / ___/____ ___ ___ ___ / / ___ _ ____ - ::::::: ::::::: / /__ / __// _ \ (_-< (_-< / _ \/ _ `// __/ - ::::: : ::::: \___//_/ \___//___//___//_.__/\_,_//_/ - ::::: - ::::::::::::::::: Crossbar v18.7.2 - - Copyright (c) 2013-2018 Crossbar.io Technologies GmbH, licensed under AGPL 3.0. - - Crossbar.io : 18.7.2 - Autobahn : 18.7.1 - Twisted : 18.7.0-EPollReactor - LMDB : 0.94/lmdb-0.9.22 - Python : 3.6.6/CPython - Frozen executable : no - Operating system : Linux-4.16.0-2-rt-amd64-x86_64-with-debian-buster-sid - Host machine : x86_64 - Release key : RWS9T4NltFjmKSMbEtETnOMxRjLhOEZ6e80T5MYzTTh/+NP9Jk20sJmA diff -r c270b6c8162b -r 53c66c4aefa3 tests/wamp/beremiz.xml --- a/tests/wamp/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wamp/plc.xml --- a/tests/wamp/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PyVar0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - LocalVar0 - - - - - -]]> - - - - - - - - - - - - - - - PyVar1 - - - - - - - - - - - PyVar0 - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wamp/project_files/wampconf.json --- a/tests/wamp/project_files/wampconf.json Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -{ - "ID": "wamptest", - "active": true, - "protocolOptions": { - "autoPingInterval": 60, - "autoPingTimeout": 20 - }, - "realm": "Automation", - "url": "ws://127.0.0.1:8888" -} diff -r c270b6c8162b -r 53c66c4aefa3 tests/wamp/py_ext_0@py_ext/baseconfnode.xml --- a/tests/wamp/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wamp/py_ext_0@py_ext/pyfile.xml --- a/tests/wamp/py_ext_0@py_ext/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wiimote/beremiz.xml --- a/tests/wiimote/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wiimote/plc.xml --- a/tests/wiimote/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,252 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - x - - - - - - - WiiNunchuckStickX - - - - - - - WiiNunchuckStickY - - - - - - - WiiNunchuckButtons - - - - - - - WiiButtons - - - - - - - - - - - y - - - - - - - - - - - b1 - - - - - - - - - - - b0 - - - - - - - WiiNunchuckAccX - - - - - - - WiiNunchuckAccY - - - - - - - WiiNunchuckAccZ - - - - - - - - - - - a - - - - - - - - - - - b - - - - - - - - - - - c - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wiimote/py_ext_0@py_ext/baseconfnode.xml --- a/tests/wiimote/py_ext_0@py_ext/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wiimote/py_ext_0@py_ext/pyfile.xml --- a/tests/wiimote/py_ext_0@py_ext/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,102 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wiimote/wxglade_hmi@wxglade_hmi/baseconfnode.xml --- a/tests/wiimote/wxglade_hmi@wxglade_hmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wiimote/wxglade_hmi@wxglade_hmi/hmi.wxg --- a/tests/wiimote/wxglade_hmi@wxglade_hmi/hmi.wxg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,53 +0,0 @@ - - - - - - - frame_1 - - wxVERTICAL - - - wxEXPAND - 0 - - - - - OnConnectButton - - - - - wxEXPAND - 0 - - - - - OnDisconnectButton - - - - - wxEXPAND - 0 - - - 1 - - - - - wxEXPAND - 0 - - - 1 - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wiimote/wxglade_hmi@wxglade_hmi/pyfile.xml --- a/tests/wiimote/wxglade_hmi@wxglade_hmi/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxGlade/HMIFrame@wxglade_hmi/baseconfnode.xml --- a/tests/wxGlade/HMIFrame@wxglade_hmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxGlade/HMIFrame@wxglade_hmi/hmi.wxg --- a/tests/wxGlade/HMIFrame@wxglade_hmi/hmi.wxg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ - - - - - - - HMIFrame - - wxVERTICAL - - 0 - - - 0, 10000 - - - - 0 - - - - - - - 0 - - - 1 - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxGlade/HMIFrame@wxglade_hmi/pyfile.xml --- a/tests/wxGlade/HMIFrame@wxglade_hmi/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxGlade/beremiz.xml --- a/tests/wxGlade/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxGlade/plc.xml --- a/tests/wxGlade/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,426 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOOL#TRUE - - - - - - - 'int(HMIFrame.checkbox_1.GetValue())' - - - - - - - ')' - - - - - - - 'HMIFrame.spin_ctrl_1.SetValue(' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - counter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - INT#1 - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/beremiz.xml --- a/tests/wxHMI/beremiz.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/plc.xml --- a/tests/wxHMI/plc.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1639 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Power_OFF - - - - - - - Power_ON - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - power - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - XaxisPos - - - - - - - power - - - - - - - XAxisMinus - - - - - - - XAxisPlus - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DrawTestDo.Q1 - - - - - - - DrawTestDo.Q1 - - - - - - - power - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - YaxisPos - - - - - - - YAxisMinus - - - - - - - YAxisPlus - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DrawTestDo.Q1 - - - - - - - DrawLogoDo.Q1 - - - - - - - power - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TaxisPos - - - - - - - power - - - - - - - TAxisPlus - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ZaxisPos - - - - - - - ZAxisMinus - - - - - - - ZAxisPlus - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TAxisMinus - - - - - - - DrawLogoDo.Q1 - - - - - - - DrawTest - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Power_OFF - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DrawTestBtn - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - DrawLogo - - - - - - - - - - - - - DrawLogo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Power_OFF - - - - - - - DrawTest - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BOOL#TRUE - - - - - - - 'wxglade_hmi.UpdPos()' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - InitValue - - - - - - - - - - - NotInitializedVariable - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - counter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Out - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Period - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Out - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Power - - - - - - - T#100ms - - - - - - - Up - - - - - - - Down - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - INT#32767 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/Detect_Circle.png Binary file tests/wxHMI/project_files/Detect_Circle.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/DrawEscher.png Binary file tests/wxHMI/project_files/DrawEscher.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/DrawLogo.png Binary file tests/wxHMI/project_files/DrawLogo.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/DrawTest.png Binary file tests/wxHMI/project_files/DrawTest.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/Power_OFF.png Binary file tests/wxHMI/project_files/Power_OFF.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/Power_ON.png Binary file tests/wxHMI/project_files/Power_ON.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/TaxisMinus.png Binary file tests/wxHMI/project_files/TaxisMinus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/TaxisPlus.png Binary file tests/wxHMI/project_files/TaxisPlus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/XaxisMinus.png Binary file tests/wxHMI/project_files/XaxisMinus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/XaxisPlus.png Binary file tests/wxHMI/project_files/XaxisPlus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/YaxisMinus.png Binary file tests/wxHMI/project_files/YaxisMinus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/YaxisPlus.png Binary file tests/wxHMI/project_files/YaxisPlus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/ZaxisMinus.png Binary file tests/wxHMI/project_files/ZaxisMinus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/project_files/ZaxisPlus.png Binary file tests/wxHMI/project_files/ZaxisPlus.png has changed diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/wxglade_hmi@wxglade_hmi/baseconfnode.xml --- a/tests/wxHMI/wxglade_hmi@wxglade_hmi/baseconfnode.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/wxglade_hmi@wxglade_hmi/hmi.wxg --- a/tests/wxHMI/wxglade_hmi@wxglade_hmi/hmi.wxg Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,96 +0,0 @@ - - - - - - frame_1 - - - 1 - 4 - 0 - 0 - 0 - 0 - - - 0 - wxALIGN_CENTER - - 400,400 - - $parent - $id - - - - - - 0 - wxEXPAND - - 2 - 1 - 0 - 0 - 0 - - - 0 - wxEXPAND - - wxVERTICAL - - - - - - - - - 0 - wxEXPAND - - 6 - 2 - 0 - 0 - - - - - - - - - - - - - - - - - - - 0 - - - SetPLCTestBtnGlobalVar - - - - - - - 0 - - - SetPLCTestBtn2GlobalVar - - - - - - - diff -r c270b6c8162b -r 53c66c4aefa3 tests/wxHMI/wxglade_hmi@wxglade_hmi/pyfile.xml --- a/tests/wxHMI/wxglade_hmi@wxglade_hmi/pyfile.xml Tue Jan 25 16:37:16 2022 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,148 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - 0: - for i in reversed(range(sizer_len)): - sizer.Remove(i) - -initorig = Class_wxglade_hmi.__init__ -def Init(self,*args,**kargs): - initorig(self,*args,**kargs) - sizer = self.GetSizer().GetItem(1).GetSizer().GetItem(0).GetSizer() - CleanSizer(sizer) - self.main_buttons = map( - lambda btname: MakeButtonFunc(self, sizer, btname), PwrButtons) - sizer = self.GetSizer().GetItem(1).GetSizer().GetItem(1).GetSizer() - CleanSizer(sizer) - self.main_buttons = map( - lambda btname: MakeButtonFunc(self, sizer, btname), ActionButtons) - self.axis_buttons = map( - lambda axis:( MakeButtonFunc(self, sizer, axis+"axisMinus"), - MakeButtonFunc(self, sizer, axis+"axisPlus")), - AxisList) - - - # self.timer = wx.Timer(self, -1) - # self.Bind(wx.EVT_TIMER, self.UpdatePositions, self.timer) - # self.ShowFullScreen(True,wx.FULLSCREEN_ALL) - # wx.CallAfter(self.timer.Start,200) - -Class_wxglade_hmi.__init__ = Init - -def SetPLCTestBtnGlobalVar(self, evt): - setattr(PLCGlobals, "DrawTestBtn", evt.GetEventObject().GetValue()) - -def SetPLCTestBtn2GlobalVar(self, evt): - setattr(PLCGlobals, "DrawTestBtn2", evt.GetEventObject().GetValue()) - -]]> - - - - - - - - - - - - - -