EXAMPLE.awlpro 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <!-- Awlsim project file generated by awlsim-0.73.0-pre -->
  3. <awlsim_project date_create="2012-08-13 00:00:00.000000"
  4. date_modify="2020-02-27 21:42:19.925778"
  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. cycle_time_target_us="10000"
  22. ext_insns_enable="0"
  23. mnemonics="2"
  24. ob_startinfo_enable="0"
  25. run_time_limit_us="-1" />
  26. </cpu>
  27. <!-- AWL/STL language configuration -->
  28. <language_awl>
  29. <!-- AWL/STL source code -->
  30. <source enabled="1"
  31. name="Main"
  32. type="0"><![CDATA[
  33. ORGANIZATION_BLOCK OB 1
  34. BEGIN
  35. CALL FC 1
  36. CALL FC 2
  37. CALL FB 1, DB 2 (
  38. INPUT_VAR := 1
  39. )
  40. CALL FB 30, DB 30 (
  41. INP0 := E 42.0,
  42. INP1 := E 42.1,
  43. INP2 := E 42.2,
  44. INP3 := E 42.3,
  45. INP4 := E 42.4,
  46. OUT0 := A 42.0,
  47. OUT1 := A 42.1,
  48. )
  49. END_ORGANIZATION_BLOCK
  50. ]]></source>
  51. <!-- AWL/STL source code -->
  52. <source enabled="1"
  53. name="FC 1"
  54. type="0"><![CDATA[
  55. FUNCTION FC 1: VOID
  56. BEGIN
  57. U E 0.0
  58. = A 0.0
  59. U "test_symbol_E"
  60. = "test_symbol_A"
  61. END_FUNCTION
  62. ]]></source>
  63. <!-- AWL/STL source code -->
  64. <source enabled="1"
  65. name="FC 2"
  66. type="0"><![CDATA[
  67. FUNCTION FC 2: VOID
  68. TITLE = light chaser
  69. BEGIN
  70. U M 0.0
  71. L S5T#200MS
  72. SV T 10
  73. UN T 10
  74. = M 0.0
  75. L MD 4
  76. L 1
  77. ==D
  78. S M 0.1
  79. RRD 1
  80. ==D
  81. R M 0.1
  82. L MD 4
  83. UD L#-1
  84. L 1
  85. SPZ _001
  86. TAK
  87. U M 0.0
  88. SPBN _001
  89. U M 0.1
  90. SPBN _000
  91. RLD 2
  92. _000: RRD 1
  93. _001: T MD 4
  94. // Outputs in AD 4 and AD 8
  95. L MD 4
  96. T AD 4
  97. TAD
  98. T AD 8
  99. END_FUNCTION
  100. ]]></source>
  101. <!-- AWL/STL source code -->
  102. <source enabled="1"
  103. name="FB 1"
  104. type="0"><![CDATA[
  105. FUNCTION_BLOCK FB 1
  106. VAR_INPUT
  107. INPUT_VAR : INT;
  108. END_VAR
  109. BEGIN
  110. L #INPUT_VAR
  111. T MW 20
  112. END_FUNCTION_BLOCK
  113. DATA_BLOCK DB 2
  114. TITLE = This is an instance DB for FB 1
  115. FB 1
  116. BEGIN
  117. INPUT_VAR := 123;
  118. END_DATA_BLOCK
  119. ]]></source>
  120. <!-- AWL/STL source code -->
  121. <source enabled="1"
  122. name="DB 1"
  123. type="0"><![CDATA[
  124. DATA_BLOCK DB 1
  125. TITLE = This is global DB 1
  126. STRUCT
  127. VAR1 : INT; // DBW0: VAR1 => 16 bit signed int
  128. VAR2 : DWORD; // DBD2: VAR2 => 32 bit unsigned dword
  129. VAR3 : WORD; // DBW6: VAR3 => 16 bit unsigned word
  130. END_STRUCT
  131. BEGIN
  132. VAR1 := 1337;
  133. VAR2 := DW#16#DEADBEEF;
  134. VAR3 := B#(1, 2);
  135. END_DATA_BLOCK
  136. ]]></source>
  137. <!-- AWL/STL source code -->
  138. <source enabled="1"
  139. name="UDT 1"
  140. type="0"><![CDATA[
  141. TYPE UDT 1
  142. // This is an unused example user data type
  143. STRUCT
  144. // ... Insert data structure definitions here ...
  145. TEST : INT;
  146. END_STRUCT;
  147. END_TYPE
  148. ]]></source>
  149. </language_awl>
  150. <!-- FUP/FBD language configuration -->
  151. <language_fup>
  152. <!-- FUP/FBD source code -->
  153. <source enabled="1"
  154. name="Diagram 1"
  155. type="1"><![CDATA[
  156. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  157. <!-- Awlsim FUP/FBD source generated by awlsim-0.72.0-pre -->
  158. <FUP version="0" zoom="1.0">
  159. <blockdecl name="FB 30" type="FB">
  160. <instance_dbs>
  161. <db name="DB 30" />
  162. </instance_dbs>
  163. </blockdecl>
  164. <interface allow_initvalue="1"
  165. allow_inouts="1"
  166. allow_inputs="1"
  167. allow_outputs="1"
  168. allow_retval="0"
  169. allow_stats="1"
  170. allow_temps="1">
  171. <inputs>
  172. <field comment="First input" name="INP0" type="BOOL" uuid="5badb62a-531d-4e6d-b710-5f20fc137f4b" />
  173. <field comment="Second input" name="INP1" type="BOOL" uuid="986cd5c4-de6a-4908-8d41-856fc28cd569" />
  174. <field comment="Third input" name="INP2" type="BOOL" uuid="ea52e5fd-53f8-4530-8468-4221772074e0" />
  175. <field comment="Fourth input" name="INP3" type="BOOL" uuid="158db682-a459-4733-9c1b-341a204a73b1" />
  176. <field comment="Fifth input" name="INP4" type="BOOL" uuid="5f178cf6-4216-41c9-a8e1-8ae442c20379" />
  177. </inputs>
  178. <outputs>
  179. <field comment="First output" name="OUT0" type="BOOL" uuid="23d6599c-269f-45b1-bd26-38daf3101c5d" />
  180. <field comment="Second output" name="OUT1" type="BOOL" uuid="16f1e33c-2f6b-459d-adb7-6c2b857cdf0e" />
  181. </outputs>
  182. <stats>
  183. <field comment="First memory" name="MERKER_0" type="BOOL" uuid="d69f6016-71de-465b-aed3-e78cc03778a7" />
  184. <field comment="Second memory" name="MERKER_1" type="BOOL" uuid="9ff71905-eea8-4b32-9b39-ffc2f766529f" />
  185. </stats>
  186. </interface>
  187. <grids>
  188. <grid height="22" uuid="ec6729e2-b816-4358-a449-8a3d4d20e26a" width="12">
  189. <optimizers all="1" enabled="1" type="awl">
  190. <optimizer enabled="1" name="noprem" />
  191. </optimizers>
  192. <wires>
  193. <wire id="0" uuid="6c29ba8e-97aa-47fc-b4ca-dbbbce3650bf" />
  194. <wire id="1" uuid="4f2bf585-801d-4c0c-8303-ee8a0502590b" />
  195. <wire id="2" uuid="eaa5577c-26e8-410e-825b-337e7cd42dac" />
  196. <wire id="3" uuid="cd4e335a-b773-4a34-97f1-097a319dbecf" />
  197. <wire id="4" uuid="571939a3-5a1b-4d45-9306-1126c0872547" />
  198. <wire id="5" uuid="03ed19d9-1568-46d0-a6a2-0447d14d2fe9" />
  199. <wire id="6" uuid="b5748045-54e9-4f7a-b058-c97d4d1bb0c3" />
  200. <wire id="7" uuid="4044619f-355e-4d5e-bfe7-2357d248e9d9" />
  201. <wire id="8" uuid="4f86ae21-aae4-4ce0-b23b-fa6985e27d1a" />
  202. <wire id="9" uuid="1c42b4af-6c9a-4a59-8f3a-1a144b7fec71" />
  203. <wire id="10" uuid="1f4cb2da-7789-406d-a430-da11682e977d" />
  204. <wire id="11" uuid="1ca64678-ba7e-4304-9952-20ed627f6803" />
  205. <wire id="12" uuid="dae7f0c8-67a7-45e4-b2b2-d44002b4aef4" />
  206. <wire id="13" uuid="359d02c6-f98d-487b-8c1f-67a1b726fde5" />
  207. <wire id="14" uuid="7c698942-28db-44b8-9678-9a8b9c32ba2f" />
  208. <wire id="15" uuid="36383637-c89e-4b67-8ca3-957f6943c55f" />
  209. <wire id="16" uuid="15121298-30a4-4806-8372-d721a2922c07" />
  210. <wire id="17" uuid="45377560-471a-4834-8438-b23e47dfa0e7" />
  211. <wire id="18" uuid="1ead0dad-7c03-4255-98ad-256b1c95380a" />
  212. <wire id="19" uuid="f8c214f0-9c53-4a31-b9db-363557cc09c6" />
  213. <wire id="20" uuid="5c532d43-e8ec-4942-9859-54e21e062e2a" />
  214. <wire id="21" uuid="171763a5-f9a3-4b91-aae4-4db88d55678a" />
  215. </wires>
  216. <elements>
  217. <element content="#INP0" subtype="load" type="operand" uuid="dd40fe96-3dc8-4ee3-aa1c-61e80db3c0db" x="4" y="2">
  218. <connections>
  219. <connection dir_in="0" dir_out="1" pos="0" uuid="594272e2-62ec-4c58-8ab2-707a6df5131a" wire="9" />
  220. </connections>
  221. </element>
  222. <element content="#OUT0" subtype="assign" type="operand" uuid="fac61190-bcd9-47a2-aa71-b976414a5451" x="7" y="3">
  223. <connections>
  224. <connection dir_in="1" dir_out="0" pos="0" uuid="895bbddb-e219-4463-9b8a-4668c26f8abb" wire="2" />
  225. </connections>
  226. </element>
  227. <element subtype="or" type="boolean" uuid="db790707-d101-46c2-8df5-24348afb3558" x="5" y="2">
  228. <connections>
  229. <connection dir_in="1" dir_out="0" pos="0" uuid="5f8acff9-659b-4ced-b069-d9e9ce7bef26" wire="9" />
  230. <connection dir_in="1" dir_out="0" pos="1" uuid="2abe45d9-0227-4e11-8caa-caa98987c0ea" wire="5" />
  231. <connection dir_in="0" dir_out="1" inverted="1" pos="0" uuid="eb786b6c-a689-479b-94fc-cc9e274f7ec3" wire="2" />
  232. </connections>
  233. </element>
  234. <element subtype="and" type="boolean" uuid="f3fe3795-7812-4cb2-b0ae-79bafefb4c81" x="2" y="1">
  235. <connections>
  236. <connection dir_in="1" dir_out="0" pos="0" uuid="bab2bf91-5f0c-4dc2-84e8-dc416fcfe1e9" wire="0" />
  237. <connection dir_in="1" dir_out="0" inverted="1" pos="1" uuid="df8866c1-86bf-44de-b957-e77d47726591" wire="1" />
  238. <connection dir_in="1" dir_out="0" pos="2" uuid="670fda0d-b6ef-43af-8508-9a8b8c999df1" wire="8" />
  239. <connection dir_in="0" dir_out="1" inverted="1" pos="0" uuid="f60d2f61-1bd5-4385-853b-b1bd0cb5e849" wire="5" />
  240. </connections>
  241. </element>
  242. <element content="#INP1" subtype="load" type="operand" uuid="f1fa06a8-4483-4c14-b978-9c942d2c7050" x="1" y="1">
  243. <connections>
  244. <connection dir_in="0" dir_out="1" pos="0" uuid="2aef6fbe-4fda-40e3-947a-e784bf8ff747" wire="0" />
  245. </connections>
  246. </element>
  247. <element content="#INP2" subtype="load" type="operand" uuid="5c19d461-ec9d-4e05-80ac-358bd0fa2286" x="1" y="2">
  248. <connections>
  249. <connection dir_in="0" dir_out="1" pos="0" uuid="2cab50ca-736c-4525-96df-b5b2669c7b20" wire="1" />
  250. </connections>
  251. </element>
  252. <element content="#INP4" subtype="load" type="operand" uuid="990642f2-5319-4259-b031-fefa1f48daad" x="5" y="7">
  253. <connections>
  254. <connection dir_in="0" dir_out="1" pos="0" uuid="9fe9278a-ce65-410a-92b6-d658d5443058" wire="11" />
  255. </connections>
  256. </element>
  257. <element content="#OUT1" subtype="assign" type="operand" uuid="b65c891b-c36e-4d3e-a812-b034fb1d2e65" x="7" y="7">
  258. <connections>
  259. <connection dir_in="1" dir_out="0" pos="0" uuid="0e1f15f4-34a1-437c-aa6e-5472ba0bcb91" wire="10" />
  260. </connections>
  261. </element>
  262. <element type="move" uuid="61d759e9-a8de-44c9-99ea-85872ca89083" x="3" y="11">
  263. <connections>
  264. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="8e404730-f73a-4703-8446-f4672f05b229" wire="13" />
  265. <connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="6051eed2-320f-4fb1-b39a-d0066d3fe2f9" wire="3" />
  266. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="cefaa754-bfa0-4f73-aa42-18c3f1743e33" wire="4" />
  267. <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="5760f279-a838-452b-8df5-c6bf024b283e" wire="16" />
  268. <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="3e52f396-89a9-41db-805b-361509fb9470" wire="6" />
  269. </connections>
  270. </element>
  271. <element content="DB1.DBD 2" subtype="load" type="operand" uuid="520ffe5d-31f6-4bb0-a3e8-c81adaebd58b" x="2" y="13">
  272. <connections>
  273. <connection dir_in="0" dir_out="1" pos="0" uuid="17fadabf-48d6-4875-883c-7e72d282a5bb" wire="3" />
  274. </connections>
  275. </element>
  276. <element content="AD 104" subtype="assign" type="operand" uuid="7501bc2a-dbfe-47f1-b1c8-8053a60d531d" x="4" y="12">
  277. <connections>
  278. <connection dir_in="1" dir_out="0" pos="0" uuid="a926036a-6a87-4c75-962a-66f7fa862744" wire="4" />
  279. </connections>
  280. </element>
  281. <element content="E 100.0" subtype="load" type="operand" uuid="4a41670d-a790-41e5-8b57-f15771f27026" x="1" y="11">
  282. <connections>
  283. <connection dir_in="0" dir_out="1" pos="0" uuid="d12d0dec-7bec-49bb-b4e7-1f02374b8774" wire="12" />
  284. </connections>
  285. </element>
  286. <element content="A 100.0" subtype="assign" type="operand" uuid="36ce2179-3ecf-4598-98e6-4945f7d2a56e" x="5" y="17">
  287. <connections>
  288. <connection dir_in="1" dir_out="0" pos="0" uuid="451b037e-391f-4813-aed2-d4415b3438c9" wire="7" />
  289. </connections>
  290. </element>
  291. <element content="AD 108" subtype="assign" type="operand" uuid="50662a02-8373-4e40-94a6-12828e3e3470" x="7" y="11">
  292. <connections>
  293. <connection dir_in="1" dir_out="0" pos="0" uuid="d6d9166a-4ab5-4794-8eec-3bfa56b51209" wire="15" />
  294. </connections>
  295. </element>
  296. <element content="E 100.1" subtype="load" type="operand" uuid="55795003-889e-47d2-bfe2-2322a0080555" x="5" y="11">
  297. <connections>
  298. <connection dir_in="0" dir_out="1" pos="0" uuid="759743ed-e15f-4e69-957d-410d7bac4b45" wire="14" />
  299. </connections>
  300. </element>
  301. <element content="E 100.2" subtype="load" type="operand" uuid="fde63657-c6d9-475f-a47c-8a2e8904c622" x="3" y="17">
  302. <connections>
  303. <connection dir_in="0" dir_out="1" pos="0" uuid="e74781af-3f49-4a7e-9f8c-23475ff43a09" wire="20" />
  304. </connections>
  305. </element>
  306. <element subtype="xor" type="boolean" uuid="bcf15bb6-c979-4da4-9f38-8c4c34f17775" x="4" y="15">
  307. <connections>
  308. <connection dir_in="1" dir_out="0" inverted="1" pos="0" uuid="986bcbd0-491e-41c1-80c8-069838095afc" wire="6" />
  309. <connection dir_in="1" dir_out="0" pos="1" uuid="332f338a-d62b-4e7d-9aa5-0915868d89dd" wire="21" />
  310. <connection dir_in="1" dir_out="0" pos="2" uuid="97523b32-5541-4d65-8448-b0e57ceba2df" wire="20" />
  311. <connection dir_in="0" dir_out="1" pos="0" uuid="635205a3-4d49-4a2b-89bd-634365bbf47e" wire="7" />
  312. </connections>
  313. </element>
  314. <element content="#INP3" subtype="load" type="operand" uuid="f7986f75-bcad-41e1-a088-189287c2f6dc" x="1" y="3">
  315. <connections>
  316. <connection dir_in="0" dir_out="1" pos="0" uuid="b3021391-4d23-4a9b-8b4a-4655709ed40d" wire="8" />
  317. </connections>
  318. </element>
  319. <element subtype="sr" type="boolean" uuid="de7e967b-1b7a-4d64-85f6-0fe74ab2a293" x="6" y="5">
  320. <connections>
  321. <connection dir_in="1" dir_out="0" inverted="1" pos="0" text="S" uuid="3ec06cec-5501-44b7-b472-3635e6134449" wire="2" />
  322. <connection dir_in="1" dir_out="0" pos="1" text="R" uuid="33ce3395-fd86-4c5f-8310-95ddc342a8aa" wire="11" />
  323. <connection dir_in="0" dir_out="1" inverted="1" pos="0" text="Q" uuid="44d5ab22-25a9-4fb6-b48f-39410cf15c1f" wire="10" />
  324. </connections>
  325. <subelements>
  326. <element content="#MERKER_0" subtype="embedded" type="operand" uuid="1bb3bbe2-14eb-4daa-aedf-d2f7ec5cb146" x="0" y="0" />
  327. </subelements>
  328. </element>
  329. <element subtype="fp" type="boolean" uuid="4ce699a0-8dd7-4d3b-a317-d41da7a1dccb" x="2" y="10">
  330. <connections>
  331. <connection dir_in="1" dir_out="0" pos="0" uuid="bfe98549-a876-496d-8b5b-ba7d6da8bd39" wire="12" />
  332. <connection dir_in="0" dir_out="1" pos="0" uuid="4eedf698-fea8-4628-9767-271bbe1c510e" wire="13" />
  333. </connections>
  334. <subelements>
  335. <element content="#MERKER_1" subtype="embedded" type="operand" uuid="16127cfe-52ce-403a-969e-7fcaf803ef72" x="0" y="0" />
  336. </subelements>
  337. </element>
  338. <element subtype="mul-dint" type="arithmetic" uuid="dffd0a31-1b30-4c13-9501-70b2948f236d" x="6" y="11">
  339. <connections>
  340. <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="193df81e-8874-4800-9c8f-ccf68bc5163f" wire="14" />
  341. <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="551c416c-5f1b-4515-965b-6bf9d3c70410" wire="17" />
  342. <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="6589c55e-c38e-4383-898e-0dcf009d4dd0" wire="16" />
  343. <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="60cff0ce-7946-4ca8-827e-8f959bfb0e5e" wire="15" />
  344. <connection dir_in="0" dir_out="1" pos="1" text="==0" uuid="603a2ca1-0dbb-4dbe-a853-aec8237a3b50" wire="18" />
  345. <connection dir_in="0" dir_out="1" pos="2" text="OV" uuid="d43d948e-4d15-4b78-a0fd-044cad0bd68a" wire="19" />
  346. <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="4d09c31c-0563-403e-a811-d849443509de" wire="-1" />
  347. </connections>
  348. </element>
  349. <element content="L#2" subtype="load" type="operand" uuid="9f75d612-dda4-4198-be1b-fde2cabc60da" x="5" y="12">
  350. <connections>
  351. <connection dir_in="0" dir_out="1" pos="0" uuid="bcc4da37-adfd-4929-9e62-a9acc72f38af" wire="17" />
  352. </connections>
  353. </element>
  354. <element content="A 112.0" subtype="assign" type="operand" uuid="cf215e40-2edf-4da8-a7c4-38394b4c6553" x="7" y="12">
  355. <connections>
  356. <connection dir_in="1" dir_out="0" pos="0" uuid="d69a26b0-e748-4271-884e-dc35b4353b16" wire="18" />
  357. </connections>
  358. </element>
  359. <element content="A 112.1" subtype="assign" type="operand" uuid="4dd79e00-1125-440b-875e-d820094d7224" x="7" y="13">
  360. <connections>
  361. <connection dir_in="1" dir_out="0" pos="0" uuid="e131342e-f15a-4799-9061-60b23607cb8f" wire="19" />
  362. </connections>
  363. </element>
  364. <element content="Warning:&#10;This is an important comment.&#10;&#10;Lorem ipsum dolor sit amet,&#10;consectetur adipiscing elit,&#10;sed do eiusmod tempor&#10;incididunt ut labore et dolore&#10;magna aliqua." type="comment" uuid="22d35b12-35d9-434c-b7c7-471eb389b3e8" x="2" y="5" />
  365. <element content="E 100.3" enabled="0" subtype="load" type="operand" uuid="1fd32ff9-0fbb-4af8-b319-f85ea84a76a0" x="3" y="16">
  366. <connections>
  367. <connection dir_in="0" dir_out="1" pos="0" uuid="9c3d36dc-37c5-4fca-a2cc-36b56016a4b7" wire="21" />
  368. </connections>
  369. </element>
  370. </elements>
  371. </grid>
  372. </grids>
  373. </FUP>
  374. ]]></source>
  375. </language_fup>
  376. <!-- Symbol table configuration -->
  377. <symbols>
  378. <!-- symbol table source code -->
  379. <source enabled="1"
  380. name="symbol table"
  381. type="3"><![CDATA[
  382. 126,test_symbol_E E 32.0 BOOL This is a symbol
  383. 126,test_symbol_A A 32.0 BOOL
  384. ]]></source>
  385. </symbols>
  386. <!-- Standard library selections -->
  387. <libraries>
  388. <!-- Standard library selection -->
  389. <lib_selection effective_index="21"
  390. index="21"
  391. name="IEC"
  392. type="FC" />
  393. </libraries>
  394. <!-- Core server link configuration -->
  395. <core_link>
  396. <!-- Locally spawned core server -->
  397. <spawn_local enable="1"
  398. interpreters="$DEFAULT"
  399. port_range_begin="4183"
  400. port_range_end="8278" />
  401. <!-- Remote server connection -->
  402. <connect host="192.168.179.31"
  403. port="4151"
  404. timeout_ms="3000" />
  405. <!-- Transport tunnel -->
  406. <tunnel local_port="-1"
  407. type="0">
  408. <ssh executable="ssh"
  409. port="22"
  410. user="pi" />
  411. </tunnel>
  412. </core_link>
  413. <!-- Hardware modules configuration -->
  414. <hardware>
  415. <!-- Loaded hardware module -->
  416. <module name="dummy">
  417. <params>
  418. <param name="enabled"
  419. value="True" />
  420. <param name="inputAddressBase"
  421. value="0" />
  422. <param name="outputAddressBase"
  423. value="0" />
  424. </params>
  425. </module>
  426. </hardware>
  427. <!-- Graphical user interface configuration -->
  428. <gui>
  429. <!-- Core interaction settings -->
  430. <core pre_download_validation="1" />
  431. <!-- AWL editor settings -->
  432. <editor autoindent="1"
  433. font="Courier,11,-1,5,50,0,0,0,0,0"
  434. paste_autoindent="1"
  435. validation="1" />
  436. <!-- CPU state view layout -->
  437. <cpu_view>
  438. <cpu_view_window config=""
  439. type="0"
  440. x="0"
  441. y="0" />
  442. <cpu_view_window config="addr=0;addrspace=E;format=checkbox;width=8"
  443. type="2"
  444. x="1081"
  445. y="0" />
  446. <cpu_view_window config="addr=4;addrspace=A;format=checkbox;width=32"
  447. type="2"
  448. x="461"
  449. y="0" />
  450. <cpu_view_window config="addr=0;addrspace=A;format=checkbox;width=8"
  451. type="2"
  452. x="1081"
  453. y="116" />
  454. <cpu_view_window config=""
  455. type="1"
  456. x="0"
  457. y="364" />
  458. <cpu_view_window config="addr=4;addrspace=M;format=hex;width=32"
  459. type="2"
  460. x="718"
  461. y="442" />
  462. <cpu_view_window config="addr=2;addrspace=DB;db=1;format=hex;width=32"
  463. type="2"
  464. x="717"
  465. y="565" />
  466. <cpu_view_window config="format=s5t;index=10"
  467. type="4"
  468. x="721"
  469. y="214" />
  470. <cpu_view_window config="format=bcd;index=1"
  471. type="5"
  472. x="720"
  473. y="327" />
  474. <cpu_view_window config="addr=4;endian=be;format=bcd;width=32"
  475. type="3"
  476. x="461"
  477. y="214" />
  478. </cpu_view>
  479. </gui>
  480. </awlsim_project>