fup-movebox.awlpro 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <!-- Awlsim project file generated by awlsim-0.66.0-pre -->
  3. <awlsim_project date_create="2012-08-13 00:00:00.000000"
  4. date_modify="2018-07-08 18:00:19.384729"
  5. format_version="1">
  6. <!-- CPU core configuration -->
  7. <cpu>
  8. <!-- CPU core feature specification -->
  9. <specs call_stack_size="256"
  10. nr_accus="2"
  11. nr_counters="256"
  12. nr_flags="2048"
  13. nr_inputs="128"
  14. nr_localbytes="1024"
  15. nr_outputs="128"
  16. nr_timers="256"
  17. parenthesis_stack_size="7" />
  18. <!-- CPU core configuration -->
  19. <config clock_memory_byte="-1"
  20. cycle_time_limit_us="1000000"
  21. ext_insns_enable="1"
  22. mnemonics="2"
  23. ob_startinfo_enable="0"
  24. run_time_limit_us="-1" />
  25. </cpu>
  26. <!-- AWL/STL language configuration -->
  27. <language_awl>
  28. <!-- AWL/STL source code -->
  29. <source enabled="1"
  30. name="Main"
  31. type="0"><![CDATA[
  32. ORGANIZATION_BLOCK OB 1
  33. BEGIN
  34. CALL "FC_TEST_movebox_0"
  35. CALL "FC_TEST_movebox_1"
  36. CALL "FC_TEST_movebox_2"
  37. CALL SFC 46 // STOP CPU
  38. END_ORGANIZATION_BLOCK
  39. ]]></source>
  40. <!-- AWL/STL source code -->
  41. <source enabled="1"
  42. name="TEST movebox 0"
  43. type="0"><![CDATA[
  44. FUNCTION "FC_TEST_movebox_0" : VOID
  45. BEGIN
  46. L 1111
  47. T MW 0
  48. T MW 2
  49. T MW 4
  50. T MW 6
  51. T MW 8
  52. T MW 10
  53. T MW 12
  54. T MW 14
  55. T MW 16
  56. T MW 18
  57. T MW 20
  58. T MW 22
  59. T MW 24
  60. T MW 26
  61. T MW 28
  62. T MW 30
  63. T MW 32
  64. L 0
  65. T MW 50
  66. CALL "FC_movebox_0" (
  67. // VAR_INPUT
  68. IN0 := 4242, // INT
  69. IN1 := 4343, // INT
  70. EN2 := FALSE, // BOOL
  71. IN2 := 4444, // INT
  72. EN3 := FALSE, // BOOL
  73. IN3 := 4545, // INT
  74. EN4 := FALSE, // BOOL
  75. IN4 := 4646, // INT
  76. EN5 := FALSE, // BOOL
  77. IN5 := 4747, // INT
  78. IN6 := 4848, // INT
  79. IN7 := 4949, // INT
  80. IN8 := 5050, // INT
  81. // VAR_OUTPUT
  82. OUT0 := MW 0, // INT
  83. OUT1_0 := MW 2, // INT
  84. OUT1_1 := MW 4, // INT
  85. OUT2 := MW 6, // INT
  86. OUT3_0 := MW 8, // INT
  87. OUT3_1 := MW 10, // INT
  88. OUT4 := MW 12, // INT
  89. ENO4 := M 50.0, // BOOL
  90. OUT5_0 := MW 14, // INT
  91. OUT5_1 := MW 16, // INT
  92. ENO5 := M 50.1, // BOOL
  93. OUT6 := MW 18, // INT
  94. ENO6 := M 50.2, // BOOL
  95. OUT7_0 := MW 20, // INT
  96. OUT7_1 := MW 22, // INT
  97. ENO7 := M 50.3, // BOOL
  98. OUT8_0 := MW 24, // INT
  99. OUT8_1 := MW 26, // INT
  100. OUT8_2 := MW 28, // INT
  101. OUT8_3 := MW 30, // INT
  102. OUT8_4 := MW 32, // INT
  103. )
  104. __ASSERT== MW 0, 4242
  105. __ASSERT== MW 2, 4343
  106. __ASSERT== MW 4, 4343
  107. __ASSERT== MW 6, 1111
  108. __ASSERT== MW 8, 1111
  109. __ASSERT== MW 10, 1111
  110. __ASSERT== MW 12, 1111
  111. __ASSERT== M 50.0, FALSE
  112. __ASSERT== MW 14, 1111
  113. __ASSERT== MW 16, 1111
  114. __ASSERT== M 50.1, FALSE
  115. __ASSERT== MW 18, 4848
  116. __ASSERT== M 50.2, TRUE
  117. __ASSERT== MW 20, 4949
  118. __ASSERT== MW 22, 4949
  119. __ASSERT== M 50.3, TRUE
  120. __ASSERT== MW 24, 5050
  121. __ASSERT== MW 26, 5050
  122. __ASSERT== MW 28, 5050
  123. __ASSERT== MW 30, 5050
  124. __ASSERT== MW 32, 5050
  125. L 1111
  126. T MW 0
  127. T MW 2
  128. T MW 4
  129. T MW 6
  130. T MW 8
  131. T MW 10
  132. T MW 12
  133. T MW 14
  134. T MW 16
  135. T MW 18
  136. T MW 20
  137. T MW 22
  138. T MW 24
  139. T MW 26
  140. T MW 28
  141. T MW 30
  142. T MW 32
  143. L 0
  144. T MW 50
  145. CALL "FC_movebox_0" (
  146. // VAR_INPUT
  147. IN0 := 4242, // INT
  148. IN1 := 4343, // INT
  149. EN2 := TRUE, // BOOL
  150. IN2 := 4444, // INT
  151. EN3 := FALSE, // BOOL
  152. IN3 := 4545, // INT
  153. EN4 := FALSE, // BOOL
  154. IN4 := 4646, // INT
  155. EN5 := FALSE, // BOOL
  156. IN5 := 4747, // INT
  157. IN6 := 4848, // INT
  158. IN7 := 4949, // INT
  159. IN8 := 5050, // INT
  160. // VAR_OUTPUT
  161. OUT0 := MW 0, // INT
  162. OUT1_0 := MW 2, // INT
  163. OUT1_1 := MW 4, // INT
  164. OUT2 := MW 6, // INT
  165. OUT3_0 := MW 8, // INT
  166. OUT3_1 := MW 10, // INT
  167. OUT4 := MW 12, // INT
  168. ENO4 := M 50.0, // BOOL
  169. OUT5_0 := MW 14, // INT
  170. OUT5_1 := MW 16, // INT
  171. ENO5 := M 50.1, // BOOL
  172. OUT6 := MW 18, // INT
  173. ENO6 := M 50.2, // BOOL
  174. OUT7_0 := MW 20, // INT
  175. OUT7_1 := MW 22, // INT
  176. ENO7 := M 50.3, // BOOL
  177. OUT8_0 := MW 24, // INT
  178. OUT8_1 := MW 26, // INT
  179. OUT8_2 := MW 28, // INT
  180. OUT8_3 := MW 30, // INT
  181. OUT8_4 := MW 32, // INT
  182. )
  183. __ASSERT== MW 0, 4242
  184. __ASSERT== MW 2, 4343
  185. __ASSERT== MW 4, 4343
  186. __ASSERT== MW 6, 4444
  187. __ASSERT== MW 8, 1111
  188. __ASSERT== MW 10, 1111
  189. __ASSERT== MW 12, 1111
  190. __ASSERT== M 50.0, FALSE
  191. __ASSERT== MW 14, 1111
  192. __ASSERT== MW 16, 1111
  193. __ASSERT== M 50.1, FALSE
  194. __ASSERT== MW 18, 4848
  195. __ASSERT== M 50.2, TRUE
  196. __ASSERT== MW 20, 4949
  197. __ASSERT== MW 22, 4949
  198. __ASSERT== M 50.3, TRUE
  199. __ASSERT== MW 24, 5050
  200. __ASSERT== MW 26, 5050
  201. __ASSERT== MW 28, 5050
  202. __ASSERT== MW 30, 5050
  203. __ASSERT== MW 32, 5050
  204. L 1111
  205. T MW 0
  206. T MW 2
  207. T MW 4
  208. T MW 6
  209. T MW 8
  210. T MW 10
  211. T MW 12
  212. T MW 14
  213. T MW 16
  214. T MW 18
  215. T MW 20
  216. T MW 22
  217. T MW 24
  218. T MW 26
  219. T MW 28
  220. T MW 30
  221. T MW 32
  222. L 0
  223. T MW 50
  224. CALL "FC_movebox_0" (
  225. // VAR_INPUT
  226. IN0 := 4242, // INT
  227. IN1 := 4343, // INT
  228. EN2 := FALSE, // BOOL
  229. IN2 := 4444, // INT
  230. EN3 := TRUE, // BOOL
  231. IN3 := 4545, // INT
  232. EN4 := FALSE, // BOOL
  233. IN4 := 4646, // INT
  234. EN5 := FALSE, // BOOL
  235. IN5 := 4747, // INT
  236. IN6 := 4848, // INT
  237. IN7 := 4949, // INT
  238. IN8 := 5050, // INT
  239. // VAR_OUTPUT
  240. OUT0 := MW 0, // INT
  241. OUT1_0 := MW 2, // INT
  242. OUT1_1 := MW 4, // INT
  243. OUT2 := MW 6, // INT
  244. OUT3_0 := MW 8, // INT
  245. OUT3_1 := MW 10, // INT
  246. OUT4 := MW 12, // INT
  247. ENO4 := M 50.0, // BOOL
  248. OUT5_0 := MW 14, // INT
  249. OUT5_1 := MW 16, // INT
  250. ENO5 := M 50.1, // BOOL
  251. OUT6 := MW 18, // INT
  252. ENO6 := M 50.2, // BOOL
  253. OUT7_0 := MW 20, // INT
  254. OUT7_1 := MW 22, // INT
  255. ENO7 := M 50.3, // BOOL
  256. OUT8_0 := MW 24, // INT
  257. OUT8_1 := MW 26, // INT
  258. OUT8_2 := MW 28, // INT
  259. OUT8_3 := MW 30, // INT
  260. OUT8_4 := MW 32, // INT
  261. )
  262. __ASSERT== MW 0, 4242
  263. __ASSERT== MW 2, 4343
  264. __ASSERT== MW 4, 4343
  265. __ASSERT== MW 6, 1111
  266. __ASSERT== MW 8, 4545
  267. __ASSERT== MW 10, 4545
  268. __ASSERT== MW 12, 1111
  269. __ASSERT== M 50.0, FALSE
  270. __ASSERT== MW 14, 1111
  271. __ASSERT== MW 16, 1111
  272. __ASSERT== M 50.1, FALSE
  273. __ASSERT== MW 18, 4848
  274. __ASSERT== M 50.2, TRUE
  275. __ASSERT== MW 20, 4949
  276. __ASSERT== MW 22, 4949
  277. __ASSERT== M 50.3, TRUE
  278. __ASSERT== MW 24, 5050
  279. __ASSERT== MW 26, 5050
  280. __ASSERT== MW 28, 5050
  281. __ASSERT== MW 30, 5050
  282. __ASSERT== MW 32, 5050
  283. L 1111
  284. T MW 0
  285. T MW 2
  286. T MW 4
  287. T MW 6
  288. T MW 8
  289. T MW 10
  290. T MW 12
  291. T MW 14
  292. T MW 16
  293. T MW 18
  294. T MW 20
  295. T MW 22
  296. T MW 24
  297. T MW 26
  298. T MW 28
  299. T MW 30
  300. T MW 32
  301. L 0
  302. T MW 50
  303. CALL "FC_movebox_0" (
  304. // VAR_INPUT
  305. IN0 := 4242, // INT
  306. IN1 := 4343, // INT
  307. EN2 := TRUE, // BOOL
  308. IN2 := 4444, // INT
  309. EN3 := TRUE, // BOOL
  310. IN3 := 4545, // INT
  311. EN4 := FALSE, // BOOL
  312. IN4 := 4646, // INT
  313. EN5 := FALSE, // BOOL
  314. IN5 := 4747, // INT
  315. IN6 := 4848, // INT
  316. IN7 := 4949, // INT
  317. IN8 := 5050, // INT
  318. // VAR_OUTPUT
  319. OUT0 := MW 0, // INT
  320. OUT1_0 := MW 2, // INT
  321. OUT1_1 := MW 4, // INT
  322. OUT2 := MW 6, // INT
  323. OUT3_0 := MW 8, // INT
  324. OUT3_1 := MW 10, // INT
  325. OUT4 := MW 12, // INT
  326. ENO4 := M 50.0, // BOOL
  327. OUT5_0 := MW 14, // INT
  328. OUT5_1 := MW 16, // INT
  329. ENO5 := M 50.1, // BOOL
  330. OUT6 := MW 18, // INT
  331. ENO6 := M 50.2, // BOOL
  332. OUT7_0 := MW 20, // INT
  333. OUT7_1 := MW 22, // INT
  334. ENO7 := M 50.3, // BOOL
  335. OUT8_0 := MW 24, // INT
  336. OUT8_1 := MW 26, // INT
  337. OUT8_2 := MW 28, // INT
  338. OUT8_3 := MW 30, // INT
  339. OUT8_4 := MW 32, // INT
  340. )
  341. __ASSERT== MW 0, 4242
  342. __ASSERT== MW 2, 4343
  343. __ASSERT== MW 4, 4343
  344. __ASSERT== MW 6, 4444
  345. __ASSERT== MW 8, 4545
  346. __ASSERT== MW 10, 4545
  347. __ASSERT== MW 12, 1111
  348. __ASSERT== M 50.0, FALSE
  349. __ASSERT== MW 14, 1111
  350. __ASSERT== MW 16, 1111
  351. __ASSERT== M 50.1, FALSE
  352. __ASSERT== MW 18, 4848
  353. __ASSERT== M 50.2, TRUE
  354. __ASSERT== MW 20, 4949
  355. __ASSERT== MW 22, 4949
  356. __ASSERT== M 50.3, TRUE
  357. __ASSERT== MW 24, 5050
  358. __ASSERT== MW 26, 5050
  359. __ASSERT== MW 28, 5050
  360. __ASSERT== MW 30, 5050
  361. __ASSERT== MW 32, 5050
  362. L 1111
  363. T MW 0
  364. T MW 2
  365. T MW 4
  366. T MW 6
  367. T MW 8
  368. T MW 10
  369. T MW 12
  370. T MW 14
  371. T MW 16
  372. T MW 18
  373. T MW 20
  374. T MW 22
  375. T MW 24
  376. T MW 26
  377. T MW 28
  378. T MW 30
  379. T MW 32
  380. L 0
  381. T MW 50
  382. CALL "FC_movebox_0" (
  383. // VAR_INPUT
  384. IN0 := 4242, // INT
  385. IN1 := 4343, // INT
  386. EN2 := FALSE, // BOOL
  387. IN2 := 4444, // INT
  388. EN3 := FALSE, // BOOL
  389. IN3 := 4545, // INT
  390. EN4 := TRUE, // BOOL
  391. IN4 := 4646, // INT
  392. EN5 := FALSE, // BOOL
  393. IN5 := 4747, // INT
  394. IN6 := 4848, // INT
  395. IN7 := 4949, // INT
  396. IN8 := 5050, // INT
  397. // VAR_OUTPUT
  398. OUT0 := MW 0, // INT
  399. OUT1_0 := MW 2, // INT
  400. OUT1_1 := MW 4, // INT
  401. OUT2 := MW 6, // INT
  402. OUT3_0 := MW 8, // INT
  403. OUT3_1 := MW 10, // INT
  404. OUT4 := MW 12, // INT
  405. ENO4 := M 50.0, // BOOL
  406. OUT5_0 := MW 14, // INT
  407. OUT5_1 := MW 16, // INT
  408. ENO5 := M 50.1, // BOOL
  409. OUT6 := MW 18, // INT
  410. ENO6 := M 50.2, // BOOL
  411. OUT7_0 := MW 20, // INT
  412. OUT7_1 := MW 22, // INT
  413. ENO7 := M 50.3, // BOOL
  414. OUT8_0 := MW 24, // INT
  415. OUT8_1 := MW 26, // INT
  416. OUT8_2 := MW 28, // INT
  417. OUT8_3 := MW 30, // INT
  418. OUT8_4 := MW 32, // INT
  419. )
  420. __ASSERT== MW 0, 4242
  421. __ASSERT== MW 2, 4343
  422. __ASSERT== MW 4, 4343
  423. __ASSERT== MW 6, 1111
  424. __ASSERT== MW 8, 1111
  425. __ASSERT== MW 10, 1111
  426. __ASSERT== MW 12, 4646
  427. __ASSERT== M 50.0, TRUE
  428. __ASSERT== MW 14, 1111
  429. __ASSERT== MW 16, 1111
  430. __ASSERT== M 50.1, FALSE
  431. __ASSERT== MW 18, 4848
  432. __ASSERT== M 50.2, TRUE
  433. __ASSERT== MW 20, 4949
  434. __ASSERT== MW 22, 4949
  435. __ASSERT== M 50.3, TRUE
  436. __ASSERT== MW 24, 5050
  437. __ASSERT== MW 26, 5050
  438. __ASSERT== MW 28, 5050
  439. __ASSERT== MW 30, 5050
  440. __ASSERT== MW 32, 5050
  441. L 1111
  442. T MW 0
  443. T MW 2
  444. T MW 4
  445. T MW 6
  446. T MW 8
  447. T MW 10
  448. T MW 12
  449. T MW 14
  450. T MW 16
  451. T MW 18
  452. T MW 20
  453. T MW 22
  454. T MW 24
  455. T MW 26
  456. T MW 28
  457. T MW 30
  458. T MW 32
  459. L 0
  460. T MW 50
  461. CALL "FC_movebox_0" (
  462. // VAR_INPUT
  463. IN0 := 4242, // INT
  464. IN1 := 4343, // INT
  465. EN2 := TRUE, // BOOL
  466. IN2 := 4444, // INT
  467. EN3 := FALSE, // BOOL
  468. IN3 := 4545, // INT
  469. EN4 := TRUE, // BOOL
  470. IN4 := 4646, // INT
  471. EN5 := FALSE, // BOOL
  472. IN5 := 4747, // INT
  473. IN6 := 4848, // INT
  474. IN7 := 4949, // INT
  475. IN8 := 5050, // INT
  476. // VAR_OUTPUT
  477. OUT0 := MW 0, // INT
  478. OUT1_0 := MW 2, // INT
  479. OUT1_1 := MW 4, // INT
  480. OUT2 := MW 6, // INT
  481. OUT3_0 := MW 8, // INT
  482. OUT3_1 := MW 10, // INT
  483. OUT4 := MW 12, // INT
  484. ENO4 := M 50.0, // BOOL
  485. OUT5_0 := MW 14, // INT
  486. OUT5_1 := MW 16, // INT
  487. ENO5 := M 50.1, // BOOL
  488. OUT6 := MW 18, // INT
  489. ENO6 := M 50.2, // BOOL
  490. OUT7_0 := MW 20, // INT
  491. OUT7_1 := MW 22, // INT
  492. ENO7 := M 50.3, // BOOL
  493. OUT8_0 := MW 24, // INT
  494. OUT8_1 := MW 26, // INT
  495. OUT8_2 := MW 28, // INT
  496. OUT8_3 := MW 30, // INT
  497. OUT8_4 := MW 32, // INT
  498. )
  499. __ASSERT== MW 0, 4242
  500. __ASSERT== MW 2, 4343
  501. __ASSERT== MW 4, 4343
  502. __ASSERT== MW 6, 4444
  503. __ASSERT== MW 8, 1111
  504. __ASSERT== MW 10, 1111
  505. __ASSERT== MW 12, 4646
  506. __ASSERT== M 50.0, TRUE
  507. __ASSERT== MW 14, 1111
  508. __ASSERT== MW 16, 1111
  509. __ASSERT== M 50.1, FALSE
  510. __ASSERT== MW 18, 4848
  511. __ASSERT== M 50.2, TRUE
  512. __ASSERT== MW 20, 4949
  513. __ASSERT== MW 22, 4949
  514. __ASSERT== M 50.3, TRUE
  515. __ASSERT== MW 24, 5050
  516. __ASSERT== MW 26, 5050
  517. __ASSERT== MW 28, 5050
  518. __ASSERT== MW 30, 5050
  519. __ASSERT== MW 32, 5050
  520. L 1111
  521. T MW 0
  522. T MW 2
  523. T MW 4
  524. T MW 6
  525. T MW 8
  526. T MW 10
  527. T MW 12
  528. T MW 14
  529. T MW 16
  530. T MW 18
  531. T MW 20
  532. T MW 22
  533. T MW 24
  534. T MW 26
  535. T MW 28
  536. T MW 30
  537. T MW 32
  538. L 0
  539. T MW 50
  540. CALL "FC_movebox_0" (
  541. // VAR_INPUT
  542. IN0 := 4242, // INT
  543. IN1 := 4343, // INT
  544. EN2 := FALSE, // BOOL
  545. IN2 := 4444, // INT
  546. EN3 := TRUE, // BOOL
  547. IN3 := 4545, // INT
  548. EN4 := TRUE, // BOOL
  549. IN4 := 4646, // INT
  550. EN5 := FALSE, // BOOL
  551. IN5 := 4747, // INT
  552. IN6 := 4848, // INT
  553. IN7 := 4949, // INT
  554. IN8 := 5050, // INT
  555. // VAR_OUTPUT
  556. OUT0 := MW 0, // INT
  557. OUT1_0 := MW 2, // INT
  558. OUT1_1 := MW 4, // INT
  559. OUT2 := MW 6, // INT
  560. OUT3_0 := MW 8, // INT
  561. OUT3_1 := MW 10, // INT
  562. OUT4 := MW 12, // INT
  563. ENO4 := M 50.0, // BOOL
  564. OUT5_0 := MW 14, // INT
  565. OUT5_1 := MW 16, // INT
  566. ENO5 := M 50.1, // BOOL
  567. OUT6 := MW 18, // INT
  568. ENO6 := M 50.2, // BOOL
  569. OUT7_0 := MW 20, // INT
  570. OUT7_1 := MW 22, // INT
  571. ENO7 := M 50.3, // BOOL
  572. OUT8_0 := MW 24, // INT
  573. OUT8_1 := MW 26, // INT
  574. OUT8_2 := MW 28, // INT
  575. OUT8_3 := MW 30, // INT
  576. OUT8_4 := MW 32, // INT
  577. )
  578. __ASSERT== MW 0, 4242
  579. __ASSERT== MW 2, 4343
  580. __ASSERT== MW 4, 4343
  581. __ASSERT== MW 6, 1111
  582. __ASSERT== MW 8, 4545
  583. __ASSERT== MW 10, 4545
  584. __ASSERT== MW 12, 4646
  585. __ASSERT== M 50.0, TRUE
  586. __ASSERT== MW 14, 1111
  587. __ASSERT== MW 16, 1111
  588. __ASSERT== M 50.1, FALSE
  589. __ASSERT== MW 18, 4848
  590. __ASSERT== M 50.2, TRUE
  591. __ASSERT== MW 20, 4949
  592. __ASSERT== MW 22, 4949
  593. __ASSERT== M 50.3, TRUE
  594. __ASSERT== MW 24, 5050
  595. __ASSERT== MW 26, 5050
  596. __ASSERT== MW 28, 5050
  597. __ASSERT== MW 30, 5050
  598. __ASSERT== MW 32, 5050
  599. L 1111
  600. T MW 0
  601. T MW 2
  602. T MW 4
  603. T MW 6
  604. T MW 8
  605. T MW 10
  606. T MW 12
  607. T MW 14
  608. T MW 16
  609. T MW 18
  610. T MW 20
  611. T MW 22
  612. T MW 24
  613. T MW 26
  614. T MW 28
  615. T MW 30
  616. T MW 32
  617. L 0
  618. T MW 50
  619. CALL "FC_movebox_0" (
  620. // VAR_INPUT
  621. IN0 := 4242, // INT
  622. IN1 := 4343, // INT
  623. EN2 := TRUE, // BOOL
  624. IN2 := 4444, // INT
  625. EN3 := TRUE, // BOOL
  626. IN3 := 4545, // INT
  627. EN4 := TRUE, // BOOL
  628. IN4 := 4646, // INT
  629. EN5 := FALSE, // BOOL
  630. IN5 := 4747, // INT
  631. IN6 := 4848, // INT
  632. IN7 := 4949, // INT
  633. IN8 := 5050, // INT
  634. // VAR_OUTPUT
  635. OUT0 := MW 0, // INT
  636. OUT1_0 := MW 2, // INT
  637. OUT1_1 := MW 4, // INT
  638. OUT2 := MW 6, // INT
  639. OUT3_0 := MW 8, // INT
  640. OUT3_1 := MW 10, // INT
  641. OUT4 := MW 12, // INT
  642. ENO4 := M 50.0, // BOOL
  643. OUT5_0 := MW 14, // INT
  644. OUT5_1 := MW 16, // INT
  645. ENO5 := M 50.1, // BOOL
  646. OUT6 := MW 18, // INT
  647. ENO6 := M 50.2, // BOOL
  648. OUT7_0 := MW 20, // INT
  649. OUT7_1 := MW 22, // INT
  650. ENO7 := M 50.3, // BOOL
  651. OUT8_0 := MW 24, // INT
  652. OUT8_1 := MW 26, // INT
  653. OUT8_2 := MW 28, // INT
  654. OUT8_3 := MW 30, // INT
  655. OUT8_4 := MW 32, // INT
  656. )
  657. __ASSERT== MW 0, 4242
  658. __ASSERT== MW 2, 4343
  659. __ASSERT== MW 4, 4343
  660. __ASSERT== MW 6, 4444
  661. __ASSERT== MW 8, 4545
  662. __ASSERT== MW 10, 4545
  663. __ASSERT== MW 12, 4646
  664. __ASSERT== M 50.0, TRUE
  665. __ASSERT== MW 14, 1111
  666. __ASSERT== MW 16, 1111
  667. __ASSERT== M 50.1, FALSE
  668. __ASSERT== MW 18, 4848
  669. __ASSERT== M 50.2, TRUE
  670. __ASSERT== MW 20, 4949
  671. __ASSERT== MW 22, 4949
  672. __ASSERT== M 50.3, TRUE
  673. __ASSERT== MW 24, 5050
  674. __ASSERT== MW 26, 5050
  675. __ASSERT== MW 28, 5050
  676. __ASSERT== MW 30, 5050
  677. __ASSERT== MW 32, 5050
  678. L 1111
  679. T MW 0
  680. T MW 2
  681. T MW 4
  682. T MW 6
  683. T MW 8
  684. T MW 10
  685. T MW 12
  686. T MW 14
  687. T MW 16
  688. T MW 18
  689. T MW 20
  690. T MW 22
  691. T MW 24
  692. T MW 26
  693. T MW 28
  694. T MW 30
  695. T MW 32
  696. L 0
  697. T MW 50
  698. CALL "FC_movebox_0" (
  699. // VAR_INPUT
  700. IN0 := 4242, // INT
  701. IN1 := 4343, // INT
  702. EN2 := FALSE, // BOOL
  703. IN2 := 4444, // INT
  704. EN3 := FALSE, // BOOL
  705. IN3 := 4545, // INT
  706. EN4 := FALSE, // BOOL
  707. IN4 := 4646, // INT
  708. EN5 := TRUE, // BOOL
  709. IN5 := 4747, // INT
  710. IN6 := 4848, // INT
  711. IN7 := 4949, // INT
  712. IN8 := 5050, // INT
  713. // VAR_OUTPUT
  714. OUT0 := MW 0, // INT
  715. OUT1_0 := MW 2, // INT
  716. OUT1_1 := MW 4, // INT
  717. OUT2 := MW 6, // INT
  718. OUT3_0 := MW 8, // INT
  719. OUT3_1 := MW 10, // INT
  720. OUT4 := MW 12, // INT
  721. ENO4 := M 50.0, // BOOL
  722. OUT5_0 := MW 14, // INT
  723. OUT5_1 := MW 16, // INT
  724. ENO5 := M 50.1, // BOOL
  725. OUT6 := MW 18, // INT
  726. ENO6 := M 50.2, // BOOL
  727. OUT7_0 := MW 20, // INT
  728. OUT7_1 := MW 22, // INT
  729. ENO7 := M 50.3, // BOOL
  730. OUT8_0 := MW 24, // INT
  731. OUT8_1 := MW 26, // INT
  732. OUT8_2 := MW 28, // INT
  733. OUT8_3 := MW 30, // INT
  734. OUT8_4 := MW 32, // INT
  735. )
  736. __ASSERT== MW 0, 4242
  737. __ASSERT== MW 2, 4343
  738. __ASSERT== MW 4, 4343
  739. __ASSERT== MW 6, 1111
  740. __ASSERT== MW 8, 1111
  741. __ASSERT== MW 10, 1111
  742. __ASSERT== MW 12, 1111
  743. __ASSERT== M 50.0, FALSE
  744. __ASSERT== MW 14, 4747
  745. __ASSERT== MW 16, 4747
  746. __ASSERT== M 50.1, TRUE
  747. __ASSERT== MW 18, 4848
  748. __ASSERT== M 50.2, TRUE
  749. __ASSERT== MW 20, 4949
  750. __ASSERT== MW 22, 4949
  751. __ASSERT== M 50.3, TRUE
  752. __ASSERT== MW 24, 5050
  753. __ASSERT== MW 26, 5050
  754. __ASSERT== MW 28, 5050
  755. __ASSERT== MW 30, 5050
  756. __ASSERT== MW 32, 5050
  757. L 1111
  758. T MW 0
  759. T MW 2
  760. T MW 4
  761. T MW 6
  762. T MW 8
  763. T MW 10
  764. T MW 12
  765. T MW 14
  766. T MW 16
  767. T MW 18
  768. T MW 20
  769. T MW 22
  770. T MW 24
  771. T MW 26
  772. T MW 28
  773. T MW 30
  774. T MW 32
  775. L 0
  776. T MW 50
  777. CALL "FC_movebox_0" (
  778. // VAR_INPUT
  779. IN0 := 4242, // INT
  780. IN1 := 4343, // INT
  781. EN2 := TRUE, // BOOL
  782. IN2 := 4444, // INT
  783. EN3 := FALSE, // BOOL
  784. IN3 := 4545, // INT
  785. EN4 := FALSE, // BOOL
  786. IN4 := 4646, // INT
  787. EN5 := TRUE, // BOOL
  788. IN5 := 4747, // INT
  789. IN6 := 4848, // INT
  790. IN7 := 4949, // INT
  791. IN8 := 5050, // INT
  792. // VAR_OUTPUT
  793. OUT0 := MW 0, // INT
  794. OUT1_0 := MW 2, // INT
  795. OUT1_1 := MW 4, // INT
  796. OUT2 := MW 6, // INT
  797. OUT3_0 := MW 8, // INT
  798. OUT3_1 := MW 10, // INT
  799. OUT4 := MW 12, // INT
  800. ENO4 := M 50.0, // BOOL
  801. OUT5_0 := MW 14, // INT
  802. OUT5_1 := MW 16, // INT
  803. ENO5 := M 50.1, // BOOL
  804. OUT6 := MW 18, // INT
  805. ENO6 := M 50.2, // BOOL
  806. OUT7_0 := MW 20, // INT
  807. OUT7_1 := MW 22, // INT
  808. ENO7 := M 50.3, // BOOL
  809. OUT8_0 := MW 24, // INT
  810. OUT8_1 := MW 26, // INT
  811. OUT8_2 := MW 28, // INT
  812. OUT8_3 := MW 30, // INT
  813. OUT8_4 := MW 32, // INT
  814. )
  815. __ASSERT== MW 0, 4242
  816. __ASSERT== MW 2, 4343
  817. __ASSERT== MW 4, 4343
  818. __ASSERT== MW 6, 4444
  819. __ASSERT== MW 8, 1111
  820. __ASSERT== MW 10, 1111
  821. __ASSERT== MW 12, 1111
  822. __ASSERT== M 50.0, FALSE
  823. __ASSERT== MW 14, 4747
  824. __ASSERT== MW 16, 4747
  825. __ASSERT== M 50.1, TRUE
  826. __ASSERT== MW 18, 4848
  827. __ASSERT== M 50.2, TRUE
  828. __ASSERT== MW 20, 4949
  829. __ASSERT== MW 22, 4949
  830. __ASSERT== M 50.3, TRUE
  831. __ASSERT== MW 24, 5050
  832. __ASSERT== MW 26, 5050
  833. __ASSERT== MW 28, 5050
  834. __ASSERT== MW 30, 5050
  835. __ASSERT== MW 32, 5050
  836. L 1111
  837. T MW 0
  838. T MW 2
  839. T MW 4
  840. T MW 6
  841. T MW 8
  842. T MW 10
  843. T MW 12
  844. T MW 14
  845. T MW 16
  846. T MW 18
  847. T MW 20
  848. T MW 22
  849. T MW 24
  850. T MW 26
  851. T MW 28
  852. T MW 30
  853. T MW 32
  854. L 0
  855. T MW 50
  856. CALL "FC_movebox_0" (
  857. // VAR_INPUT
  858. IN0 := 4242, // INT
  859. IN1 := 4343, // INT
  860. EN2 := FALSE, // BOOL
  861. IN2 := 4444, // INT
  862. EN3 := TRUE, // BOOL
  863. IN3 := 4545, // INT
  864. EN4 := FALSE, // BOOL
  865. IN4 := 4646, // INT
  866. EN5 := TRUE, // BOOL
  867. IN5 := 4747, // INT
  868. IN6 := 4848, // INT
  869. IN7 := 4949, // INT
  870. IN8 := 5050, // INT
  871. // VAR_OUTPUT
  872. OUT0 := MW 0, // INT
  873. OUT1_0 := MW 2, // INT
  874. OUT1_1 := MW 4, // INT
  875. OUT2 := MW 6, // INT
  876. OUT3_0 := MW 8, // INT
  877. OUT3_1 := MW 10, // INT
  878. OUT4 := MW 12, // INT
  879. ENO4 := M 50.0, // BOOL
  880. OUT5_0 := MW 14, // INT
  881. OUT5_1 := MW 16, // INT
  882. ENO5 := M 50.1, // BOOL
  883. OUT6 := MW 18, // INT
  884. ENO6 := M 50.2, // BOOL
  885. OUT7_0 := MW 20, // INT
  886. OUT7_1 := MW 22, // INT
  887. ENO7 := M 50.3, // BOOL
  888. OUT8_0 := MW 24, // INT
  889. OUT8_1 := MW 26, // INT
  890. OUT8_2 := MW 28, // INT
  891. OUT8_3 := MW 30, // INT
  892. OUT8_4 := MW 32, // INT
  893. )
  894. __ASSERT== MW 0, 4242
  895. __ASSERT== MW 2, 4343
  896. __ASSERT== MW 4, 4343
  897. __ASSERT== MW 6, 1111
  898. __ASSERT== MW 8, 4545
  899. __ASSERT== MW 10, 4545
  900. __ASSERT== MW 12, 1111
  901. __ASSERT== M 50.0, FALSE
  902. __ASSERT== MW 14, 4747
  903. __ASSERT== MW 16, 4747
  904. __ASSERT== M 50.1, TRUE
  905. __ASSERT== MW 18, 4848
  906. __ASSERT== M 50.2, TRUE
  907. __ASSERT== MW 20, 4949
  908. __ASSERT== MW 22, 4949
  909. __ASSERT== M 50.3, TRUE
  910. __ASSERT== MW 24, 5050
  911. __ASSERT== MW 26, 5050
  912. __ASSERT== MW 28, 5050
  913. __ASSERT== MW 30, 5050
  914. __ASSERT== MW 32, 5050
  915. L 1111
  916. T MW 0
  917. T MW 2
  918. T MW 4
  919. T MW 6
  920. T MW 8
  921. T MW 10
  922. T MW 12
  923. T MW 14
  924. T MW 16
  925. T MW 18
  926. T MW 20
  927. T MW 22
  928. T MW 24
  929. T MW 26
  930. T MW 28
  931. T MW 30
  932. T MW 32
  933. L 0
  934. T MW 50
  935. CALL "FC_movebox_0" (
  936. // VAR_INPUT
  937. IN0 := 4242, // INT
  938. IN1 := 4343, // INT
  939. EN2 := TRUE, // BOOL
  940. IN2 := 4444, // INT
  941. EN3 := TRUE, // BOOL
  942. IN3 := 4545, // INT
  943. EN4 := FALSE, // BOOL
  944. IN4 := 4646, // INT
  945. EN5 := TRUE, // BOOL
  946. IN5 := 4747, // INT
  947. IN6 := 4848, // INT
  948. IN7 := 4949, // INT
  949. IN8 := 5050, // INT
  950. // VAR_OUTPUT
  951. OUT0 := MW 0, // INT
  952. OUT1_0 := MW 2, // INT
  953. OUT1_1 := MW 4, // INT
  954. OUT2 := MW 6, // INT
  955. OUT3_0 := MW 8, // INT
  956. OUT3_1 := MW 10, // INT
  957. OUT4 := MW 12, // INT
  958. ENO4 := M 50.0, // BOOL
  959. OUT5_0 := MW 14, // INT
  960. OUT5_1 := MW 16, // INT
  961. ENO5 := M 50.1, // BOOL
  962. OUT6 := MW 18, // INT
  963. ENO6 := M 50.2, // BOOL
  964. OUT7_0 := MW 20, // INT
  965. OUT7_1 := MW 22, // INT
  966. ENO7 := M 50.3, // BOOL
  967. OUT8_0 := MW 24, // INT
  968. OUT8_1 := MW 26, // INT
  969. OUT8_2 := MW 28, // INT
  970. OUT8_3 := MW 30, // INT
  971. OUT8_4 := MW 32, // INT
  972. )
  973. __ASSERT== MW 0, 4242
  974. __ASSERT== MW 2, 4343
  975. __ASSERT== MW 4, 4343
  976. __ASSERT== MW 6, 4444
  977. __ASSERT== MW 8, 4545
  978. __ASSERT== MW 10, 4545
  979. __ASSERT== MW 12, 1111
  980. __ASSERT== M 50.0, FALSE
  981. __ASSERT== MW 14, 4747
  982. __ASSERT== MW 16, 4747
  983. __ASSERT== M 50.1, TRUE
  984. __ASSERT== MW 18, 4848
  985. __ASSERT== M 50.2, TRUE
  986. __ASSERT== MW 20, 4949
  987. __ASSERT== MW 22, 4949
  988. __ASSERT== M 50.3, TRUE
  989. __ASSERT== MW 24, 5050
  990. __ASSERT== MW 26, 5050
  991. __ASSERT== MW 28, 5050
  992. __ASSERT== MW 30, 5050
  993. __ASSERT== MW 32, 5050
  994. L 1111
  995. T MW 0
  996. T MW 2
  997. T MW 4
  998. T MW 6
  999. T MW 8
  1000. T MW 10
  1001. T MW 12
  1002. T MW 14
  1003. T MW 16
  1004. T MW 18
  1005. T MW 20
  1006. T MW 22
  1007. T MW 24
  1008. T MW 26
  1009. T MW 28
  1010. T MW 30
  1011. T MW 32
  1012. L 0
  1013. T MW 50
  1014. CALL "FC_movebox_0" (
  1015. // VAR_INPUT
  1016. IN0 := 4242, // INT
  1017. IN1 := 4343, // INT
  1018. EN2 := FALSE, // BOOL
  1019. IN2 := 4444, // INT
  1020. EN3 := FALSE, // BOOL
  1021. IN3 := 4545, // INT
  1022. EN4 := TRUE, // BOOL
  1023. IN4 := 4646, // INT
  1024. EN5 := TRUE, // BOOL
  1025. IN5 := 4747, // INT
  1026. IN6 := 4848, // INT
  1027. IN7 := 4949, // INT
  1028. IN8 := 5050, // INT
  1029. // VAR_OUTPUT
  1030. OUT0 := MW 0, // INT
  1031. OUT1_0 := MW 2, // INT
  1032. OUT1_1 := MW 4, // INT
  1033. OUT2 := MW 6, // INT
  1034. OUT3_0 := MW 8, // INT
  1035. OUT3_1 := MW 10, // INT
  1036. OUT4 := MW 12, // INT
  1037. ENO4 := M 50.0, // BOOL
  1038. OUT5_0 := MW 14, // INT
  1039. OUT5_1 := MW 16, // INT
  1040. ENO5 := M 50.1, // BOOL
  1041. OUT6 := MW 18, // INT
  1042. ENO6 := M 50.2, // BOOL
  1043. OUT7_0 := MW 20, // INT
  1044. OUT7_1 := MW 22, // INT
  1045. ENO7 := M 50.3, // BOOL
  1046. OUT8_0 := MW 24, // INT
  1047. OUT8_1 := MW 26, // INT
  1048. OUT8_2 := MW 28, // INT
  1049. OUT8_3 := MW 30, // INT
  1050. OUT8_4 := MW 32, // INT
  1051. )
  1052. __ASSERT== MW 0, 4242
  1053. __ASSERT== MW 2, 4343
  1054. __ASSERT== MW 4, 4343
  1055. __ASSERT== MW 6, 1111
  1056. __ASSERT== MW 8, 1111
  1057. __ASSERT== MW 10, 1111
  1058. __ASSERT== MW 12, 4646
  1059. __ASSERT== M 50.0, TRUE
  1060. __ASSERT== MW 14, 4747
  1061. __ASSERT== MW 16, 4747
  1062. __ASSERT== M 50.1, TRUE
  1063. __ASSERT== MW 18, 4848
  1064. __ASSERT== M 50.2, TRUE
  1065. __ASSERT== MW 20, 4949
  1066. __ASSERT== MW 22, 4949
  1067. __ASSERT== M 50.3, TRUE
  1068. __ASSERT== MW 24, 5050
  1069. __ASSERT== MW 26, 5050
  1070. __ASSERT== MW 28, 5050
  1071. __ASSERT== MW 30, 5050
  1072. __ASSERT== MW 32, 5050
  1073. L 1111
  1074. T MW 0
  1075. T MW 2
  1076. T MW 4
  1077. T MW 6
  1078. T MW 8
  1079. T MW 10
  1080. T MW 12
  1081. T MW 14
  1082. T MW 16
  1083. T MW 18
  1084. T MW 20
  1085. T MW 22
  1086. T MW 24
  1087. T MW 26
  1088. T MW 28
  1089. T MW 30
  1090. T MW 32
  1091. L 0
  1092. T MW 50
  1093. CALL "FC_movebox_0" (
  1094. // VAR_INPUT
  1095. IN0 := 4242, // INT
  1096. IN1 := 4343, // INT
  1097. EN2 := TRUE, // BOOL
  1098. IN2 := 4444, // INT
  1099. EN3 := FALSE, // BOOL
  1100. IN3 := 4545, // INT
  1101. EN4 := TRUE, // BOOL
  1102. IN4 := 4646, // INT
  1103. EN5 := TRUE, // BOOL
  1104. IN5 := 4747, // INT
  1105. IN6 := 4848, // INT
  1106. IN7 := 4949, // INT
  1107. IN8 := 5050, // INT
  1108. // VAR_OUTPUT
  1109. OUT0 := MW 0, // INT
  1110. OUT1_0 := MW 2, // INT
  1111. OUT1_1 := MW 4, // INT
  1112. OUT2 := MW 6, // INT
  1113. OUT3_0 := MW 8, // INT
  1114. OUT3_1 := MW 10, // INT
  1115. OUT4 := MW 12, // INT
  1116. ENO4 := M 50.0, // BOOL
  1117. OUT5_0 := MW 14, // INT
  1118. OUT5_1 := MW 16, // INT
  1119. ENO5 := M 50.1, // BOOL
  1120. OUT6 := MW 18, // INT
  1121. ENO6 := M 50.2, // BOOL
  1122. OUT7_0 := MW 20, // INT
  1123. OUT7_1 := MW 22, // INT
  1124. ENO7 := M 50.3, // BOOL
  1125. OUT8_0 := MW 24, // INT
  1126. OUT8_1 := MW 26, // INT
  1127. OUT8_2 := MW 28, // INT
  1128. OUT8_3 := MW 30, // INT
  1129. OUT8_4 := MW 32, // INT
  1130. )
  1131. __ASSERT== MW 0, 4242
  1132. __ASSERT== MW 2, 4343
  1133. __ASSERT== MW 4, 4343
  1134. __ASSERT== MW 6, 4444
  1135. __ASSERT== MW 8, 1111
  1136. __ASSERT== MW 10, 1111
  1137. __ASSERT== MW 12, 4646
  1138. __ASSERT== M 50.0, TRUE
  1139. __ASSERT== MW 14, 4747
  1140. __ASSERT== MW 16, 4747
  1141. __ASSERT== M 50.1, TRUE
  1142. __ASSERT== MW 18, 4848
  1143. __ASSERT== M 50.2, TRUE
  1144. __ASSERT== MW 20, 4949
  1145. __ASSERT== MW 22, 4949
  1146. __ASSERT== M 50.3, TRUE
  1147. __ASSERT== MW 24, 5050
  1148. __ASSERT== MW 26, 5050
  1149. __ASSERT== MW 28, 5050
  1150. __ASSERT== MW 30, 5050
  1151. __ASSERT== MW 32, 5050
  1152. L 1111
  1153. T MW 0
  1154. T MW 2
  1155. T MW 4
  1156. T MW 6
  1157. T MW 8
  1158. T MW 10
  1159. T MW 12
  1160. T MW 14
  1161. T MW 16
  1162. T MW 18
  1163. T MW 20
  1164. T MW 22
  1165. T MW 24
  1166. T MW 26
  1167. T MW 28
  1168. T MW 30
  1169. T MW 32
  1170. L 0
  1171. T MW 50
  1172. CALL "FC_movebox_0" (
  1173. // VAR_INPUT
  1174. IN0 := 4242, // INT
  1175. IN1 := 4343, // INT
  1176. EN2 := FALSE, // BOOL
  1177. IN2 := 4444, // INT
  1178. EN3 := TRUE, // BOOL
  1179. IN3 := 4545, // INT
  1180. EN4 := TRUE, // BOOL
  1181. IN4 := 4646, // INT
  1182. EN5 := TRUE, // BOOL
  1183. IN5 := 4747, // INT
  1184. IN6 := 4848, // INT
  1185. IN7 := 4949, // INT
  1186. IN8 := 5050, // INT
  1187. // VAR_OUTPUT
  1188. OUT0 := MW 0, // INT
  1189. OUT1_0 := MW 2, // INT
  1190. OUT1_1 := MW 4, // INT
  1191. OUT2 := MW 6, // INT
  1192. OUT3_0 := MW 8, // INT
  1193. OUT3_1 := MW 10, // INT
  1194. OUT4 := MW 12, // INT
  1195. ENO4 := M 50.0, // BOOL
  1196. OUT5_0 := MW 14, // INT
  1197. OUT5_1 := MW 16, // INT
  1198. ENO5 := M 50.1, // BOOL
  1199. OUT6 := MW 18, // INT
  1200. ENO6 := M 50.2, // BOOL
  1201. OUT7_0 := MW 20, // INT
  1202. OUT7_1 := MW 22, // INT
  1203. ENO7 := M 50.3, // BOOL
  1204. OUT8_0 := MW 24, // INT
  1205. OUT8_1 := MW 26, // INT
  1206. OUT8_2 := MW 28, // INT
  1207. OUT8_3 := MW 30, // INT
  1208. OUT8_4 := MW 32, // INT
  1209. )
  1210. __ASSERT== MW 0, 4242
  1211. __ASSERT== MW 2, 4343
  1212. __ASSERT== MW 4, 4343
  1213. __ASSERT== MW 6, 1111
  1214. __ASSERT== MW 8, 4545
  1215. __ASSERT== MW 10, 4545
  1216. __ASSERT== MW 12, 4646
  1217. __ASSERT== M 50.0, TRUE
  1218. __ASSERT== MW 14, 4747
  1219. __ASSERT== MW 16, 4747
  1220. __ASSERT== M 50.1, TRUE
  1221. __ASSERT== MW 18, 4848
  1222. __ASSERT== M 50.2, TRUE
  1223. __ASSERT== MW 20, 4949
  1224. __ASSERT== MW 22, 4949
  1225. __ASSERT== M 50.3, TRUE
  1226. __ASSERT== MW 24, 5050
  1227. __ASSERT== MW 26, 5050
  1228. __ASSERT== MW 28, 5050
  1229. __ASSERT== MW 30, 5050
  1230. __ASSERT== MW 32, 5050
  1231. L 1111
  1232. T MW 0
  1233. T MW 2
  1234. T MW 4
  1235. T MW 6
  1236. T MW 8
  1237. T MW 10
  1238. T MW 12
  1239. T MW 14
  1240. T MW 16
  1241. T MW 18
  1242. T MW 20
  1243. T MW 22
  1244. T MW 24
  1245. T MW 26
  1246. T MW 28
  1247. T MW 30
  1248. T MW 32
  1249. L 0
  1250. T MW 50
  1251. CALL "FC_movebox_0" (
  1252. // VAR_INPUT
  1253. IN0 := 4242, // INT
  1254. IN1 := 4343, // INT
  1255. EN2 := TRUE, // BOOL
  1256. IN2 := 4444, // INT
  1257. EN3 := TRUE, // BOOL
  1258. IN3 := 4545, // INT
  1259. EN4 := TRUE, // BOOL
  1260. IN4 := 4646, // INT
  1261. EN5 := TRUE, // BOOL
  1262. IN5 := 4747, // INT
  1263. IN6 := 4848, // INT
  1264. IN7 := 4949, // INT
  1265. IN8 := 5050, // INT
  1266. // VAR_OUTPUT
  1267. OUT0 := MW 0, // INT
  1268. OUT1_0 := MW 2, // INT
  1269. OUT1_1 := MW 4, // INT
  1270. OUT2 := MW 6, // INT
  1271. OUT3_0 := MW 8, // INT
  1272. OUT3_1 := MW 10, // INT
  1273. OUT4 := MW 12, // INT
  1274. ENO4 := M 50.0, // BOOL
  1275. OUT5_0 := MW 14, // INT
  1276. OUT5_1 := MW 16, // INT
  1277. ENO5 := M 50.1, // BOOL
  1278. OUT6 := MW 18, // INT
  1279. ENO6 := M 50.2, // BOOL
  1280. OUT7_0 := MW 20, // INT
  1281. OUT7_1 := MW 22, // INT
  1282. ENO7 := M 50.3, // BOOL
  1283. OUT8_0 := MW 24, // INT
  1284. OUT8_1 := MW 26, // INT
  1285. OUT8_2 := MW 28, // INT
  1286. OUT8_3 := MW 30, // INT
  1287. OUT8_4 := MW 32, // INT
  1288. )
  1289. __ASSERT== MW 0, 4242
  1290. __ASSERT== MW 2, 4343
  1291. __ASSERT== MW 4, 4343
  1292. __ASSERT== MW 6, 4444
  1293. __ASSERT== MW 8, 4545
  1294. __ASSERT== MW 10, 4545
  1295. __ASSERT== MW 12, 4646
  1296. __ASSERT== M 50.0, TRUE
  1297. __ASSERT== MW 14, 4747
  1298. __ASSERT== MW 16, 4747
  1299. __ASSERT== M 50.1, TRUE
  1300. __ASSERT== MW 18, 4848
  1301. __ASSERT== M 50.2, TRUE
  1302. __ASSERT== MW 20, 4949
  1303. __ASSERT== MW 22, 4949
  1304. __ASSERT== M 50.3, TRUE
  1305. __ASSERT== MW 24, 5050
  1306. __ASSERT== MW 26, 5050
  1307. __ASSERT== MW 28, 5050
  1308. __ASSERT== MW 30, 5050
  1309. __ASSERT== MW 32, 5050
  1310. BE
  1311. END_FUNCTION
  1312. ]]></source>
  1313. <!-- AWL/STL source code -->
  1314. <source enabled="1"
  1315. name="TEST movebox 1"
  1316. type="0"><![CDATA[
  1317. FUNCTION "FC_TEST_movebox_1" : VOID
  1318. BEGIN
  1319. L 1111
  1320. T MW 0
  1321. T MW 20
  1322. T MD 30
  1323. T MD 40
  1324. CALL "FC_movebox_1" (
  1325. // VAR_INPUT
  1326. IN0 := L#42424242 , // DINT
  1327. EN1 := FALSE , // BOOL
  1328. EN2 := FALSE , // BOOL
  1329. EN40 := FALSE , // BOOL
  1330. EN41 := FALSE , // BOOL
  1331. IN4 := 2424 , // INT
  1332. // VAR_OUTPUT
  1333. OUT0 := MW 0 , // WORD
  1334. OUT2 := MW 20 , // WORD
  1335. OUT3 := MD 30 , // DINT
  1336. OUT4 := MD 40 , // DINT
  1337. )
  1338. __ASSERT== MW 0, 22450
  1339. __ASSERT== MW 20, 1111
  1340. __ASSERT== MD 30, 1111
  1341. __ASSERT== MD 40, 1111
  1342. L 1111
  1343. T MW 0
  1344. T MW 20
  1345. T MD 30
  1346. T MD 40
  1347. CALL "FC_movebox_1" (
  1348. // VAR_INPUT
  1349. IN0 := L#42424242 , // DINT
  1350. EN1 := TRUE , // BOOL
  1351. EN2 := FALSE , // BOOL
  1352. EN40 := FALSE , // BOOL
  1353. EN41 := FALSE , // BOOL
  1354. IN4 := 2424 , // INT
  1355. // VAR_OUTPUT
  1356. OUT0 := MW 0 , // WORD
  1357. OUT2 := MW 20 , // WORD
  1358. OUT3 := MD 30 , // DINT
  1359. OUT4 := MD 40 , // DINT
  1360. )
  1361. __ASSERT== MW 0, 22450
  1362. __ASSERT== MW 20, 1111
  1363. __ASSERT== MD 30, 1111
  1364. __ASSERT== MD 40, 1111
  1365. L 1111
  1366. T MW 0
  1367. T MW 20
  1368. T MD 30
  1369. T MD 40
  1370. CALL "FC_movebox_1" (
  1371. // VAR_INPUT
  1372. IN0 := L#42424242 , // DINT
  1373. EN1 := FALSE , // BOOL
  1374. EN2 := TRUE , // BOOL
  1375. EN40 := FALSE , // BOOL
  1376. EN41 := FALSE , // BOOL
  1377. IN4 := 2424 , // INT
  1378. // VAR_OUTPUT
  1379. OUT0 := MW 0 , // WORD
  1380. OUT2 := MW 20 , // WORD
  1381. OUT3 := MD 30 , // DINT
  1382. OUT4 := MD 40 , // DINT
  1383. )
  1384. __ASSERT== MW 0, 22450
  1385. __ASSERT== MW 20, 1111
  1386. __ASSERT== MD 30, 1111
  1387. __ASSERT== MD 40, 1111
  1388. L 1111
  1389. T MW 0
  1390. T MW 20
  1391. T MD 30
  1392. T MD 40
  1393. CALL "FC_movebox_1" (
  1394. // VAR_INPUT
  1395. IN0 := L#42424242 , // DINT
  1396. EN1 := TRUE , // BOOL
  1397. EN2 := TRUE , // BOOL
  1398. EN40 := FALSE , // BOOL
  1399. EN41 := FALSE , // BOOL
  1400. IN4 := 2424 , // INT
  1401. // VAR_OUTPUT
  1402. OUT0 := MW 0 , // WORD
  1403. OUT2 := MW 20 , // WORD
  1404. OUT3 := MD 30 , // DINT
  1405. OUT4 := MD 40 , // DINT
  1406. )
  1407. __ASSERT== MW 0, 22450
  1408. __ASSERT== MW 20, 22450
  1409. __ASSERT== MD 30, L#42424242
  1410. __ASSERT== MD 40, 1111
  1411. L 1111
  1412. T MW 0
  1413. T MW 20
  1414. T MD 30
  1415. T MD 40
  1416. CALL "FC_movebox_1" (
  1417. // VAR_INPUT
  1418. IN0 := L#42424242 , // DINT
  1419. EN1 := FALSE , // BOOL
  1420. EN2 := FALSE , // BOOL
  1421. EN40 := TRUE , // BOOL
  1422. EN41 := FALSE , // BOOL
  1423. IN4 := 2424 , // INT
  1424. // VAR_OUTPUT
  1425. OUT0 := MW 0 , // WORD
  1426. OUT2 := MW 20 , // WORD
  1427. OUT3 := MD 30 , // DINT
  1428. OUT4 := MD 40 , // DINT
  1429. )
  1430. __ASSERT== MW 0, 22450
  1431. __ASSERT== MW 20, 1111
  1432. __ASSERT== MD 30, 1111
  1433. __ASSERT== MD 40, 1111
  1434. L 1111
  1435. T MW 0
  1436. T MW 20
  1437. T MD 30
  1438. T MD 40
  1439. CALL "FC_movebox_1" (
  1440. // VAR_INPUT
  1441. IN0 := L#42424242 , // DINT
  1442. EN1 := TRUE , // BOOL
  1443. EN2 := FALSE , // BOOL
  1444. EN40 := TRUE , // BOOL
  1445. EN41 := FALSE , // BOOL
  1446. IN4 := 2424 , // INT
  1447. // VAR_OUTPUT
  1448. OUT0 := MW 0 , // WORD
  1449. OUT2 := MW 20 , // WORD
  1450. OUT3 := MD 30 , // DINT
  1451. OUT4 := MD 40 , // DINT
  1452. )
  1453. __ASSERT== MW 0, 22450
  1454. __ASSERT== MW 20, 1111
  1455. __ASSERT== MD 30, 1111
  1456. __ASSERT== MD 40, 1111
  1457. L 1111
  1458. T MW 0
  1459. T MW 20
  1460. T MD 30
  1461. T MD 40
  1462. CALL "FC_movebox_1" (
  1463. // VAR_INPUT
  1464. IN0 := L#42424242 , // DINT
  1465. EN1 := FALSE , // BOOL
  1466. EN2 := TRUE , // BOOL
  1467. EN40 := TRUE , // BOOL
  1468. EN41 := FALSE , // BOOL
  1469. IN4 := 2424 , // INT
  1470. // VAR_OUTPUT
  1471. OUT0 := MW 0 , // WORD
  1472. OUT2 := MW 20 , // WORD
  1473. OUT3 := MD 30 , // DINT
  1474. OUT4 := MD 40 , // DINT
  1475. )
  1476. __ASSERT== MW 0, 22450
  1477. __ASSERT== MW 20, 1111
  1478. __ASSERT== MD 30, 1111
  1479. __ASSERT== MD 40, 1111
  1480. L 1111
  1481. T MW 0
  1482. T MW 20
  1483. T MD 30
  1484. T MD 40
  1485. CALL "FC_movebox_1" (
  1486. // VAR_INPUT
  1487. IN0 := L#42424242 , // DINT
  1488. EN1 := TRUE , // BOOL
  1489. EN2 := TRUE , // BOOL
  1490. EN40 := TRUE , // BOOL
  1491. EN41 := FALSE , // BOOL
  1492. IN4 := 2424 , // INT
  1493. // VAR_OUTPUT
  1494. OUT0 := MW 0 , // WORD
  1495. OUT2 := MW 20 , // WORD
  1496. OUT3 := MD 30 , // DINT
  1497. OUT4 := MD 40 , // DINT
  1498. )
  1499. __ASSERT== MW 0, 22450
  1500. __ASSERT== MW 20, 22450
  1501. __ASSERT== MD 30, L#42424242
  1502. __ASSERT== MD 40, 1111
  1503. L 1111
  1504. T MW 0
  1505. T MW 20
  1506. T MD 30
  1507. T MD 40
  1508. CALL "FC_movebox_1" (
  1509. // VAR_INPUT
  1510. IN0 := L#42424242 , // DINT
  1511. EN1 := FALSE , // BOOL
  1512. EN2 := FALSE , // BOOL
  1513. EN40 := FALSE , // BOOL
  1514. EN41 := TRUE , // BOOL
  1515. IN4 := 2424 , // INT
  1516. // VAR_OUTPUT
  1517. OUT0 := MW 0 , // WORD
  1518. OUT2 := MW 20 , // WORD
  1519. OUT3 := MD 30 , // DINT
  1520. OUT4 := MD 40 , // DINT
  1521. )
  1522. __ASSERT== MW 0, 22450
  1523. __ASSERT== MW 20, 1111
  1524. __ASSERT== MD 30, 1111
  1525. __ASSERT== MD 40, 1111
  1526. L 1111
  1527. T MW 0
  1528. T MW 20
  1529. T MD 30
  1530. T MD 40
  1531. CALL "FC_movebox_1" (
  1532. // VAR_INPUT
  1533. IN0 := L#42424242 , // DINT
  1534. EN1 := TRUE , // BOOL
  1535. EN2 := FALSE , // BOOL
  1536. EN40 := FALSE , // BOOL
  1537. EN41 := TRUE , // BOOL
  1538. IN4 := 2424 , // INT
  1539. // VAR_OUTPUT
  1540. OUT0 := MW 0 , // WORD
  1541. OUT2 := MW 20 , // WORD
  1542. OUT3 := MD 30 , // DINT
  1543. OUT4 := MD 40 , // DINT
  1544. )
  1545. __ASSERT== MW 0, 22450
  1546. __ASSERT== MW 20, 1111
  1547. __ASSERT== MD 30, 1111
  1548. __ASSERT== MD 40, 1111
  1549. L 1111
  1550. T MW 0
  1551. T MW 20
  1552. T MD 30
  1553. T MD 40
  1554. CALL "FC_movebox_1" (
  1555. // VAR_INPUT
  1556. IN0 := L#42424242 , // DINT
  1557. EN1 := FALSE , // BOOL
  1558. EN2 := TRUE , // BOOL
  1559. EN40 := FALSE , // BOOL
  1560. EN41 := TRUE , // BOOL
  1561. IN4 := 2424 , // INT
  1562. // VAR_OUTPUT
  1563. OUT0 := MW 0 , // WORD
  1564. OUT2 := MW 20 , // WORD
  1565. OUT3 := MD 30 , // DINT
  1566. OUT4 := MD 40 , // DINT
  1567. )
  1568. __ASSERT== MW 0, 22450
  1569. __ASSERT== MW 20, 1111
  1570. __ASSERT== MD 30, 1111
  1571. __ASSERT== MD 40, 1111
  1572. L 1111
  1573. T MW 0
  1574. T MW 20
  1575. T MD 30
  1576. T MD 40
  1577. CALL "FC_movebox_1" (
  1578. // VAR_INPUT
  1579. IN0 := L#42424242 , // DINT
  1580. EN1 := TRUE , // BOOL
  1581. EN2 := TRUE , // BOOL
  1582. EN40 := FALSE , // BOOL
  1583. EN41 := TRUE , // BOOL
  1584. IN4 := 2424 , // INT
  1585. // VAR_OUTPUT
  1586. OUT0 := MW 0 , // WORD
  1587. OUT2 := MW 20 , // WORD
  1588. OUT3 := MD 30 , // DINT
  1589. OUT4 := MD 40 , // DINT
  1590. )
  1591. __ASSERT== MW 0, 22450
  1592. __ASSERT== MW 20, 22450
  1593. __ASSERT== MD 30, L#42424242
  1594. __ASSERT== MD 40, 1111
  1595. L 1111
  1596. T MW 0
  1597. T MW 20
  1598. T MD 30
  1599. T MD 40
  1600. CALL "FC_movebox_1" (
  1601. // VAR_INPUT
  1602. IN0 := L#42424242 , // DINT
  1603. EN1 := FALSE , // BOOL
  1604. EN2 := FALSE , // BOOL
  1605. EN40 := TRUE , // BOOL
  1606. EN41 := TRUE , // BOOL
  1607. IN4 := 2424 , // INT
  1608. // VAR_OUTPUT
  1609. OUT0 := MW 0 , // WORD
  1610. OUT2 := MW 20 , // WORD
  1611. OUT3 := MD 30 , // DINT
  1612. OUT4 := MD 40 , // DINT
  1613. )
  1614. __ASSERT== MW 0, 22450
  1615. __ASSERT== MW 20, 1111
  1616. __ASSERT== MD 30, 1111
  1617. __ASSERT== MD 40, 2424
  1618. L 1111
  1619. T MW 0
  1620. T MW 20
  1621. T MD 30
  1622. T MD 40
  1623. CALL "FC_movebox_1" (
  1624. // VAR_INPUT
  1625. IN0 := L#42424242 , // DINT
  1626. EN1 := TRUE , // BOOL
  1627. EN2 := FALSE , // BOOL
  1628. EN40 := TRUE , // BOOL
  1629. EN41 := TRUE , // BOOL
  1630. IN4 := 2424 , // INT
  1631. // VAR_OUTPUT
  1632. OUT0 := MW 0 , // WORD
  1633. OUT2 := MW 20 , // WORD
  1634. OUT3 := MD 30 , // DINT
  1635. OUT4 := MD 40 , // DINT
  1636. )
  1637. __ASSERT== MW 0, 22450
  1638. __ASSERT== MW 20, 1111
  1639. __ASSERT== MD 30, 1111
  1640. __ASSERT== MD 40, 2424
  1641. L 1111
  1642. T MW 0
  1643. T MW 20
  1644. T MD 30
  1645. T MD 40
  1646. CALL "FC_movebox_1" (
  1647. // VAR_INPUT
  1648. IN0 := L#42424242 , // DINT
  1649. EN1 := FALSE , // BOOL
  1650. EN2 := TRUE , // BOOL
  1651. EN40 := TRUE , // BOOL
  1652. EN41 := TRUE , // BOOL
  1653. IN4 := 2424 , // INT
  1654. // VAR_OUTPUT
  1655. OUT0 := MW 0 , // WORD
  1656. OUT2 := MW 20 , // WORD
  1657. OUT3 := MD 30 , // DINT
  1658. OUT4 := MD 40 , // DINT
  1659. )
  1660. __ASSERT== MW 0, 22450
  1661. __ASSERT== MW 20, 1111
  1662. __ASSERT== MD 30, 1111
  1663. __ASSERT== MD 40, 2424
  1664. L 1111
  1665. T MW 0
  1666. T MW 20
  1667. T MD 30
  1668. T MD 40
  1669. CALL "FC_movebox_1" (
  1670. // VAR_INPUT
  1671. IN0 := L#42424242 , // DINT
  1672. EN1 := TRUE , // BOOL
  1673. EN2 := TRUE , // BOOL
  1674. EN40 := TRUE , // BOOL
  1675. EN41 := TRUE , // BOOL
  1676. IN4 := 2424 , // INT
  1677. // VAR_OUTPUT
  1678. OUT0 := MW 0 , // WORD
  1679. OUT2 := MW 20 , // WORD
  1680. OUT3 := MD 30 , // DINT
  1681. OUT4 := MD 40 , // DINT
  1682. )
  1683. __ASSERT== MW 0, 22450
  1684. __ASSERT== MW 20, 22450
  1685. __ASSERT== MD 30, L#42424242
  1686. __ASSERT== MD 40, 2424
  1687. BE
  1688. END_FUNCTION
  1689. ]]></source>
  1690. <!-- AWL/STL source code -->
  1691. <source enabled="1"
  1692. name="TEST movebox 2"
  1693. type="0"><![CDATA[
  1694. FUNCTION "FC_TEST_movebox_2" : VOID
  1695. BEGIN
  1696. L 0
  1697. T MB 0
  1698. L L#11111111
  1699. T MD 10
  1700. T MD 20
  1701. CALL "FC_movebox_2" (
  1702. // VAR_INPUT
  1703. EN0 := FALSE, // BOOL
  1704. EN1 := FALSE, // BOOL
  1705. IN0 := B#16#42, // BYTE
  1706. // VAR_OUTPUT
  1707. ENO0 := M 0.0, // BOOL
  1708. OUT0 := MD 10, // DWORD
  1709. OUT1 := MD 20, // DWORD
  1710. )
  1711. __ASSERT== M 0.0, FALSE
  1712. __ASSERT== MD 10, L#11111111
  1713. __ASSERT== MD 20, L#11111111
  1714. L 0
  1715. T MB 0
  1716. L L#11111111
  1717. T MD 10
  1718. T MD 20
  1719. CALL "FC_movebox_2" (
  1720. // VAR_INPUT
  1721. EN0 := TRUE, // BOOL
  1722. EN1 := FALSE, // BOOL
  1723. IN0 := B#16#42, // BYTE
  1724. // VAR_OUTPUT
  1725. ENO0 := M 0.0, // BOOL
  1726. OUT0 := MD 10, // DWORD
  1727. OUT1 := MD 20, // DWORD
  1728. )
  1729. __ASSERT== M 0.0, TRUE
  1730. __ASSERT== MD 10, DW#16#42
  1731. __ASSERT== MD 20, L#11111111
  1732. L 0
  1733. T MB 0
  1734. L L#11111111
  1735. T MD 10
  1736. T MD 20
  1737. CALL "FC_movebox_2" (
  1738. // VAR_INPUT
  1739. EN0 := FALSE, // BOOL
  1740. EN1 := TRUE, // BOOL
  1741. IN0 := B#16#42, // BYTE
  1742. // VAR_OUTPUT
  1743. ENO0 := M 0.0, // BOOL
  1744. OUT0 := MD 10, // DWORD
  1745. OUT1 := MD 20, // DWORD
  1746. )
  1747. __ASSERT== M 0.0, FALSE
  1748. __ASSERT== MD 10, L#11111111
  1749. __ASSERT== MD 20, L#11111111
  1750. L 0
  1751. T MB 0
  1752. L L#11111111
  1753. T MD 10
  1754. T MD 20
  1755. CALL "FC_movebox_2" (
  1756. // VAR_INPUT
  1757. EN0 := TRUE, // BOOL
  1758. EN1 := TRUE, // BOOL
  1759. IN0 := B#16#42, // BYTE
  1760. // VAR_OUTPUT
  1761. ENO0 := M 0.0, // BOOL
  1762. OUT0 := MD 10, // DWORD
  1763. OUT1 := MD 20, // DWORD
  1764. )
  1765. __ASSERT== M 0.0, TRUE
  1766. __ASSERT== MD 10, DW#16#42
  1767. __ASSERT== MD 20, DW#16#42
  1768. BE
  1769. END_FUNCTION
  1770. ]]></source>
  1771. </language_awl>
  1772. <!-- FUP/FBD language configuration -->
  1773. <language_fup>
  1774. <!-- FUP/FBD source code -->
  1775. <source enabled="1"
  1776. name="movebox 0"
  1777. type="1"><![CDATA[
  1778. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  1779. <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
  1780. <FUP version="0" zoom="1.0">
  1781. <blockdecl name='"FC_movebox_0"' type="FC" />
  1782. <interface allow_initvalue="0"
  1783. allow_inouts="1"
  1784. allow_inputs="1"
  1785. allow_outputs="1"
  1786. allow_retval="1"
  1787. allow_stats="0"
  1788. allow_temps="1">
  1789. <inputs>
  1790. <field name="IN0" type="INT" uuid="9d196073-7730-4334-b2d3-c2f7983060b9" />
  1791. <field name="IN1" type="INT" uuid="ef0be7e1-04f0-4447-a990-1d825bb42b11" />
  1792. <field name="EN2" type="BOOL" uuid="e1110dff-56c1-43d3-a936-4e78ca2e023d" />
  1793. <field name="IN2" type="INT" uuid="ad676cc1-6872-43aa-8854-e9c7b56bd996" />
  1794. <field name="EN3" type="BOOL" uuid="4fea3dba-2528-4c56-86b1-8c52c235bb28" />
  1795. <field name="IN3" type="INT" uuid="1836a6ef-e4b8-47e5-966a-c17f04e17c08" />
  1796. <field name="EN4" type="BOOL" uuid="70602a67-ad86-48cf-b1fa-20f09a8ad0e7" />
  1797. <field name="IN4" type="INT" uuid="396000d1-049d-4e70-bed7-27de4dc8472e" />
  1798. <field name="EN5" type="BOOL" uuid="7243b487-e813-470b-8b4b-300e8a1cb3ac" />
  1799. <field name="IN5" type="INT" uuid="bcf96278-1e8a-4ca9-bc88-279836c89ef3" />
  1800. <field name="IN6" type="INT" uuid="d5a59eaa-5929-4570-9f23-33774186904a" />
  1801. <field name="IN7" type="INT" uuid="f20c14bd-052c-426c-b101-4651e748acd2" />
  1802. <field name="IN8" type="INT" uuid="552bd9f3-c6fd-4a76-9ff5-9aa2b64cf471" />
  1803. </inputs>
  1804. <outputs>
  1805. <field name="OUT0" type="INT" uuid="6d88a11f-724f-4e3c-907b-0b09c6e00edb" />
  1806. <field name="OUT1_0" type="INT" uuid="6d0ab820-6102-4e7c-9829-d62efe480da7" />
  1807. <field name="OUT1_1" type="INT" uuid="3d6f9f90-ee86-4dd2-b861-f11d99246c3c" />
  1808. <field name="OUT2" type="INT" uuid="09c0463a-4138-4c4a-bed2-efce3efaebe1" />
  1809. <field name="OUT3_0" type="INT" uuid="9dd4f28a-91db-4972-ba08-96aee9e8ddc9" />
  1810. <field name="OUT3_1" type="INT" uuid="8918a86f-000c-4adb-8de4-653da5f09bcb" />
  1811. <field name="OUT4" type="INT" uuid="3aae545d-b37b-47b9-b61a-5d91192d13a0" />
  1812. <field name="ENO4" type="BOOL" uuid="b33178ac-0d48-4b6c-8f0c-420dd62ccf59" />
  1813. <field name="OUT5_0" type="INT" uuid="759f8cd9-d5fd-42c6-bbcd-dcdbc877d2e0" />
  1814. <field name="OUT5_1" type="INT" uuid="6a9bacfd-30cc-4a9b-b963-6de1bd831b03" />
  1815. <field name="ENO5" type="BOOL" uuid="480b057a-ee15-4443-8c66-a27372bf227b" />
  1816. <field name="OUT6" type="INT" uuid="5462a22d-d636-49c6-ba31-d346f288a68d" />
  1817. <field name="ENO6" type="BOOL" uuid="fee6e346-561e-4141-9b9f-59d492d5297c" />
  1818. <field name="OUT7_0" type="INT" uuid="0abc5913-d898-4a94-9e63-c3bc55ec3b4b" />
  1819. <field name="OUT7_1" type="INT" uuid="6caf65d3-cadf-4ddf-8b0c-d351612f0eb1" />
  1820. <field name="ENO7" type="BOOL" uuid="5f1b528a-633a-49be-a2df-59aff8c3d08b" />
  1821. <field name="OUT8_0" type="INT" uuid="5c617d32-b2a0-410f-ba27-8e0018879ec2" />
  1822. <field name="OUT8_1" type="INT" uuid="95a0feaa-e3c1-4521-a1fa-fd1e623713e9" />
  1823. <field name="OUT8_2" type="INT" uuid="472f9c78-0c77-4263-8b43-4c3ef6447fd7" />
  1824. <field name="OUT8_3" type="INT" uuid="9fb56c79-170d-4b6b-9434-be78e24ab4a8" />
  1825. <field name="OUT8_4" type="INT" uuid="cf2dddae-10c2-4b86-a8fe-f911b20bfdf1" />
  1826. </outputs>
  1827. <retval>
  1828. <field name="RET_VAL" type="void" uuid="57886082-33db-41e6-92d9-ca75c31d3b4f" />
  1829. </retval>
  1830. </interface>
  1831. <grids>
  1832. <grid height="32" uuid="851bbcbc-4548-4018-bac6-c702db7f93ae" width="12">
  1833. <optimizers all="1" enabled="1" type="awl" />
  1834. <wires>
  1835. <wire id="0" uuid="aae2a1f9-f15d-4895-a2e5-dad85aa9514d" />
  1836. <wire id="1" uuid="98d876bc-5e63-42be-8784-20b3fc84a2e7" />
  1837. <wire id="2" uuid="80e5facd-7ea6-4ebe-b324-3670a4a4fd11" />
  1838. <wire id="3" uuid="7a718e7f-dee2-4a48-b774-4fa3a427a19d" />
  1839. <wire id="4" uuid="638dd741-b458-4f31-b534-ca2df4bf3e8c" />
  1840. <wire id="5" uuid="4fe3a191-515d-458f-8c84-4fdfab3b94d7" />
  1841. <wire id="6" uuid="052fb2d0-e468-4a97-9443-4772a4dcca17" />
  1842. <wire id="7" uuid="d541ec58-f869-490d-8dca-fbdcb7baa8a5" />
  1843. <wire id="8" uuid="2bd4681b-6759-4a93-8a2b-2b6e2eaf2f75" />
  1844. <wire id="9" uuid="f8a24674-23f5-4fdf-82ae-f687538b2772" />
  1845. <wire id="10" uuid="eb3559fe-7f74-47ce-971f-370c98a6c8b0" />
  1846. <wire id="11" uuid="2283e340-0dea-456d-bbb0-87ddc749fd95" />
  1847. <wire id="12" uuid="70661ba2-22ff-48a4-8dbd-857253baea22" />
  1848. <wire id="13" uuid="cde4d2b4-137d-40fd-8990-1884e07cb1bb" />
  1849. <wire id="14" uuid="9a656774-e326-4df9-9bde-09af3b3caa67" />
  1850. <wire id="15" uuid="3e7e3dcf-5bca-4a2c-9294-cf96e7aa7138" />
  1851. <wire id="16" uuid="b3f9c9f4-79e2-473d-8dd2-ae91a524be89" />
  1852. <wire id="17" uuid="d6011009-143b-40da-bfd3-0a1e6e88a90f" />
  1853. <wire id="18" uuid="44145384-58f1-4b59-88bf-326e1686ef8a" />
  1854. <wire id="19" uuid="9aa40517-d9c0-49b2-8c0f-9fef698e212e" />
  1855. <wire id="20" uuid="2f8e66aa-45c1-4497-96c9-5f2184f3cedc" />
  1856. <wire id="21" uuid="96bcba7e-7242-4a72-9005-6590d85107aa" />
  1857. <wire id="22" uuid="f46bdc31-5f44-49da-b167-9e27f3bc7aaa" />
  1858. <wire id="23" uuid="22e52940-0bc7-4521-986f-a7f24ed80528" />
  1859. <wire id="24" uuid="59b98ffc-0291-478a-a347-bc6ff794522f" />
  1860. <wire id="25" uuid="6864284a-80c8-4082-953f-965589eec1a7" />
  1861. <wire id="26" uuid="1e414ac5-21fd-4ead-a75d-3a90d9d244c2" />
  1862. <wire id="27" uuid="cb932bbd-cf37-4150-89cf-c3736021fe89" />
  1863. <wire id="28" uuid="9699feda-e133-4ac0-8587-d85cf5e2ac51" />
  1864. <wire id="29" uuid="0dfa5a8f-ade9-4244-919e-a52563cdbe8a" />
  1865. <wire id="30" uuid="23554340-a41e-46e6-8ff7-d61a35d5c861" />
  1866. <wire id="31" uuid="9852112e-4308-480f-b6f6-83a999eb157d" />
  1867. <wire id="32" uuid="ee9784eb-45f0-4b04-b746-77aa891bffb9" />
  1868. <wire id="33" uuid="260e0c7d-fade-45cf-9b88-c5fdc16a58cf" />
  1869. </wires>
  1870. <elements>
  1871. <element type="move" uuid="6c78858e-08e2-4ddd-bccc-406093a52ec8" x="2" y="1">
  1872. <connections>
  1873. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="861fbf74-7c40-4a71-89e0-597a2ab9b250" wire="-1" />
  1874. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="9c218892-1323-4cdf-b7ff-3bf4f04051e9" wire="0" />
  1875. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="286049fe-5422-4487-b8cb-fe8ab3b7e262" wire="1" />
  1876. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="68cd9864-4341-4a23-9098-f0081f947ffe" wire="-1" />
  1877. </connections>
  1878. </element>
  1879. <element content="#IN0" subtype="load" type="operand" uuid="ef483d81-9dc6-47e5-bbc1-508cb04459e1" x="1" y="3">
  1880. <connections>
  1881. <connection dir_in="0" dir_out="1" pos="0" uuid="f4839b72-2e75-41b5-9d09-16f127d99969" wire="0" />
  1882. </connections>
  1883. </element>
  1884. <element content="#OUT0" subtype="assign" type="operand" uuid="33222280-8d9e-4921-b431-6454a9846f83" x="3" y="2">
  1885. <connections>
  1886. <connection dir_in="1" dir_out="0" pos="0" uuid="62ba8b93-a288-4c82-855f-bd867fe3e0d2" wire="1" />
  1887. </connections>
  1888. </element>
  1889. <element type="move" uuid="65bd00dc-6e21-468c-92f5-50eec4a34802" x="2" y="6">
  1890. <connections>
  1891. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="f2c9fd20-bfeb-46d5-b3f3-359b662633e6" wire="2" />
  1892. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="e3491389-c179-4ad8-8e29-52cff622006b" wire="3" />
  1893. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="49026f72-19d8-42b8-a3bf-b1a45a5689a0" wire="4" />
  1894. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="48072160-4277-4159-874a-859990e770ee" wire="-1" />
  1895. </connections>
  1896. </element>
  1897. <element content="#EN2" subtype="load" type="operand" uuid="8a509495-c223-4f40-936c-2e136e58a876" x="1" y="7">
  1898. <connections>
  1899. <connection dir_in="0" dir_out="1" pos="0" uuid="8aa4fefc-fcc7-4f82-8e99-5148908e23b1" wire="2" />
  1900. </connections>
  1901. </element>
  1902. <element content="#IN2" subtype="load" type="operand" uuid="b310e764-d250-4621-adac-4108e0b36494" x="1" y="8">
  1903. <connections>
  1904. <connection dir_in="0" dir_out="1" pos="0" uuid="f271b377-01c8-4716-b505-6c197237a0b8" wire="3" />
  1905. </connections>
  1906. </element>
  1907. <element content="#OUT2" subtype="assign" type="operand" uuid="2e89baf6-fff0-40c7-8223-78776afbf128" x="3" y="7">
  1908. <connections>
  1909. <connection dir_in="1" dir_out="0" pos="0" uuid="961ac6a9-4448-44ea-96ca-3ff7169a1d8f" wire="4" />
  1910. </connections>
  1911. </element>
  1912. <element type="move" uuid="903fe79a-fb98-45a0-84c3-0eeca00f18e5" x="5" y="1">
  1913. <connections>
  1914. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="3d9553fe-87cd-4a02-9a3f-1305fa3e5107" wire="-1" />
  1915. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="1d46de09-ae66-4fe1-be34-186916b6158f" wire="5" />
  1916. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b11e02d4-dfce-4723-a8c3-e494a8cf8c1e" wire="6" />
  1917. <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="9f918687-7798-4d35-9100-be72eaf6e450" wire="7" />
  1918. <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="b8cccea5-51e8-4b64-88c4-f7c1da718b86" wire="-1" />
  1919. </connections>
  1920. </element>
  1921. <element content="#IN1" subtype="load" type="operand" uuid="e0e4142e-8e1c-46fb-81fa-25fdcc4467fc" x="4" y="3">
  1922. <connections>
  1923. <connection dir_in="0" dir_out="1" pos="0" uuid="5c0a25eb-733b-43a1-803b-5148785ea229" wire="5" />
  1924. </connections>
  1925. </element>
  1926. <element content="#OUT1_0" subtype="assign" type="operand" uuid="b72e35dd-890e-4ccb-9091-82745ec8fcbd" x="6" y="2">
  1927. <connections>
  1928. <connection dir_in="1" dir_out="0" pos="0" uuid="37741ece-2e05-447c-9e1b-b0e1c8749ad3" wire="6" />
  1929. </connections>
  1930. </element>
  1931. <element content="#OUT1_1" subtype="assign" type="operand" uuid="088dd44f-7e4d-41ca-b469-0c3a57cdf46a" x="6" y="3">
  1932. <connections>
  1933. <connection dir_in="1" dir_out="0" pos="0" uuid="ff342d3d-cf91-487b-94ad-9e60b9942851" wire="7" />
  1934. </connections>
  1935. </element>
  1936. <element type="move" uuid="b48b3801-a090-4e20-9cf4-595ac43fa8b0" x="5" y="6">
  1937. <connections>
  1938. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="06fc0d26-ca75-4af7-a42b-37ebff8d17f0" wire="8" />
  1939. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="9fa2bb3a-2334-4a4c-9af2-f7681b78afb7" wire="9" />
  1940. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="5a95fb3e-03a8-4031-8593-e13097b478fe" wire="10" />
  1941. <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="3d8a9542-3ef4-4e14-a361-cbfc56e33bae" wire="11" />
  1942. <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="c4c4ff66-4be9-475f-a802-69259d1e603d" wire="-1" />
  1943. </connections>
  1944. </element>
  1945. <element content="#EN3" subtype="load" type="operand" uuid="a00d1ffb-5c2a-451a-b28d-27438c8c3b0f" x="4" y="7">
  1946. <connections>
  1947. <connection dir_in="0" dir_out="1" pos="0" uuid="f382ed6f-230b-42c3-b83a-9d2774131118" wire="8" />
  1948. </connections>
  1949. </element>
  1950. <element content="#IN3" subtype="load" type="operand" uuid="dc236965-c5c4-4a0d-8b5e-a879a5898012" x="4" y="8">
  1951. <connections>
  1952. <connection dir_in="0" dir_out="1" pos="0" uuid="7b263231-4bd5-4b0a-97ef-b739a5fa8173" wire="9" />
  1953. </connections>
  1954. </element>
  1955. <element content="#OUT3_0" subtype="assign" type="operand" uuid="560c38d0-6cd8-4a51-8d70-4e31c1472384" x="6" y="7">
  1956. <connections>
  1957. <connection dir_in="1" dir_out="0" pos="0" uuid="b031246d-c9d0-4a90-b11a-af96a5b6d3af" wire="10" />
  1958. </connections>
  1959. </element>
  1960. <element content="#OUT3_1" subtype="assign" type="operand" uuid="a9b7ff19-681b-4373-a673-0a8cda5ca1a6" x="6" y="8">
  1961. <connections>
  1962. <connection dir_in="1" dir_out="0" pos="0" uuid="9402c6b9-d254-4652-886b-6996830a693a" wire="11" />
  1963. </connections>
  1964. </element>
  1965. <element type="move" uuid="54fae4b9-0ce4-4e23-9cca-13798f3909ac" x="2" y="11">
  1966. <connections>
  1967. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="347af98e-be26-4deb-9c94-30905f641664" wire="12" />
  1968. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="6571a216-6f24-4089-b6f4-63bbc7d8658d" wire="13" />
  1969. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="3cf9d43e-6abc-49a2-b301-7fdf90d9b127" wire="14" />
  1970. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="e5292ca6-0ac3-4e3e-a198-78f27376ecc5" wire="15" />
  1971. </connections>
  1972. </element>
  1973. <element content="#EN4" subtype="load" type="operand" uuid="d7be174b-f53e-4125-90d5-d814398c6646" x="1" y="12">
  1974. <connections>
  1975. <connection dir_in="0" dir_out="1" pos="0" uuid="66d678a4-58c0-46a6-9bcf-089f46a61fb4" wire="12" />
  1976. </connections>
  1977. </element>
  1978. <element content="#IN4" subtype="load" type="operand" uuid="55879638-83e9-421c-9381-d268bf2af875" x="1" y="13">
  1979. <connections>
  1980. <connection dir_in="0" dir_out="1" pos="0" uuid="a779677e-2145-4f24-a63a-f8e75f54d9ef" wire="13" />
  1981. </connections>
  1982. </element>
  1983. <element content="#OUT4" subtype="assign" type="operand" uuid="29f47df5-7d18-41a0-8790-8de37e2204bf" x="3" y="12">
  1984. <connections>
  1985. <connection dir_in="1" dir_out="0" pos="0" uuid="389f35c5-9e4d-4ae2-96be-395aed3bd653" wire="14" />
  1986. </connections>
  1987. </element>
  1988. <element content="#ENO4" subtype="assign" type="operand" uuid="89a30afa-5bd9-4069-8c6d-7143979b9720" x="3" y="13">
  1989. <connections>
  1990. <connection dir_in="1" dir_out="0" pos="0" uuid="a4e759e4-f224-4c77-b211-54b10f155a33" wire="15" />
  1991. </connections>
  1992. </element>
  1993. <element type="move" uuid="db33273b-af95-49dc-800f-19a42174bd3d" x="5" y="11">
  1994. <connections>
  1995. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="3e8ccc15-9495-401b-9c1b-2a1aae098af3" wire="16" />
  1996. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="5c496e7a-931b-44c5-9fb5-3303e5f127cc" wire="17" />
  1997. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="1aa5c936-49b6-4ca4-8fcc-16478c387040" wire="18" />
  1998. <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="ed4a2c84-a2f7-4f21-a84c-0330ab94cb9c" wire="19" />
  1999. <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="beb73711-d42c-4731-8493-5cb9c914739f" wire="20" />
  2000. </connections>
  2001. </element>
  2002. <element content="#EN5" subtype="load" type="operand" uuid="1f0b6a25-0430-46ab-beda-7b20ff2f9cb7" x="4" y="12">
  2003. <connections>
  2004. <connection dir_in="0" dir_out="1" pos="0" uuid="98cd6668-14d9-4ffd-8957-fced1ad3954f" wire="16" />
  2005. </connections>
  2006. </element>
  2007. <element content="#IN5" subtype="load" type="operand" uuid="bda2895e-336a-421d-8d07-bc703b29bf41" x="4" y="13">
  2008. <connections>
  2009. <connection dir_in="0" dir_out="1" pos="0" uuid="d1b9e460-3122-4f03-9f2e-a0d6c899b7a2" wire="17" />
  2010. </connections>
  2011. </element>
  2012. <element content="#OUT5_0" subtype="assign" type="operand" uuid="d5551f69-4ad2-4e9e-9182-606042ba8f71" x="6" y="12">
  2013. <connections>
  2014. <connection dir_in="1" dir_out="0" pos="0" uuid="25107c03-5608-4739-9f4d-c8226255b079" wire="18" />
  2015. </connections>
  2016. </element>
  2017. <element content="#OUT5_1" subtype="assign" type="operand" uuid="60a20578-3851-4ba8-97f7-d5c0f51d2f47" x="6" y="13">
  2018. <connections>
  2019. <connection dir_in="1" dir_out="0" pos="0" uuid="1412c28b-c81d-43db-ab0a-4e16d6f19675" wire="19" />
  2020. </connections>
  2021. </element>
  2022. <element content="#ENO5" subtype="assign" type="operand" uuid="358cbe1c-0399-4592-bcb0-a9c98c4b15a3" x="6" y="14">
  2023. <connections>
  2024. <connection dir_in="1" dir_out="0" pos="0" uuid="5e637181-2384-4825-b68e-fac0367514a9" wire="20" />
  2025. </connections>
  2026. </element>
  2027. <element type="move" uuid="27f56055-a067-4cec-890a-dbe7865caa1e" x="2" y="16">
  2028. <connections>
  2029. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="e9c13eb3-de68-4fb7-9f60-dcf31d884495" wire="-1" />
  2030. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="ec8c8cd1-bad2-47ad-8418-4c0bb0ee5557" wire="21" />
  2031. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="20e7a028-a08d-41dc-a850-9ec622c8dc3d" wire="22" />
  2032. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="2cadc388-2425-4ceb-9da9-2e33de7779b0" wire="23" />
  2033. </connections>
  2034. </element>
  2035. <element content="#IN6" subtype="load" type="operand" uuid="4036e031-62ca-40a5-bc2e-16d055c01531" x="1" y="18">
  2036. <connections>
  2037. <connection dir_in="0" dir_out="1" pos="0" uuid="e8c07a91-edab-4796-b6b0-e8121741e7db" wire="21" />
  2038. </connections>
  2039. </element>
  2040. <element content="#OUT6" subtype="assign" type="operand" uuid="9282202b-5ec8-4fb8-97e8-f42b606a244c" x="3" y="17">
  2041. <connections>
  2042. <connection dir_in="1" dir_out="0" pos="0" uuid="11424b3f-3b2e-4391-a659-c302d9db7b21" wire="22" />
  2043. </connections>
  2044. </element>
  2045. <element content="#ENO6" subtype="assign" type="operand" uuid="c1ab183e-0ad8-4617-bc64-af4e9f02ddbb" x="3" y="18">
  2046. <connections>
  2047. <connection dir_in="1" dir_out="0" pos="0" uuid="fa86b855-e612-44fd-9404-5519143b9912" wire="23" />
  2048. </connections>
  2049. </element>
  2050. <element type="move" uuid="69b95f98-d6fc-4a6b-a243-f12c396209ba" x="5" y="16">
  2051. <connections>
  2052. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="806d6642-4fd5-446e-96e6-94a6dda7b669" wire="-1" />
  2053. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="60e253b3-a45d-41db-86ae-0a0eb52e3466" wire="24" />
  2054. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="26677bce-cc08-45e7-9804-a2af0630d71b" wire="25" />
  2055. <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="ccb29fc1-9c01-48c1-9f60-de1d75f4509d" wire="26" />
  2056. <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="361d0a2c-e151-432b-8068-92be076cdaab" wire="27" />
  2057. </connections>
  2058. </element>
  2059. <element content="#IN7" subtype="load" type="operand" uuid="fc1c59aa-90cd-434d-ae02-10c1e4227fd4" x="4" y="18">
  2060. <connections>
  2061. <connection dir_in="0" dir_out="1" pos="0" uuid="c28c9918-e7cc-4608-a71f-97bc2c0daf92" wire="24" />
  2062. </connections>
  2063. </element>
  2064. <element content="#OUT7_0" subtype="assign" type="operand" uuid="ebb64603-8b2e-48cb-b889-6f1d0c4d8357" x="6" y="17">
  2065. <connections>
  2066. <connection dir_in="1" dir_out="0" pos="0" uuid="35995b32-369e-4bc2-8368-65c6e11fd826" wire="25" />
  2067. </connections>
  2068. </element>
  2069. <element content="#OUT7_1" subtype="assign" type="operand" uuid="f858ae5d-941f-4ed8-bdcd-d29719fea126" x="6" y="18">
  2070. <connections>
  2071. <connection dir_in="1" dir_out="0" pos="0" uuid="d792c760-07ad-4712-91b5-f707a52a2010" wire="26" />
  2072. </connections>
  2073. </element>
  2074. <element content="#ENO7" subtype="assign" type="operand" uuid="5d13c563-97a7-486c-849e-d281b95e6dfe" x="6" y="19">
  2075. <connections>
  2076. <connection dir_in="1" dir_out="0" pos="0" uuid="57b97814-a06e-4fb7-b5e5-520698bb77c8" wire="27" />
  2077. </connections>
  2078. </element>
  2079. <element type="move" uuid="df6cd64a-32e8-4eb1-bf3c-a1d7844e15d9" x="5" y="21">
  2080. <connections>
  2081. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="37647522-7cdc-41c5-be23-2ab7be503ce2" wire="-1" />
  2082. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="21d310f9-e01c-4214-a25a-a19d90e94d86" wire="28" />
  2083. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="142b8b7f-d6d4-4129-881c-d75b0f1ff70c" wire="29" />
  2084. <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="56c9a651-f935-4d4f-a0df-16af2c9138e6" wire="30" />
  2085. <connection dir_in="0" dir_out="1" pos="2" text="OUT2" uuid="53239edd-1516-45af-a107-c0a3f7c92f24" wire="31" />
  2086. <connection dir_in="0" dir_out="1" pos="3" text="OUT3" uuid="77ba8e6a-fbf5-4b4c-9d22-0c72971349bf" wire="32" />
  2087. <connection dir_in="0" dir_out="1" pos="4" text="OUT4" uuid="45b4df63-cea0-44cb-a062-6846d94c8990" wire="33" />
  2088. <connection dir_in="0" dir_out="1" pos="5" text="ENO" uuid="a23c6e88-1db0-40e5-b45a-354991444896" wire="-1" />
  2089. </connections>
  2090. </element>
  2091. <element content="#IN8" subtype="load" type="operand" uuid="6253a4f4-9331-491b-b06a-6c9bade72566" x="4" y="23">
  2092. <connections>
  2093. <connection dir_in="0" dir_out="1" pos="0" uuid="8d4d8cba-f54d-4c8a-9097-1eb11ded41c3" wire="28" />
  2094. </connections>
  2095. </element>
  2096. <element content="#OUT8_0" subtype="assign" type="operand" uuid="3e379c8c-9873-475d-ba13-ceb68362a023" x="6" y="22">
  2097. <connections>
  2098. <connection dir_in="1" dir_out="0" pos="0" uuid="29edb45c-eb6a-4acf-a3df-ea5b2471863a" wire="29" />
  2099. </connections>
  2100. </element>
  2101. <element content="#OUT8_1" subtype="assign" type="operand" uuid="434a531a-0fd6-4626-8316-1416d7474505" x="6" y="23">
  2102. <connections>
  2103. <connection dir_in="1" dir_out="0" pos="0" uuid="17c46dea-c3ca-41c5-bcef-9264e5f0f3fe" wire="30" />
  2104. </connections>
  2105. </element>
  2106. <element content="#OUT8_2" subtype="assign" type="operand" uuid="60dca331-ced2-4233-a530-31b769f6c15b" x="6" y="24">
  2107. <connections>
  2108. <connection dir_in="1" dir_out="0" pos="0" uuid="98d4aae8-52d4-48bb-b46e-cf6d6c2c698b" wire="31" />
  2109. </connections>
  2110. </element>
  2111. <element content="#OUT8_3" subtype="assign" type="operand" uuid="46dde2c2-b6d0-4046-98a6-abf34be05396" x="6" y="25">
  2112. <connections>
  2113. <connection dir_in="1" dir_out="0" pos="0" uuid="9bf2e80b-21f2-4e67-8d79-c6aa85b5733a" wire="32" />
  2114. </connections>
  2115. </element>
  2116. <element content="#OUT8_4" subtype="assign" type="operand" uuid="d9690215-4edb-4898-93c4-b9a404921ac9" x="6" y="26">
  2117. <connections>
  2118. <connection dir_in="1" dir_out="0" pos="0" uuid="975a1744-db8a-4827-8145-430d2e29f96f" wire="33" />
  2119. </connections>
  2120. </element>
  2121. </elements>
  2122. </grid>
  2123. </grids>
  2124. </FUP>
  2125. ]]></source>
  2126. <!-- FUP/FBD source code -->
  2127. <source enabled="1"
  2128. name="movebox 1"
  2129. type="1"><![CDATA[
  2130. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2131. <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
  2132. <FUP version="0" zoom="1.0">
  2133. <blockdecl name='"FC_movebox_1"' type="FC" />
  2134. <interface allow_initvalue="0"
  2135. allow_inouts="1"
  2136. allow_inputs="1"
  2137. allow_outputs="1"
  2138. allow_retval="1"
  2139. allow_stats="0"
  2140. allow_temps="1">
  2141. <inputs>
  2142. <field name="IN0" type="DINT" uuid="4756456b-e5f3-4fec-bea3-ef82cba35fbb" />
  2143. <field name="EN1" type="BOOL" uuid="e2d2db4e-ddc7-4e69-a0a7-0ff1897db72c" />
  2144. <field name="EN2" type="BOOL" uuid="d747d81a-7d1d-44ab-9a44-416672726ea0" />
  2145. <field name="EN40" type="BOOL" uuid="2fc3f4b8-57ca-4d7a-939b-a7a0aa3fedcf" />
  2146. <field name="EN41" type="BOOL" uuid="0d1ed571-3c51-4bcb-9aca-5ba67f98b771" />
  2147. <field name="IN4" type="INT" uuid="a7e35d8f-33bd-4fca-b2a5-38f28329f0a4" />
  2148. </inputs>
  2149. <outputs>
  2150. <field name="OUT0" type="WORD" uuid="4a571eb2-ee12-4603-b4c4-554fbfd6b9c7" />
  2151. <field name="OUT2" type="WORD" uuid="143ea9d7-9874-4817-88df-a0cfe9318e9d" />
  2152. <field name="OUT3" type="DINT" uuid="25853242-6b91-40f4-87f3-96f5ac0259d7" />
  2153. <field name="OUT4" type="DINT" uuid="d479e9de-040d-424a-ab36-6e731b3f3f95" />
  2154. </outputs>
  2155. <retval>
  2156. <field name="RET_VAL" type="VOID" uuid="2e3236d5-61fa-4680-91b9-8c26390242db" />
  2157. </retval>
  2158. </interface>
  2159. <grids>
  2160. <grid height="20" uuid="4d6e5511-c04f-46b4-9660-bca515d17bbe" width="13">
  2161. <optimizers all="1" enabled="1" type="awl" />
  2162. <wires>
  2163. <wire id="0" uuid="869c9f7b-69b5-4930-8d89-3303f0f45a78" />
  2164. <wire id="1" uuid="5a7357cf-20c4-4ff5-b1bb-c6aea25c36e2" />
  2165. <wire id="2" uuid="e6aae8e9-62b1-42c9-a334-45498b1bb74f" />
  2166. <wire id="3" uuid="dcd3f4f2-283d-43a6-98db-7526f7736732" />
  2167. <wire id="4" uuid="61c21fb4-629f-4b36-b3aa-29288d07e5f4" />
  2168. <wire id="5" uuid="e62abe3b-c4d7-440d-83c9-a96489ace979" />
  2169. <wire id="6" uuid="a05142c8-1313-4c9d-a176-3cd87bbfe752" />
  2170. <wire id="7" uuid="5cb05b18-d493-4834-8fcb-f480e68bf0a9" />
  2171. <wire id="8" uuid="83fc3dd8-b32b-4e5a-a67e-7dfba35c9e35" />
  2172. <wire id="9" uuid="fae90f58-ea09-46c4-94e6-1342d0bc4ea5" />
  2173. <wire id="10" uuid="f097feef-b6d1-4ec8-b962-24a3e3c426f1" />
  2174. <wire id="11" uuid="9398672c-8ca6-49d1-ba41-a86bc7e3196d" />
  2175. <wire id="12" uuid="b71472ef-5468-40e0-a7bc-5ba33658f325" />
  2176. </wires>
  2177. <elements>
  2178. <element type="move" uuid="2a656be7-8d46-4eea-a49b-dd7992b26ed5" x="2" y="7">
  2179. <connections>
  2180. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="72430ae2-3f85-4e10-b749-ae3857658a44" wire="-1" />
  2181. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="fd1bd639-eb0b-4ccc-a2bb-e4ce3f06c37a" wire="1" />
  2182. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="ccedb705-5728-4d0d-890a-d16fb37e589d" wire="0" />
  2183. <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="b71354cb-529a-4b6d-bd62-2d2f89a4f1ea" wire="2" />
  2184. <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="e436d4db-1583-4774-80d8-27ffed643884" wire="-1" />
  2185. </connections>
  2186. </element>
  2187. <element type="move" uuid="57d8e0ed-c8d9-49ab-970b-56239bc4ece2" x="4" y="6">
  2188. <connections>
  2189. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="5121c775-ecff-4396-bb0c-fcfb7cc38eac" wire="3" />
  2190. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="6a7643c7-af7d-4029-90e4-1dc594e1c911" wire="0" />
  2191. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="eef74887-659e-4182-b154-2f8dd6e4491f" wire="5" />
  2192. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="60adfc69-b0a2-421e-8710-904107a309c7" wire="-1" />
  2193. </connections>
  2194. </element>
  2195. <element content="#IN0" subtype="load" type="operand" uuid="99d6309f-c4e8-4f5d-92d8-53b25e84e321" x="1" y="9">
  2196. <connections>
  2197. <connection dir_in="0" dir_out="1" pos="0" uuid="18982c4e-963d-4708-bcf8-2eccba7970c0" wire="1" />
  2198. </connections>
  2199. </element>
  2200. <element content="#OUT2" subtype="assign" type="operand" uuid="007bed50-bf6d-440c-b55a-4443f3142cb9" x="7" y="3">
  2201. <connections>
  2202. <connection dir_in="1" dir_out="0" pos="0" uuid="93d871ed-048c-4b70-b820-ccf1d073157f" wire="4" />
  2203. </connections>
  2204. </element>
  2205. <element content="#OUT0" subtype="assign" type="operand" uuid="8d4c173e-379e-49a0-814f-78f298ee4ae3" x="3" y="9">
  2206. <connections>
  2207. <connection dir_in="1" dir_out="0" pos="0" uuid="54d5475a-e144-4e6f-9bc1-a07c22d10e65" wire="2" />
  2208. </connections>
  2209. </element>
  2210. <element content="#EN1" subtype="load" type="operand" uuid="d10f6053-b001-440a-9460-19533e3d31d9" x="3" y="7">
  2211. <connections>
  2212. <connection dir_in="0" dir_out="1" pos="0" uuid="4bd7ed0c-cd87-41ee-8dfa-3bf1b87557c1" wire="3" />
  2213. </connections>
  2214. </element>
  2215. <element type="move" uuid="26ebe4b8-cd1f-4c1c-bd85-1d1583e06239" x="6" y="5">
  2216. <connections>
  2217. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="e394efb5-ba59-45ba-bf9c-a066d6253834" wire="6" />
  2218. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="815b25dc-696b-4200-b015-f29c7a015fff" wire="5" />
  2219. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="3e07a19e-401e-4422-80fc-6078c2e6765a" wire="4" />
  2220. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="7920ff74-74eb-490d-b7a8-2b08ab3a346d" wire="-1" />
  2221. </connections>
  2222. </element>
  2223. <element content="#EN2" subtype="load" type="operand" uuid="858cbf66-e91f-4c00-a0a9-894f31a03588" x="5" y="6">
  2224. <connections>
  2225. <connection dir_in="0" dir_out="1" pos="0" uuid="aa754539-7277-4a4d-95c4-0cdaa7ed8806" wire="6" />
  2226. </connections>
  2227. </element>
  2228. <element type="move" uuid="66e9f0dc-1730-48aa-9624-09f994ebca69" x="2" y="13">
  2229. <connections>
  2230. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="5742e294-abb7-41b8-be50-0d321cee28e0" wire="9" />
  2231. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="ad2a9d47-5359-43bb-bdd3-4f217daa6c96" wire="7" />
  2232. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="fa023183-bd4f-453a-8bd6-3c08bd4bb09e" wire="8" />
  2233. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="d39dbb9e-bd57-4fb7-a61d-56523032aeb9" wire="-1" />
  2234. </connections>
  2235. </element>
  2236. <element content="#IN4" subtype="load" type="operand" uuid="d3a212d9-0c4b-47c6-b7da-d6ca2efbfcbe" x="1" y="15">
  2237. <connections>
  2238. <connection dir_in="0" dir_out="1" pos="0" uuid="df33575a-b616-4071-8292-0336c780438d" wire="7" />
  2239. </connections>
  2240. </element>
  2241. <element content="#OUT4" subtype="assign" type="operand" uuid="eb314a06-686e-4787-8001-2176c63a3623" x="3" y="14">
  2242. <connections>
  2243. <connection dir_in="1" dir_out="0" pos="0" uuid="52844007-7264-4d32-ba50-0ebac9a757ad" wire="8" />
  2244. </connections>
  2245. </element>
  2246. <element subtype="and" type="boolean" uuid="a12df14e-0db9-4cb5-a59e-238c36db4a0f" x="1" y="12">
  2247. <connections>
  2248. <connection dir_in="1" dir_out="0" pos="0" uuid="50da09c3-9275-4afb-9e7e-1de4f95d1399" wire="10" />
  2249. <connection dir_in="1" dir_out="0" pos="1" uuid="a2739aa0-3e48-4dac-b0a2-8db147a0de2b" wire="11" />
  2250. <connection dir_in="0" dir_out="1" pos="0" uuid="f2d1c14b-e0c0-4cd4-bf17-b11640759c24" wire="9" />
  2251. </connections>
  2252. </element>
  2253. <element content="#EN40" subtype="load" type="operand" uuid="3c745733-1ad5-490b-ac57-9cea0c2c0e1e" x="0" y="12">
  2254. <connections>
  2255. <connection dir_in="0" dir_out="1" pos="0" uuid="18ecfce0-8283-48b7-84c4-cd251689576a" wire="10" />
  2256. </connections>
  2257. </element>
  2258. <element content="#EN41" subtype="load" type="operand" uuid="37c5ccf7-10df-47e6-987a-666b60b9f941" x="0" y="13">
  2259. <connections>
  2260. <connection dir_in="0" dir_out="1" pos="0" uuid="6677144d-82bb-4652-a662-f871fe6faaa9" wire="11" />
  2261. </connections>
  2262. </element>
  2263. <element type="move" uuid="95fd4a7f-6d49-4b0f-ac56-28e6cdfcc204" x="8" y="4">
  2264. <connections>
  2265. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="09d28268-387f-4880-b6dc-4fa9da30786c" wire="-1" />
  2266. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="d2285ed5-5d7f-42af-9680-d258315ff440" wire="4" />
  2267. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="c5e727e0-4e31-47fe-91ce-f5672a45cd0f" wire="12" />
  2268. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="cf51ef63-4360-450d-b6b5-2a44fdd68c74" wire="-1" />
  2269. </connections>
  2270. </element>
  2271. <element content="#OUT3" subtype="assign" type="operand" uuid="49cfd7e2-4275-4365-9485-fc56cf6984b4" x="9" y="5">
  2272. <connections>
  2273. <connection dir_in="1" dir_out="0" pos="0" uuid="8347c7cc-bbed-47ad-994f-97c31e3562d5" wire="12" />
  2274. </connections>
  2275. </element>
  2276. </elements>
  2277. </grid>
  2278. </grids>
  2279. </FUP>
  2280. ]]></source>
  2281. <!-- FUP/FBD source code -->
  2282. <source enabled="1"
  2283. name="movebox 2"
  2284. type="1"><![CDATA[
  2285. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2286. <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
  2287. <FUP version="0" zoom="1.0">
  2288. <blockdecl name='"FC_movebox_2"' type="FC" />
  2289. <interface allow_initvalue="0"
  2290. allow_inouts="1"
  2291. allow_inputs="1"
  2292. allow_outputs="1"
  2293. allow_retval="1"
  2294. allow_stats="0"
  2295. allow_temps="1">
  2296. <inputs>
  2297. <field name="EN0" type="BOOL" uuid="4d105d5a-b0b3-4a46-a5eb-e46a6cee66ad" />
  2298. <field name="EN1" type="BOOL" uuid="94d21506-a025-470c-be96-645e3f232487" />
  2299. <field name="IN0" type="BYTE" uuid="787042d5-4b65-41c4-b7bc-322a7d7365f7" />
  2300. </inputs>
  2301. <outputs>
  2302. <field name="ENO0" type="BOOL" uuid="92800161-c08b-4a37-bde5-11ac959aaad7" />
  2303. <field name="OUT0" type="DWORD" uuid="823dea37-4d52-43c4-9558-4af4b90c210a" />
  2304. <field name="OUT1" type="DWORD" uuid="6d580feb-522f-4a26-b071-642615dac7a0" />
  2305. </outputs>
  2306. <retval>
  2307. <field name="RET_VAL" type="VOID" uuid="67baf7f8-80e7-4f3b-bcce-294e222a0548" />
  2308. </retval>
  2309. </interface>
  2310. <grids>
  2311. <grid height="18" uuid="41e5de74-d95e-4eb5-896a-bd3eac687f82" width="12">
  2312. <optimizers all="1" enabled="1" type="awl" />
  2313. <wires>
  2314. <wire id="0" uuid="4897faa0-83fb-4cf3-87d4-082ffbae67d9" />
  2315. <wire id="1" uuid="4811fb51-3e59-4370-bd7f-156f85022a2d" />
  2316. <wire id="2" uuid="0dcdbe17-60fa-4d65-9c55-cae4185d11a3" />
  2317. <wire id="3" uuid="ccfde71e-aa14-4372-ba88-17418e304184" />
  2318. <wire id="4" uuid="33a668d6-bce9-4ad9-8315-f90f237ca827" />
  2319. <wire id="5" uuid="b4f953cb-0c60-47b2-81da-08c0485211aa" />
  2320. <wire id="6" uuid="6a7c99fa-d6b6-4d4e-964f-2be627f6e822" />
  2321. </wires>
  2322. <elements>
  2323. <element type="move" uuid="74cc3061-4ae4-4677-a3fb-1c3a1283302b" x="2" y="3">
  2324. <connections>
  2325. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="50df4c21-72a6-48d6-bd6f-06449576ed88" wire="3" />
  2326. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="de00bd7a-0b68-4b14-9d30-3beb0963e13d" wire="4" />
  2327. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="7c2da7fb-f9be-4791-935b-c4e760d1c45e" wire="2" />
  2328. <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="c0a0ee8e-0d9e-49d4-89a2-fe28c363edd2" wire="0" />
  2329. <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="0a6b1344-6201-46a4-bfd1-8fdf86a66de2" wire="6" />
  2330. </connections>
  2331. </element>
  2332. <element type="move" uuid="711ccf32-6506-4504-947c-4f83cce321ad" x="6" y="3">
  2333. <connections>
  2334. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="0a28136b-2caa-4390-86fc-3f5d1a17bdad" wire="1" />
  2335. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="8be97e5e-b633-403a-99f8-b6b113211cea" wire="0" />
  2336. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="39aa3545-f19e-41fc-ac2d-c43316727f1b" wire="5" />
  2337. <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="c829d0f8-1806-456c-b079-a9ce1bda97b2" wire="-1" />
  2338. </connections>
  2339. </element>
  2340. <element content="#EN1" subtype="load" type="operand" uuid="ca976c87-3297-4bcd-8132-b0a1da4a7d91" x="5" y="4">
  2341. <connections>
  2342. <connection dir_in="0" dir_out="1" pos="0" uuid="af157674-857a-4459-85aa-d09aa48a57ce" wire="1" />
  2343. </connections>
  2344. </element>
  2345. <element content="#OUT0" subtype="assign" type="operand" uuid="55cb2979-b5e6-49ab-b19a-14c82549b824" x="3" y="4">
  2346. <connections>
  2347. <connection dir_in="1" dir_out="0" pos="0" uuid="fc46f9a2-a618-46bf-9698-3d21059e5989" wire="2" />
  2348. </connections>
  2349. </element>
  2350. <element content="#EN0" subtype="load" type="operand" uuid="6f31a5d8-eb9a-4d9f-8c8f-4c43a09af361" x="1" y="4">
  2351. <connections>
  2352. <connection dir_in="0" dir_out="1" pos="0" uuid="c41be60d-9902-42d2-9e21-c13639026ba1" wire="3" />
  2353. </connections>
  2354. </element>
  2355. <element content="#IN0" subtype="load" type="operand" uuid="bbbda444-1b93-4a00-9292-b4b352004432" x="1" y="5">
  2356. <connections>
  2357. <connection dir_in="0" dir_out="1" pos="0" uuid="908749d8-b48e-42f7-91cb-eb45b0359150" wire="4" />
  2358. </connections>
  2359. </element>
  2360. <element content="#OUT1" subtype="assign" type="operand" uuid="336ba3f7-eafa-49d4-bae0-8237409a0ccf" x="7" y="4">
  2361. <connections>
  2362. <connection dir_in="1" dir_out="0" pos="0" uuid="b5c92dd2-01aa-44d5-890b-44d940da0709" wire="5" />
  2363. </connections>
  2364. </element>
  2365. <element content="#ENO0" subtype="assign" type="operand" uuid="88b7a548-e1e3-4ad2-927c-a39e6b3216a4" x="3" y="6">
  2366. <connections>
  2367. <connection dir_in="1" dir_out="0" pos="0" uuid="54f99dd8-aed0-4eaa-8538-1689ce31ea74" wire="6" />
  2368. </connections>
  2369. </element>
  2370. </elements>
  2371. </grid>
  2372. </grids>
  2373. </FUP>
  2374. ]]></source>
  2375. </language_fup>
  2376. <!-- Symbol table configuration -->
  2377. <symbols>
  2378. <!-- symbol table source code -->
  2379. <source enabled="1"
  2380. name="symbol table"
  2381. type="3"><![CDATA[
  2382. 126,FC_movebox_0 FC 20 FC 20
  2383. 126,FC_TEST_movebox_0 FC 21 FC 21
  2384. 126,FC_movebox_1 FC 30 FC 30
  2385. 126,FC_TEST_movebox_1 FC 31 FC 31
  2386. 126,FC_movebox_2 FC 40 FC 40
  2387. 126,FC_TEST_movebox_2 FC 41 FC 41
  2388. ]]></source>
  2389. </symbols>
  2390. <!-- Core server link configuration -->
  2391. <core_link>
  2392. <!-- Locally spawned core server -->
  2393. <spawn_local enable="1"
  2394. interpreters="$DEFAULT"
  2395. port_range_begin="4183"
  2396. port_range_end="8278" />
  2397. <!-- Remote server connection -->
  2398. <connect host="192.168.179.31"
  2399. port="4151"
  2400. timeout_ms="3000" />
  2401. <!-- Transport tunnel -->
  2402. <tunnel local_port="-1"
  2403. type="0">
  2404. <ssh executable="ssh"
  2405. port="22"
  2406. user="pi" />
  2407. </tunnel>
  2408. </core_link>
  2409. <!-- Hardware modules configuration -->
  2410. <hardware>
  2411. <!-- Loaded hardware module -->
  2412. <module name="dummy">
  2413. <params>
  2414. <param name="inputAddressBase"
  2415. value="0" />
  2416. <param name="outputAddressBase"
  2417. value="0" />
  2418. </params>
  2419. </module>
  2420. </hardware>
  2421. <!-- Graphical user interface configuration -->
  2422. <gui>
  2423. <editor autoindent="1"
  2424. font="Courier,12,-1,2,50,0,0,0,0,0"
  2425. paste_autoindent="1"
  2426. validation="1" />
  2427. </gui>
  2428. </awlsim_project>