<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Awlsim project file generated by awlsim-0.66.0-pre -->
<awlsim_project date_create="2017-09-30 11:04:57.859335"
                date_modify="2018-07-08 18:00:24.540266"
                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_inline_0"
	CALL "FC_TEST_inline_1"
	
	CALL SFC 46 // STOP CPU
END_ORGANIZATION_BLOCK

]]></source>

		<!-- AWL/STL source code -->
		<source enabled="1"
		        name="TEST inline_0"
		        type="0"><![CDATA[
FUNCTION "FC_TEST_inline_0" : VOID
BEGIN
	L	0
	T	MW 10
	T	MW 12
	CALL "FC_inline_0" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		IN0		:= 123,  // INT
		EN2		:= FALSE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 0
	__ASSERT==	MW 12, 0
	
	
	L	0
	T	MW 10
	T	MW 12
	CALL "FC_inline_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		IN0		:= 123,  // INT
		EN2		:= FALSE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 123
	__ASSERT==	MW 12, 0
	
	
	L	0
	T	MW 10
	T	MW 12
	CALL "FC_inline_0" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		IN0		:= 123,  // INT
		EN2		:= TRUE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 0
	__ASSERT==	MW 12, 456
	
	
	L	0
	T	MW 10
	T	MW 12
	CALL "FC_inline_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		IN0		:= 123,  // INT
		EN2		:= TRUE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 123
	__ASSERT==	MW 12, 456
	
	
END_FUNCTION
]]></source>

		<!-- AWL/STL source code -->
		<source enabled="1"
		        name="TEST inline_1"
		        type="0"><![CDATA[
FUNCTION "FC_TEST_inline_1" : VOID
BEGIN
	L	0
	T	MW 0
	T	MW 10
	T	MW 12
	CALL "FC_inline_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		IN0		:= 123,  // INT
		IN1		:= FALSE,  // BOOL
		EN2		:= FALSE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT1		:= M 0.0,  // BOOL
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 0
	__ASSERT==	M 0.0, FALSE
	__ASSERT==	MW 12, 0
	
	
	L	0
	T	MW 0
	T	MW 10
	T	MW 12
	CALL "FC_inline_1" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		IN0		:= 123,  // INT
		IN1		:= FALSE,  // BOOL
		EN2		:= FALSE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT1		:= M 0.0,  // BOOL
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 123
	__ASSERT==	M 0.0, FALSE
	__ASSERT==	MW 12, 0
	
	
	L	0
	T	MW 0
	T	MW 10
	T	MW 12
	CALL "FC_inline_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		IN0		:= 123,  // INT
		IN1		:= FALSE,  // BOOL
		EN2		:= TRUE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT1		:= M 0.0,  // BOOL
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 0
	__ASSERT==	M 0.0, FALSE
	__ASSERT==	MW 12, 456
	
	
	L	0
	T	MW 0
	T	MW 10
	T	MW 12
	CALL "FC_inline_1" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		IN0		:= 123,  // INT
		IN1		:= FALSE,  // BOOL
		EN2		:= TRUE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT1		:= M 0.0,  // BOOL
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 123
	__ASSERT==	M 0.0, FALSE
	__ASSERT==	MW 12, 456
	
	
	L	0
	T	MW 0
	T	MW 10
	T	MW 12
	CALL "FC_inline_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		IN0		:= 123,  // INT
		IN1		:= TRUE,  // BOOL
		EN2		:= FALSE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT1		:= M 0.0,  // BOOL
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 0
	__ASSERT==	M 0.0, TRUE
	__ASSERT==	MW 12, 0
	
	
	L	0
	T	MW 0
	T	MW 10
	T	MW 12
	CALL "FC_inline_1" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		IN0		:= 123,  // INT
		IN1		:= TRUE,  // BOOL
		EN2		:= FALSE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT1		:= M 0.0,  // BOOL
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 123
	__ASSERT==	M 0.0, TRUE
	__ASSERT==	MW 12, 0
	
	
	L	0
	T	MW 0
	T	MW 10
	T	MW 12
	CALL "FC_inline_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		IN0		:= 123,  // INT
		IN1		:= TRUE,  // BOOL
		EN2		:= TRUE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT1		:= M 0.0,  // BOOL
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 0
	__ASSERT==	M 0.0, TRUE
	__ASSERT==	MW 12, 456
	
	
	L	0
	T	MW 0
	T	MW 10
	T	MW 12
	CALL "FC_inline_1" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		IN0		:= 123,  // INT
		IN1		:= TRUE,  // BOOL
		EN2		:= TRUE,  // BOOL
		IN2		:= 456,  // INT
		// VAR_OUTPUT
		OUT0		:= MW 10,  // INT
		OUT1		:= M 0.0,  // BOOL
		OUT2		:= MW 12,  // INT
	)
	__ASSERT==	MW 10, 123
	__ASSERT==	M 0.0, TRUE
	__ASSERT==	MW 12, 456
	
	
END_FUNCTION
]]></source>
	</language_awl>

	<!-- FUP/FBD language configuration -->
	<language_fup>
		<!-- FUP/FBD source code -->
		<source enabled="1"
		        name="inline_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_inline_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="EN0" type="BOOL" uuid="915b53ca-1fe9-4f38-9551-3e5baa435d78" />
			<field name="IN0" type="INT" uuid="51ddac84-d9d4-46d6-9c33-bd459db14322" />
			<field name="EN2" type="BOOL" uuid="e2b1c8a9-0f2e-40f6-bf59-60a98f31dc12" />
			<field name="IN2" type="INT" uuid="9a7f2f0e-90cb-4be5-a65e-345df2516fb3" />
		</inputs>
		<outputs>
			<field name="OUT0" type="INT" uuid="fd35ba36-448c-43c9-bcd6-3097f8e550cd" />
			<field name="OUT2" type="INT" uuid="b847edee-3c6d-4be9-a31b-1547847d8767" />
		</outputs>
		<retval>
			<field name="RET_VAL" type="VOID" uuid="9bef505d-3b03-4c80-8649-548f2249cb2f" />
		</retval>
	</interface>
	<grids>
		<grid height="19" uuid="f78e2e78-7338-487c-a829-541e7c77513b" width="12">
			<optimizers all="1" enabled="1" type="awl" />
			<wires>
				<wire id="0" uuid="a8f310f6-a89a-4d5e-b9ab-1eed2aa054e4" />
				<wire id="1" uuid="c4c891c1-3cff-451a-b155-d6ba8f0dc8f3" />
				<wire id="2" uuid="d152ca60-9d57-44a8-8c14-a7d4577cc637" />
				<wire id="3" uuid="6aa3647f-923a-48cc-8e1c-38da30e1a303" />
				<wire id="4" uuid="f86e8f4f-0803-4b2d-a9e7-7e3b6a23552a" />
				<wire id="5" uuid="887dc194-3b9d-47c3-92ad-f533b0587d05" />
			</wires>
			<elements>
				<element type="move" uuid="78c1bd86-948f-4a14-bf86-ae6900a385c7" x="2" y="2">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="dc43bbec-c54f-4b45-a348-f5151987531b" wire="0" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="aa7a2058-d042-446d-b9c3-beb7ae18318c" wire="1" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="cb1c9640-9ccd-4fc6-9b8c-1063965b0599" wire="2" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="c1baf33b-c660-4147-b527-a51cec1038da" wire="-1" />
					</connections>
				</element>
				<element type="awl" uuid="b462fb25-bca6-452b-ace9-f35411d4acf0" x="2" y="7" />
				<element type="move" uuid="6222bf87-e38f-4b0d-bc04-3dcb98517bcc" x="2" y="12">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="14fb4f52-8b55-4438-974e-6a36f8127b0b" wire="3" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="a1f96118-e593-4b56-b9fd-2e5269b88d4d" wire="4" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="71343334-5011-4f24-9fd1-a8519601d7ca" wire="5" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="c21f4c1b-d2d4-4609-a8dd-90f2ceb93f61" wire="-1" />
					</connections>
				</element>
				<element content="#EN0" subtype="load" type="operand" uuid="d355443b-9e38-467d-a198-4ab373875401" x="1" y="3">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="f10b0f71-73c1-425a-b47a-c9b84355a624" wire="0" />
					</connections>
				</element>
				<element content="#IN0" subtype="load" type="operand" uuid="d41f4cc1-9144-4801-bb55-5a7aa0c8da37" x="1" y="4">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="c672057d-9d64-4cd5-bc6d-269b55cff797" wire="1" />
					</connections>
				</element>
				<element content="#OUT0" subtype="assign" type="operand" uuid="3a760be1-7d63-4cc2-aa91-129ac09fde99" x="3" y="3">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="ee54da67-a076-4d68-947a-a411400c69d6" wire="2" />
					</connections>
				</element>
				<element content="#EN2" subtype="load" type="operand" uuid="bfd54472-1951-414c-933f-780920c6ec58" x="1" y="13">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="5744488b-60fc-449f-a226-bcadcaafa78b" wire="3" />
					</connections>
				</element>
				<element content="#IN2" subtype="load" type="operand" uuid="7a42b97f-3f56-495e-9d1d-5d5f2a1b28b6" x="1" y="14">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="b0ac21bd-36a9-4986-ba4f-5ac1699d303b" wire="4" />
					</connections>
				</element>
				<element content="#OUT2" subtype="assign" type="operand" uuid="6d22f983-41fa-4094-976a-ef737f29c38b" x="3" y="13">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="ab6d835b-01f2-423e-9b4b-9ee296007e93" wire="5" />
					</connections>
				</element>
			</elements>
		</grid>
	</grids>
</FUP>
]]></source>

		<!-- FUP/FBD source code -->
		<source enabled="1"
		        name="inline_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_inline_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="EN0" type="BOOL" uuid="b9fdd5bf-2f9b-4fc6-a917-4985ae5cf102" />
			<field name="IN0" type="INT" uuid="8c5a2b14-011d-4dc5-9f32-d3ecf25d9335" />
			<field name="IN1" type="BOOL" uuid="599ac5ad-7afb-479b-921f-80e153ad7c83" />
			<field name="EN2" type="BOOL" uuid="9c78586f-df97-41d9-bc49-50e9e23771e6" />
			<field name="IN2" type="INT" uuid="f48aca32-66d6-49b0-a951-6a074762dd18" />
		</inputs>
		<outputs>
			<field name="OUT0" type="INT" uuid="7394e372-3e08-469d-b172-2917b560138d" />
			<field name="OUT1" type="BOOL" uuid="2a90bfb9-7a84-4159-9d9f-cf9248d341ba" />
			<field name="OUT2" type="INT" uuid="c77121fe-fb9b-43f3-bfab-e2dc8b389efd" />
		</outputs>
		<retval>
			<field name="RET_VAL" type="VOID" uuid="f567d408-2a34-4494-95d0-81c68988f8fa" />
		</retval>
	</interface>
	<grids>
		<grid height="19" uuid="eafc377b-2d95-4b8d-9f28-672281751085" width="12">
			<optimizers all="1" enabled="1" type="awl" />
			<wires>
				<wire id="0" uuid="ef27c981-ff7d-4476-aa0b-976f04931729" />
				<wire id="1" uuid="1adc7b9a-70e6-41ef-9962-3179e1d5e19c" />
				<wire id="2" uuid="668a96f8-ff77-4038-b354-0a30194304a3" />
				<wire id="3" uuid="0330dc27-cb50-4755-bf1b-7f51b5a2e38a" />
				<wire id="4" uuid="6d9b51fa-0f57-4abb-bbf4-b7797fdb82f3" />
				<wire id="5" uuid="699f8b1c-7479-42b5-9fc7-f168208daa94" />
			</wires>
			<elements>
				<element type="move" uuid="872a5ac4-933f-4951-a5d8-8546557e0945" x="2" y="2">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="aa749ca1-dd45-45d5-ad05-4d8711e702ff" wire="0" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="10b43e44-d42a-4ebf-b912-b7a005661af8" wire="1" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="60ee9110-1668-4da9-914e-c45384b0e13d" wire="2" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="9acea2d6-cd6d-4bd2-8896-a2b983d4b2bc" wire="-1" />
					</connections>
				</element>
				<element type="move" uuid="4c3967d8-3385-4bc7-b142-c80d3f5bbdcd" x="2" y="12">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="11ef1b0a-8b89-4ebf-925a-5afe9c9bbe9f" wire="3" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN" uuid="e4c5e628-bdd9-4027-9208-d5f9db424686" wire="4" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="f2541927-60c6-4af3-8565-dc05d5df07a3" wire="5" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="a5abe2ee-e7dd-4303-b61f-31dbb73a5b04" wire="-1" />
					</connections>
				</element>
				<element content="U #IN1&#13;&#10;= #OUT1" type="awl" uuid="bb9cbe5b-f23f-4910-be47-1374b96171d5" x="2" y="7" />
				<element content="#EN0" subtype="load" type="operand" uuid="96ea653f-4a75-47e8-88bc-9abab3b579be" x="1" y="3">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="e956c7fc-0cd1-47cb-984b-2e0ab999f3a9" wire="0" />
					</connections>
				</element>
				<element content="#IN0" subtype="load" type="operand" uuid="5e58fd60-145f-43e1-98da-c3084b9ea063" x="1" y="4">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="2766c068-26df-4646-85a3-783786d67d8d" wire="1" />
					</connections>
				</element>
				<element content="#OUT0" subtype="assign" type="operand" uuid="f2ca5d75-1ed1-4e30-b150-ac4ffac90189" x="3" y="3">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="6881d0db-d248-452f-b108-fc260f4d7e63" wire="2" />
					</connections>
				</element>
				<element content="#EN2" subtype="load" type="operand" uuid="de3d03c8-dd9e-4085-87a1-fc0d6caa63a6" x="1" y="13">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="8c03cf61-8129-4565-adfe-c026eedad0ff" wire="3" />
					</connections>
				</element>
				<element content="#IN2" subtype="load" type="operand" uuid="d6659f54-31ae-4af7-be89-3abb719ec121" x="1" y="14">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="fee9c146-95ea-433f-ac88-0ebfc4336c13" wire="4" />
					</connections>
				</element>
				<element content="#OUT2" subtype="assign" type="operand" uuid="90586602-7e6d-41a8-8fbc-a1d09cc77652" x="3" y="13">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="34b9bf17-ec52-490c-9d73-2ff97fa0eabb" wire="5" />
					</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_inline_0             FC 10       FC 10
126,FC_TEST_inline_0        FC 11       FC 11
126,FC_inline_1             FC 20       FC 20
126,FC_TEST_inline_1        FC 21       FC 21

]]></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>
