12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300 |
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim project file generated by awlsim-0.66.0-pre -->
- <awlsim_project date_create="2017-08-24 11:42:18.858124"
- date_modify="2018-07-08 18:00:20.176454"
- format_version="1">
- <!-- CPU core configuration -->
- <cpu>
- <!-- CPU core feature specification -->
- <specs call_stack_size="256"
- nr_accus="2"
- nr_counters="256"
- nr_flags="2048"
- nr_inputs="128"
- nr_localbytes="1024"
- nr_outputs="128"
- nr_timers="256"
- parenthesis_stack_size="7" />
- <!-- CPU core configuration -->
- <config clock_memory_byte="-1"
- cycle_time_limit_us="1000000"
- ext_insns_enable="1"
- mnemonics="2"
- ob_startinfo_enable="0"
- run_time_limit_us="-1" />
- </cpu>
- <!-- AWL/STL language configuration -->
- <language_awl>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="Main"
- type="0"><![CDATA[
- ORGANIZATION_BLOCK OB 1
- BEGIN
- CALL "FC_TEST_shift_0"
- CALL "FC_TEST_shift_1"
- CALL "FC_TEST_shift_2"
- CALL "FC_TEST_shift_3"
- CALL "FC_TEST_shift_4"
- CALL "FC_TEST_shift_5"
- CALL "FC_TEST_shift_6"
- CALL "FC_TEST_shift_7"
-
- CALL SFC 46 // STOP CPU
- END_ORGANIZATION_BLOCK
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST shift_0"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_shift_0" : VOID
- BEGIN
- L 0
- T MD 10
- T MD 12
- T MD 14
- T MD 16
- T MD 20
- T MD 24
- T MD 28
- T MD 32
- CALL "FC_shift_0" (
- // VAR_INPUT
- IN00 := -1112, // INT
- IN01 := 2, // INT
- IN10 := W#16#1213, // WORD
- IN11 := 3, // INT
- IN20 := W#16#1314, // WORD
- IN21 := 4, // INT
- IN30 := L#-1415, // DINT
- IN31 := 5, // INT
- IN40 := DW#16#1516, // DWORD
- IN41 := 6, // INT
- IN50 := DW#16#1617, // DWORD
- IN51 := 7, // INT
- IN60 := DW#16#12345678, // DWORD
- IN61 := 12, // INT
- IN70 := DW#16#87654321, // DWORD
- IN71 := 20, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // WORD
- OUT2 := MW 14, // WORD
- OUT3 := MD 16, // DINT
- OUT4 := MD 20, // DWORD
- OUT5 := MD 24, // DWORD
- OUT6 := MD 28, // DWORD
- OUT7 := MD 32, // DWORD
- )
- __ASSERT== MW 10, W#16#FEEA
- __ASSERT== MW 12, W#16#0242
- __ASSERT== MW 14, W#16#3140
- __ASSERT== MD 16, DW#16#FFFFFFD3
- __ASSERT== MD 20, DW#16#54
- __ASSERT== MD 24, DW#16#000B0B80
- __ASSERT== MD 28, DW#16#45678123
- __ASSERT== MD 32, DW#16#54321876
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST shift_1"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_shift_1" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_shift_1" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 24, // INT
- EN0 := FALSE, // BOOL
- IN10 := 2, // INT
- IN11 := 2424, // INT
- IN20 := 3, // INT
- IN21 := 1133, // INT
- EN2 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // INT
- ENO1 := M 0.1, // BOOL
- OUT2 := MW 14, // INT
- ENO2 := M 0.2, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== MW 12, 606
- __ASSERT== M 0.1, TRUE
- __ASSERT== MW 14, 0
- __ASSERT== M 0.2, FALSE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_shift_1" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 24, // INT
- EN0 := TRUE, // BOOL
- IN10 := 2, // INT
- IN11 := 2424, // INT
- IN20 := 3, // INT
- IN21 := 1133, // INT
- EN2 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // INT
- ENO1 := M 0.1, // BOOL
- OUT2 := MW 14, // INT
- ENO2 := M 0.2, // BOOL
- )
- __ASSERT== MW 10, 12
- __ASSERT== MW 12, 606
- __ASSERT== M 0.1, TRUE
- __ASSERT== MW 14, 0
- __ASSERT== M 0.2, FALSE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_shift_1" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 24, // INT
- EN0 := FALSE, // BOOL
- IN10 := 2, // INT
- IN11 := 2424, // INT
- IN20 := 3, // INT
- IN21 := 1133, // INT
- EN2 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // INT
- ENO1 := M 0.1, // BOOL
- OUT2 := MW 14, // INT
- ENO2 := M 0.2, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== MW 12, 606
- __ASSERT== M 0.1, TRUE
- __ASSERT== MW 14, 141
- __ASSERT== M 0.2, TRUE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_shift_1" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 24, // INT
- EN0 := TRUE, // BOOL
- IN10 := 2, // INT
- IN11 := 2424, // INT
- IN20 := 3, // INT
- IN21 := 1133, // INT
- EN2 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // INT
- ENO1 := M 0.1, // BOOL
- OUT2 := MW 14, // INT
- ENO2 := M 0.2, // BOOL
- )
- __ASSERT== MW 10, 12
- __ASSERT== MW 12, 606
- __ASSERT== M 0.1, TRUE
- __ASSERT== MW 14, 141
- __ASSERT== M 0.2, TRUE
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST shift_2"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_shift_2" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- T MW 20
- CALL "FC_shift_2" (
- // VAR_INPUT
- IN00 := 2, // INT
- IN01 := 1234, // INT
- IN10 := 1, // INT
- IN11 := 12, // INT
- EN1 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT01 := MW 12, // INT
- OUT02 := MW 14, // INT
- OUT10 := MW 16, // INT
- OUT11 := MW 18, // INT
- OUT12 := MW 20, // INT
- ENO1 := M 0.1, // BOOL
- )
- __ASSERT== MW 10, 308
- __ASSERT== MW 12, MW 10
- __ASSERT== MW 14, MW 10
- __ASSERT== MW 16, 0
- __ASSERT== MW 18, MW 16
- __ASSERT== MW 20, MW 16
- __ASSERT== M 0.1, FALSE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- T MW 20
- CALL "FC_shift_2" (
- // VAR_INPUT
- IN00 := 2, // INT
- IN01 := 1234, // INT
- IN10 := 1, // INT
- IN11 := 12, // INT
- EN1 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT01 := MW 12, // INT
- OUT02 := MW 14, // INT
- OUT10 := MW 16, // INT
- OUT11 := MW 18, // INT
- OUT12 := MW 20, // INT
- ENO1 := M 0.1, // BOOL
- )
- __ASSERT== MW 10, 308
- __ASSERT== MW 12, MW 10
- __ASSERT== MW 14, MW 10
- __ASSERT== MW 16, 6
- __ASSERT== MW 18, MW 16
- __ASSERT== MW 20, MW 16
- __ASSERT== M 0.1, TRUE
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST shift_3"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_shift_3" : VOID
- BEGIN
- L 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_shift_3" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 4096, // INT
- IN10 := 11, // INT
- EN1 := FALSE, // BOOL
- IN20 := 30, // INT
- EN2 := FALSE, // BOOL
- IN30 := 1, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT20 := MW 12, // INT
- OUT30 := MW 14, // INT
- )
- __ASSERT== MW 10, 2048
- __ASSERT== MW 12, 0
- __ASSERT== MW 14, 0
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_shift_3" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 4096, // INT
- IN10 := 11, // INT
- EN1 := TRUE, // BOOL
- IN20 := 30, // INT
- EN2 := FALSE, // BOOL
- IN30 := 1, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT20 := MW 12, // INT
- OUT30 := MW 14, // INT
- )
- __ASSERT== MW 10, 2048
- __ASSERT== MW 12, 0
- __ASSERT== MW 14, 0
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_shift_3" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 4096, // INT
- IN10 := 11, // INT
- EN1 := FALSE, // BOOL
- IN20 := 30, // INT
- EN2 := TRUE, // BOOL
- IN30 := 1, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT20 := MW 12, // INT
- OUT30 := MW 14, // INT
- )
- __ASSERT== MW 10, 2048
- __ASSERT== MW 12, 0
- __ASSERT== MW 14, 0
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_shift_3" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 4096, // INT
- IN10 := 11, // INT
- EN1 := TRUE, // BOOL
- IN20 := 30, // INT
- EN2 := TRUE, // BOOL
- IN30 := 1, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT20 := MW 12, // INT
- OUT30 := MW 14, // INT
- )
- __ASSERT== MW 10, 2048
- __ASSERT== MW 12, 15
- __ASSERT== MW 14, 7
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST shift_4"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_shift_4" : VOID
- BEGIN
- L 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- CALL "FC_shift_4" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 20, // INT
- EN00 := FALSE, // BOOL
- EN01 := TRUE, // BOOL (always TRUE)
- IN10 := 2, // INT
- IN11 := 200, // INT
- IN21 := TRUE, // BOOL (always TRUE)
- EN30 := FALSE, // BOOL
- EN31 := TRUE, // BOOL (always TRUE)
- IN30 := 3, // INT
- IN31 := 2000, // INT
- IN41 := TRUE, // BOOL (always TRUE)
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT10 := MW 12, // INT
- OUT20 := M 14.0, // BOOL
- OUT30 := MW 16, // INT
- OUT40 := M 18.0, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== MW 12, 50
- __ASSERT== M 14.0, TRUE
- __ASSERT== MW 16, 0
- __ASSERT== M 18.0, FALSE
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- CALL "FC_shift_4" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 20, // INT
- EN00 := TRUE, // BOOL
- EN01 := TRUE, // BOOL (always TRUE)
- IN10 := 2, // INT
- IN11 := 200, // INT
- IN21 := TRUE, // BOOL (always TRUE)
- EN30 := FALSE, // BOOL
- EN31 := TRUE, // BOOL (always TRUE)
- IN30 := 3, // INT
- IN31 := 2000, // INT
- IN41 := TRUE, // BOOL (always TRUE)
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT10 := MW 12, // INT
- OUT20 := M 14.0, // BOOL
- OUT30 := MW 16, // INT
- OUT40 := M 18.0, // BOOL
- )
- __ASSERT== MW 10, 10
- __ASSERT== MW 12, 50
- __ASSERT== M 14.0, TRUE
- __ASSERT== MW 16, 0
- __ASSERT== M 18.0, FALSE
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- CALL "FC_shift_4" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 20, // INT
- EN00 := FALSE, // BOOL
- EN01 := TRUE, // BOOL (always TRUE)
- IN10 := 2, // INT
- IN11 := 200, // INT
- IN21 := TRUE, // BOOL (always TRUE)
- EN30 := TRUE, // BOOL
- EN31 := TRUE, // BOOL (always TRUE)
- IN30 := 3, // INT
- IN31 := 2000, // INT
- IN41 := TRUE, // BOOL (always TRUE)
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT10 := MW 12, // INT
- OUT20 := M 14.0, // BOOL
- OUT30 := MW 16, // INT
- OUT40 := M 18.0, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== MW 12, 50
- __ASSERT== M 14.0, TRUE
- __ASSERT== MW 16, 250
- __ASSERT== M 18.0, TRUE
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- CALL "FC_shift_4" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 20, // INT
- EN00 := TRUE, // BOOL
- EN01 := TRUE, // BOOL (always TRUE)
- IN10 := 2, // INT
- IN11 := 200, // INT
- IN21 := TRUE, // BOOL (always TRUE)
- EN30 := TRUE, // BOOL
- EN31 := TRUE, // BOOL (always TRUE)
- IN30 := 3, // INT
- IN31 := 2000, // INT
- IN41 := TRUE, // BOOL (always TRUE)
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT10 := MW 12, // INT
- OUT20 := M 14.0, // BOOL
- OUT30 := MW 16, // INT
- OUT40 := M 18.0, // BOOL
- )
- __ASSERT== MW 10, 10
- __ASSERT== MW 12, 50
- __ASSERT== M 14.0, TRUE
- __ASSERT== MW 16, 250
- __ASSERT== M 18.0, TRUE
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST shift_5"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_shift_5" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 10
- T MW 12
- CALL "FC_shift_5" (
- // VAR_INPUT
- EN0 := FALSE, // BOOL
- IN00 := 10, // INT
- IN01 := 1290, // INT
- EN1 := FALSE, // BOOL
- IN11 := 7612, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- ENO0 := M 0.0, // BOOL
- OUT10 := MW 12, // INT
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 0.0, FALSE
- __ASSERT== MW 12, 0
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- CALL "FC_shift_5" (
- // VAR_INPUT
- EN0 := TRUE, // BOOL
- IN00 := 10, // INT
- IN01 := 1290, // INT
- EN1 := FALSE, // BOOL
- IN11 := 7612, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- ENO0 := M 0.0, // BOOL
- OUT10 := MW 12, // INT
- )
- __ASSERT== MW 10, 1
- __ASSERT== M 0.0, TRUE
- __ASSERT== MW 12, 0
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- CALL "FC_shift_5" (
- // VAR_INPUT
- EN0 := FALSE, // BOOL
- IN00 := 10, // INT
- IN01 := 1290, // INT
- EN1 := TRUE, // BOOL
- IN11 := 7612, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- ENO0 := M 0.0, // BOOL
- OUT10 := MW 12, // INT
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 0.0, FALSE
- __ASSERT== MW 12, 0
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- CALL "FC_shift_5" (
- // VAR_INPUT
- EN0 := TRUE, // BOOL
- IN00 := 10, // INT
- IN01 := 1290, // INT
- EN1 := TRUE, // BOOL
- IN11 := 7612, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- ENO0 := M 0.0, // BOOL
- OUT10 := MW 12, // INT
- )
- __ASSERT== MW 10, 1
- __ASSERT== M 0.0, TRUE
- __ASSERT== MW 12, 3806
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST shift_6"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_shift_6" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 40
- T MW 50
- CALL "FC_shift_6" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 8, // INT
- EN0 := FALSE, // BOOL
- IN10 := 1, // INT
- IN21 := 1000, // INT
- IN30 := 0, // INT
- EN3 := FALSE, // BOOL
- // VAR_OUTPUT
- ENO10 := M 0.1, // BOOL
- ENO20 := M 0.2, // BOOL
- ENO30 := M 0.3, // BOOL
- OUT40 := MW 40, // INT
- ENO40 := M 0.4, // BOOL
- OUT50 := MW 50, // INT
- ENO50 := M 0.5, // BOOL
- )
- __ASSERT== M 0.1, FALSE
- __ASSERT== M 0.2, FALSE
- __ASSERT== M 0.3, FALSE
- __ASSERT== M 0.4, FALSE
- __ASSERT== M 0.5, FALSE
- __ASSERT== MW 40, 0
- __ASSERT== MW 50, 0
-
-
- L 0
- T MW 0
- T MW 40
- T MW 50
- CALL "FC_shift_6" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 8, // INT
- EN0 := TRUE, // BOOL
- IN10 := 1, // INT
- IN21 := 1000, // INT
- IN30 := 0, // INT
- EN3 := FALSE, // BOOL
- // VAR_OUTPUT
- ENO10 := M 0.1, // BOOL
- ENO20 := M 0.2, // BOOL
- ENO30 := M 0.3, // BOOL
- OUT40 := MW 40, // INT
- ENO40 := M 0.4, // BOOL
- OUT50 := MW 50, // INT
- ENO50 := M 0.5, // BOOL
- )
- __ASSERT== M 0.1, TRUE
- __ASSERT== M 0.2, TRUE
- __ASSERT== M 0.3, FALSE
- __ASSERT== M 0.4, TRUE
- __ASSERT== M 0.5, FALSE
- __ASSERT== MW 40, 15
- __ASSERT== MW 50, 0
-
-
- L 0
- T MW 0
- T MW 40
- T MW 50
- CALL "FC_shift_6" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 8, // INT
- EN0 := FALSE, // BOOL
- IN10 := 1, // INT
- IN21 := 1000, // INT
- IN30 := 0, // INT
- EN3 := TRUE, // BOOL
- // VAR_OUTPUT
- ENO10 := M 0.1, // BOOL
- ENO20 := M 0.2, // BOOL
- ENO30 := M 0.3, // BOOL
- OUT40 := MW 40, // INT
- ENO40 := M 0.4, // BOOL
- OUT50 := MW 50, // INT
- ENO50 := M 0.5, // BOOL
- )
- __ASSERT== M 0.1, FALSE
- __ASSERT== M 0.2, FALSE
- __ASSERT== M 0.3, FALSE
- __ASSERT== M 0.4, FALSE
- __ASSERT== M 0.5, FALSE
- __ASSERT== MW 40, 0
- __ASSERT== MW 50, 0
-
-
- L 0
- T MW 0
- T MW 40
- T MW 50
- CALL "FC_shift_6" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 8, // INT
- EN0 := TRUE, // BOOL
- IN10 := 1, // INT
- IN21 := 1000, // INT
- IN30 := 0, // INT
- EN3 := TRUE, // BOOL
- // VAR_OUTPUT
- ENO10 := M 0.1, // BOOL
- ENO20 := M 0.2, // BOOL
- ENO30 := M 0.3, // BOOL
- OUT40 := MW 40, // INT
- ENO40 := M 0.4, // BOOL
- OUT50 := MW 50, // INT
- ENO50 := M 0.5, // BOOL
- )
- __ASSERT== M 0.1, TRUE
- __ASSERT== M 0.2, TRUE
- __ASSERT== M 0.3, TRUE
- __ASSERT== M 0.4, TRUE
- __ASSERT== M 0.5, TRUE
- __ASSERT== MW 40, 15
- __ASSERT== MW 50, 3
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST shift_7"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_shift_7" : VOID
- BEGIN
- ///////////////////////////
- // EN=1, memory init = 0
- ///////////////////////////
-
- L 0
- T MW 10
- T MW 12
- __STWRST
- CALL "FC_shift_7" (
- // VAR_INPUT
- IN00 := 2, // INT
- IN01 := 15, // INT
- EN0 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_LOB := M 12.0, // BOOL
- ENO0 := M 13.0, // BOOL
- )
- __ASSERT== MW 10, 3
- __ASSERT== M 12.0, TRUE // LOB
- __ASSERT== M 13.0, TRUE // ENO
-
-
- L 0
- T MW 10
- T MW 12
- __STWRST
- CALL "FC_shift_7" (
- // VAR_INPUT
- IN00 := 5, // INT
- IN01 := 15, // INT
- EN0 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_LOB := M 12.0, // BOOL
- ENO0 := M 13.0, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 12.0, FALSE // LOB
- __ASSERT== M 13.0, TRUE // ENO
-
-
- ///////////////////////////
- // EN=0, memory init = 0
- ///////////////////////////
-
-
- L 0
- T MW 10
- T MW 12
- __STWRST
- CALL "FC_shift_7" (
- // VAR_INPUT
- IN00 := 2, // INT
- IN01 := 15, // INT
- EN0 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_LOB := M 12.0, // BOOL
- ENO0 := M 13.0, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 12.0, FALSE // LOB
- __ASSERT== M 13.0, FALSE // ENO
-
-
- L 0
- T MW 10
- T MW 12
- __STWRST
- CALL "FC_shift_7" (
- // VAR_INPUT
- IN00 := 5, // INT
- IN01 := 15, // INT
- EN0 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_LOB := M 12.0, // BOOL
- ENO0 := M 13.0, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 12.0, FALSE // LOB
- __ASSERT== M 13.0, FALSE // ENO
-
-
- ///////////////////////////
- // EN=0, memory init = 1
- ///////////////////////////
-
-
- L W#16#FFFF
- T MW 10
- T MW 12
- __STWRST
- CALL "FC_shift_7" (
- // VAR_INPUT
- IN00 := 2, // INT
- IN01 := 15, // INT
- EN0 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_LOB := M 12.0, // BOOL
- ENO0 := M 13.0, // BOOL
- )
- __ASSERT== MW 10, W#16#FFFF
- __ASSERT== M 12.0, FALSE // LOB
- __ASSERT== M 13.0, FALSE // ENO
-
-
- L W#16#FFFF
- T MW 10
- T MW 12
- __STWRST
- CALL "FC_shift_7" (
- // VAR_INPUT
- IN00 := 5, // INT
- IN01 := 15, // INT
- EN0 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_LOB := M 12.0, // BOOL
- ENO0 := M 13.0, // BOOL
- )
- __ASSERT== MW 10, W#16#FFFF
- __ASSERT== M 12.0, FALSE // LOB
- __ASSERT== M 13.0, FALSE // ENO
-
-
- END_FUNCTION
- ]]></source>
- </language_awl>
- <!-- FUP/FBD language configuration -->
- <language_fup>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="shift_0"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_shift_0"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="5af9ac5d-cb29-45b5-beb5-96ce8d990403" />
- <field name="IN01" type="INT" uuid="d7f7ac98-4f88-4383-88fc-5acb1a6d356c" />
- <field name="IN10" type="WORD" uuid="1ee9b754-1fa2-426a-a458-8714775efe1f" />
- <field name="IN11" type="INT" uuid="3fccedee-4139-4129-92c7-36736c542133" />
- <field name="IN20" type="WORD" uuid="4dabf6fa-7c28-4cde-8118-91927e23a399" />
- <field name="IN21" type="INT" uuid="d5fc69d1-2ed4-4e00-b3ef-c97f69b232f5" />
- <field name="IN30" type="DINT" uuid="8bf28fa3-c892-435d-82b1-1d6849d40475" />
- <field name="IN31" type="INT" uuid="c43db1ee-ebb8-4018-95d7-f4079c8beaaa" />
- <field name="IN40" type="DWORD" uuid="dc8d2cae-f939-445c-a8c3-d38fb0917e64" />
- <field name="IN41" type="INT" uuid="16f1fa3e-076a-42ce-8526-5e09b06386a4" />
- <field name="IN50" type="DWORD" uuid="6f130ddb-0c42-4874-abeb-d31701edaed1" />
- <field name="IN51" type="INT" uuid="d60a2a43-69fe-4ea0-868c-fa816f86c2ce" />
- <field name="IN60" type="DWORD" uuid="070216b6-78ed-4710-82d8-b0df33b0f977" />
- <field name="IN61" type="INT" uuid="99a54376-23bc-4f5d-9e20-1167bcac699c" />
- <field name="IN70" type="DWORD" uuid="d48c5e9d-7a9c-40ad-af63-a9d09f64bf82" />
- <field name="IN71" type="INT" uuid="4a915219-8306-486f-98e1-e5a12d1fd4d3" />
- </inputs>
- <outputs>
- <field name="OUT0" type="INT" uuid="dbb2ffa4-2869-4429-9467-aeb0f282777b" />
- <field name="OUT1" type="WORD" uuid="3e52664f-3d86-4c2a-aefa-ef56541f90e8" />
- <field name="OUT2" type="WORD" uuid="c555b99b-20cc-4ad0-b339-1ee8f0838e9b" />
- <field name="OUT3" type="DINT" uuid="8a18f9c8-807e-45dc-b736-2db5db368d0c" />
- <field name="OUT4" type="DWORD" uuid="dc598442-2cbe-4046-936c-a743c07350de" />
- <field name="OUT5" type="DWORD" uuid="77e5fd0c-4892-4076-9440-15797b3f0009" />
- <field name="OUT6" type="DWORD" uuid="4f398963-27c9-43a1-a71e-8cf33071296c" />
- <field name="OUT7" type="DWORD" uuid="8b73fff4-8854-4d91-b6e5-a21259928a0e" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="f495a2cc-5cd6-450e-ad61-aac59f5618d1" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="f33cd542-f127-40eb-81fc-a85acd273bb5" width="13">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="c87f44fd-274d-4074-ae0c-55e54d287365" />
- <wire id="1" uuid="90c6cd93-b4d3-4ca8-b7a4-7ef2657f8c66" />
- <wire id="2" uuid="bdf7a26a-4e07-4e09-a4fe-b91ee500cf77" />
- <wire id="3" uuid="fe922c7d-b98f-4e58-8cac-d0af4c1a1cfc" />
- <wire id="4" uuid="ffb8649b-a924-4009-bb36-ee553b6e2efc" />
- <wire id="5" uuid="16018d3c-e8da-4d5e-88d3-16f67283e690" />
- <wire id="6" uuid="4427f496-09b6-49bd-9e69-ba8d5b095e61" />
- <wire id="7" uuid="8afe2136-be3e-4386-93c5-2ac14e678b23" />
- <wire id="8" uuid="365c4bfa-bd47-4315-ad17-d7c9aa68d57a" />
- <wire id="9" uuid="5e4a48e5-3ab1-4e94-bde1-a21bad26516f" />
- <wire id="10" uuid="250e5483-2ae8-4b23-ad55-62e4ea9382af" />
- <wire id="11" uuid="0dfdb92b-9a74-4720-8332-004ab6cf419f" />
- <wire id="12" uuid="de694ef3-c937-4322-b9f9-52dba740642f" />
- <wire id="13" uuid="6a8a44de-da16-4ca2-877d-34a997456f34" />
- <wire id="14" uuid="bdb68f65-868e-4098-aa4b-d25ad5c4ffcd" />
- <wire id="15" uuid="c16d012a-ebec-4edf-97f0-5505a81e282f" />
- <wire id="16" uuid="2e7e2cfa-7d72-402b-84e6-83ed81912691" />
- <wire id="17" uuid="ea46dad5-29da-4c9d-a7f2-5407063b31b5" />
- <wire id="18" uuid="eeb86e1a-f20a-40c0-b18e-f49434277e3e" />
- <wire id="19" uuid="8201c854-4955-4a6f-a802-6fe62c30cf8a" />
- <wire id="20" uuid="1f4bbe6e-b9c3-4b34-b547-f15c7f2bc344" />
- <wire id="21" uuid="1e8e1570-be8d-4548-bd75-2a723e6805bb" />
- <wire id="22" uuid="f163bbbc-6bdc-48ae-a4a3-34ddf99b890b" />
- <wire id="23" uuid="4acd72b1-1afa-4d1f-a185-ad107e7e7a4f" />
- </wires>
- <elements>
- <element content="#IN00" subtype="load" type="operand" uuid="76c42e3c-f802-4ed4-8d4f-8e7408ef7a4c" x="1" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="adc688b1-02a3-4441-b1bd-f92184905e0b" wire="0" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="a39e4082-0e74-4678-8c3b-bd0bfff43ea6" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="3ae0e353-35d4-4f96-a8fe-efeb56f1e224" wire="1" />
- </connections>
- </element>
- <element content="#OUT0" subtype="assign" type="operand" uuid="2b4a6c8a-0d79-47fc-b4a8-75be757cd23f" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="f0480620-76d6-4dd6-bfda-c1ce0b4cef33" wire="2" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="94e2e5a6-6d42-47d9-8d72-f0098a2db6fb" x="4" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="759adc9c-f0a0-486c-8c0c-4a99e6be970e" wire="3" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="cf9f9c15-ceb9-4f0f-88de-1fc2cdefb477" x="4" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="dcdb9f7a-2480-4ba6-bb67-e62a0cf51507" wire="4" />
- </connections>
- </element>
- <element content="#OUT1" subtype="assign" type="operand" uuid="dd872641-a03d-4d83-85b2-141ee7821edf" x="6" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="a4050646-87e8-42ca-95cb-5c5a0415aca8" wire="5" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="52f6914a-e7e1-4020-a7db-9eb72efb5cc6" x="7" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="69d34ba9-2707-44c2-bcfe-b5872c89ae5a" wire="6" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="d0f2fd80-4f2f-4dbb-82a7-c3d62da95b9b" x="7" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="2ae3e012-0f8c-44da-ac62-66fb31d0f7b5" wire="7" />
- </connections>
- </element>
- <element content="#OUT2" subtype="assign" type="operand" uuid="770e95ce-18fe-44e9-8ef8-8c4fc7267bb4" x="9" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="81db5cc4-786a-4d71-9809-b7ba3211911e" wire="8" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="363cae42-fc42-437b-9449-b411ed7e835c" x="1" y="8">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="d090a4b4-10ba-4e0f-96de-a889fcfdec75" wire="9" />
- </connections>
- </element>
- <element content="#IN31" subtype="load" type="operand" uuid="df09db79-3ceb-4d24-8389-ca01386b7575" x="1" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="57930c64-db85-4954-9817-e6afe08db74a" wire="10" />
- </connections>
- </element>
- <element content="#OUT3" subtype="assign" type="operand" uuid="b5447fbb-6e99-43ac-a0c1-63d56c15e249" x="3" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="992ab64b-9498-4e72-934a-e59b9c992434" wire="11" />
- </connections>
- </element>
- <element content="#OUT4" subtype="assign" type="operand" uuid="7cbeb379-8d5e-42df-a801-00fc0d436d94" x="6" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="dc51d18c-2679-4a4a-8887-b186d4d20706" wire="12" />
- </connections>
- </element>
- <element content="#OUT5" subtype="assign" type="operand" uuid="50a5bdca-7fe1-431d-b2fe-89908950b0c8" x="9" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="1ae91df1-fd5b-4d5a-a138-d0cc9078aab6" wire="15" />
- </connections>
- </element>
- <element content="#OUT6" subtype="assign" type="operand" uuid="322e4e4a-3488-45a9-b81c-ceb898cdac25" x="3" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="8d8772d1-aa65-4f7f-a41c-118d1fc2d365" wire="21" />
- </connections>
- </element>
- <element content="#OUT7" subtype="assign" type="operand" uuid="873c2671-114f-4463-a6f0-fa1a85b62e71" x="6" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="b5dcfa19-de30-4823-9807-3732d3e706cc" wire="18" />
- </connections>
- </element>
- <element content="#IN40" subtype="load" type="operand" uuid="6b5bb990-2843-4d57-8856-e6a71da914c9" x="4" y="8">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="61f7e452-fe1c-48e5-a827-8bf196b208cf" wire="13" />
- </connections>
- </element>
- <element content="#IN41" subtype="load" type="operand" uuid="8e2a1a3d-2496-40bd-aa2f-526119b4d58c" x="4" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="f610e407-1676-42e6-bf8c-cb3cf2e36487" wire="14" />
- </connections>
- </element>
- <element content="#IN50" subtype="load" type="operand" uuid="128c2b62-03e3-4a47-8c8f-dbb908e4e16f" x="7" y="8">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ef89b319-5768-4377-91b7-56c278ee09a8" wire="16" />
- </connections>
- </element>
- <element content="#IN51" subtype="load" type="operand" uuid="136e1298-4c71-4f14-b503-62e1e4cf3823" x="7" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6d8c3ff4-3c00-440d-a23f-5b4c1da5f073" wire="17" />
- </connections>
- </element>
- <element content="#IN60" subtype="load" type="operand" uuid="ed04fb48-696d-4d31-945e-8adfd37787d6" x="1" y="12">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="8cfa3463-1a41-4c16-803b-51d4934db51b" wire="22" />
- </connections>
- </element>
- <element content="#IN61" subtype="load" type="operand" uuid="764f5bb8-8038-46e1-b049-4496f586950a" x="1" y="11">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="58b0b3b0-7290-4c21-b16a-abd6ba802608" wire="23" />
- </connections>
- </element>
- <element content="#IN70" subtype="load" type="operand" uuid="86715507-05d2-41b4-b673-9e6936123831" x="4" y="12">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="9d0a3662-201b-46c8-9f7c-6ad41d38bab7" wire="19" />
- </connections>
- </element>
- <element content="#IN71" subtype="load" type="operand" uuid="2ac87ca1-d105-487f-aa48-8981a6851721" x="4" y="11">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="fc363ee8-ad39-486d-99b1-5a666891d043" wire="20" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="43fab58b-a585-4ec3-9238-690022030a93" x="2" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="d9f24999-62b8-45f9-afe5-d7d6484a0688" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="41850fd2-6e35-45d2-bfbf-50cf92457c06" wire="1" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="1f2aa471-ecee-4949-8b21-4d4400650aba" wire="0" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="734a03f9-384c-44a8-be9a-fe999fe2fc62" wire="2" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="79873f2d-d3be-4b94-b191-96055b271f54" wire="-1" />
- </connections>
- </element>
- <element subtype="srw" type="shift" uuid="44de932e-b325-44d9-b2b1-0bb1b19a8270" x="5" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="374fc0d5-103d-4697-b715-b1aa257f1b42" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="209330fd-217e-4352-abec-e37ec84a9007" wire="4" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="69fe6207-a426-43f1-9ed3-5895c3a7876f" wire="3" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="eac51a29-48eb-4f06-a432-8b1e60adeca7" wire="5" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="7ebc58c2-b307-4f0e-a036-5dae0bbce077" wire="-1" />
- </connections>
- </element>
- <element subtype="slw" type="shift" uuid="daea73c5-4395-4ca6-8a31-8cc91302ca83" x="8" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="50994d40-5e1e-4d84-9272-b3bf15109b6e" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="923d834e-eb2b-4736-b796-32984d6e180d" wire="7" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="7cc29a0b-2d69-4c34-b7ee-c4a73dbd2136" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="bd73f32c-bbf7-4016-ab26-e95c7e5e2908" wire="8" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="ca84e3e4-8707-4d2e-aa6d-dd12da401eb5" wire="-1" />
- </connections>
- </element>
- <element subtype="ssd" type="shift" uuid="b83bbb07-fdfc-4cc6-910f-8a8e55b67334" x="2" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="34cee33a-d17b-4426-bcff-382f03b1aaf8" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="34aef07f-67f7-4264-b158-30c41dd20002" wire="10" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="f7a7f5cd-13fb-4da2-ba79-932e26f5c8f3" wire="9" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="9085747f-3c79-4d03-90dd-2e2bde6bbdfc" wire="11" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="02e381d6-6306-494b-8611-d8c957c731c0" wire="-1" />
- </connections>
- </element>
- <element subtype="srd" type="shift" uuid="39db8f30-ee06-4771-8f82-c55f2e08c2ea" x="5" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="171c7b28-65ad-4be5-a80c-14db05a725c4" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="7acf3aae-4967-4ed2-9e3b-3796357100c1" wire="14" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="53c76822-3147-4ce1-8e27-233477f5a2ee" wire="13" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b385ac9a-5041-4975-9ca8-12e4874dfa3d" wire="12" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="35fc2e9b-7265-441a-9fe1-4a06f9e73abc" wire="-1" />
- </connections>
- </element>
- <element subtype="sld" type="shift" uuid="643ecd51-7e47-417b-8d52-4f8d9eea60ba" x="8" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="47076574-b0c2-4c2f-b373-6502c525f1eb" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="97d24b93-54fb-4833-9aa3-53b42e20206c" wire="17" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="a15a6f90-2b76-430f-8923-fe9091d02874" wire="16" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="9d3bacaf-18f8-47dc-b96e-b15d806db006" wire="15" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="fd499f3e-cb3d-4497-89ee-1e59fb748805" wire="-1" />
- </connections>
- </element>
- <element subtype="rrd" type="shift" uuid="39db9dd0-6f7d-44e0-bc4e-7a40da0d0c8d" x="5" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="2073a8a3-201a-4993-80a4-e258f29d7b9d" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="52944883-7fea-43aa-96c8-88aa2de104f4" wire="20" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="031b10f0-2632-47a7-bf17-9b47cd516b72" wire="19" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="c31a7cea-53fe-4834-ba3e-435cdc038f55" wire="18" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="49ccb905-ebc2-4ff2-b45b-1de4386b1ecb" wire="-1" />
- </connections>
- </element>
- <element subtype="rld" type="shift" uuid="0c0d46e1-4c24-44e2-b0f1-f4be8ab3d41a" x="2" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="9d6a9dd7-0c53-4624-b7fb-c4b1d743d01a" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="4e1739d5-9473-4ff9-8dc2-1fd18a740507" wire="23" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="cbef31ef-3e3b-4a1f-8f3f-946c9614d124" wire="22" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="0ac73bb5-2f62-4885-a5ae-acaad5470373" wire="21" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="6073b07e-faba-4469-ae8f-c206025b15a7" wire="-1" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="shift_1"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_shift_1"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="e3c2a85b-ee35-4e68-8e2c-646cb5dfbc20" />
- <field name="IN01" type="INT" uuid="64b23dab-f309-4f46-b8de-d4b93d4e8271" />
- <field name="EN0" type="BOOL" uuid="bd07cbb1-6fd9-4af2-9705-67de06561a58" />
- <field name="IN10" type="INT" uuid="5503810e-ebf3-4da8-adac-45a000a0a921" />
- <field name="IN11" type="INT" uuid="4124e36d-965a-48cb-b7a9-16da0374a8d1" />
- <field name="IN20" type="INT" uuid="98817fc8-1a15-4768-9c18-657ef1a707df" />
- <field name="IN21" type="INT" uuid="5b6c2104-27e4-40ad-aef7-cb63ef396fd4" />
- <field name="EN2" type="BOOL" uuid="d1b44444-4954-43ed-ba61-4e4d2031ae9c" />
- </inputs>
- <outputs>
- <field name="OUT0" type="INT" uuid="92239271-cbdd-46aa-b9d9-70e17c678b11" />
- <field name="OUT1" type="INT" uuid="b0f60a98-266e-4418-84f5-520c0bfddd4a" />
- <field name="ENO1" type="BOOL" uuid="f6fb9307-a77a-4535-83c3-a2b101c063d2" />
- <field name="OUT2" type="INT" uuid="5c9ba426-0dd7-406f-b309-d60bca398159" />
- <field name="ENO2" type="BOOL" uuid="0e4db49c-bb6b-4e38-a33f-7d84668d4917" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="d06a52a1-28b5-4b6c-b7e1-7227871a8f52" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="78217b66-f65e-46bd-b9ee-3e9315f610f4" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="29db4623-b3a9-406c-81b2-06214bfee296" />
- <wire id="1" uuid="9c4fa208-9e71-4634-ba84-5913da7c8283" />
- <wire id="2" uuid="b4039765-5673-4e83-8a1e-ce44d8c1d0e2" />
- <wire id="3" uuid="b395c2f8-b903-4056-b261-1b393b8c8857" />
- <wire id="4" uuid="7c738895-04a0-48ac-9852-b95ac1094188" />
- <wire id="5" uuid="968c1521-74e9-4aef-9ae7-ca39c93eae18" />
- <wire id="6" uuid="3a744f29-324f-477b-bc58-e39fef44fd32" />
- <wire id="7" uuid="2e5c7b5c-46aa-496f-be52-707e62e8be7e" />
- <wire id="8" uuid="d4ede0c1-9f0a-487f-a4e5-206c55b219bb" />
- <wire id="9" uuid="eb0dbf37-1216-4120-ab38-e4ebead16d61" />
- <wire id="10" uuid="fcb4c6a6-98d5-43f2-8006-4deb9f325280" />
- <wire id="11" uuid="cea39b6f-6a7f-4376-adb4-df24440fb310" />
- <wire id="12" uuid="d9736bc3-c74e-4756-b463-ff453abf9acf" />
- </wires>
- <elements>
- <element content="#EN0" subtype="load" type="operand" uuid="5e772692-fcfb-4093-95d5-f56d3ad5c073" x="1" y="1">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="75d970fe-654e-4852-bdb9-4efa1f791ddf" wire="0" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="c111ce78-d41e-4e8b-bc38-47d039bd43cf" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="e75f730c-f437-4f82-8006-d0c52f719afa" wire="1" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="4f9a5245-84eb-4337-9557-b4da492be539" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="c85183ea-433a-4afa-b79e-28c43b140e62" wire="2" />
- </connections>
- </element>
- <element content="#OUT0" subtype="assign" type="operand" uuid="de07ce20-3f5e-4f39-b684-9d07838655e9" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="c436ad49-0a22-49e4-bff5-b23545373db3" wire="3" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="3bd0ca83-cb44-4c7e-be14-5f1071c73aa9" x="1" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="15903884-35d9-4040-a1ef-242fab16ca47" wire="4" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="3b47486e-cca8-454b-856d-7b43348295d6" x="1" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="50a6795e-d906-41bf-b375-5df29e888c63" wire="5" />
- </connections>
- </element>
- <element content="#OUT1" subtype="assign" type="operand" uuid="3e9aa5fc-f085-4a04-9759-4a69deefd021" x="3" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="772a28d5-b6c7-4f91-9b7a-dd9cae6e45fe" wire="6" />
- </connections>
- </element>
- <element content="#ENO1" subtype="assign" type="operand" uuid="67e87c36-0195-47b0-b983-3502348493ce" x="3" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="6261b0aa-49b1-4cd9-bfd7-842726db2384" wire="7" />
- </connections>
- </element>
- <element content="#EN2" subtype="load" type="operand" uuid="7362e658-df71-4091-82d7-1cd4474f8133" x="1" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="76bb4465-a21a-4dfa-98be-3ba21a6ed4d1" wire="8" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="b0870c44-c83c-48a2-afb9-655a37f4d850" x="1" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="617f546d-f201-44b3-bf84-d55cb631b37a" wire="9" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="2f22283d-0bfe-4f5b-9cd3-08f04ecdb476" x="1" y="11">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="d06c2724-87a3-4021-9b44-3976b8e7693e" wire="10" />
- </connections>
- </element>
- <element content="#OUT2" subtype="assign" type="operand" uuid="ff68d087-189a-4ed0-b499-dd1edde5e5c4" x="3" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="75b16175-b7bc-4028-a57b-c958e64f6c66" wire="11" />
- </connections>
- </element>
- <element content="#ENO2" subtype="assign" type="operand" uuid="466f064c-89d3-48c2-a1ed-9f9cfa9e72ad" x="3" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="a260e13c-e1bc-42fc-a166-3f51deaab0a5" wire="12" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="059e6d23-324d-4ee0-8255-54c4f8ec7689" x="2" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="edc505ed-c9d0-4247-974c-287a97c9c439" wire="0" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="4625603f-aac4-4e22-b8bd-66920eb5afc2" wire="1" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="5f0c9f26-ac96-4623-9067-1aa7bca04690" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="7a0e8001-86a8-4d7c-9476-2618366bb044" wire="3" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="c4ded75f-d75b-4279-a81b-42229b40082f" wire="-1" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="19d32831-d617-4470-863b-febb72971d8a" x="2" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="b94bd8f7-687e-47c8-b61c-54ea21b1a9c9" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="517f5114-7b43-4cad-bf81-e831f85ddd23" wire="4" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="3383d255-b054-40a8-87b5-bc3087fbb535" wire="5" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="ce5fa026-4ee4-445f-95b2-2fb2d07cd02b" wire="6" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="62fa8d89-924f-4ef2-8c53-a2988454beda" wire="7" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="0ec6063b-0c17-4804-8e2a-b95212059f80" x="2" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="27f94264-0c98-4aca-b40e-27599b3d002d" wire="8" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="ef42d006-2879-4551-aefb-d56c722dfdf7" wire="9" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="1a705c83-a7bf-48e5-a79a-431fc39d1b13" wire="10" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="a947ae8a-1655-42f4-b828-bcb9418f27e4" wire="11" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="40475169-d08b-421e-bab0-00bfee24f1d4" wire="12" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="shift_2"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_shift_2"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="809555d9-2ca5-4301-b587-81132f2b886f" />
- <field name="IN01" type="INT" uuid="97568251-5c07-4127-8f67-009c9639fc82" />
- <field name="IN10" type="INT" uuid="c46385af-2aea-47dc-893c-ae449bb917c9" />
- <field name="IN11" type="INT" uuid="b3066b45-2572-4e7b-af9f-2f27144ba880" />
- <field name="EN1" type="BOOL" uuid="6d8966ae-f48e-436e-85f4-82b8de6b881c" />
- </inputs>
- <outputs>
- <field name="OUT00" type="INT" uuid="f5f1b05d-e744-40c1-99fe-bf8993a40689" />
- <field name="OUT01" type="INT" uuid="60651c9d-7a17-4d7f-aaa9-a756acf08b09" />
- <field name="OUT02" type="INT" uuid="4f1a4e38-dd69-4b7c-9f7a-61175c55691e" />
- <field name="OUT10" type="INT" uuid="6fe64992-f36f-43d0-8ffe-7c42ed65ed7b" />
- <field name="OUT11" type="INT" uuid="2960af0d-f3b0-4529-b2c1-68e170dceaab" />
- <field name="OUT12" type="INT" uuid="c27c6092-c3dd-4ab9-9fbd-11ba25fd4549" />
- <field name="ENO1" type="BOOL" uuid="43a82ed9-1469-467a-880f-28d4d829da1e" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="f6c45a55-01f9-4421-8822-a0ba6521ed9a" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="5f62df45-2ba4-4681-a4c8-9cd17b97c333" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="77d8466d-37ad-46e2-93bf-7beba7d9ae19" />
- <wire id="1" uuid="d2443f94-3a90-49ac-866b-0ad0ec669abd" />
- <wire id="2" uuid="832554b4-023e-491d-ac7f-70ba6bf2e83f" />
- <wire id="3" uuid="f813e4d8-01e1-4354-a2bf-1a4f3ce9c88e" />
- <wire id="4" uuid="0bc3fd72-776f-492b-962d-7035fe1327f1" />
- <wire id="5" uuid="e538c996-65c8-4e05-8200-386d91a07fbd" />
- <wire id="6" uuid="a18b4ef0-316a-44eb-8f51-4566a34f1996" />
- <wire id="7" uuid="a038019c-f5c4-4346-a313-dd478376af74" />
- <wire id="8" uuid="d99a0850-095c-47f1-b872-ee478a46838c" />
- <wire id="9" uuid="0a964d51-2719-4cbf-8a2e-a22e1d841203" />
- <wire id="10" uuid="36c2e4fa-391b-4cfb-b622-a2ab22a4cfe5" />
- <wire id="11" uuid="e6afd953-dd7f-44cc-bac3-c0ce95c5d0f5" />
- </wires>
- <elements>
- <element content="#IN00" subtype="load" type="operand" uuid="93e516b1-746e-4b78-ac51-23f12be264a8" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="7e9a3568-31f3-40a7-9710-11a8e6ced476" wire="7" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="24427cd0-3be7-46ae-8392-9105ceb6b78a" x="1" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="f6601afb-b8ec-47ff-95e4-fa3dfcf10d71" wire="8" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="50be9a5b-b119-4406-9e39-efb36e5e26e2" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="0610ef60-05ec-4d2f-bc56-68fcb9bdba4f" wire="9" />
- </connections>
- </element>
- <element content="#OUT01" subtype="assign" type="operand" uuid="78450aa4-6518-4a19-ab87-5bacf2b63323" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="620c0397-f3bd-426d-807a-efc23f498894" wire="10" />
- </connections>
- </element>
- <element content="#OUT02" subtype="assign" type="operand" uuid="fc9e6ce2-f9a8-4933-a6ed-343dc54eeae5" x="3" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e04f0ef3-c369-4336-b80d-1a33a3e7ea78" wire="11" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="796d29bb-9dc9-498f-ac2d-30f1e72920aa" x="1" y="8">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="83587d0c-41a6-4b8c-9456-28d8debc3f23" wire="0" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="9628364c-5fda-4c86-abbb-483c67e7d8e5" x="1" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="00a71679-7ce9-4d7d-b682-15d8443da243" wire="1" />
- </connections>
- </element>
- <element content="#OUT10" subtype="assign" type="operand" uuid="6b44e797-fca9-4d44-8d2c-fd821eef7831" x="3" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="6f2ef02f-5e5f-44ce-b616-bbcc8ced46fb" wire="2" />
- </connections>
- </element>
- <element content="#OUT11" subtype="assign" type="operand" uuid="505c5267-751f-4c67-a5a7-a14238bb2668" x="3" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="bfd08983-f6d0-42b8-9f12-486f2fb2b672" wire="3" />
- </connections>
- </element>
- <element content="#OUT12" subtype="assign" type="operand" uuid="8a39cddf-cbcb-4c81-a7de-27f70fa59a98" x="3" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="8d836e82-2cb5-42a0-b69e-196fcef57775" wire="4" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="b3fe8532-7e5e-4a1e-8eb6-e1b948ac455a" x="1" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="29a7a100-ad13-4375-9621-64f776cd0e67" wire="5" />
- </connections>
- </element>
- <element content="#ENO1" subtype="assign" type="operand" uuid="d3ead0d1-3a78-44a6-9e2e-b271b8026c15" x="3" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="aad9ed3c-b63b-4936-99b8-b9570e36bfa6" wire="6" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="c65611ef-bdef-40cb-b74b-2a8b6e1c278b" x="2" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="1370126b-7530-4616-8d60-ae4be57fcc04" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="3ca40fea-508e-465d-a18f-4d79fa7586ee" wire="7" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="10d429a1-a58f-45d3-952c-a321fed33b56" wire="8" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="fc457963-c660-4271-b129-8e1c17b72158" wire="9" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="bd1cd37f-256a-46b5-bd07-18674d8fe053" wire="10" />
- <connection dir_in="0" dir_out="1" pos="2" text="OUT2" uuid="7ba9ee07-d033-470a-92a0-1acf1208449f" wire="11" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="ca21c88e-710b-4e10-8356-b7cdff1f8e1d" wire="-1" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="0c56c13c-d614-417e-af82-fde9255b6b40" x="2" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="80d8fd7d-217a-44f7-8c36-4b62d1262951" wire="5" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="8b5eefd7-5fa6-49af-8f7b-aef8d8d37d85" wire="0" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="53da8225-f9a6-4103-8670-0566c70aa7af" wire="1" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="3e6c380b-63d0-4335-8e03-2f1c9c25c9db" wire="2" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="59c3556b-2f9f-4437-b7b3-fbb1dcc84e3f" wire="3" />
- <connection dir_in="0" dir_out="1" pos="2" text="OUT2" uuid="77c7f6f6-06bf-4a67-a7a3-c9195547cbe1" wire="4" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="da3e1032-6823-495c-b780-f2b2bae2dc15" wire="6" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="shift_3"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_shift_3"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="e71d7cdf-df15-48e5-be15-bb0867110e9d" />
- <field name="IN01" type="INT" uuid="ba02cae0-0b0f-4e6a-9329-0cb29db8bee0" />
- <field name="IN10" type="INT" uuid="50529206-1077-4b8f-9900-cdb88784e2cf" />
- <field name="EN1" type="BOOL" uuid="cc25b480-558a-4205-a71b-aa6ee12626c1" />
- <field name="IN20" type="INT" uuid="491b3c24-2296-4246-9b7b-203232073e21" />
- <field name="EN2" type="BOOL" uuid="32e99599-802b-4495-8868-00b5675ed72f" />
- <field name="IN30" type="INT" uuid="e3f2f45c-504f-49dd-a910-c8a4a93ef7e7" />
- </inputs>
- <outputs>
- <field name="OUT00" type="INT" uuid="d53e9d5d-0238-45c7-aae8-f8de79141110" />
- <field name="OUT20" type="INT" uuid="d0adf60e-6065-42f5-80a5-80e9ede69ba1" />
- <field name="OUT30" type="INT" uuid="6325c950-f353-41aa-808e-f90832f5898b" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="a3f27e3b-89d5-42e6-bc6b-07f983445c67" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="756f2994-db93-457c-9276-54b600e5b817" width="13">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="a37b98ef-584a-4c22-b37b-24c8ce9df8ae" />
- <wire id="1" uuid="6290b94f-acb7-4980-8552-53bd1ca4f89a" />
- <wire id="2" uuid="8ab331cf-b875-4907-b728-5b17fffe1519" />
- <wire id="3" uuid="f7ad70df-3254-4ebd-a7f1-0ab0e6e03012" />
- <wire id="4" uuid="693c6f0d-a362-4735-89c5-c585a0595a8a" />
- <wire id="5" uuid="a4c40faf-e674-46d4-9aef-71b23d02e0e9" />
- <wire id="6" uuid="6c3af92e-3149-4e5a-a4f2-6a09fb9f3b01" />
- <wire id="7" uuid="c495dfd5-8510-4e23-a089-ccef8a38644c" />
- <wire id="8" uuid="5b92381d-ebce-4361-a8e2-55056c6b35ec" />
- <wire id="9" uuid="b67de5ce-f652-42a8-862d-86d45c771fc0" />
- <wire id="10" uuid="df5b6535-fd35-4a0b-b0fc-ec58d6506aed" />
- <wire id="11" uuid="cef267d3-2edc-4be2-aab2-09e68ccee475" />
- </wires>
- <elements>
- <element content="#IN00" subtype="load" type="operand" uuid="f8e8c674-af9e-4d50-b8e8-0fb84e467c50" x="0" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="d1286408-e4f6-47d3-b294-b7c49dbead8f" wire="0" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="c4faa086-cbf1-4179-9dbb-2dc58c68c24a" x="0" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6f909707-4c6b-4f0a-bcf1-b428127c0a6d" wire="1" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="8841d03f-575f-4cb6-b9fe-a3f62bfe0ff0" x="2" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="95fade35-c9c4-4247-9aca-97b835111b2a" wire="3" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="93bec95a-44ee-4259-8efd-950562666e00" x="2" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="921b9e06-ae10-4411-aea1-af119b823098" wire="4" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="7d0cac91-2a5a-4c7c-bbd4-e07607fc3bf2" x="4" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="91fb9fc3-07f3-444e-8aed-fce953dda328" wire="6" />
- </connections>
- </element>
- <element content="#EN2" subtype="load" type="operand" uuid="abab2eee-6094-4026-bb88-2f5216e4c4ab" x="4" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="a4e8f207-6243-4acd-9592-9322d5271ebe" wire="7" />
- </connections>
- </element>
- <element content="#OUT20" subtype="assign" type="operand" uuid="742777cd-6e4c-48f5-86c5-100b944b1704" x="6" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="24f905d6-c576-4f86-899e-15426c04e782" wire="9" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="1993a5ae-5dc5-463e-a58f-bf4a0347b24d" x="7" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="c5080bd7-0100-4463-b5c2-8947b739e7e3" wire="10" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="3b83f76f-8c2b-420b-bfe1-489b82d330a2" x="2" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="b2713a27-00d1-4f47-872f-69efd0b7f0cc" wire="2" />
- </connections>
- </element>
- <element content="#OUT30" subtype="assign" type="operand" uuid="cde62948-84b5-4ee9-9d1b-3b6933ca3662" x="9" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="21774d40-d6de-4d74-b83b-fa3a88114ba4" wire="11" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="1d0626ce-c6b0-46ec-b08b-bec37c4cccae" x="1" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="0e899e0c-5367-438d-886f-db2af7d98d8d" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="e19dfb48-6d4f-472e-a4b6-976e14381343" wire="0" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="74ba2315-469f-404b-9781-7fb6eed32a56" wire="1" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="e190fbf6-e086-4f34-9d39-43c9199dc76b" wire="5" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="69174ce4-87c4-4d36-909d-192a6f99efe8" wire="2" />
- <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="6cc5fa42-29f4-413b-8e21-1b827a4efed2" wire="-1" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="20e23c89-115e-485c-ac53-73a6ee79f5a6" x="3" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="c5ea410a-0de4-464f-93ba-5c07a1c511aa" wire="3" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="aea36fbb-2b5f-4a96-a416-6641d35003d7" wire="4" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="7aa45c7c-3d7a-4b45-bf3a-de6e5935c9fe" wire="5" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="8e4397a4-8b92-48bc-aa31-597c6b3402c6" wire="8" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="08c2f05f-b31a-461c-91fd-d8e86aa0f5b8" wire="-1" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="53b0aeda-2fd8-424d-81d6-ab836168e8ac" x="5" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="9586786e-f6bd-4f04-aa57-04febb10957b" wire="7" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="a4ba0d69-f90c-4441-9d09-6092a9d63dd7" wire="8" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="64ee22bf-3981-4d72-a147-f1001c8a7696" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="95c67921-9c64-4a61-a472-ce8594ebeb4a" wire="9" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="5855ae8e-3f88-4adb-9219-8e815196a396" wire="-1" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="31ef42da-a68d-4531-94a2-8452ea6872b5" x="8" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="70eb1f80-4797-4c5a-b29e-e1ce25c97433" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="fb13307e-b63b-4b89-a6f1-4ae822c00fae" wire="10" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="916a702b-25a8-42ca-bf0a-35773cb1b393" wire="9" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b086c22c-38de-4bb6-9cd7-ee73ecaab545" wire="11" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="a78d110c-00df-49e2-89cc-72051e1fe33b" wire="-1" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="shift_4"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_shift_4"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="6531c886-cba7-4a13-b0e8-b01ae19aeb6c" />
- <field name="IN01" type="INT" uuid="1b86ce6a-95d8-45d7-b961-b8fef1e3d7ca" />
- <field name="EN00" type="BOOL" uuid="1a1ad5d7-a402-475a-b270-22ac85f5913a" />
- <field name="EN01" type="BOOL" uuid="c64490c9-3dbb-49cf-8cdd-06ca69f8acbf" />
- <field name="IN10" type="INT" uuid="730b6fd9-35a6-4b6f-8260-5b70c01eec12" />
- <field name="IN11" type="INT" uuid="ce1631dc-8d63-4e74-bd90-1a73d253aaaf" />
- <field name="IN21" type="BOOL" uuid="e367ce0c-b7b8-47f2-8436-2dfc58a162df" />
- <field name="EN30" type="BOOL" uuid="c8c68b33-80a6-4914-9d35-0ff4a7f65f71" />
- <field name="EN31" type="BOOL" uuid="65407948-471c-4e07-98a4-473811f2b27c" />
- <field name="IN30" type="INT" uuid="02948696-ac58-4bd2-b6b3-d6ed78c8d165" />
- <field name="IN31" type="INT" uuid="988051df-453f-44cd-9a01-3fc88b2c1305" />
- <field name="IN41" type="BOOL" uuid="c036348a-aa8f-4be2-9e34-d96e2b791641" />
- </inputs>
- <outputs>
- <field name="OUT00" type="INT" uuid="6b97689e-8d48-4316-bf4f-f584b3933201" />
- <field name="OUT10" type="INT" uuid="ab9639b4-514d-40d6-bd83-1d45ff8f834f" />
- <field name="OUT20" type="BOOL" uuid="a461efc4-eb90-44f4-a48f-2736d168315f" />
- <field name="OUT30" type="INT" uuid="8f62522d-8b79-4aee-bf96-3456369e377e" />
- <field name="OUT40" type="BOOL" uuid="823c0559-25ab-40d2-a867-0a486baf618a" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="3058b782-2969-4d2d-9420-fe85ab5f94b4" />
- </retval>
- </interface>
- <grids>
- <grid height="26" uuid="c9739c98-7914-4c32-9287-5187e6dab1b3" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="360de16b-c943-407d-bccf-34dead776030" />
- <wire id="1" uuid="fe7d0882-562f-44f3-a368-647cfc2d5710" />
- <wire id="2" uuid="16947583-7446-4144-9037-0651b83499e8" />
- <wire id="3" uuid="94749194-1e2a-4ff3-88af-d0c1a31bd2d8" />
- <wire id="4" uuid="1bb00e20-6eb5-4b27-b491-f9d51fc385a1" />
- <wire id="5" uuid="d2aab782-65a8-4815-aff0-e6cfc6cbed5f" />
- <wire id="6" uuid="f4dc8e5b-f119-4be4-ba7e-2cef81b0a5d0" />
- <wire id="7" uuid="a12a5d58-a361-4ed5-83ec-b8942d5bc590" />
- <wire id="8" uuid="57db877d-a933-48d0-a918-7ccc76920be0" />
- <wire id="9" uuid="e705056a-e895-4cb3-84e6-6006c13cb0ac" />
- <wire id="10" uuid="6b8bb1e4-18c6-4e91-b7a5-3b6a5ce21e88" />
- <wire id="11" uuid="09d5bf0f-57bb-4a5d-be54-4a91fe050710" />
- <wire id="12" uuid="a78dcbc9-0c06-40a4-bf35-9a36be27af1e" />
- <wire id="13" uuid="0db805f8-79aa-4538-86cf-c2434e0f0602" />
- <wire id="14" uuid="7314a6f0-e83f-441e-a0eb-afee989616fc" />
- <wire id="15" uuid="0242c03c-7c8e-413a-9ab4-337e1cf9102b" />
- <wire id="16" uuid="74ce0253-674b-45c7-8182-408dfdc53e41" />
- <wire id="17" uuid="a6ac6fab-8bb5-4762-83cd-053193f70668" />
- <wire id="18" uuid="ce319dde-12bd-49bf-b784-a1bc0c455640" />
- <wire id="19" uuid="a9aaea9e-0b3b-43f8-9650-970ff8d59d15" />
- <wire id="20" uuid="af0607f1-77f8-4df6-a9ba-35dcfc722d4a" />
- </wires>
- <elements>
- <element subtype="and" type="boolean" uuid="385ed004-7faa-4777-bc2f-fdf8c25502ca" x="2" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="de4668e2-00d2-4351-ab87-4188ecc312da" wire="0" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="a8784a64-51f4-4d42-8341-283f291ae809" wire="1" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="a429e67b-2cca-4935-acf8-b0857eef0b37" wire="11" />
- </connections>
- </element>
- <element content="#EN00" subtype="load" type="operand" uuid="564ff15b-2d9f-4a82-9b90-2f54a9e8c46b" x="1" y="1">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="287a241c-a3cc-4ddf-b6e3-19502b21ac9d" wire="0" />
- </connections>
- </element>
- <element content="#EN01" subtype="load" type="operand" uuid="decc43f9-5d03-44ae-b9d8-a3b4f5acadec" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="bb250852-1c86-407a-a25d-72f3e671fee1" wire="1" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="d80851cf-578c-4690-b251-ddbefc514967" x="2" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="348992c3-a541-455a-8e9c-0327e7de78d6" wire="8" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="32cc8717-24cf-44f0-8192-65638a6ce9f6" x="2" y="5">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="79cb3ac2-5729-430b-8b9e-1591f08996b1" wire="9" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="e03c1ea0-49c1-438f-8675-7eb33214e42e" x="4" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="f2283abc-ad79-448d-8e30-214f633605cc" wire="10" />
- </connections>
- </element>
- <element subtype="and" type="boolean" uuid="5c65fa41-d9c6-4814-b6b6-078d6f5a3360" x="4" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="15e94e12-0cde-4c20-8ba7-901fae536e90" wire="15" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="9634f022-fe63-427f-b417-63cdfecd4b61" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="ac646329-aa48-4240-9b59-21f33b0ef1f1" wire="3" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="8328f746-6149-497e-855c-e22e249cb176" x="2" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="280fd472-51e6-4857-9f99-fc130ee1fa58" wire="12" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="e37a5ebc-313a-41b3-89e5-f29682e83e83" x="2" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="eecd9abe-b65b-4daf-81b2-155972acdb31" wire="13" />
- </connections>
- </element>
- <element content="#OUT10" subtype="assign" type="operand" uuid="e9a1e653-0014-4014-997b-588d1494d540" x="4" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="6e5d581f-4769-444f-8f10-44f8b5d53b49" wire="14" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="b6cd8ac0-14ca-4e66-adcc-a5887e6b077a" x="3" y="12">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ab4d3e5c-2024-48ca-a30c-4dbfc3ae8add" wire="2" />
- </connections>
- </element>
- <element content="#OUT20" subtype="assign" type="operand" uuid="ee60cbf2-83f3-48af-8275-46bab4dbf5e9" x="5" y="12">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e287c16e-3163-456a-a21f-7e373eb34ceb" wire="3" />
- </connections>
- </element>
- <element subtype="and" type="boolean" uuid="d1d09344-221c-45b3-837f-db9313d2b1f1" x="2" y="15">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="801c719e-bce8-4fe5-85c1-7064fc41e611" wire="4" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="3abafe4f-96d3-4609-b239-547d38e4d2df" wire="5" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="300730e7-3e13-4828-9b7d-955fcefd4e18" wire="19" />
- </connections>
- </element>
- <element content="#EN30" subtype="load" type="operand" uuid="afa46e90-cbdc-4ed3-95f2-6b9ca5c8a103" x="1" y="15">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="797a4e5f-d7fd-40ff-abcc-7cc78a2bebac" wire="4" />
- </connections>
- </element>
- <element content="#EN31" subtype="load" type="operand" uuid="6ee2da52-7a2e-45c8-b414-adde56472098" x="1" y="16">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6f68f105-fff3-4c78-8e87-34cf5e45b4cc" wire="5" />
- </connections>
- </element>
- <element subtype="and" type="boolean" uuid="b1f6cbe2-096c-4a0d-93c4-9d8d4bf4dd56" x="4" y="20">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="f82dfedd-c007-46ea-966d-31441eb02608" wire="20" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="e3a4c7ee-db6a-4c0e-889a-8e2473205389" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="b0f7cca3-9efe-45a6-b841-5aa298f81c23" wire="7" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="6899e5e2-000d-4a22-9b15-4046e9b90578" x="2" y="18">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="e371b827-b365-46c8-ac16-1b31b62556f7" wire="16" />
- </connections>
- </element>
- <element content="#IN31" subtype="load" type="operand" uuid="4c7db268-e44e-43cf-aba0-c1094008bad4" x="2" y="19">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="116cef20-bd35-4e97-b571-fa10a4b50282" wire="17" />
- </connections>
- </element>
- <element content="#OUT30" subtype="assign" type="operand" uuid="314027cb-d61f-46a5-823d-31cb624f2b17" x="4" y="18">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="70a4d59e-4652-44c1-8e19-2f929454b2d1" wire="18" />
- </connections>
- </element>
- <element content="#IN41" subtype="load" type="operand" uuid="d85146bc-1243-4fe0-be7b-565df6d6230c" x="3" y="21">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ab6b00bf-b3b9-4960-9dc1-2ac7693a5f29" wire="6" />
- </connections>
- </element>
- <element content="#OUT40" subtype="assign" type="operand" uuid="1ea45baa-cd1f-4e37-9987-247c8e8c06a0" x="5" y="21">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="95adb1ea-f44a-4f84-b83a-402e82daaac1" wire="7" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="96cd40fc-38a0-4046-be43-614da19ede23" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="002ad31c-c4fe-40f5-88f1-81c6d6c5cd61" wire="11" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="7ebe5882-80d3-4e4b-a11e-b98c60c65321" wire="8" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="96c39d2b-dc82-42ed-a410-84d724af4707" wire="9" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="5cbd4e59-9994-4fb5-99ce-d0ac95b1f80b" wire="10" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="408fd5b7-7b1d-40b7-8db0-40dc9e69f982" wire="-1" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="3a216990-f43b-46af-98e8-e6ae95379968" x="3" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="d411233a-e875-4fb7-bf40-599c1ef2e48c" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="15178018-1cd2-4b38-85aa-8da5baaa7a50" wire="12" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="94399ae2-0010-4a0a-bb25-7658f5a66deb" wire="13" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="6b270089-dd6f-41c7-9f87-269631f9f740" wire="14" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="ca709b74-cbd6-484e-957f-d30ff32220d1" wire="15" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="add12bc2-0016-4a51-9f8f-59bc6f4700d2" x="3" y="17">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="d167fc71-3423-4355-ab55-5182144d0d87" wire="19" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="6d073ad0-c5c8-421c-8031-0a1ac662e1de" wire="16" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="b869b570-6475-4d3d-b420-b87e23ce7e97" wire="17" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b0ca74f7-2527-4e6c-aeec-d0833bdde1a1" wire="18" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="8af0dc8f-4cf8-4875-a4e4-7de468923f5a" wire="20" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="shift_5"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_shift_5"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="EN0" type="BOOL" uuid="51849bfe-9640-462c-8947-6cb9d6998eba" />
- <field name="IN00" type="INT" uuid="c9d6215d-ee7d-42a0-9279-0f33aba5310c" />
- <field name="IN01" type="INT" uuid="6207aa64-321b-4825-88aa-78a7bbcfc15a" />
- <field name="EN1" type="BOOL" uuid="13ad3026-979a-48bf-8768-6def1f07d564" />
- <field name="IN11" type="INT" uuid="878aa1cc-41ae-43bf-99ef-c37591e52dd1" />
- </inputs>
- <outputs>
- <field name="OUT00" type="INT" uuid="f2e0bb4f-78e4-4985-afa0-6966e11c6121" />
- <field name="ENO0" type="BOOL" uuid="7a5cf79f-7962-4bf1-bde8-6189a908d925" />
- <field name="OUT10" type="INT" uuid="c99ba77d-15ec-460e-9704-0237df045bde" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="9cc78334-1fa5-4d9e-aff1-99ce71310d65" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="32310b0c-83db-4dc0-81df-2c1d8f3d0fa4" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="95ea3be2-7c64-4aef-9f51-dcc1dfb22264" />
- <wire id="1" uuid="33d41bc9-5a6f-4171-8a4e-cc2f8553b26d" />
- <wire id="2" uuid="69bbdec9-e542-4567-b356-622e4887bb96" />
- <wire id="3" uuid="9c88112a-36cd-4101-b177-21ff53af54de" />
- <wire id="4" uuid="210fb57b-0dcf-4e48-8a05-cc40a5997ab4" />
- <wire id="5" uuid="9d863bb3-4f6a-4c44-ba2b-49d4841c13f2" />
- <wire id="6" uuid="4c340d19-964d-48e0-9374-cdfb501c317f" />
- <wire id="7" uuid="8ddc51e6-b340-4ddc-ab93-f67cdfae775c" />
- <wire id="8" uuid="b8cca9fc-45e4-41fb-8167-cbc113d07ea3" />
- </wires>
- <elements>
- <element content="#EN0" subtype="load" type="operand" uuid="1293d2d8-6b08-4f30-b5b5-7edc46b4644f" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="3e0935b2-d79e-40b7-a4f4-00a0fdc4cdf3" wire="0" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="d14c2bb6-748b-49dd-b686-b7480f40041a" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="c89df2c3-7772-4e39-8dcc-663d8b7a0e5c" wire="1" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="775238be-6288-4758-bf33-842abde9b987" x="1" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="49b6df28-2bba-463a-bd6a-4c7b0bedc06f" wire="2" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="0f8c02c3-b744-4304-8386-7a1aba120fe4" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="cf7aa243-fc85-44b8-8851-972b04238cf4" wire="3" />
- </connections>
- </element>
- <element content="#ENO0" subtype="assign" type="operand" uuid="359ac892-6130-4177-8f0d-c074cb7f8074" x="3" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="484c8625-daf1-45a1-a21e-fa5b13317ddb" wire="4" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="b5855e63-332c-44ae-97bb-f1bfd5f51aa1" x="5" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ccf34514-80fd-435d-9de9-aa9769ad657c" wire="5" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="4fa7be3a-149e-4a67-a5c7-6601fe58e0ba" x="5" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ab32762f-8a1b-441b-a20f-22ab023eb11b" wire="6" />
- </connections>
- </element>
- <element content="#OUT10" subtype="assign" type="operand" uuid="70e0dddb-0d61-4313-aa53-aeee8e21c48c" x="7" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="de201fdc-dafa-4405-872a-181cd9da4779" wire="7" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="2ab4f73e-1d29-4f75-9943-98f57a4532f8" x="2" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="e0a54a09-bb6c-4480-b657-dd1de22adfdc" wire="0" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="377bc1d0-4b01-42fe-8d22-97569fadbec0" wire="1" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="fdc57c81-2f7f-4124-ad8f-e633d96d4ecb" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b16224e1-334f-41a4-a6d9-d2f7d360f9c6" wire="3" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="24d2dcc0-d024-44a2-9d08-cdab96b5b295" wire="8" />
- <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="df7b41f8-4000-4df0-b0cc-b593ca91fd32" wire="4" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="0f6ea222-f16b-4101-9ca3-408aea0f7abe" x="6" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="3f0805b6-c40b-4bb8-99a2-c31afb0d4979" wire="5" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="95583695-87c3-4f60-b52b-9ae139a3ece1" wire="8" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="f5d51daf-728a-4929-a9c2-66b35f911bd6" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="fa653149-b9b0-4b85-9c1c-b37d36858817" wire="7" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="64878eb2-8ef5-4518-8fe5-4a04055979d2" wire="-1" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="shift_6"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_shift_6"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="9e03547b-4f28-4c3e-b324-8ae4bfebda6e" />
- <field name="IN01" type="INT" uuid="952076e0-cae6-4c17-9d14-8587b31731c8" />
- <field name="EN0" type="BOOL" uuid="3cbde14e-9076-4968-af32-4eb110317c1c" />
- <field name="IN10" type="INT" uuid="ee4e70ce-b727-4615-bea1-be5eb46da432" />
- <field name="IN21" type="INT" uuid="c5837d0e-4b28-46b6-b593-ddec6a7c1e1b" />
- <field name="IN30" type="INT" uuid="8fbfd1f1-dce1-4a7d-9e4d-f5ba79e0ebce" />
- <field name="EN3" type="BOOL" uuid="9f191c8e-5a00-4574-8204-2be75b18a1fe" />
- </inputs>
- <outputs>
- <field name="ENO10" type="BOOL" uuid="c98600f0-ac4b-4cb6-b371-6cf22ca4b95f" />
- <field name="ENO20" type="BOOL" uuid="993e0b70-7707-4867-9620-abfd401729e1" />
- <field name="ENO30" type="BOOL" uuid="0fef4a83-92f8-4cb0-b2b4-a1436524ce53" />
- <field name="OUT40" type="INT" uuid="7f8f31ce-c245-4720-b2ef-3764c9b82c67" />
- <field name="ENO40" type="BOOL" uuid="86adc230-17c5-4da9-b53e-ff154751f3bf" />
- <field name="OUT50" type="INT" uuid="4cca48fb-eb92-40df-ab65-d77de18ce0cd" />
- <field name="ENO50" type="BOOL" uuid="b802d47c-cdf4-4d42-ba51-93ed803f57cb" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="91848d45-bf35-45db-8681-ac3e27d10e56" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="227dad2f-3b65-4968-aa77-05665cbf5de7" width="13">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="d4cecd01-c855-4356-a324-d24632819a5c" />
- <wire id="1" uuid="4cc08368-77ed-4f85-86c8-01c0e99c446b" />
- <wire id="2" uuid="ab5626bf-1d12-4445-b315-98c75d1d7042" />
- <wire id="3" uuid="6ce1f7ed-3d5b-4c45-bf7f-14283c05c6e6" />
- <wire id="4" uuid="7ea8930e-aff0-498a-af92-73b85515b07e" />
- <wire id="5" uuid="b0e954df-fbc8-49f2-aa97-cfe4379342ce" />
- <wire id="6" uuid="a0278f00-cad8-4979-8cc7-74b2c8e8d754" />
- <wire id="7" uuid="33080f4e-8cfe-4726-b4a1-b6ba176c5590" />
- <wire id="8" uuid="5d362bd7-4f65-4d8d-a105-447e2710ad0e" />
- <wire id="9" uuid="9bc04c60-ab84-4183-af49-a78e3ff1a798" />
- <wire id="10" uuid="f0bb95a0-b698-4cf8-94d5-9861ab34dfd5" />
- <wire id="11" uuid="34460494-baae-4643-bbc5-b15632c6793e" />
- <wire id="12" uuid="e1579dcb-028b-4c74-9aa2-4a40b4fe7b62" />
- <wire id="13" uuid="95890827-ee46-42a5-83d9-12c579ad4b50" />
- <wire id="14" uuid="b9a421f4-a196-44b0-86cd-5ed57402a487" />
- <wire id="15" uuid="5362a165-8169-4fc2-b87a-ab19cf2be951" />
- <wire id="16" uuid="89723426-5bbf-457e-a9c2-c7ca3142037b" />
- <wire id="17" uuid="490e8353-e27b-4e07-a470-1c467c55b095" />
- <wire id="18" uuid="a3a9307b-53fc-4283-8bc1-f111a696f1d1" />
- <wire id="19" uuid="06f7405d-dbf9-4d4a-90a0-841f8a1b5d00" />
- </wires>
- <elements>
- <element content="#EN0" subtype="load" type="operand" uuid="f1fd000a-6d8d-4115-9d1a-a17cb58499ab" x="1" y="5">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="e29a5ee7-716c-4f2a-9084-2b64cff86d57" wire="0" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="231c7579-a190-41b3-bf53-a85f7471a307" x="1" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="901bf4f5-ab45-46b5-a2a3-7c32bdc0fa7e" wire="1" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="e17d632a-a757-4c6d-94ee-c4f53b92f827" x="1" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="c9904a92-4645-4c14-b961-10f6c6299a5e" wire="2" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="ee2c7f07-586e-49d0-a0ff-ad0048c7eff1" x="4" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="8a50569b-942d-4499-ae9d-a43964a0a9e5" wire="3" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="e4051842-81b4-495d-8553-b088c29d4d28" x="4" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="9bafeef8-6d3a-46ad-a8af-3d221dcbd90e" wire="6" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="a4d7ab8f-5e59-4456-ab76-b579e5321234" x="4" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ba136c79-1e7e-4300-b991-3566d900a178" wire="9" />
- </connections>
- </element>
- <element content="#EN3" subtype="load" type="operand" uuid="762dd82d-d55d-443b-9e85-bcc69b8519fa" x="4" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="508fab6a-5cdf-4f47-b68e-77c654ebb25a" wire="10" />
- </connections>
- </element>
- <element content="#ENO10" subtype="assign" type="operand" uuid="38da4e4f-514a-4b47-a242-3f3a32a54e9a" x="6" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="0f9e2c82-fac2-443b-83ca-43f0c729bf90" wire="4" />
- </connections>
- </element>
- <element content="#ENO30" subtype="assign" type="operand" uuid="46bec9de-07c3-4da2-87b3-fd654cf3319b" x="6" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="58c115d3-0d06-46be-b3d1-f78207425456" wire="11" />
- </connections>
- </element>
- <element content="#ENO20" subtype="assign" type="operand" uuid="11e64456-34fd-4d99-938e-feb8a5a01f7f" x="6" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="5dcc40bb-dc6e-4a51-ba18-87b4297fa7af" wire="7" />
- </connections>
- </element>
- <element content="#OUT40" subtype="assign" type="operand" uuid="4a006e2b-8fc5-49c0-b494-30097cde5db4" x="9" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="1990a045-677a-438b-bf94-6a9e73525655" wire="13" />
- </connections>
- </element>
- <element content="#ENO40" subtype="assign" type="operand" uuid="e391f960-e3a3-4e6a-99e6-802537074316" x="9" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="2ea8f301-b8bb-4b9d-9f49-f15254292512" wire="14" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="e60f94e4-c5f3-4173-9ba2-4fd3a04c441c" x="2" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="96435077-1096-4073-9ad7-5ad972efc0b7" wire="0" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="faffd995-9c41-4f98-9ae2-8f229d43b385" wire="1" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="8a795fb8-9be8-45d9-8a03-03afe63a5a22" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="f4a5ae2c-6783-484d-8638-8941455874fd" wire="5" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="c1b48b2d-a194-44c0-95f7-a2a8689c34fe" wire="8" />
- <connection dir_in="0" dir_out="1" pos="2" text="OUT2" uuid="bb99556e-d79c-4e0f-8afe-c5ec7bcfc7fd" wire="12" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="6435ac55-1d74-4e92-bd74-ca991d2c6abf" wire="-1" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="76532d8d-620f-4017-be25-350c77c2bf49" x="5" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="1bd07fed-1ff0-44cc-80ef-b2ad17af8ca7" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="3e5d02f4-436a-4b40-bb31-793077743ccc" wire="3" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="c38b1959-f79d-4575-8f07-e79d32e5b795" wire="5" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="6f2aa2e8-fb27-4c0b-b66d-5ad4865119bc" wire="15" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="0b9e4bb7-1521-479d-9ce1-2b234cab5cc0" wire="4" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="0496b039-64c2-4462-8d05-8440bcc4e414" x="5" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="6b503c2f-e963-4555-9fe4-d3e230d230cc" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="b965479f-85f6-49fc-998a-757392ea4d07" wire="8" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="677b6526-7117-4178-88aa-b6c864931981" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="89c4a5f3-e865-4258-b8c7-3970cc792890" wire="16" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="e80c2a18-0f0d-4282-8c09-1d97a70620b7" wire="7" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="a3747d67-0e76-4aef-8ac8-2451434b2a11" x="5" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="e0c0a582-99ac-4c8b-ae55-3be9c297253c" wire="10" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="3c3566ea-0689-48cb-8dac-57c2d3fa87e2" wire="9" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="ad92d710-2806-44df-90d9-5e3cfb15f18c" wire="12" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b4ef6c03-163f-44e7-ac92-f0c9e7c4d4fe" wire="19" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="694b9177-e7f8-4557-a999-329303efd181" wire="11" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="c8a2f63e-6220-4099-8e0a-6cf72bcf2625" x="8" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="392cdee5-8609-476e-9a47-996452b71263" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="27db4bf1-504e-403a-8fe3-fb1125bb30d1" wire="15" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="5cef8223-ca39-4483-8b6b-1b7d1cb7a8ef" wire="16" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="78894475-83e3-43ee-a316-416c0697072b" wire="13" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="b09bbff2-e12a-452f-92fb-3f7889149e13" wire="14" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="b6149e58-a51b-4578-8e63-39fe1674701e" x="8" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="fdb8ce06-d4a9-4c92-b980-884a06e4e07b" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="0eae3fdd-6461-44d1-8ebf-2d746445915e" wire="19" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="c8dfdde0-e7d6-4d65-8ae8-897503b1ce94" wire="16" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="61cac637-5f83-40ac-9664-788158e9bc8c" wire="17" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="35b91d47-70c8-4477-b7b7-f29597da9f8e" wire="18" />
- </connections>
- </element>
- <element content="#OUT50" subtype="assign" type="operand" uuid="25b5f628-77d0-4565-ac3b-0b4aaa0601f8" x="9" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="a3577a38-522e-4c75-b549-a2d819fe6f0c" wire="17" />
- </connections>
- </element>
- <element content="#ENO50" subtype="assign" type="operand" uuid="bfeb7094-159b-4515-bc2b-61106725b25e" x="9" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="99a470aa-da59-42cb-9c58-44c7926b6adc" wire="18" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="shift_7"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_shift_7"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="85635e71-d40a-4914-be1c-5c3fe5ac0988" />
- <field name="IN01" type="INT" uuid="6a528515-03a5-4d6f-b69a-e4142e1f39c4" />
- <field name="EN0" type="BOOL" uuid="f635d1b0-86ec-4b78-a59d-8040eb66f98a" />
- </inputs>
- <outputs>
- <field name="OUT0" type="INT" uuid="ec92d7fd-6249-4b55-b36e-0a5011b196f9" />
- <field name="OUT0_LOB" type="BOOL" uuid="076fa44e-5613-4729-873f-3eb92b14e59d" />
- <field name="ENO0" type="BOOL" uuid="23416eba-b70d-4905-b439-992f27560895" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="3c0cd5ba-b033-4f09-9a5a-4db305d9fef5" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="dfbcdb91-a75a-4208-a93d-03b389421df0" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="b53ccaae-3e53-404f-9453-5e116d844fa9" />
- <wire id="1" uuid="a213259c-d8d0-4a7f-87d2-7833e669ba6f" />
- <wire id="2" uuid="f81b66ba-7572-482b-8d46-8f6a75d9a251" />
- <wire id="3" uuid="d46853e5-5030-4e52-b85c-23defa0322a3" />
- <wire id="4" uuid="39eb531e-06c3-43cd-979b-45571ef1cd81" />
- <wire id="5" uuid="6adddee3-7bef-4fe2-a00c-33295454be1f" />
- </wires>
- <elements>
- <element content="#IN00" subtype="load" type="operand" uuid="96314967-025a-4cb2-b609-29550231f021" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6bb555ad-f4f5-4421-bbe0-2b7398391cd4" wire="3" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="e38f60b2-6d30-4047-b9ba-e663e0c3573e" x="1" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="99ba8de2-839b-4a87-a9a6-e76871058773" wire="4" />
- </connections>
- </element>
- <element content="#OUT0" subtype="assign" type="operand" uuid="9edf29f6-a31d-4d91-8ed2-b5e50ef0bf82" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e24055d7-88f0-47d8-9bff-45e6e551860e" wire="2" />
- </connections>
- </element>
- <element content="#OUT0_LOB" subtype="assign" type="operand" uuid="59a6fa75-6748-4e80-ae84-845cdd247c45" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e45fca65-b772-4d88-9c79-13c540b6708e" wire="1" />
- </connections>
- </element>
- <element content="#EN0" subtype="load" type="operand" uuid="60be6321-fdb1-49d7-add3-8f041b08b646" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="5949138b-391e-4541-b50d-bdb1a2603704" wire="5" />
- </connections>
- </element>
- <element content="#ENO0" subtype="assign" type="operand" uuid="2637497b-e2a9-4a7a-97f8-2a604c7d999a" x="3" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="92dc3d19-ac93-4d57-bd3b-dd0658764fd4" wire="0" />
- </connections>
- </element>
- <element subtype="ssi" type="shift" uuid="291e9716-172b-4120-a144-890b4d97335a" x="2" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="333fa0b6-eccd-41e1-82b4-fb89d135dacd" wire="5" />
- <connection dir_in="1" dir_out="0" pos="1" text="N" uuid="da6c66ad-9838-4381-b111-6d8682883b2e" wire="3" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="33840d1e-bcd4-4de9-ae79-08d91332fbb5" wire="4" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="9a5b167f-24b1-406f-ae3d-c4888e89d950" wire="2" />
- <connection dir_in="0" dir_out="1" pos="1" text="LOB" uuid="f3836dd6-41d3-42a1-814f-b5c502c2e6de" wire="1" />
- <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="78cb21f3-3d5c-4eb3-b7c6-b778127666ea" wire="0" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- </language_fup>
- <!-- Symbol table configuration -->
- <symbols>
- <!-- symbol table source code -->
- <source enabled="1"
- name="Main table"
- type="3"><![CDATA[
- 126,FC_shift_0 FC 0 FC 0
- 126,FC_TEST_shift_0 FC 1 FC 1
- 126,FC_shift_1 FC 10 FC 10
- 126,FC_TEST_shift_1 FC 11 FC 11
- 126,FC_shift_2 FC 20 FC 20
- 126,FC_TEST_shift_2 FC 21 FC 21
- 126,FC_shift_3 FC 30 FC 30
- 126,FC_TEST_shift_3 FC 31 FC 31
- 126,FC_shift_4 FC 40 FC 40
- 126,FC_TEST_shift_4 FC 41 FC 41
- 126,FC_shift_5 FC 50 FC 50
- 126,FC_TEST_shift_5 FC 51 FC 51
- 126,FC_shift_6 FC 60 FC 60
- 126,FC_TEST_shift_6 FC 61 FC 61
- 126,FC_shift_7 FC 70 FC 70
- 126,FC_TEST_shift_7 FC 71 FC 71
- ]]></source>
- </symbols>
- <!-- Core server link configuration -->
- <core_link>
- <!-- Locally spawned core server -->
- <spawn_local enable="1"
- interpreters="$DEFAULT"
- port_range_begin="4183"
- port_range_end="8278" />
- <!-- Remote server connection -->
- <connect host="localhost"
- port="4151"
- timeout_ms="3000" />
- <!-- Transport tunnel -->
- <tunnel local_port="-1"
- type="0">
- <ssh executable="ssh"
- port="22"
- user="pi" />
- </tunnel>
- </core_link>
- <!-- Graphical user interface configuration -->
- <gui>
- <editor autoindent="1"
- paste_autoindent="1"
- validation="1" />
- </gui>
- </awlsim_project>
|