123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711 |
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim project file generated by awlsim-0.66.0-pre -->
- <awlsim_project date_create="2018-05-31 13:37:12.677674"
- date_modify="2018-07-08 18:00:18.822920"
- format_version="1">
- <!-- CPU core configuration -->
- <cpu>
- <!-- CPU core feature specification -->
- <specs call_stack_size="256"
- nr_accus="2"
- nr_counters="256"
- nr_flags="2048"
- nr_inputs="128"
- nr_localbytes="1024"
- nr_outputs="128"
- nr_timers="256"
- parenthesis_stack_size="7" />
- <!-- CPU core configuration -->
- <config clock_memory_byte="-1"
- cycle_time_limit_us="1000000"
- ext_insns_enable="1"
- mnemonics="2"
- ob_startinfo_enable="0"
- run_time_limit_us="-1" />
- </cpu>
- <!-- AWL/STL language configuration -->
- <language_awl>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="Main"
- type="0"><![CDATA[
- ORGANIZATION_BLOCK OB 1
- BEGIN
- CALL "FC_TEST_conv_0"
- CALL "FC_TEST_conv_1"
-
- CALL SFC 46 // STOP CPU
- END_ORGANIZATION_BLOCK
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST conv_0"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_conv_0" : VOID
- BEGIN
- L 0
- T MD 0
- T MW 4
- T MD 6
- T MW 10
- T MD 12
- T MD 16
- T MD 20
- T MD 24
- T MD 28
- T MD 32
- T MD 36
- T MW 40
- T MD 42
- T MW 46
- T MD 48
- T MW 52
- T MD 54
- CALL "FC_conv_0" (
- // VAR_INPUT
- IN00 := -1, // INT
- IN10 := 2, // INT
- IN20 := L#3, // DINT
- IN30 := 1, // INT
- IN40 := L#1, // DINT
- IN50 := L#4, // DINT
- IN60 := 5.0, // REAL
- IN70 := 6.6, // REAL
- IN80 := 8.6, // REAL
- IN90 := 9.6, // REAL
- IN100 := -10.6, // REAL
- IN110 := C#123, // WORD
- IN120 := DW#16#1234567, // DWORD
- IN130 := 765, // INT
- IN140 := L#7654321, // DINT
- IN150 := W#16#AABB, // WORD
- IN160 := DW#16#11223344, // DWORD
- // VAR_OUTPUT
- OUT00 := MD 0, // DINT
- OUT10 := MW 4, // INT
- OUT20 := MD 6, // DINT
- OUT30 := MW 10, // INT
- OUT40 := MD 12, // DINT
- OUT50 := MD 16, // REAL
- OUT60 := MD 20, // REAL
- OUT70 := MD 24, // DINT
- OUT80 := MD 28, // DINT
- OUT90 := MD 32, // DINT
- OUT100 := MD 36, // DINT
- OUT110 := MW 40, // INT
- OUT120 := MD 42, // DINT
- OUT130 := MW 46, // WORD
- OUT140 := MD 48, // DWORD
- OUT150 := MW 52, // WORD
- OUT160 := MD 54, // DWORD
- )
- __ASSERT== MD 0, L#-1
- __ASSERT== MW 4, -2
- __ASSERT== MD 6, L#-3
- __ASSERT== MW 10, W#16#FFFE
- __ASSERT== MD 12, DW#16#FFFFFFFE
- __ASSERT==R MD 16, 4.0
- __ASSERT==R MD 20, -5.0
- __ASSERT== MD 24, L#7
- __ASSERT== MD 28, L#8
- __ASSERT== MD 32, L#10
- __ASSERT== MD 36, L#-11
- __ASSERT== MW 40, 123
- __ASSERT== MD 42, L#1234567
- __ASSERT== MW 46, C#765
- __ASSERT== MD 48, DW#16#7654321
- __ASSERT== MW 52, W#16#BBAA
- __ASSERT== MD 54, DW#16#44332211
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST conv_1"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_conv_1" : VOID
- BEGIN
- L 0
- T MD 0
- T MD 4
- T MD 8
- CALL "FC_conv_1" (
- // VAR_INPUT
- IN00 := -10, // INT
- IN10 := L#5, // DINT
- EN1 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT20 := MD 0, // DINT
- OUT30 := MD 4, // DINT
- OUT40 := MD 8, // DINT
- )
- __ASSERT== MD 0, 0
- __ASSERT== MD 4, 0
- __ASSERT== MD 8, 0
- L 0
- T MD 0
- T MD 4
- T MD 8
- CALL "FC_conv_1" (
- // VAR_INPUT
- IN00 := -10, // INT
- IN10 := L#5, // DINT
- EN1 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT20 := MD 0, // DINT
- OUT30 := MD 4, // DINT
- OUT40 := MD 8, // DINT
- )
- __ASSERT== MD 0, L#5
- __ASSERT== MD 4, L#-5
- __ASSERT== MD 8, L#5
- BE
- END_FUNCTION
- ]]></source>
- </language_awl>
- <!-- FUP/FBD language configuration -->
- <language_fup>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="conv_0"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_conv_0"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="cbabfa61-9170-40fd-9915-6abd9b5d01e8" />
- <field name="IN10" type="INT" uuid="8e105887-d91e-4edd-a6fb-64fbc06ab8b6" />
- <field name="IN20" type="DINT" uuid="e2eeb4b8-a2a0-4b7a-a209-24dace7c520d" />
- <field name="IN30" type="INT" uuid="79459b61-848d-4676-867d-95581e7f29ba" />
- <field name="IN40" type="DINT" uuid="85ea106b-af7c-4057-9959-ff5dbc5d7dd3" />
- <field name="IN50" type="DINT" uuid="c36eb0df-2569-458e-aeff-ac2db1c6c017" />
- <field name="IN60" type="REAL" uuid="ed87d97b-5b6d-4bb5-87f8-881fe3e5c4a4" />
- <field name="IN70" type="REAL" uuid="e8ca60b2-d4fa-4fc0-89f8-66bfc3c29bef" />
- <field name="IN80" type="REAL" uuid="ef33fcde-3949-470b-aeef-78cef89cc884" />
- <field name="IN90" type="REAL" uuid="400f212b-c40f-4802-8b15-906195ef24d5" />
- <field name="IN100" type="REAL" uuid="b0152c4e-36f2-47c0-b0cf-5ff8e6f9a6f4" />
- <field name="IN110" type="WORD" uuid="05a97024-6cae-4877-a3da-0e6d4dcf995e" />
- <field name="IN120" type="DWORD" uuid="72991a61-f274-44d1-961e-c3e7fe02bf54" />
- <field name="IN130" type="INT" uuid="98bd0690-8928-49e6-9112-89e34aa79801" />
- <field name="IN140" type="DINT" uuid="1116890e-0808-4663-b24a-adee8f44f410" />
- <field name="IN150" type="WORD" uuid="58755b64-9163-442e-92b6-54e1f5f5e0b2" />
- <field name="IN160" type="DWORD" uuid="a3213792-2dcf-4bef-8866-006ffd7b4cda" />
- </inputs>
- <outputs>
- <field name="OUT00" type="DINT" uuid="8d05d8e0-3fe1-44d6-984b-4a9392606acd" />
- <field name="OUT10" type="INT" uuid="e25f6068-fdfe-45e9-95fc-71981d4cd6ae" />
- <field name="OUT20" type="DINT" uuid="98054625-01a3-42bc-b743-bc2846a90cff" />
- <field name="OUT30" type="INT" uuid="2d6df9ab-1f12-47d4-b187-c74a32b090af" />
- <field name="OUT40" type="DINT" uuid="91e2bff9-7e29-4565-90df-2b009104c931" />
- <field name="OUT50" type="REAL" uuid="2969a3b8-504c-431f-9071-2137ba0e2d99" />
- <field name="OUT60" type="REAL" uuid="85b350f0-3eb6-4941-867a-bd79b04c6985" />
- <field name="OUT70" type="DINT" uuid="5f8c852a-b23c-49ee-a243-ab016a886cd3" />
- <field name="OUT80" type="DINT" uuid="3e4eec6f-9289-4710-8ccd-7aff8d68884a" />
- <field name="OUT90" type="DINT" uuid="e660b2ed-08a6-49e1-abed-9449d6531d7d" />
- <field name="OUT100" type="DINT" uuid="2f7cef14-ab09-47f1-b2f7-36a650dc982e" />
- <field name="OUT110" type="INT" uuid="819cf1aa-10a3-4421-8c5b-e1b3d357a28d" />
- <field name="OUT120" type="DINT" uuid="fc35cd36-0948-4e94-a116-6e55b60197fc" />
- <field name="OUT130" type="WORD" uuid="d2f6e071-2875-4a30-879a-66956da3537b" />
- <field name="OUT140" type="DWORD" uuid="0c54de19-a47a-4645-9d65-ed69251696b9" />
- <field name="OUT150" type="WORD" uuid="a63cfe9d-0251-4681-bf7f-151773791790" />
- <field name="OUT160" type="DWORD" uuid="2bbbb9c9-5c66-4138-b90d-0cf698d06858" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="8599759b-fb46-45db-98d8-87ded8cae10d" />
- </retval>
- </interface>
- <grids>
- <grid height="44" uuid="aa49ffe1-e8c1-403c-b4a2-90e4d7aee310" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="2477373a-6714-4d7e-a372-c0c072bef3b0" />
- <wire id="1" uuid="785d8d41-f636-44a8-9639-35fa157af167" />
- <wire id="2" uuid="cf8a5ee9-de7f-4ef4-afd7-de0d1836ec48" />
- <wire id="3" uuid="dec70e1b-43a4-4d84-847c-889dcb8a2bc2" />
- <wire id="4" uuid="b142b9c7-c623-4b18-9f97-5600851acf8e" />
- <wire id="5" uuid="f198fa07-38c2-432c-8702-257dec0dff9d" />
- <wire id="6" uuid="8baecd56-17dc-47a2-b752-c53eb12a56e9" />
- <wire id="7" uuid="34f1bebe-96fb-4e7a-8212-9f86fa51f525" />
- <wire id="8" uuid="3bd93f98-f7d5-4edc-b211-fd66ea81e1d9" />
- <wire id="9" uuid="53ed4004-7369-4ade-aa17-15b8c5ad9afc" />
- <wire id="10" uuid="a3bf2adf-bb23-420f-8a1b-89f397cebc88" />
- <wire id="11" uuid="4a08ca6a-9f74-4c85-a873-61d261277b85" />
- <wire id="12" uuid="ec0a196c-23c3-48f1-87dc-419e36f2e863" />
- <wire id="13" uuid="516876e5-d56b-408e-9a8b-d2cf2df3a960" />
- <wire id="14" uuid="2c2280ca-1dce-4fb4-8e11-27279ccce6a8" />
- <wire id="15" uuid="9ceb6fb8-bcab-424f-8583-c97962098514" />
- <wire id="16" uuid="8195885f-ff95-4eb8-88e5-451b5ec51d2b" />
- <wire id="17" uuid="b6cb864a-87e4-473a-9896-3f536ec69f6f" />
- <wire id="18" uuid="ae7abbbf-6106-454d-91c3-157db081be9b" />
- <wire id="19" uuid="b54a80da-9096-479e-b588-a42565d04cf1" />
- <wire id="20" uuid="687ed417-c5a3-430e-8890-63bcd9b850c7" />
- <wire id="21" uuid="682ee674-be20-4432-9e66-60a7ea50363f" />
- <wire id="22" uuid="3a231577-f756-4441-abc2-845bd67ca09f" />
- <wire id="23" uuid="e6c8a2ed-0116-4090-b6e5-73c453b62b6a" />
- <wire id="24" uuid="20614b4f-c360-4cec-8151-e0371769d1c5" />
- <wire id="25" uuid="2b8ad00e-5bf4-48c9-b93a-052b7075ce44" />
- <wire id="26" uuid="77f14cf3-d280-49e2-bc3c-260f734fa2a4" />
- <wire id="27" uuid="db4f7d19-4ce9-4a0c-b785-3e7312f0d57b" />
- <wire id="28" uuid="98ca94c4-e6cd-435d-b56b-a2b7f61e1792" />
- <wire id="29" uuid="56cd0b20-6820-4f3a-bd38-615bcf64a79c" />
- <wire id="30" uuid="4a9bb005-010e-4283-b9a5-11199e70dce2" />
- <wire id="31" uuid="a51e817d-429f-427f-9b5a-cc8a866afe63" />
- <wire id="32" uuid="0cd5aa07-99af-40aa-8a63-20482010ce54" />
- <wire id="33" uuid="0c4b0132-3c43-452b-99d1-4df2eb5ccca9" />
- </wires>
- <elements>
- <element subtype="itd" type="convert" uuid="4bee0416-5aa0-4ae5-b250-10d6169dde77" x="3" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="1f4e7949-6b45-43de-89e7-2fe2130133fb" wire="0" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="57c377a5-4211-4257-9ec4-fb4fe4f91759" wire="1" />
- </connections>
- </element>
- <element subtype="negi" type="convert" uuid="0ffd789f-289d-4635-880b-388e3dad854e" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="07e8e03c-0eb1-451a-85bc-83104f5f4a06" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="13147e2b-5985-4437-9d75-97cddde4e4bc" wire="3" />
- </connections>
- </element>
- <element subtype="negd" type="convert" uuid="32ee6e4d-4012-45e3-af21-6e5fe8ac9de5" x="3" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="dff55cf9-a048-4f8b-a86f-d6a5bb2aaa30" wire="4" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="bde29246-04a3-4943-8e6e-58fb1eb3fd4e" wire="5" />
- </connections>
- </element>
- <element subtype="invi" type="convert" uuid="f6e52457-4940-4009-9134-98ca10d797aa" x="3" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="4535ef9b-f42a-44f4-a115-26a9aec87a23" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="181bf356-4ed4-480b-a2d2-a2e3afbf5f84" wire="7" />
- </connections>
- </element>
- <element subtype="invd" type="convert" uuid="267f4416-9552-4b0f-aa1e-066bcecf13a1" x="3" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="8666b9a9-5484-4264-b30c-0a0d72edf2a9" wire="8" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="76bb2348-a634-4d10-bdac-4d2f48576c70" wire="9" />
- </connections>
- </element>
- <element subtype="dtr" type="convert" uuid="2576517f-ec9a-44a5-83fd-223e83deaba1" x="3" y="13">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="f881edbd-eb40-4a81-9711-e6b150721960" wire="10" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="f780a98a-1f8a-4241-80dd-47a84dbcaa08" wire="11" />
- </connections>
- </element>
- <element subtype="negr" type="convert" uuid="28740ef9-814a-4880-9d86-c582e87fd38d" x="3" y="15">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="3f3f3d3a-904a-4e7a-8448-6a5358787bf6" wire="12" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="041d2553-a3dc-4dda-9ff4-6d18b79ae63c" wire="13" />
- </connections>
- </element>
- <element subtype="rnd" type="convert" uuid="e5802eae-8b1e-404f-90e0-de4caa1098e1" x="3" y="17">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="2cc24c27-ae83-4a06-9a16-dc03cf20984a" wire="14" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="5d260a1d-13da-4d88-a251-d16bdc7e8a79" wire="15" />
- </connections>
- </element>
- <element subtype="trunc" type="convert" uuid="04f02f12-9e05-4461-a1af-8ebbff8ea77b" x="3" y="19">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="c4458332-2556-4097-ae30-e5a378df39b8" wire="16" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="02968a54-75b6-421e-a581-071efe3675cf" wire="17" />
- </connections>
- </element>
- <element subtype="rndp" type="convert" uuid="fa88ac8c-4e00-4bf6-a9d1-ad4116529ce6" x="3" y="21">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="57804a81-26a8-47de-a712-1ee3bc5fc86b" wire="18" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="ed063b9d-4887-4da6-811f-c68ff7a7aed5" wire="20" />
- </connections>
- </element>
- <element subtype="rndn" type="convert" uuid="df4e7a5f-e349-402c-876b-724d96ef6748" x="3" y="23">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="61569513-992f-4ea5-b02d-29ecfea9aa31" wire="19" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="27905c96-a558-4d42-bfdc-4f9946e8bcef" wire="21" />
- </connections>
- </element>
- <element subtype="bti" type="convert" uuid="3f287fdd-4fa0-4d9d-abaf-d539f465fbcb" x="3" y="27">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="6dd4623f-79fb-4016-a777-8825d79ac683" wire="22" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b058dcfe-459f-431a-871c-68a4ef4050d8" wire="23" />
- </connections>
- </element>
- <element subtype="btd" type="convert" uuid="d12e3018-7d1b-4aa9-b8c9-7c7751a7ce49" x="3" y="29">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="219058c9-992e-46f9-93b9-13617d2cbc28" wire="24" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="a2e69168-af24-4aa3-aca2-afc4627098d0" wire="25" />
- </connections>
- </element>
- <element subtype="itb" type="convert" uuid="e9c02eb7-2696-4d7d-9df4-ddbcc8a567b8" x="3" y="31">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="d314c582-0e80-4a24-bb0c-950f9d039e5d" wire="26" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="f273a049-475b-45e3-bf7e-3e54e7a13712" wire="28" />
- </connections>
- </element>
- <element subtype="dtb" type="convert" uuid="b53792e4-d60a-4fce-a1a0-b911dc8ec700" x="3" y="33">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="b861f6cd-c358-401d-8cf1-074438524a7f" wire="27" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="484133ee-4f57-41cf-842e-084524b00c35" wire="29" />
- </connections>
- </element>
- <element subtype="taw" type="convert" uuid="ac9733a4-0f95-49e1-8b3b-ed7ed475dac3" x="3" y="37">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="0da0b3b7-7f65-4698-a2d2-41298d3ddf3c" wire="30" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="17af0c56-7a05-44b0-a945-5a33db9aed23" wire="32" />
- </connections>
- </element>
- <element subtype="tad" type="convert" uuid="7dd564c7-93e9-4f09-9245-ad6799f394c3" x="3" y="39">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="4b0f323a-822d-4579-9d42-010e26538f86" wire="31" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="c3837d35-79b7-4bf3-9ecf-608cb35f2b31" wire="33" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="564b1cbe-5de4-4780-a721-eac66e29ec11" x="2" y="1">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="8370fb85-a838-4c7a-970c-ace38f6e7851" wire="0" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="d63374bb-98c2-4dca-a2f6-d0044cbfd477" x="4" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="48fbfd1f-6dfd-4029-9190-2da2d1e63280" wire="1" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="b7c8229c-7a85-4b53-ab98-b0b6bb9b8484" x="2" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="30365c45-1805-46fa-950e-a3756d8a2aac" wire="2" />
- </connections>
- </element>
- <element content="#OUT10" subtype="assign" type="operand" uuid="cba13abf-3777-4684-a140-7bb2657b35d6" x="4" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="a2cbd515-50b3-4dae-90c5-95ade260718d" wire="3" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="f65b011e-4cba-4043-85e3-0565c4808ee9" x="2" y="5">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="a5ff3dca-3d2c-4f25-82fe-7fb89153d8ec" wire="4" />
- </connections>
- </element>
- <element content="#OUT20" subtype="assign" type="operand" uuid="673c5709-fcf0-4b59-85b5-abdf58d9bdb4" x="4" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="86053d44-a6eb-43da-b6c9-ba926c3f5f5e" wire="5" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="86dfc318-c57a-43e2-ad2c-1dd21135c71b" x="2" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="b0ca2a71-95b9-4cb4-beea-662ec1c4df62" wire="6" />
- </connections>
- </element>
- <element content="#OUT30" subtype="assign" type="operand" uuid="30be6f5a-a387-494a-8d6d-f3a9f1f4f46d" x="4" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="4772d0d8-47e1-45ec-b2d7-33b594ea695b" wire="7" />
- </connections>
- </element>
- <element content="#IN40" subtype="load" type="operand" uuid="04978c5e-3a63-4458-8e2b-dcd9ff03852b" x="2" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="b2ff12eb-1a24-4fa8-a364-8a8ee19bfea6" wire="8" />
- </connections>
- </element>
- <element content="#OUT40" subtype="assign" type="operand" uuid="20c7a210-bdc0-43c9-9805-4dde72588b8c" x="4" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="128a8a72-5d14-4223-940d-ec99ba9c59e2" wire="9" />
- </connections>
- </element>
- <element content="#IN50" subtype="load" type="operand" uuid="5bdb3d34-2743-484e-9351-ad4bac210bba" x="2" y="13">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="a31d0765-eb43-4174-ab6a-5601e32b300a" wire="10" />
- </connections>
- </element>
- <element content="#OUT50" subtype="assign" type="operand" uuid="e91ec58a-4e25-45e0-a39c-adbefa753e93" x="4" y="13">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="3ba70d43-8a10-4696-809f-4fd8295b54d1" wire="11" />
- </connections>
- </element>
- <element content="#IN60" subtype="load" type="operand" uuid="8897a9d5-1bd0-4c8b-9976-ed34f0447806" x="2" y="15">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6216b6ee-f063-4620-85d8-6f0f5ad12e54" wire="12" />
- </connections>
- </element>
- <element content="#OUT60" subtype="assign" type="operand" uuid="f3aaedb7-0fcb-47b9-bdeb-99600054249a" x="4" y="15">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="40a4ba8e-fb56-4082-954f-6eb0ab2498b0" wire="13" />
- </connections>
- </element>
- <element content="#IN70" subtype="load" type="operand" uuid="36adf7c8-84a4-4fa7-a398-7efb540a8b62" x="2" y="17">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="f371d47c-b28d-497f-9edf-888abb9ece31" wire="14" />
- </connections>
- </element>
- <element content="#OUT70" subtype="assign" type="operand" uuid="637ec781-0610-4e25-9fa3-b0bb7b45fcb8" x="4" y="17">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="2dda1424-ce8c-48e7-b2c5-8cdf096ad747" wire="15" />
- </connections>
- </element>
- <element content="#IN80" subtype="load" type="operand" uuid="fc105052-dfc4-4be9-adfe-54515be3d0a6" x="2" y="19">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="1c9aeb00-01f2-4861-8070-4963f30cb750" wire="16" />
- </connections>
- </element>
- <element content="#OUT80" subtype="assign" type="operand" uuid="62c13a44-140a-4cd7-b6f7-d7fcf19e6470" x="4" y="19">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="d0dfeba7-fe7f-4d9d-8860-e1c3bcf4afb0" wire="17" />
- </connections>
- </element>
- <element content="#IN90" subtype="load" type="operand" uuid="5c41661f-1eaa-4a78-99ab-4ba098963f1d" x="2" y="21">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="0d50f8e9-4385-4d46-907e-a39a3633098a" wire="18" />
- </connections>
- </element>
- <element content="#IN100" subtype="load" type="operand" uuid="1dbe80bb-0d2b-4792-b6ee-0a88bfdf8aa7" x="2" y="23">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="7c7ce1ad-fb9b-4b5f-96e3-eade949bc2e8" wire="19" />
- </connections>
- </element>
- <element content="#OUT90" subtype="assign" type="operand" uuid="7c8d8785-0c7a-4fca-82c6-bcfbe02f8fe6" x="4" y="21">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="50d901fb-d1cf-4ef6-a695-b25051ae52f8" wire="20" />
- </connections>
- </element>
- <element content="#OUT100" subtype="assign" type="operand" uuid="b162d1bd-0825-4702-9a78-67bf01585d88" x="4" y="23">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="26c203c2-835b-4a79-9b72-deadd61bf0ff" wire="21" />
- </connections>
- </element>
- <element content="#IN110" subtype="load" type="operand" uuid="0967e366-b3d1-43b8-9016-a0fa23a5c901" x="2" y="27">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="3fcec08f-d827-4a27-ade4-0f52ad34d6d8" wire="22" />
- </connections>
- </element>
- <element content="#OUT110" subtype="assign" type="operand" uuid="4f007239-baa8-4576-b004-a1c8d391b5a7" x="4" y="27">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="0b5e308f-fdae-49d7-83af-644936b6b6c2" wire="23" />
- </connections>
- </element>
- <element content="#IN120" subtype="load" type="operand" uuid="15ee7f7d-a710-433c-be37-0d24d604f4b1" x="2" y="29">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="b3c5582c-5da4-4359-9dad-7a61a84b69cb" wire="24" />
- </connections>
- </element>
- <element content="#OUT120" subtype="assign" type="operand" uuid="a1a23732-d65d-4207-8238-082f6967d038" x="4" y="29">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="86565b1c-77e1-447c-a8ae-69b7d3a0b447" wire="25" />
- </connections>
- </element>
- <element content="#IN130" subtype="load" type="operand" uuid="b7fd4b8e-6c48-4bed-8cca-c63935d6b8b0" x="2" y="31">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="0f49f712-cea1-4f8c-a860-20395b6ef3f5" wire="26" />
- </connections>
- </element>
- <element content="#IN140" subtype="load" type="operand" uuid="2c028b17-9165-4f5d-911b-d3171bb30048" x="2" y="33">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="1a8125f9-cb35-4dc0-b231-d46760e9b2f8" wire="27" />
- </connections>
- </element>
- <element content="#OUT130" subtype="assign" type="operand" uuid="5e843a6c-43c4-4cf7-b456-13b8214b84a5" x="4" y="31">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="90e32d7e-016e-4917-8e45-ffe822870683" wire="28" />
- </connections>
- </element>
- <element content="#OUT140" subtype="assign" type="operand" uuid="7e17aa0c-e88f-4763-a10a-a6085ca3ef43" x="4" y="33">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="f9d82693-4bcd-4811-8dd6-f633e0d866b0" wire="29" />
- </connections>
- </element>
- <element content="#IN150" subtype="load" type="operand" uuid="ed0e3b09-f6ba-42fa-9eba-9b2f9cbcc9dd" x="2" y="37">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="5b881ca0-81ea-44d3-a093-57639d64df14" wire="30" />
- </connections>
- </element>
- <element content="#IN160" subtype="load" type="operand" uuid="fb34c253-6375-46e9-a22f-b1375dd9153f" x="2" y="39">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="07bc6d02-bfd8-4300-ac81-840d820e2f61" wire="31" />
- </connections>
- </element>
- <element content="#OUT150" subtype="assign" type="operand" uuid="aec3d084-6782-4363-a027-c125f90e16e7" x="4" y="37">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="8b3bf700-76eb-4156-8c2b-cd4696552008" wire="32" />
- </connections>
- </element>
- <element content="#OUT160" subtype="assign" type="operand" uuid="eb0c5ade-8fa9-4555-b431-15591d56cd17" x="4" y="39">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="eac83fc4-f0b3-4aac-a5cc-c0d9a94a5a68" wire="33" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="conv_1"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_conv_1"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="a99e914d-4cd0-40ab-9376-4c50e45c0079" />
- <field name="IN10" type="DINT" uuid="d5bbda1b-8f5e-435e-9ab9-d7d493878aed" />
- <field name="EN1" type="BOOL" uuid="c855784b-98dd-4c9b-9262-b815ed528e48" />
- </inputs>
- <outputs>
- <field name="OUT20" type="DINT" uuid="467b1834-440e-460d-8d82-f1f6a56d3e29" />
- <field name="OUT30" type="DINT" uuid="defbc534-834b-4646-908d-21b2e19a16ae" />
- <field name="OUT40" type="DINT" uuid="050e9d5d-3673-4479-ae3f-1881106e3850" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="b55fe37e-4058-488a-b8d5-0089297a4ebb" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="78c5e264-be45-4798-a7aa-0f06f2033557" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="58dc877d-9992-4f3e-bcd1-c350f911b277" />
- <wire id="1" uuid="3d771a9a-58fe-4892-9fc3-1c959e6a46fd" />
- <wire id="2" uuid="ad2941f5-0212-4a35-9193-2e8793da31fa" />
- <wire id="3" uuid="a083be43-2edb-4d35-8423-021046cff667" />
- <wire id="4" uuid="f7514397-5222-40d6-b640-27be3436c35c" />
- <wire id="5" uuid="1a96ab6a-dcb2-4434-88a3-c61156188e40" />
- <wire id="6" uuid="c2277742-4302-4770-a557-14991b2deb1b" />
- <wire id="7" uuid="4cb57056-9a49-42ed-bfb8-a46983b7a82a" />
- </wires>
- <elements>
- <element content="#IN00" subtype="load" type="operand" uuid="a45f9d10-cdcd-4136-845a-46fcd47d5646" x="1" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="df507577-944b-407b-94c8-d7ddf563904a" wire="0" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="b5fcad39-3a2b-4fe2-b60c-ae76ccada838" x="2" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="16515998-ad75-4e54-bb02-f00e51b1beb7" wire="1" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="2ec0bf1c-2adc-4dcd-b552-a01e20ee7639" x="2" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6fb6d406-3663-4964-82ea-b5ed5db9077b" wire="2" />
- </connections>
- </element>
- <element content="#OUT20" subtype="assign" type="operand" uuid="25dae408-cfc2-4e9b-8bef-a6e1eff6da4a" x="5" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="8cd4ce72-b6d0-4f70-9e14-a5b0601fa82e" wire="5" />
- </connections>
- </element>
- <element content="#OUT40" subtype="assign" type="operand" uuid="8d508322-5ce3-4896-9fdb-fc85f5d056c4" x="7" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="8dfeac9f-d423-4a61-857d-4d813afb305e" wire="7" />
- </connections>
- </element>
- <element subtype="itd" type="convert" uuid="889806a5-d25e-421d-93fc-e68eaf16fa53" x="2" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="ee64ca2b-b559-49ea-87ed-a53a966e60dd" wire="0" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="7f45f9df-cf61-4b9d-9180-036e63a37457" wire="3" />
- </connections>
- </element>
- <element subtype="add-dint" type="arithmetic" uuid="cd577905-264d-4fd8-afac-cfb489fd65dc" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="155bf319-9781-46c9-8906-38f30b7e586a" wire="1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="d4960514-b963-4871-91f8-b375a010f274" wire="2" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="27f85767-5f5a-4603-a6e2-edf05d1185e2" wire="3" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="c53cdbdf-23e0-40ab-852d-bf0ab640e051" wire="4" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="86e7ab12-bb66-4064-8a2c-cd14997cbd38" wire="-1" />
- </connections>
- </element>
- <element subtype="negd" type="convert" uuid="1b572c2b-aaea-4a92-b05d-72f41bc6edef" x="4" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="31a807e3-7ebd-4e8c-b89c-7e5e30bae9db" wire="4" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="bd25c359-3219-4b96-95c3-7d83cb6e8cf5" wire="5" />
- </connections>
- </element>
- <element subtype="negd" type="convert" uuid="2c4c6438-25f4-4a95-81bc-e04782233b17" x="5" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="c88d6d43-f9f9-4e17-978b-af1779b61d5a" wire="5" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="8b416588-9858-41fa-b698-f3e9a0fa993a" wire="6" />
- </connections>
- </element>
- <element subtype="negd" type="convert" uuid="4a3480d1-d628-497d-91d6-c4d10bdcd5f2" x="6" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="IN" uuid="3a8e5e1c-f953-4e29-9537-94c21cfd32c9" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="8be768cd-a3d7-4bdf-9d3b-7f8b6212e0a1" wire="7" />
- </connections>
- </element>
- <element content="#OUT30" subtype="assign" type="operand" uuid="55d26ea3-8cfe-4fbf-9003-33ba104c628f" x="6" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e7d387d1-5305-4e7e-85a1-d433ff52f4f3" wire="6" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- </language_fup>
- <!-- Symbol table configuration -->
- <symbols>
- <!-- symbol table source code -->
- <source enabled="1"
- name="Main table"
- type="3"><![CDATA[
- 126,FC_conv_0 FC 0 FC 0
- 126,FC_TEST_conv_0 FC 1 FC 1
- 126,FC_conv_1 FC 10 FC 10
- 126,FC_TEST_conv_1 FC 11 FC 11
- ]]></source>
- </symbols>
- <!-- Core server link configuration -->
- <core_link>
- <!-- Locally spawned core server -->
- <spawn_local enable="1"
- interpreters="$DEFAULT"
- port_range_begin="4183"
- port_range_end="8278" />
- <!-- Remote server connection -->
- <connect host="localhost"
- port="4151"
- timeout_ms="3000" />
- <!-- Transport tunnel -->
- <tunnel local_port="-1"
- type="0">
- <ssh executable="ssh"
- port="22"
- user="pi" />
- </tunnel>
- </core_link>
- <!-- Graphical user interface configuration -->
- <gui>
- <editor autoindent="1"
- paste_autoindent="1"
- validation="1" />
- </gui>
- </awlsim_project>
|