<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Awlsim project file generated by awlsim-0.66.0-pre -->
<awlsim_project date_create="2018-06-09 12:22:35.642801"
                date_modify="2018-07-08 18:00:21.706391"
                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_count_0"
	CALL "FC_TEST_count_1"
	CALL "FC_TEST_count_2"
	CALL "FC_TEST_count_3"
	CALL "FC_TEST_count_4"
	
	CALL SFC 46 // STOP CPU
END_ORGANIZATION_BLOCK
]]></source>

		<!-- AWL/STL source code -->
		<source enabled="1"
		        name="TEST count_0"
		        type="0"><![CDATA[
FUNCTION "FC_TEST_count_0" : VOID
BEGIN
	// Initialize all counters to 100
	L	C#100
	SET
	FR	Z 0
	FR	Z 1
	FR	Z 2
	FR	Z 3
	FR	Z 4
	FR	Z 5
	SET
	S	Z 0
	S	Z 1
	S	Z 2
	S	Z 3
	S	Z 4
	S	Z 5
	CLR
	FR	Z 0
	FR	Z 1
	FR	Z 2
	FR	Z 3
	FR	Z 4
	FR	Z 5



	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	T	MW 8
	T	MW 10
	T	MW 12
	T	MW 14
	T	MW 16
	T	MW 18
	T	MW 20
	T	MW 22
	CALL "FC_count_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		S0		:= FALSE,  // BOOL
		PV0		:= C#111,  // WORD
		R0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU1		:= FALSE,  // BOOL
		S1		:= FALSE,  // BOOL
		PV1		:= C#222,  // WORD
		R1		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		EN3		:= TRUE,  // BOOL
		CD3		:= FALSE,  // BOOL
		S3		:= FALSE,  // BOOL
		PV3		:= C#333,  // WORD
		R3		:= FALSE,  // BOOL
		CD4		:= FALSE,  // BOOL
		S5		:= FALSE,  // BOOL
		PV5		:= C#444,  // WORD
		// VAR_OUTPUT
		CV0		:= MW 0,  // WORD
		CVB0		:= MW 2,  // WORD
		Q0		:= M 4.0,  // BOOL
		ENO0		:= M 4.1,  // BOOL
		CV1		:= MW 6,  // WORD
		CVB1		:= MW 8,  // WORD
		Q1		:= M 10.0,  // BOOL
		ENO1		:= M 10.1,  // BOOL
		Q2		:= M 12.0,  // BOOL
		CV3		:= MW 14,  // WORD
		CVB3		:= MW 16,  // WORD
		Q3		:= M 18.0,  // BOOL
		ENO3		:= M 18.1,  // BOOL
		Q4		:= M 20.0,  // BOOL
		Q5		:= M 22.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	L		Z 1
	__ASSERT==	__ACCU 1,	100
	L		Z 2
	__ASSERT==	__ACCU 1,	100
	L		Z 3
	__ASSERT==	__ACCU 1,	100
	L		Z 4
	__ASSERT==	__ACCU 1,	100
	L		Z 5
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,	100
	__ASSERT==	MW 2,	C#100
	__ASSERT==	M 4.0,	TRUE
	__ASSERT==	M 4.1,	TRUE
	__ASSERT==	MW 6,	100
	__ASSERT==	MW 8,	C#100
	__ASSERT==	M 10.0,	TRUE
	__ASSERT==	M 10.1,	TRUE
	__ASSERT==	M 12.0,	TRUE
	__ASSERT==	MW 14,	100
	__ASSERT==	MW 16,	C#100
	__ASSERT==	M 18.0,	TRUE
	__ASSERT==	M 18.1,	TRUE
	__ASSERT==	M 20.0,	TRUE
	__ASSERT==	M 22.0,	TRUE



	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	T	MW 8
	T	MW 10
	T	MW 12
	T	MW 14
	T	MW 16
	T	MW 18
	T	MW 20
	T	MW 22
	CALL "FC_count_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= TRUE,  // BOOL
		CD0		:= FALSE,  // BOOL
		S0		:= FALSE,  // BOOL
		PV0		:= C#111,  // WORD
		R0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU1		:= TRUE,  // BOOL
		S1		:= FALSE,  // BOOL
		PV1		:= C#222,  // WORD
		R1		:= FALSE,  // BOOL
		CU2		:= TRUE,  // BOOL
		EN3		:= TRUE,  // BOOL
		CD3		:= TRUE,  // BOOL
		S3		:= FALSE,  // BOOL
		PV3		:= C#333,  // WORD
		R3		:= FALSE,  // BOOL
		CD4		:= TRUE,  // BOOL
		S5		:= FALSE,  // BOOL
		PV5		:= C#444,  // WORD
		// VAR_OUTPUT
		CV0		:= MW 0,  // WORD
		CVB0		:= MW 2,  // WORD
		Q0		:= M 4.0,  // BOOL
		ENO0		:= M 4.1,  // BOOL
		CV1		:= MW 6,  // WORD
		CVB1		:= MW 8,  // WORD
		Q1		:= M 10.0,  // BOOL
		ENO1		:= M 10.1,  // BOOL
		Q2		:= M 12.0,  // BOOL
		CV3		:= MW 14,  // WORD
		CVB3		:= MW 16,  // WORD
		Q3		:= M 18.0,  // BOOL
		ENO3		:= M 18.1,  // BOOL
		Q4		:= M 20.0,  // BOOL
		Q5		:= M 22.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	101
	L		Z 3
	__ASSERT==	__ACCU 1,	99
	L		Z 4
	__ASSERT==	__ACCU 1,	99
	L		Z 5
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,	101
	__ASSERT==	MW 2,	C#101
	__ASSERT==	M 4.0,	TRUE
	__ASSERT==	M 4.1,	TRUE
	__ASSERT==	MW 6,	101
	__ASSERT==	MW 8,	C#101
	__ASSERT==	M 10.0,	TRUE
	__ASSERT==	M 10.1,	TRUE
	__ASSERT==	M 12.0,	TRUE
	__ASSERT==	MW 14,	99
	__ASSERT==	MW 16,	C#99
	__ASSERT==	M 18.0,	TRUE
	__ASSERT==	M 18.1,	TRUE
	__ASSERT==	M 20.0,	TRUE
	__ASSERT==	M 22.0,	TRUE



	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	T	MW 8
	T	MW 10
	T	MW 12
	T	MW 14
	T	MW 16
	T	MW 18
	T	MW 20
	T	MW 22
	CALL "FC_count_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		S0		:= FALSE,  // BOOL
		PV0		:= C#111,  // WORD
		R0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU1		:= FALSE,  // BOOL
		S1		:= FALSE,  // BOOL
		PV1		:= C#222,  // WORD
		R1		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		EN3		:= TRUE,  // BOOL
		CD3		:= FALSE,  // BOOL
		S3		:= FALSE,  // BOOL
		PV3		:= C#333,  // WORD
		R3		:= FALSE,  // BOOL
		CD4		:= FALSE,  // BOOL
		S5		:= FALSE,  // BOOL
		PV5		:= C#444,  // WORD
		// VAR_OUTPUT
		CV0		:= MW 0,  // WORD
		CVB0		:= MW 2,  // WORD
		Q0		:= M 4.0,  // BOOL
		ENO0		:= M 4.1,  // BOOL
		CV1		:= MW 6,  // WORD
		CVB1		:= MW 8,  // WORD
		Q1		:= M 10.0,  // BOOL
		ENO1		:= M 10.1,  // BOOL
		Q2		:= M 12.0,  // BOOL
		CV3		:= MW 14,  // WORD
		CVB3		:= MW 16,  // WORD
		Q3		:= M 18.0,  // BOOL
		ENO3		:= M 18.1,  // BOOL
		Q4		:= M 20.0,  // BOOL
		Q5		:= M 22.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	101
	L		Z 3
	__ASSERT==	__ACCU 1,	99
	L		Z 4
	__ASSERT==	__ACCU 1,	99
	L		Z 5
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,	101
	__ASSERT==	MW 2,	C#101
	__ASSERT==	M 4.0,	TRUE
	__ASSERT==	M 4.1,	TRUE
	__ASSERT==	MW 6,	101
	__ASSERT==	MW 8,	C#101
	__ASSERT==	M 10.0,	TRUE
	__ASSERT==	M 10.1,	TRUE
	__ASSERT==	M 12.0,	TRUE
	__ASSERT==	MW 14,	99
	__ASSERT==	MW 16,	C#99
	__ASSERT==	M 18.0,	TRUE
	__ASSERT==	M 18.1,	TRUE
	__ASSERT==	M 20.0,	TRUE
	__ASSERT==	M 22.0,	TRUE



	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	T	MW 8
	T	MW 10
	T	MW 12
	T	MW 14
	T	MW 16
	T	MW 18
	T	MW 20
	T	MW 22
	CALL "FC_count_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= TRUE,  // BOOL
		CD0		:= FALSE,  // BOOL
		S0		:= FALSE,  // BOOL
		PV0		:= C#111,  // WORD
		R0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU1		:= TRUE,  // BOOL
		S1		:= FALSE,  // BOOL
		PV1		:= C#222,  // WORD
		R1		:= FALSE,  // BOOL
		CU2		:= TRUE,  // BOOL
		EN3		:= TRUE,  // BOOL
		CD3		:= TRUE,  // BOOL
		S3		:= FALSE,  // BOOL
		PV3		:= C#333,  // WORD
		R3		:= FALSE,  // BOOL
		CD4		:= TRUE,  // BOOL
		S5		:= FALSE,  // BOOL
		PV5		:= C#444,  // WORD
		// VAR_OUTPUT
		CV0		:= MW 0,  // WORD
		CVB0		:= MW 2,  // WORD
		Q0		:= M 4.0,  // BOOL
		ENO0		:= M 4.1,  // BOOL
		CV1		:= MW 6,  // WORD
		CVB1		:= MW 8,  // WORD
		Q1		:= M 10.0,  // BOOL
		ENO1		:= M 10.1,  // BOOL
		Q2		:= M 12.0,  // BOOL
		CV3		:= MW 14,  // WORD
		CVB3		:= MW 16,  // WORD
		Q3		:= M 18.0,  // BOOL
		ENO3		:= M 18.1,  // BOOL
		Q4		:= M 20.0,  // BOOL
		Q5		:= M 22.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	102
	L		Z 1
	__ASSERT==	__ACCU 1,	102
	L		Z 2
	__ASSERT==	__ACCU 1,	102
	L		Z 3
	__ASSERT==	__ACCU 1,	98
	L		Z 4
	__ASSERT==	__ACCU 1,	98
	L		Z 5
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,	102
	__ASSERT==	MW 2,	C#102
	__ASSERT==	M 4.0,	TRUE
	__ASSERT==	M 4.1,	TRUE
	__ASSERT==	MW 6,	102
	__ASSERT==	MW 8,	C#102
	__ASSERT==	M 10.0,	TRUE
	__ASSERT==	M 10.1,	TRUE
	__ASSERT==	M 12.0,	TRUE
	__ASSERT==	MW 14,	98
	__ASSERT==	MW 16,	C#98
	__ASSERT==	M 18.0,	TRUE
	__ASSERT==	M 18.1,	TRUE
	__ASSERT==	M 20.0,	TRUE
	__ASSERT==	M 22.0,	TRUE



	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	T	MW 8
	T	MW 10
	T	MW 12
	T	MW 14
	T	MW 16
	T	MW 18
	T	MW 20
	T	MW 22
	CALL "FC_count_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		S0		:= FALSE,  // BOOL
		PV0		:= C#111,  // WORD
		R0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU1		:= FALSE,  // BOOL
		S1		:= FALSE,  // BOOL
		PV1		:= C#222,  // WORD
		R1		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		EN3		:= TRUE,  // BOOL
		CD3		:= FALSE,  // BOOL
		S3		:= FALSE,  // BOOL
		PV3		:= C#333,  // WORD
		R3		:= FALSE,  // BOOL
		CD4		:= FALSE,  // BOOL
		S5		:= FALSE,  // BOOL
		PV5		:= C#444,  // WORD
		// VAR_OUTPUT
		CV0		:= MW 0,  // WORD
		CVB0		:= MW 2,  // WORD
		Q0		:= M 4.0,  // BOOL
		ENO0		:= M 4.1,  // BOOL
		CV1		:= MW 6,  // WORD
		CVB1		:= MW 8,  // WORD
		Q1		:= M 10.0,  // BOOL
		ENO1		:= M 10.1,  // BOOL
		Q2		:= M 12.0,  // BOOL
		CV3		:= MW 14,  // WORD
		CVB3		:= MW 16,  // WORD
		Q3		:= M 18.0,  // BOOL
		ENO3		:= M 18.1,  // BOOL
		Q4		:= M 20.0,  // BOOL
		Q5		:= M 22.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	102
	L		Z 1
	__ASSERT==	__ACCU 1,	102
	L		Z 2
	__ASSERT==	__ACCU 1,	102
	L		Z 3
	__ASSERT==	__ACCU 1,	98
	L		Z 4
	__ASSERT==	__ACCU 1,	98
	L		Z 5
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,	102
	__ASSERT==	MW 2,	C#102
	__ASSERT==	M 4.0,	TRUE
	__ASSERT==	M 4.1,	TRUE
	__ASSERT==	MW 6,	102
	__ASSERT==	MW 8,	C#102
	__ASSERT==	M 10.0,	TRUE
	__ASSERT==	M 10.1,	TRUE
	__ASSERT==	M 12.0,	TRUE
	__ASSERT==	MW 14,	98
	__ASSERT==	MW 16,	C#98
	__ASSERT==	M 18.0,	TRUE
	__ASSERT==	M 18.1,	TRUE
	__ASSERT==	M 20.0,	TRUE
	__ASSERT==	M 22.0,	TRUE



	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	T	MW 8
	T	MW 10
	T	MW 12
	T	MW 14
	T	MW 16
	T	MW 18
	T	MW 20
	T	MW 22
	CALL "FC_count_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		S0		:= TRUE,  // BOOL
		PV0		:= C#111,  // WORD
		R0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU1		:= FALSE,  // BOOL
		S1		:= TRUE,  // BOOL
		PV1		:= C#222,  // WORD
		R1		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		EN3		:= TRUE,  // BOOL
		CD3		:= FALSE,  // BOOL
		S3		:= TRUE,  // BOOL
		PV3		:= C#333,  // WORD
		R3		:= FALSE,  // BOOL
		CD4		:= FALSE,  // BOOL
		S5		:= TRUE,  // BOOL
		PV5		:= C#444,  // WORD
		// VAR_OUTPUT
		CV0		:= MW 0,  // WORD
		CVB0		:= MW 2,  // WORD
		Q0		:= M 4.0,  // BOOL
		ENO0		:= M 4.1,  // BOOL
		CV1		:= MW 6,  // WORD
		CVB1		:= MW 8,  // WORD
		Q1		:= M 10.0,  // BOOL
		ENO1		:= M 10.1,  // BOOL
		Q2		:= M 12.0,  // BOOL
		CV3		:= MW 14,  // WORD
		CVB3		:= MW 16,  // WORD
		Q3		:= M 18.0,  // BOOL
		ENO3		:= M 18.1,  // BOOL
		Q4		:= M 20.0,  // BOOL
		Q5		:= M 22.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	111
	L		Z 1
	__ASSERT==	__ACCU 1,	222
	L		Z 2
	__ASSERT==	__ACCU 1,	102
	L		Z 3
	__ASSERT==	__ACCU 1,	333
	L		Z 4
	__ASSERT==	__ACCU 1,	98
	L		Z 5
	__ASSERT==	__ACCU 1,	444
	__ASSERT==	MW 0,	111
	__ASSERT==	MW 2,	C#111
	__ASSERT==	M 4.0,	TRUE
	__ASSERT==	M 4.1,	TRUE
	__ASSERT==	MW 6,	222
	__ASSERT==	MW 8,	C#222
	__ASSERT==	M 10.0,	TRUE
	__ASSERT==	M 10.1,	TRUE
	__ASSERT==	M 12.0,	TRUE
	__ASSERT==	MW 14,	333
	__ASSERT==	MW 16,	C#333
	__ASSERT==	M 18.0,	TRUE
	__ASSERT==	M 18.1,	TRUE
	__ASSERT==	M 20.0,	TRUE
	__ASSERT==	M 22.0,	TRUE



	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	T	MW 8
	T	MW 10
	T	MW 12
	T	MW 14
	T	MW 16
	T	MW 18
	T	MW 20
	T	MW 22
	CALL "FC_count_0" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		S0		:= FALSE,  // BOOL
		PV0		:= C#111,  // WORD
		R0		:= TRUE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU1		:= FALSE,  // BOOL
		S1		:= FALSE,  // BOOL
		PV1		:= C#222,  // WORD
		R1		:= TRUE,  // BOOL
		CU2		:= FALSE,  // BOOL
		EN3		:= TRUE,  // BOOL
		CD3		:= FALSE,  // BOOL
		S3		:= FALSE,  // BOOL
		PV3		:= C#333,  // WORD
		R3		:= TRUE,  // BOOL
		CD4		:= FALSE,  // BOOL
		S5		:= FALSE,  // BOOL
		PV5		:= C#444,  // WORD
		// VAR_OUTPUT
		CV0		:= MW 0,  // WORD
		CVB0		:= MW 2,  // WORD
		Q0		:= M 4.0,  // BOOL
		ENO0		:= M 4.1,  // BOOL
		CV1		:= MW 6,  // WORD
		CVB1		:= MW 8,  // WORD
		Q1		:= M 10.0,  // BOOL
		ENO1		:= M 10.1,  // BOOL
		Q2		:= M 12.0,  // BOOL
		CV3		:= MW 14,  // WORD
		CVB3		:= MW 16,  // WORD
		Q3		:= M 18.0,  // BOOL
		ENO3		:= M 18.1,  // BOOL
		Q4		:= M 20.0,  // BOOL
		Q5		:= M 22.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	0
	L		Z 1
	__ASSERT==	__ACCU 1,	0
	L		Z 2
	__ASSERT==	__ACCU 1,	102
	L		Z 3
	__ASSERT==	__ACCU 1,	0
	L		Z 4
	__ASSERT==	__ACCU 1,	98
	L		Z 5
	__ASSERT==	__ACCU 1,	444
	__ASSERT==	MW 0,	0
	__ASSERT==	MW 2,	C#0
	__ASSERT==	M 4.0,	FALSE
	__ASSERT==	M 4.1,	TRUE
	__ASSERT==	MW 6,	0
	__ASSERT==	MW 8,	C#0
	__ASSERT==	M 10.0,	FALSE
	__ASSERT==	M 10.1,	TRUE
	__ASSERT==	M 12.0,	TRUE
	__ASSERT==	MW 14,	0
	__ASSERT==	MW 16,	C#0
	__ASSERT==	M 18.0,	FALSE
	__ASSERT==	M 18.1,	TRUE
	__ASSERT==	M 20.0,	TRUE
	__ASSERT==	M 22.0,	TRUE
END_FUNCTION
]]></source>

		<!-- AWL/STL source code -->
		<source enabled="1"
		        name="TEST count_1"
		        type="0"><![CDATA[
FUNCTION "FC_TEST_count_1" : VOID
BEGIN
	// Initialize all counters to 100
	L	C#100
	SET
	FR	Z 0
	FR	Z 1
	FR	Z 2
	SET
	S	Z 0
	S	Z 1
	S	Z 2
	CLR
	FR	Z 0
	FR	Z 1
	FR	Z 2



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	L		Z 1
	__ASSERT==	__ACCU 1,	100
	L		Z 2
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		CU0		:= TRUE,  // BOOL
		CU1		:= TRUE,  // BOOL
		EN2		:= FALSE,  // BOOL
		CU2		:= TRUE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		CU0		:= TRUE,  // BOOL
		CU1		:= TRUE,  // BOOL
		EN2		:= FALSE,  // BOOL
		CU2		:= TRUE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= TRUE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= TRUE,  // BOOL
		CU2		:= TRUE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= FALSE,  // BOOL
		CU2		:= TRUE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= TRUE,  // BOOL
		CU2		:= TRUE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= TRUE,  // BOOL
		CU2		:= FALSE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_1" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		CU0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		EN2		:= FALSE,  // BOOL
		CU2		:= FALSE,  // BOOL
		// VAR_OUTPUT
		ENO1		:= M 0.0,  // BOOL
		ENO2		:= M 0.1,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	L		Z 1
	__ASSERT==	__ACCU 1,	101
	L		Z 2
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	M 0.0,		TRUE
	__ASSERT==	M 0.1,		FALSE
END_FUNCTION
]]></source>

		<!-- AWL/STL source code -->
		<source enabled="1"
		        name="TEST count_2"
		        type="0"><![CDATA[
FUNCTION "FC_TEST_count_2" : VOID
BEGIN
	// Initialize all counters to 100
	L	C#100
	SET
	FR	Z 0
	SET
	S	Z 0
	CLR
	FR	Z 0



	// EN=0
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 11,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,		0
	__ASSERT==	MW 2,		0
	__ASSERT==	MW 4,		0
	__ASSERT==	M 6.0,		FALSE
	__ASSERT==	M 7.0,		FALSE



	// EN=1
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,		101
	__ASSERT==	MW 2,		C#100
	__ASSERT==	MW 4,		C#400
	__ASSERT==	M 6.0,		TRUE
	__ASSERT==	M 7.0,		TRUE



	// EN=0, CU=1
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 11,  // INT
		IN10		:= 20,  // INT
		IN11		:= 20,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,		0
	__ASSERT==	MW 2,		0
	__ASSERT==	MW 4,		0
	__ASSERT==	M 6.0,		FALSE
	__ASSERT==	M 7.0,		FALSE



	// EN=1, CU=1
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 20,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	MW 0,		102
	__ASSERT==	MW 2,		C#101
	__ASSERT==	MW 4,		C#404
	__ASSERT==	M 6.0,		TRUE
	__ASSERT==	M 7.0,		TRUE



	// EN=1, CU=0
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	MW 0,		102
	__ASSERT==	MW 2,		C#101
	__ASSERT==	MW 4,		C#404
	__ASSERT==	M 6.0,		TRUE
	__ASSERT==	M 7.0,		TRUE



	// EN=1, CD=1
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 30,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,		101
	__ASSERT==	MW 2,		C#100
	__ASSERT==	MW 4,		C#400
	__ASSERT==	M 6.0,		TRUE
	__ASSERT==	M 7.0,		TRUE



	// EN=1, CD=0
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	MW 0,		101
	__ASSERT==	MW 2,		C#100
	__ASSERT==	MW 4,		C#400
	__ASSERT==	M 6.0,		TRUE
	__ASSERT==	M 7.0,		TRUE



	// EN=1, S=1
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 40,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	56
	__ASSERT==	MW 0,		57
	__ASSERT==	MW 2,		C#56
	__ASSERT==	MW 4,		C#158
	__ASSERT==	M 6.0,		TRUE
	__ASSERT==	M 7.0,		TRUE



	// EN=1, S=0
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 40,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 61,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	56
	__ASSERT==	MW 0,		57
	__ASSERT==	MW 2,		C#56
	__ASSERT==	MW 4,		C#158
	__ASSERT==	M 6.0,		TRUE
	__ASSERT==	M 7.0,		TRUE



	// EN=1, R=1
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 60,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	0
	__ASSERT==	MW 0,		1
	__ASSERT==	MW 2,		C#0
	__ASSERT==	MW 4,		C#0
	__ASSERT==	M 6.0,		FALSE
	__ASSERT==	M 7.0,		TRUE



	// EN=1, R=0
	L	0
	T	MW 0
	T	MW 2
	T	MW 4
	T	MW 6
	CALL "FC_count_2" (
		// VAR_INPUT
		IN00		:= 10,  // INT
		IN01		:= 10,  // INT
		IN10		:= 20,  // INT
		IN11		:= 21,  // INT
		IN20		:= 30,  // INT
		IN21		:= 31,  // INT
		IN30		:= 40,  // INT
		IN31		:= 41,  // INT
		IN40		:= C#50,  // INT
		IN41		:= C#6,  // INT
		IN50		:= 60,  // INT
		IN51		:= 60,  // INT
		IN100		:= 1,  // INT
		IN110		:= 2,  // INT
		IN120		:= TRUE,  // BOOL
		IN130		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= MW 0,  // INT
		OUT1		:= MW 2,  // WORD
		OUT2		:= MW 4,  // WORD
		OUT3		:= M 6.0,  // BOOL
		OUT4		:= M 7.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	0
	__ASSERT==	MW 0,		1
	__ASSERT==	MW 2,		C#0
	__ASSERT==	MW 4,		C#0
	__ASSERT==	M 6.0,		FALSE
	__ASSERT==	M 7.0,		TRUE

END_FUNCTION
]]></source>

		<!-- AWL/STL source code -->
		<source enabled="1"
		        name="TEST count_3"
		        type="0"><![CDATA[
FUNCTION "FC_TEST_count_3" : VOID
BEGIN
	// Initialize all counters to 100
	L	C#100
	SET
	FR	Z 0
	SET
	S	Z 0
	CLR
	FR	Z 0



	L	0
	T	MW 0
	CALL "FC_count_3" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		IN0		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_3" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU0		:= TRUE,  // BOOL
		IN0		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_3" (
		// VAR_INPUT
		EN0		:= FALSE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		IN0		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_3" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		IN0		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	100
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_3" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU0		:= TRUE,  // BOOL
		IN0		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_3" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		IN0		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	101
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_3" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU0		:= TRUE,  // BOOL
		IN0		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	102
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_3" (
		// VAR_INPUT
		EN0		:= TRUE,  // BOOL
		EN1		:= TRUE,  // BOOL
		CU0		:= FALSE,  // BOOL
		IN0		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT0		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	102
	__ASSERT==	M 0.0,		TRUE

END_FUNCTION
]]></source>

		<!-- AWL/STL source code -->
		<source enabled="1"
		        name="TEST count_4"
		        type="0"><![CDATA[
FUNCTION "FC_TEST_count_4" : VOID
BEGIN
	// Initialize all counters to 0
	L	C#0
	SET
	FR	Z 0
	FR	Z 1
	SET
	S	Z 0
	S	Z 1
	CLR
	FR	Z 0
	FR	Z 1



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		CD1		:= FALSE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	0
	L		Z 1
	__ASSERT==	__ACCU 1,	0
	__ASSERT==	M 0.0,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= TRUE,  // BOOL
		CD0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		CD1		:= FALSE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	1
	L		Z 1
	__ASSERT==	__ACCU 1,	0
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		CD1		:= FALSE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	1
	L		Z 1
	__ASSERT==	__ACCU 1,	0
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		CU1		:= TRUE,  // BOOL
		CD1		:= FALSE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	1
	L		Z 1
	__ASSERT==	__ACCU 1,	1
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		CD1		:= FALSE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	1
	L		Z 1
	__ASSERT==	__ACCU 1,	1
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= FALSE,  // BOOL
		CD0		:= TRUE,  // BOOL
		CU1		:= FALSE,  // BOOL
		CD1		:= FALSE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	0
	L		Z 1
	__ASSERT==	__ACCU 1,	1
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		CD1		:= FALSE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	0
	L		Z 1
	__ASSERT==	__ACCU 1,	1
	__ASSERT==	M 0.0,		TRUE



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		CD1		:= TRUE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	0
	L		Z 1
	__ASSERT==	__ACCU 1,	0
	__ASSERT==	M 0.0,		FALSE



	L	0
	T	MW 0
	CALL "FC_count_4" (
		// VAR_INPUT
		CU0		:= FALSE,  // BOOL
		CD0		:= FALSE,  // BOOL
		CU1		:= FALSE,  // BOOL
		CD1		:= FALSE,  // BOOL
		// VAR_OUTPUT
		OUT2		:= M 0.0,  // BOOL
	)
	L		Z 0
	__ASSERT==	__ACCU 1,	0
	L		Z 1
	__ASSERT==	__ACCU 1,	0
	__ASSERT==	M 0.0,		FALSE

END_FUNCTION
]]></source>
	</language_awl>

	<!-- FUP/FBD language configuration -->
	<language_fup>
		<!-- FUP/FBD source code -->
		<source enabled="1"
		        name="count_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_count_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="518560e4-c70f-4a92-89b7-512072e8acd3" />
			<field name="CU0" type="BOOL" uuid="3af54136-8fcc-448c-9358-8e9e88c060f6" />
			<field name="CD0" type="BOOL" uuid="5aaf6800-eb53-4678-9cfa-377582826dc3" />
			<field name="S0" type="BOOL" uuid="8af2adc4-c79e-4082-a8f7-6b2401f7c740" />
			<field name="PV0" type="WORD" uuid="81dce6fb-e7f2-4053-b1bc-f80f7fc953b2" />
			<field name="R0" type="BOOL" uuid="a69119e7-a6d1-44b6-a1f5-5acafa4ad3f8" />
			<field name="EN1" type="BOOL" uuid="63bb3dcc-3553-492a-b2df-7a34e4bede4e" />
			<field name="CU1" type="BOOL" uuid="dd888df6-af9d-437e-a2b1-ec8f35dca442" />
			<field name="S1" type="BOOL" uuid="38ab6514-9ffa-422d-b69f-fec1c7a168b0" />
			<field name="PV1" type="WORD" uuid="0e97d778-ee68-4207-ab22-53bb96a9e457" />
			<field name="R1" type="BOOL" uuid="5305a7ad-bd88-4abc-8b12-046efb8517ed" />
			<field name="CU2" type="BOOL" uuid="365d2659-50d7-45d2-ae2f-49d070ca6926" />
			<field name="EN3" type="BOOL" uuid="3f407a73-be23-46da-b0b5-25718602e6c0" />
			<field name="CD3" type="BOOL" uuid="88528920-76cf-45bf-992a-a071c47598a7" />
			<field name="S3" type="BOOL" uuid="c0a0c058-22e1-4d50-8d6b-0d6457d39ec8" />
			<field name="PV3" type="WORD" uuid="c1131a9a-6066-4523-b929-783af4e7e7bd" />
			<field name="R3" type="BOOL" uuid="2cc04714-12ad-4c5f-9ded-0591f4c61b06" />
			<field name="CD4" type="BOOL" uuid="c12aa8ff-a108-4754-a510-318b22c4043b" />
			<field name="S5" type="BOOL" uuid="9a1d3fad-0c77-4294-86c0-5b847059d770" />
			<field name="PV5" type="WORD" uuid="c9722988-6fdc-4a34-9ea5-dc063ff0ebb8" />
		</inputs>
		<outputs>
			<field name="CV0" type="WORD" uuid="3339ddfc-4849-4a36-896c-66b67f12bf3c" />
			<field name="CVB0" type="WORD" uuid="f5a74a21-3f2e-4431-89a6-8b3d554540e0" />
			<field name="Q0" type="BOOL" uuid="88868ce4-fb46-4518-a94e-f08e43f7d676" />
			<field name="ENO0" type="BOOL" uuid="4b6e3298-aa22-4b60-9b5d-add71b8f8c21" />
			<field name="CV1" type="WORD" uuid="2c7017c8-51d9-4d4b-b811-ae47829a9afd" />
			<field name="CVB1" type="WORD" uuid="0c965768-7f9e-4795-a774-d84e6697d272" />
			<field name="Q1" type="BOOL" uuid="946b4763-d0aa-441d-b2c2-8db01bb12217" />
			<field name="ENO1" type="BOOL" uuid="e7973eed-e423-4e23-88a7-7dd04d687fa8" />
			<field name="Q2" type="BOOL" uuid="73bd8f11-5e00-4049-9c29-70614aaa7b81" />
			<field name="CV3" type="WORD" uuid="5875ee4f-efe6-4b70-988e-545e81fc6a47" />
			<field name="CVB3" type="WORD" uuid="eb9a9c5d-18bb-4b8e-ac90-59fc33d0ed6a" />
			<field name="Q3" type="BOOL" uuid="1be08933-56d2-4b80-bd73-2dd589221b42" />
			<field name="ENO3" type="BOOL" uuid="08ad6882-934b-4987-a7b7-c0eb7aff3f01" />
			<field name="Q4" type="BOOL" uuid="6dca4177-f51a-4b1f-9563-8e63d7f0aa9c" />
			<field name="Q5" type="BOOL" uuid="ec7623ff-741f-43c2-b532-325e2febce70" />
		</outputs>
		<retval>
			<field name="RET_VAL" type="VOID" uuid="d002aa71-a365-41ca-a397-f9f48941ff49" />
		</retval>
	</interface>
	<grids>
		<grid height="47" uuid="a3ee5481-8dbe-40f4-98a3-ba021293a382" width="12">
			<optimizers all="1" enabled="1" type="awl" />
			<wires>
				<wire id="0" uuid="62d4f063-c6e4-4953-aeaa-b5f03e22e0ea" />
				<wire id="1" uuid="891cbff7-4a80-4b45-af27-ec9fe08c8d9a" />
				<wire id="2" uuid="84c613e1-5a20-496c-a961-8d17ac86e38b" />
				<wire id="3" uuid="994e92a1-8be4-48f2-8eba-6d9ce995c523" />
				<wire id="4" uuid="475dffe8-6533-4dcb-b878-f21bc439f69e" />
				<wire id="5" uuid="df209ebb-01af-4eba-904b-39430f29f294" />
				<wire id="6" uuid="49373032-d8fe-4893-b3fb-09f92ec523f5" />
				<wire id="7" uuid="60eacdb4-2c47-466b-a071-cd7368a6f6e8" />
				<wire id="8" uuid="2fd26d6b-2b1c-47dd-b4d4-a7c94863f326" />
				<wire id="9" uuid="84dfb48e-2c37-4042-9f11-7c38b3592c1a" />
				<wire id="10" uuid="9f3b8f4b-7d26-4665-abe0-b1a60071efce" />
				<wire id="11" uuid="669a368b-0a74-4767-ad84-0a02e8762703" />
				<wire id="12" uuid="d9e229ee-34b6-41c2-a012-e281fe631ecc" />
				<wire id="13" uuid="a18170bb-978f-40a7-bfe9-ab7fc958f3b8" />
				<wire id="14" uuid="b0ad5636-d3e9-4090-8ebf-f2e5b67867bc" />
				<wire id="15" uuid="f93c7e70-c4cf-4a4e-bd5b-7489d2d8b081" />
				<wire id="16" uuid="90345cff-bd41-46b5-aa6d-200faeb6b6e2" />
				<wire id="17" uuid="37e3a89e-d949-4b34-bc2c-e698b5aa1a6b" />
				<wire id="18" uuid="2f9aeb95-eae0-4da2-ac12-027f6da419b6" />
				<wire id="19" uuid="ea912fb6-1d9d-4825-830c-c156e0cf7b03" />
				<wire id="20" uuid="d93384d9-60a0-4231-8020-db966ef6ccfa" />
				<wire id="21" uuid="fabeafdf-db0b-4534-b9c9-23699c3fe569" />
				<wire id="22" uuid="c799519a-ebd0-4c0a-9ee5-1113e9358a6e" />
				<wire id="23" uuid="0c91fe8d-d442-403d-8e6a-7d0da1de4e24" />
				<wire id="24" uuid="ce4f1350-15b5-474b-afe7-813b295ba581" />
				<wire id="25" uuid="ed200373-9370-49c6-b7b5-7f82e14f1bf3" />
				<wire id="26" uuid="ebe968ff-a269-4439-b313-458102a25701" />
				<wire id="27" uuid="f59dca2e-bde7-4c5f-a5ad-d12c976838d2" />
				<wire id="28" uuid="520844aa-9c69-407f-82af-c4eb9d6d6943" />
				<wire id="29" uuid="f2d1407d-78c8-4d50-b4c0-5238b0d81de9" />
				<wire id="30" uuid="f12d3292-fa20-4f7f-b445-5ee564696ba7" />
				<wire id="31" uuid="6a3e872d-fa26-4c29-9ecf-4140a8655d99" />
				<wire id="32" uuid="b1d61212-9c6a-4712-82ce-4bdde4775d19" />
				<wire id="33" uuid="3dc53aa0-60c5-4ad7-94e4-e39750573c7e" />
				<wire id="34" uuid="ff62b046-aa5e-481f-bbc3-baaaa4ae377f" />
			</wires>
			<elements>
				<element subtype="cud" type="counter" uuid="82575e97-aa17-4173-b248-00817860ec10" x="2" y="1">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="8e589e0b-0a9c-4c28-bcb2-b0ef6891ed39" wire="0" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="a03cb246-bfd6-4bf0-b6bf-d791b86c4ac9" wire="1" />
						<connection dir_in="1" dir_out="0" pos="2" text="CD" uuid="5834878f-a815-4a66-ab2e-2b9724e955a9" wire="2" />
						<connection dir_in="1" dir_out="0" pos="3" text="S" uuid="1f043ee1-047a-4c61-9e67-b79ead5d9b1c" wire="3" />
						<connection dir_in="1" dir_out="0" pos="4" text="PV" uuid="16c0f713-ff49-4086-a8b7-328165313c97" wire="4" />
						<connection dir_in="1" dir_out="0" pos="5" text="R" uuid="03a30878-afd2-4d98-9802-cd9d4c359e7f" wire="5" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="b95b495c-ca11-4b14-8cef-5192d2c065f0" wire="6" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="7d6c4ec2-df34-4a18-bb4d-bde02e9d0bab" wire="7" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="5f6d2cab-9a36-4f9c-93bc-c50e39bf1502" wire="8" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="3552856d-018d-4364-994d-860ae4d2fc87" wire="9" />
					</connections>
					<subelements>
						<element content="Z 0" subtype="embedded" type="operand" uuid="af029b0f-35bd-4ce4-b39d-e4e8817d4d19" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="cu" type="counter" uuid="7c75d33b-b899-4202-8aae-e1f00696d6f9" x="2" y="11">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="9bd8ee3a-147d-4cc7-bc01-454ef5a8a5c0" wire="10" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="a431a673-10e5-4333-916c-c27778a2531b" wire="11" />
						<connection dir_in="1" dir_out="0" pos="2" text="S" uuid="5e5a856c-01ed-4aee-8914-a46268e5cb58" wire="12" />
						<connection dir_in="1" dir_out="0" pos="3" text="PV" uuid="43a03384-d1ba-4829-91ba-7d70107b1b4f" wire="13" />
						<connection dir_in="1" dir_out="0" pos="4" text="R" uuid="362012e5-274c-4579-ac5d-0f31cdc856eb" wire="14" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="b000bef4-92a6-4808-b64d-f09b06578784" wire="15" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="cd5d77e8-2ec7-4ea3-866c-874b8513c387" wire="16" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="3a43a7df-efd4-4ba4-a9c5-8e99de85b87e" wire="17" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="5fbe065b-1098-47a5-b225-2ffb7afff53b" wire="18" />
					</connections>
					<subelements>
						<element content="Z 1" subtype="embedded" type="operand" uuid="66b1ff7b-1cbd-473e-8643-388eb944151e" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="cuo" type="counter" uuid="24222675-0fba-4634-9a27-71bca1131e51" x="2" y="20">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="CU" uuid="f5637961-c045-400f-bf06-bc99254a2955" wire="19" />
						<connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="f4b85593-18b4-469d-a8d9-c1f8998692d1" wire="20" />
					</connections>
					<subelements>
						<element content="Z 2" subtype="embedded" type="operand" uuid="fb2fd816-4985-4d22-9845-76d31c72e213" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="cd" type="counter" uuid="f6502c3b-0e33-479d-8234-12195ede0f5a" x="2" y="25">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="81dfaa4b-c522-4dbb-8c2e-b6094d9d4e62" wire="21" />
						<connection dir_in="1" dir_out="0" pos="1" text="CD" uuid="f306f991-c308-4123-a4c0-974948f5b9c3" wire="22" />
						<connection dir_in="1" dir_out="0" pos="2" text="S" uuid="30a13955-c8f8-49e2-a2aa-8334eca8eaf4" wire="23" />
						<connection dir_in="1" dir_out="0" pos="3" text="PV" uuid="ab4e0b10-1253-4a92-97c9-c848e22062fb" wire="24" />
						<connection dir_in="1" dir_out="0" pos="4" text="R" uuid="4c1efbd7-ed84-4bb1-ac85-a3878466efd8" wire="25" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="81cef53b-8393-42bb-80bf-88ae0efd771f" wire="26" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="db1ef3af-afe0-4d69-9bad-c27122fc9ea5" wire="27" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="014e4d21-e159-47f7-aec4-92796f8d6836" wire="28" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="811d7f6d-c394-402e-ad1a-47883c1b3a5a" wire="29" />
					</connections>
					<subelements>
						<element content="Z 3" subtype="embedded" type="operand" uuid="0d41b3c4-bcf1-45aa-bf0f-aec661c19a7f" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="cdo" type="counter" uuid="69983b23-249b-434f-b67a-5706ddc13664" x="2" y="34">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="CD" uuid="c63f71ec-08c7-40ca-bdde-bb7365a46d02" wire="30" />
						<connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="37512f60-b423-4810-b752-55ce187c39fb" wire="31" />
					</connections>
					<subelements>
						<element content="Z 4" subtype="embedded" type="operand" uuid="34255712-82bf-474e-b632-71453f23d674" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="cso" type="counter" uuid="0b0a1d80-e7c7-4353-a90d-41484391a00e" x="2" y="39">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="S" uuid="e53ed5ac-9de2-4993-8b9c-819bb0d06613" wire="32" />
						<connection dir_in="1" dir_out="0" pos="1" text="PV" uuid="e54eead5-3a7d-4b80-a7a3-5a38a0bc2c16" wire="33" />
						<connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="55aa18d4-4261-455b-928d-3989bab1b085" wire="34" />
					</connections>
					<subelements>
						<element content="Z 5" subtype="embedded" type="operand" uuid="a8c21feb-aa47-4f2f-9ed2-bb8ed799ee47" x="0" y="0" />
					</subelements>
				</element>
				<element content="#EN0" subtype="load" type="operand" uuid="dea6bd7d-7d9c-4807-8849-702e95486382" x="1" y="3">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="a832ca3b-6e68-490d-aa76-0055794fff8e" wire="0" />
					</connections>
				</element>
				<element content="#CU0" subtype="load" type="operand" uuid="ab5e623f-696e-46b1-8793-04526a6be34a" x="1" y="4">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="810746b8-1a5e-4ebe-9343-340dde0ab0f3" wire="1" />
					</connections>
				</element>
				<element content="#CD0" subtype="load" type="operand" uuid="8359c894-ee07-4824-b7cf-db39003bbad1" x="1" y="5">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="3663641b-1060-4a01-8451-ce95255a3ab7" wire="2" />
					</connections>
				</element>
				<element content="#S0" subtype="load" type="operand" uuid="675d0dde-821e-4c5f-8f14-007b6c8ea320" x="1" y="6">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="a8a70b89-7289-429a-93d2-0d69f786238f" wire="3" />
					</connections>
				</element>
				<element content="#PV0" subtype="load" type="operand" uuid="f7a7a258-cc70-45c7-9d97-3c0a2cefe264" x="1" y="7">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="dd32eb10-43ed-4bf0-a047-cdc6bb3e2c43" wire="4" />
					</connections>
				</element>
				<element content="#R0" subtype="load" type="operand" uuid="1e47edcf-2407-4f05-8c7a-545e56818a69" x="1" y="8">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="6bc58cde-3c0b-461b-8060-09a76ad56b9f" wire="5" />
					</connections>
				</element>
				<element content="#CV0" subtype="assign" type="operand" uuid="ecf4cdc6-b650-4871-b140-4654d0b80995" x="3" y="5">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="26469b82-deb6-42b6-85fe-6198b4429e86" wire="6" />
					</connections>
				</element>
				<element content="#CVB0" subtype="assign" type="operand" uuid="c052eb68-917c-4d84-8489-e42faff193b5" x="3" y="6">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="567f70a5-ba17-443b-8a91-b5f0b53a72a1" wire="7" />
					</connections>
				</element>
				<element content="#Q0" subtype="assign" type="operand" uuid="51650a5d-9582-49d5-82ab-0cd027a5c0cf" x="3" y="7">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="3a1e90cd-8b39-4382-b292-f1447ad3dc71" wire="8" />
					</connections>
				</element>
				<element content="#ENO0" subtype="assign" type="operand" uuid="ed9c3fa6-22a2-425d-8bbd-dccec65f09cc" x="3" y="8">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="3fd3660c-805a-4ce5-a89f-f816d8362691" wire="9" />
					</connections>
				</element>
				<element content="#EN1" subtype="load" type="operand" uuid="2928a169-1f24-4b67-b61b-829af71c782a" x="1" y="13">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="6725c4f3-7ad1-41a6-af0c-f7e1568ca6c1" wire="10" />
					</connections>
				</element>
				<element content="#CU1" subtype="load" type="operand" uuid="8f3cabe3-960a-43bd-8aa7-227683aaf135" x="1" y="14">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="3965aff2-0360-4e17-83ac-b5cac16cbc9c" wire="11" />
					</connections>
				</element>
				<element content="#S1" subtype="load" type="operand" uuid="875a7d77-54b9-4171-be23-2fa914c703b3" x="1" y="15">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="8c479f69-9f35-47d0-a424-26f646ded213" wire="12" />
					</connections>
				</element>
				<element content="#PV1" subtype="load" type="operand" uuid="14a1ddb7-33d2-42c4-81fd-ae71e29685f7" x="1" y="16">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="bca81fb4-d39d-40c4-a5d1-60ad60d50c38" wire="13" />
					</connections>
				</element>
				<element content="#R1" subtype="load" type="operand" uuid="3683ee9b-38ee-4885-b286-5aceabeb3830" x="1" y="17">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="076862be-55d3-4846-b85c-fd88200cb5fb" wire="14" />
					</connections>
				</element>
				<element content="#CV1" subtype="assign" type="operand" uuid="1001fa13-d58d-4705-abd8-2783912d72c2" x="3" y="14">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="691cef83-1d3d-499b-979e-9856086fd92d" wire="15" />
					</connections>
				</element>
				<element content="#CVB1" subtype="assign" type="operand" uuid="a9c7180f-8cf6-4c72-ac10-930f14099d53" x="3" y="15">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="47c25484-b85f-4203-b5f3-4944ef90c228" wire="16" />
					</connections>
				</element>
				<element content="#Q1" subtype="assign" type="operand" uuid="0850e85b-c890-4f59-8094-6d457436111f" x="3" y="16">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="7082ffb8-a7db-46df-ba88-0689a15868ef" wire="17" />
					</connections>
				</element>
				<element content="#ENO1" subtype="assign" type="operand" uuid="e7b9ec2d-7f84-4fd2-bb9c-bd073f68530e" x="3" y="17">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="18b31484-821a-4008-a834-a70f6497761c" wire="18" />
					</connections>
				</element>
				<element content="#CU2" subtype="load" type="operand" uuid="70788858-a65a-4ade-a02e-60bd6032e37d" x="1" y="22">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="33981a66-0655-4136-8fac-e2fbdb278344" wire="19" />
					</connections>
				</element>
				<element content="#Q2" subtype="assign" type="operand" uuid="c70e962e-4c12-4bd0-b256-13cc34c5a6b9" x="3" y="22">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="3f33bebf-9e3f-457a-b674-e016f4e74838" wire="20" />
					</connections>
				</element>
				<element content="#EN3" subtype="load" type="operand" uuid="172686bb-2fb3-4489-b000-92d0bafd1b49" x="1" y="27">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="6bd280ff-1514-49bc-82af-cb86920f2a2b" wire="21" />
					</connections>
				</element>
				<element content="#CD3" subtype="load" type="operand" uuid="d30214cc-6023-4fbb-8bea-6d3723d8cbe0" x="1" y="28">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="f481e3c3-65cc-46cf-97fa-4e16ede9ef68" wire="22" />
					</connections>
				</element>
				<element content="#S3" subtype="load" type="operand" uuid="2b9fb7d8-f799-4547-b644-bb14c546a5bd" x="1" y="29">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="17446021-b981-4f49-99f9-5b72eba61f35" wire="23" />
					</connections>
				</element>
				<element content="#PV3" subtype="load" type="operand" uuid="116b1af0-7a9a-4d41-a642-e205cffe4809" x="1" y="30">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="5c6ca0d2-4981-466c-be2a-752c030c33b5" wire="24" />
					</connections>
				</element>
				<element content="#R3" subtype="load" type="operand" uuid="e464aeed-b91e-4d83-a0ab-5842131e53cf" x="1" y="31">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="f49f3887-cd64-4421-a912-206d7d8de37e" wire="25" />
					</connections>
				</element>
				<element content="#CV3" subtype="assign" type="operand" uuid="dfdf37f9-d491-441c-8b22-4553fe002074" x="3" y="28">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="a27352dc-2b19-447e-9bf9-7d6456c0dc6f" wire="26" />
					</connections>
				</element>
				<element content="#CVB3" subtype="assign" type="operand" uuid="7036f5a8-1512-4a9d-9b90-5e676f90af51" x="3" y="29">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="5f5b2c1f-cbbf-4f76-bb73-ab1dc283f066" wire="27" />
					</connections>
				</element>
				<element content="#Q3" subtype="assign" type="operand" uuid="73239b61-bf37-40ff-99c4-ff4f599b65da" x="3" y="30">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="d3774f0b-a8e2-48d8-86c9-bc688414a22e" wire="28" />
					</connections>
				</element>
				<element content="#ENO3" subtype="assign" type="operand" uuid="6b301b22-1dbb-4ed8-bcd3-a9a9277a0c85" x="3" y="31">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="2932c7ec-e4f1-47f9-aeb0-229335d1e3f6" wire="29" />
					</connections>
				</element>
				<element content="#CD4" subtype="load" type="operand" uuid="997e61a9-ecbd-4267-afdd-0a6999bf1fda" x="1" y="36">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="b65bb4ed-1b1e-4c6f-8457-342aa6362ab9" wire="30" />
					</connections>
				</element>
				<element content="#Q4" subtype="assign" type="operand" uuid="dd2b17b5-cd36-4c54-a272-31443e92b7d2" x="3" y="36">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="47f3adba-6f8f-485f-b17f-f863c480f40b" wire="31" />
					</connections>
				</element>
				<element content="#S5" subtype="load" type="operand" uuid="ed39652d-aaa8-43db-a462-645fd81bd4ef" x="1" y="41">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="73d67b28-853d-4732-93dc-46bf26cb4b65" wire="32" />
					</connections>
				</element>
				<element content="#PV5" subtype="load" type="operand" uuid="bb01df59-5ce6-46ed-9de5-0a96163df8cc" x="1" y="42">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="58706d34-986d-4fb0-b121-06324067a8b5" wire="33" />
					</connections>
				</element>
				<element content="#Q5" subtype="assign" type="operand" uuid="abc283db-9592-4be7-8de0-edf6ca4be904" x="3" y="42">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="39caa7c7-08b5-44ef-ae35-3c79a8c56826" wire="34" />
					</connections>
				</element>
			</elements>
		</grid>
	</grids>
</FUP>
]]></source>

		<!-- FUP/FBD source code -->
		<source enabled="1"
		        name="count_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_count_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="aaaf32b8-fa51-4844-be87-f9b118a41e5e" />
			<field name="CU0" type="BOOL" uuid="9cbc4958-e17a-406c-aa6f-3c6378f3564b" />
			<field name="CU1" type="BOOL" uuid="3e03bd5e-9bf1-4561-b66b-04cf766d92ae" />
			<field name="EN2" type="BOOL" uuid="de081cf9-2342-4aed-bf95-81a1a7ac05c4" />
			<field name="CU2" type="BOOL" uuid="4a94e7ce-199b-497e-892e-7f7c2fc8c151" />
		</inputs>
		<outputs>
			<field name="ENO1" type="BOOL" uuid="9356c4cd-7b37-4ac0-a29c-06ee0a08a4f0" />
			<field name="ENO2" type="BOOL" uuid="72e3bfb2-f9d4-494d-ac17-40513fab3c04" />
		</outputs>
		<retval>
			<field name="RET_VAL" type="VOID" uuid="9dcbde84-e1f3-4ab3-b0fe-c7f6e9d0db3f" />
		</retval>
	</interface>
	<grids>
		<grid height="33" uuid="05ca0a8e-bfa2-4572-9a9d-0a3e5c7c2a6b" width="12">
			<optimizers all="1" enabled="1" type="awl" />
			<wires>
				<wire id="0" uuid="b4078d5d-d52c-4c76-bc69-6a8f24e8b9cd" />
				<wire id="1" uuid="19875c0f-0972-43ef-9345-0d6e7077f67a" />
				<wire id="2" uuid="4ea71f6a-a071-4c3a-ae64-8a9b7bbb97d7" />
				<wire id="3" uuid="f2dc910c-8a05-4ac8-a221-3cad07dbc7a1" />
				<wire id="4" uuid="cf871e6f-ae4a-4316-b613-0babdc6591af" />
				<wire id="5" uuid="fa1b46bc-9f5f-430f-832e-d97f638f6a17" />
				<wire id="6" uuid="be4efe33-1964-44b5-8dcd-b191b51fbfda" />
			</wires>
			<elements>
				<element content="#EN0" subtype="load" type="operand" uuid="ddc9ce0d-0f33-4621-ab6d-64d522eef706" x="1" y="3">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="f972dbf5-138a-4f56-9d6c-161f02ad4c95" wire="0" />
					</connections>
				</element>
				<element content="#ENO1" subtype="assign" type="operand" uuid="154f6b26-1bf5-4fac-9d07-9f3504306f89" x="3" y="18">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="b17ba506-e1e5-473d-ac81-bd54155ef922" wire="1" />
					</connections>
				</element>
				<element content="#EN2" subtype="load" type="operand" uuid="5976dad0-2d7f-4538-8845-e3f3ab85c152" x="1" y="23">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="d5c48fde-f8cc-4705-aac8-28df60275e04" wire="2" />
					</connections>
				</element>
				<element content="#ENO2" subtype="assign" type="operand" uuid="46ee27b1-d195-4dc8-94cd-eaa541890b9f" x="3" y="28">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="08b3dc8e-8123-413e-9c16-97c6a97677f0" wire="3" />
					</connections>
				</element>
				<element subtype="cud" type="counter" uuid="41d8050a-ff5c-42d9-92eb-b6b2f7474de6" x="2" y="1">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="93c8d122-23da-4a69-99ad-f546037ea222" wire="0" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="b4529a4b-d0c7-4152-92d7-50da2a47274e" wire="4" />
						<connection dir_in="1" dir_out="0" pos="2" text="CD" uuid="cec8f6a2-8496-41ce-902f-78a7bc2c71de" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="3" text="S" uuid="4c564efa-34fb-4a9b-babb-4a08610cb2e0" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="4" text="PV" uuid="ce558635-3cde-4d93-bf40-179cb2a2418c" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="5" text="R" uuid="ceaa1bce-4bfa-409d-8be7-0dd53cafe87b" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="c97975bc-de31-4620-8a45-6a58e51d95f3" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="8bdb0bf1-c88c-4de8-9659-9f4511109a61" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="904f8f67-26c6-4c46-9da9-1f29b56055b1" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="412cefff-f322-4ae2-a238-602fb94ea309" wire="-1" />
					</connections>
					<subelements>
						<element content="Z 0" subtype="embedded" type="operand" uuid="caff6458-f57a-4d3e-8f17-d685ea37d3e4" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="cud" type="counter" uuid="e3d4f963-31b7-4dab-96ae-94cce01f4b3c" x="2" y="11">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="67e977a5-0cf6-4e60-a848-dac3b21778d1" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="8cde18fa-76b8-4bf3-96e0-254a4800e978" wire="5" />
						<connection dir_in="1" dir_out="0" pos="2" text="CD" uuid="f9fb34f4-beaa-4868-b371-81eddb98a61d" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="3" text="S" uuid="90dc4ebb-3e03-4f16-8fa6-63e3713ba9ac" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="4" text="PV" uuid="68b7c944-abd2-441e-a16e-3a937365b90d" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="5" text="R" uuid="73c28620-ba5b-4720-bf31-5e40b51c5926" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="8832831a-f1c3-498a-9a55-f5b191f721bb" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="9800712b-f0be-4157-a74c-ef8f6daddd75" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="adb0c80d-271c-4e47-a3ad-b7689090d78a" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="b80356fe-3b15-44a5-96d6-c8f1211d1405" wire="1" />
					</connections>
					<subelements>
						<element content="Z 1" subtype="embedded" type="operand" uuid="caff6458-f57a-4d3e-8f17-d685ea37d3e4" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="cud" type="counter" uuid="bfcc4967-e339-4dcc-904d-e36560437764" x="2" y="21">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="168f955e-9723-4ae5-a956-c9caeef353bb" wire="2" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="72933a21-c122-42b1-8ad2-13131094903b" wire="6" />
						<connection dir_in="1" dir_out="0" pos="2" text="CD" uuid="3bdc4f9f-66bb-4264-9a32-c1b2faaf1d42" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="3" text="S" uuid="537f74ac-7ea3-450a-88ef-9667eef3d7c4" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="4" text="PV" uuid="1b630cff-9298-4b68-9c00-d5ee2ad779ef" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="5" text="R" uuid="d036538f-6acf-493f-b976-e454d16115af" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="a6d6fe46-58ed-48aa-b24a-634e6fc01f10" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="86c9a317-1a51-438b-8cd4-b508e59ef5aa" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="b57dc67a-9c00-4bc0-babf-49dd119758fb" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="623198f1-c09c-4c32-b7d1-bba92ac61cfa" wire="3" />
					</connections>
					<subelements>
						<element content="Z 2" subtype="embedded" type="operand" uuid="caff6458-f57a-4d3e-8f17-d685ea37d3e4" x="0" y="0" />
					</subelements>
				</element>
				<element content="#CU0" subtype="load" type="operand" uuid="597d858f-522d-4645-87a8-542a14c90458" x="1" y="4">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="ca29c53e-42f0-44b1-a051-fe5b438902a8" wire="4" />
					</connections>
				</element>
				<element content="#CU1" subtype="load" type="operand" uuid="f51a1580-b202-4a29-8586-d268a3823d54" x="1" y="14">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="0be8d2b4-2dff-414c-b5fc-2d0b31182970" wire="5" />
					</connections>
				</element>
				<element content="#CU2" subtype="load" type="operand" uuid="9717265d-4b78-4854-83c9-b365294ca205" x="1" y="24">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="b0a6faf7-d49a-4d2f-9b8e-4bdbbc7557bb" wire="6" />
					</connections>
				</element>
			</elements>
		</grid>
	</grids>
</FUP>
]]></source>

		<!-- FUP/FBD source code -->
		<source enabled="1"
		        name="count_2"
		        type="1"><![CDATA[
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
<FUP version="0" zoom="1.0">
	<blockdecl name='"FC_count_2"' type="FC" />
	<interface allow_initvalue="0"
	           allow_inouts="1"
	           allow_inputs="1"
	           allow_outputs="1"
	           allow_retval="1"
	           allow_stats="0"
	           allow_temps="1">
		<inputs>
			<field name="IN00" type="INT" uuid="5129df3d-8cf6-47a1-8e65-91f4da8921ac" />
			<field name="IN01" type="INT" uuid="6b26edaf-887a-4bf2-9653-219b79e333b2" />
			<field name="IN10" type="INT" uuid="3be1d556-ea7c-496c-a202-3a86c299c098" />
			<field name="IN11" type="INT" uuid="cd34100b-06f5-47c5-b1a1-0b75f1217fcc" />
			<field name="IN20" type="INT" uuid="e74c931e-450d-419f-bad3-e88a33b88355" />
			<field name="IN21" type="INT" uuid="deeade93-c15e-40cb-9572-b0e474942452" />
			<field name="IN30" type="INT" uuid="0a6b8442-5c69-461f-ae92-1304d33ea2b1" />
			<field name="IN31" type="INT" uuid="60fd9e8a-9537-4597-b079-5b5589d12814" />
			<field name="IN40" type="INT" uuid="512243e0-1913-489a-a61b-572151c3ff6c" />
			<field name="IN41" type="INT" uuid="53c96e13-014e-45d3-a2e9-33fd05751cf3" />
			<field name="IN50" type="INT" uuid="cf479629-0960-425e-b509-0d86e01627ab" />
			<field name="IN51" type="INT" uuid="29a7b52d-a46c-47b0-9c38-7076e045a1b6" />
			<field name="IN100" type="INT" uuid="cce02c4d-fd95-49aa-8d2d-8bdf108ad7df" />
			<field name="IN110" type="INT" uuid="47b61288-ec33-4856-b451-7deb92d3f5d4" />
			<field name="IN120" type="BOOL" uuid="a6274a21-78a5-402e-8f0a-42fb622e1283" />
			<field name="IN130" type="BOOL" uuid="ba0129a4-d38f-43c7-b10f-cd3e9e7f23b3" />
		</inputs>
		<outputs>
			<field name="OUT0" type="INT" uuid="72a54d85-3974-42e4-b242-cf4c1879e5bc" />
			<field name="OUT1" type="WORD" uuid="188aa94e-67d9-4a26-b927-b2254fc72ceb" />
			<field name="OUT2" type="WORD" uuid="88e1a48b-342c-40dc-8b97-49bfdbbfec74" />
			<field name="OUT3" type="BOOL" uuid="e8030c4f-4fd9-4f17-b739-2d3b97c23603" />
			<field name="OUT4" type="BOOL" uuid="9cdfde00-d5c1-401d-9fbb-bacf993789d5" />
		</outputs>
		<retval>
			<field name="RET_VAL" type="VOID" uuid="64fbf0a7-30fb-4b7a-949b-770dfc328c3b" />
		</retval>
	</interface>
	<grids>
		<grid height="27" uuid="f28c78b9-fae2-425b-a63e-84894dd3727d" width="12">
			<optimizers all="1" enabled="1" type="awl" />
			<wires>
				<wire id="0" uuid="d765cfb0-a1cd-4101-b077-0d9d838607f0" />
				<wire id="1" uuid="ba3aed30-c15e-4afa-af2f-8e9a1c96b84f" />
				<wire id="2" uuid="bba16b27-ff39-4dd1-82d2-4693a3b21553" />
				<wire id="3" uuid="f1638c50-5f2c-4d40-9e89-f5c0fa4bd675" />
				<wire id="4" uuid="57614894-ab6c-4bb9-b8d8-6c42ed78e06b" />
				<wire id="5" uuid="782713a6-7a50-42d1-854e-4242dd86d11f" />
				<wire id="6" uuid="fcce1af8-ee51-4551-beeb-916d24565d6b" />
				<wire id="7" uuid="46b0afd7-1be2-453d-ba6e-2464ecb453c1" />
				<wire id="8" uuid="7ddb9b6a-4db0-4f01-806a-84214d23c708" />
				<wire id="9" uuid="19fbc06d-d703-4ac8-a7ac-08fa414ff339" />
				<wire id="10" uuid="9c24e673-2a2a-464b-96e1-2a35e2ac115d" />
				<wire id="11" uuid="b360569f-6485-453e-9e1d-c4f1352d3728" />
				<wire id="12" uuid="bd7b69bc-ee2e-4fde-9a40-a0c9439bf023" />
				<wire id="13" uuid="cce1d003-98c2-467b-a5ca-16d94524d757" />
				<wire id="14" uuid="9e7f6fcf-c9f3-440f-a2c9-98a0d2284ac8" />
				<wire id="15" uuid="2fa3b2aa-ed83-44df-aa23-3916a29d3e12" />
				<wire id="16" uuid="64619d6d-a391-4f2a-a3ae-e663b74a6476" />
				<wire id="17" uuid="ed182bf2-598c-4a28-9490-a3118dc7cdc8" />
				<wire id="18" uuid="53638066-e53d-485f-9123-d3b98f551512" />
				<wire id="19" uuid="d4a0a01e-6f0a-4d35-8aaf-980188f5bfa9" />
				<wire id="20" uuid="88e2651c-093c-4a35-bd88-d3f4df5b7115" />
				<wire id="21" uuid="7220dab3-dfbb-4de8-ba0c-1f2775c1e56d" />
				<wire id="22" uuid="48ef92aa-3539-4a45-be90-88bcad3a8a48" />
				<wire id="23" uuid="5a4b9c04-7f2e-4612-b47c-0b6c8c55f74d" />
				<wire id="24" uuid="b0353cb3-e88c-4aaf-bc64-ea0a7fd09248" />
				<wire id="25" uuid="4af4d4f4-a994-47c9-9717-0cbfa246ffe5" />
				<wire id="26" uuid="77c5d1f8-c09d-4cc4-a545-ddc3e8e23727" />
				<wire id="27" uuid="ae86ede5-4d68-4211-95df-071270c7ad03" />
				<wire id="28" uuid="d3e43337-3abe-411f-a7d8-74d04eeb2b7d" />
				<wire id="29" uuid="9ff8294a-a23a-44d7-9707-35b824051321" />
			</wires>
			<elements>
				<element subtype="cud" type="counter" uuid="59116fb1-e054-4cf4-8290-a3b12a407941" x="4" y="5">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="872cea77-4259-48f4-800d-49c6c1643007" wire="29" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="53e19b4d-2c39-4046-a773-6179d3ae2cc4" wire="6" />
						<connection dir_in="1" dir_out="0" pos="2" text="CD" uuid="7ec7192c-d617-483c-974c-7f0d8d9ffff0" wire="7" />
						<connection dir_in="1" dir_out="0" pos="3" text="S" uuid="13094bf4-321b-42a2-aa34-0a7bf134f02a" wire="8" />
						<connection dir_in="1" dir_out="0" pos="4" text="PV" uuid="5f6cc829-835e-4b68-838c-601621280d94" wire="9" />
						<connection dir_in="1" dir_out="0" pos="5" text="R" uuid="743eccbc-8835-4da8-8ee4-d4ac24f6ed19" wire="10" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="1cb8431b-425d-447b-af25-948c1179bd64" wire="1" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="d5bade5c-27f2-4ed0-ad35-642a6a2e0fb2" wire="4" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="ed0ce709-d50b-41e4-9855-11fc8dd8d4e1" wire="0" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="85ad82fd-a9f2-4936-ab73-87fc20fa84f7" wire="11" />
					</connections>
					<subelements>
						<element content="Z 0" subtype="embedded" type="operand" uuid="3feaa0e4-b735-410f-9cb9-64a4cba49169" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="and" type="boolean" uuid="1a76f8d5-541a-4f46-96b8-a252e43901cd" x="7" y="12">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="9722c740-d5b2-4e3f-996b-fa19404e8f5d" wire="0" />
						<connection dir_in="1" dir_out="0" pos="1" uuid="3bb0caaf-a21d-4d3d-a33d-eb122ad78b8e" wire="5" />
						<connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="17114196-a752-4a56-9d39-6da648abcc10" wire="25" />
					</connections>
				</element>
				<element subtype="add-int" type="arithmetic" uuid="b1fba02e-5c39-48e0-9fa9-dd16c51b9fd2" x="7" y="2">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="2d10645c-4436-4f36-b107-5a00ab3e37ee" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="47c56187-7a3f-4262-9530-f00b32fac658" wire="2" />
						<connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="452540f3-60fa-46cb-a342-8129a40ef3e8" wire="1" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="c96d4b9b-f1a4-42c3-9b00-3a7b29ecfcf9" wire="23" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="d0cd8d19-0505-4626-826e-97d618be5a7a" wire="-1" />
					</connections>
				</element>
				<element content="#IN100" subtype="load" type="operand" uuid="7d1d40b7-5b00-488f-a833-8b2bcd3ad749" x="6" y="3">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="d4e9d776-9aa2-4859-8559-2e374f7b39df" wire="2" />
					</connections>
				</element>
				<element subtype="slw" type="shift" uuid="64fe87a9-8503-4246-b6a9-1d80509f2fa8" x="7" y="8">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="6b6c6829-41c7-4b6c-a2a6-a2db9e7a611e" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="N" uuid="f2f6eb20-3c96-4d8d-b729-ac7a58142cb7" wire="3" />
						<connection dir_in="1" dir_out="0" pos="2" text="IN" uuid="975b96ae-25b6-43e3-ac96-ab2717a97f87" wire="4" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="3a0288c4-dbd7-4de4-8a92-4b15e6c1ddde" wire="24" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="b4791257-d5e6-45ac-9767-ac2716e84748" wire="-1" />
					</connections>
				</element>
				<element content="#IN110" subtype="load" type="operand" uuid="248c3af0-ac0c-4637-aac7-eafb71225720" x="6" y="9">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="092e1013-454e-4215-8a7f-0b347c870f62" wire="3" />
					</connections>
				</element>
				<element content="#IN120" subtype="load" type="operand" uuid="f930060f-b110-4037-b97a-5e2ba8531cc8" x="6" y="13">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="0c8addc8-8ead-47cc-9fd1-77077ba0f24f" wire="5" />
					</connections>
				</element>
				<element content="#OUT1" subtype="assign" type="operand" uuid="fbf528b3-8474-46a9-8007-35794b173510" x="8" y="6">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="af649853-97a6-4260-af67-eb6daa9e86ed" wire="4" />
					</connections>
				</element>
				<element subtype="eq-int" type="compare" uuid="453dd403-8b27-4ee2-8eec-e253d65f5c6c" x="2" y="4">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="d9633a7a-34c1-48fb-8910-80e851890e83" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="daf9ff3d-d7c1-4128-9799-083e7a79b14c" wire="12" />
						<connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="29507f6e-00d6-4740-99f7-524b1dfc7d57" wire="13" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="5f432cf9-9477-4347-88a1-b44cd7d425b8" wire="6" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="509c0c8a-0cd5-4a10-b3a9-9e92c60c2dab" wire="-1" />
					</connections>
				</element>
				<element subtype="eq-int" type="compare" uuid="4218eb17-57d3-4fec-ad68-f5130f216b06" x="2" y="8">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="f8556281-4541-430e-86b8-318e86255c6c" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="efd57b53-3916-41c4-9b5c-c4c9fb00a304" wire="14" />
						<connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="7baaf767-05c0-4024-b5de-0fd13896dc32" wire="15" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="1047449b-74cb-4ac5-82ae-840945fc6ee9" wire="7" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="a962f88c-d3c9-43c4-bb27-735092a079d9" wire="-1" />
					</connections>
				</element>
				<element subtype="eq-int" type="compare" uuid="ea1c78a3-c885-46d5-963d-7819b5010700" x="2" y="12">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="7d06e715-0ccd-4194-ad50-62adf6a908cb" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="728ad6d1-af21-4041-82d2-feb541a1b8da" wire="16" />
						<connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="39267d5e-2347-4ac2-af9f-4d1c32fe059d" wire="17" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="d7563487-47ae-4072-9143-5e63dd0f4ebc" wire="8" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="21c2a427-6228-4268-8ee4-6f4268bad713" wire="-1" />
					</connections>
				</element>
				<element subtype="add-int" type="arithmetic" uuid="2c713381-312d-4b89-83a8-555dc68ad1ff" x="2" y="16">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="a9ad236b-cee0-4996-be3e-128ba69ec56c" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="b3e5224d-65a6-4b30-a66a-bc75b07e175a" wire="18" />
						<connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="c546e4d6-233c-44d8-aff1-7e95623353d1" wire="19" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b8502359-26f0-4a15-8eea-9a526989587d" wire="9" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="85a9b998-a219-4955-b9d6-680c8297e9c1" wire="-1" />
					</connections>
				</element>
				<element subtype="eq-int" type="compare" uuid="e9762428-dd73-48a9-925c-f232df552000" x="2" y="20">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="56b3fc44-fc83-486f-88e6-dff1a392070a" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="952b197b-93ff-427c-b199-22fe08c300ab" wire="20" />
						<connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="61df2e0e-fd45-4ca6-ae5c-34cca7ef912e" wire="21" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="c32764cf-7cc6-4da1-928b-d3fbb15c5cdc" wire="10" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="7498e40c-6826-457a-a27b-00dc1d5e6449" wire="-1" />
					</connections>
				</element>
				<element subtype="and" type="boolean" uuid="dc9a2cb7-2fa4-45e0-8c7a-3aaff12444f5" x="7" y="15">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="980c9f3d-06d2-4396-bba4-e6f5807de25c" wire="11" />
						<connection dir_in="1" dir_out="0" pos="1" uuid="c3b6f621-7439-4dbb-bf91-abd01cd01baf" wire="22" />
						<connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="bb75502b-ecad-4737-a25e-fa4bab5eacc8" wire="26" />
					</connections>
				</element>
				<element content="#IN00" subtype="load" type="operand" uuid="44385497-c7a1-4d46-88ed-27bd679bcb75" x="1" y="2">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="d36b4bfc-efd2-4818-a4bd-5785e21c426f" wire="27" />
					</connections>
				</element>
				<element content="#IN01" subtype="load" type="operand" uuid="d0d8c649-f64a-4bd9-97c7-02acaf31e57a" x="1" y="3">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="2368cd39-0c38-426c-9fed-d0033ef60ab1" wire="28" />
					</connections>
				</element>
				<element content="#IN10" subtype="load" type="operand" uuid="291a89cc-da4d-4a73-a118-041d109c0d51" x="1" y="5">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="c5e9e812-423c-4aaf-ad01-61287da23c29" wire="12" />
					</connections>
				</element>
				<element content="#IN11" subtype="load" type="operand" uuid="6c084844-c2ac-43a4-9882-55d978aa1feb" x="1" y="6">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="d160cf67-cb92-4e21-b03f-912b43de96fd" wire="13" />
					</connections>
				</element>
				<element content="#IN20" subtype="load" type="operand" uuid="12681a67-62f3-484b-9f3c-4be614b3a33f" x="1" y="9">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="0c148d51-895a-40b3-9736-ec7973fb63f4" wire="14" />
					</connections>
				</element>
				<element content="#IN21" subtype="load" type="operand" uuid="7b27f465-cab3-49de-82bf-4ca8ad3c6060" x="1" y="10">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="2c47edca-e5e4-4b6f-b91f-a7232c0b2ed8" wire="15" />
					</connections>
				</element>
				<element content="#IN30" subtype="load" type="operand" uuid="6c85bc89-60f3-4564-a99d-faa0b93670c3" x="1" y="13">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="4ccb31af-2cbf-4fa0-838a-acc081251e0f" wire="16" />
					</connections>
				</element>
				<element content="#IN31" subtype="load" type="operand" uuid="e6cb5eeb-3eaf-4826-b44b-d03175a9c54e" x="1" y="14">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="e88193b3-0ca0-46e2-9e99-5fd5a238c58c" wire="17" />
					</connections>
				</element>
				<element content="#IN40" subtype="load" type="operand" uuid="382b9b1f-93e0-4120-a47d-2d73b265ba92" x="1" y="17">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="84bc3d59-82e2-4d7e-a35c-ae81d01814d9" wire="18" />
					</connections>
				</element>
				<element content="#IN41" subtype="load" type="operand" uuid="0cb929f3-c2d6-4fa5-8ded-b7deefe25d8e" x="1" y="18">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="fbb20cf5-67c7-4aa0-b1ff-b3dcf45e849f" wire="19" />
					</connections>
				</element>
				<element content="#IN50" subtype="load" type="operand" uuid="028b4abf-9a78-4809-87b8-35d5df110946" x="1" y="21">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="3b807f1a-a49c-407a-b84d-8b12cab4f0a1" wire="20" />
					</connections>
				</element>
				<element content="#IN51" subtype="load" type="operand" uuid="5ffbd494-e750-4e5e-9461-9fee9ebdb51e" x="1" y="22">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="6d268120-91f2-4413-8217-dc874a95eab7" wire="21" />
					</connections>
				</element>
				<element content="#IN130" subtype="load" type="operand" uuid="54758d15-6b2d-45a8-9de8-d803b97c540e" x="6" y="16">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="f6bcbf26-0711-418b-99bb-2b07cd7f3dbb" wire="22" />
					</connections>
				</element>
				<element content="#OUT0" subtype="assign" type="operand" uuid="fbd73471-d7bf-4f82-bd8f-75a35f2cb18d" x="8" y="3">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="45f32499-f39c-48d7-bc35-09a94ba20769" wire="23" />
					</connections>
				</element>
				<element content="#OUT2" subtype="assign" type="operand" uuid="de63e4f6-4da5-492f-b984-a5795e82944d" x="8" y="9">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="cb859d27-3c63-4a9c-ba7d-f0d147f7ba9e" wire="24" />
					</connections>
				</element>
				<element content="#OUT3" subtype="assign" type="operand" uuid="4c7fb62c-c4f5-445d-862e-e048f8902d5c" x="8" y="13">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="08985bf8-6cfd-4a2d-88d1-e514eef01bf7" wire="25" />
					</connections>
				</element>
				<element content="#OUT4" subtype="assign" type="operand" uuid="bfe96d96-cce9-4ed7-a757-4ec2549352a9" x="8" y="16">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="b66d03e9-4f51-4db0-b54d-1d3acf268543" wire="26" />
					</connections>
				</element>
				<element subtype="eq-int" type="compare" uuid="acb30767-d0ee-444d-a272-34f045867c1b" x="2" y="1">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="5539a0b6-201e-4f45-8b57-a3ac9294b7b4" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="37a33f41-4a96-45ac-96ac-88a4d8fb2d07" wire="27" />
						<connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="ce2586a9-8763-42db-9c72-77a2cbbf1617" wire="28" />
						<connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="74b3dc1a-f075-447e-8215-238ddf3c4b49" wire="29" />
						<connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="6625ffdc-aa36-43cd-ad6b-675a62496afe" wire="-1" />
					</connections>
				</element>
			</elements>
		</grid>
	</grids>
</FUP>
]]></source>

		<!-- FUP/FBD source code -->
		<source enabled="1"
		        name="count_3"
		        type="1"><![CDATA[
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
<FUP version="0" zoom="1.0">
	<blockdecl name='"FC_count_3"' type="FC" />
	<interface allow_initvalue="0"
	           allow_inouts="1"
	           allow_inputs="1"
	           allow_outputs="1"
	           allow_retval="1"
	           allow_stats="0"
	           allow_temps="1">
		<inputs>
			<field name="EN0" type="BOOL" uuid="ba125357-fb0d-4c23-a549-d4904d9f45bc" />
			<field name="EN1" type="BOOL" uuid="093dd0d6-bf4e-4b6b-9899-69af9a7d12f4" />
			<field name="CU0" type="BOOL" uuid="9124af4d-d509-4b60-8845-a14ca292899f" />
			<field name="IN0" type="BOOL" uuid="ed646a64-554d-407c-b40f-3c3506ed1830" />
		</inputs>
		<outputs>
			<field name="OUT0" type="BOOL" uuid="18735c09-f9d0-4a84-9754-b996f2f780cd" />
		</outputs>
		<retval>
			<field name="RET_VAL" type="VOID" uuid="15a5d25e-23ee-410a-805d-3e79d5ddc951" />
		</retval>
	</interface>
	<grids>
		<grid height="18" uuid="093e80b3-202c-43f9-ac4d-e8844ad5f4ab" width="12">
			<optimizers all="1" enabled="1" type="awl" />
			<wires>
				<wire id="0" uuid="17fe208f-3b7b-4f28-9759-b145855235a9" />
				<wire id="1" uuid="f0c6144a-f567-4286-b301-381b89716fa6" />
				<wire id="2" uuid="06dce310-5410-4e64-9b98-9cee31c11d9c" />
				<wire id="3" uuid="b4a36c77-a92b-4c0d-bd62-ba42a4a992b9" />
				<wire id="4" uuid="7e0e038f-6621-4b17-816e-d73f4edec269" />
				<wire id="5" uuid="91a6eec7-d923-4acf-af98-53dc6fe3d433" />
				<wire id="6" uuid="10cf246c-d7c3-4590-a8dd-13d7a2fae294" />
			</wires>
			<elements>
				<element subtype="and" type="boolean" uuid="5b09c8b9-bebf-4aa1-845d-cc18a524949a" x="2" y="3">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="c8d7f1bd-2f24-4f8a-a6d6-cf9c599a1f60" wire="0" />
						<connection dir_in="1" dir_out="0" pos="1" uuid="890f561f-6460-4b4f-bf86-ced057e52f00" wire="1" />
						<connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="201cdba8-de7d-402d-91af-8b7a7a936f13" wire="4" />
					</connections>
				</element>
				<element subtype="and" type="boolean" uuid="ef6407d5-fd9c-4184-a536-eeb90809b246" x="6" y="9">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="a67c7580-87f0-4f0b-a5cc-dbbcd6b21897" wire="5" />
						<connection dir_in="1" dir_out="0" pos="1" uuid="5f573b66-aafc-4e7c-9a57-d8cceeaf4e01" wire="2" />
						<connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="43bbb825-7c0e-44da-a263-654092d87beb" wire="3" />
					</connections>
				</element>
				<element content="#EN0" subtype="load" type="operand" uuid="d183d5d9-b4cf-4dd3-865b-0f4c0fb426d5" x="1" y="3">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="92a99b28-f086-4264-a09c-94aac2481682" wire="0" />
					</connections>
				</element>
				<element content="#EN1" subtype="load" type="operand" uuid="05f0c25b-2a84-457b-a475-820f85d55892" x="1" y="4">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="5ba1fb22-bcea-4651-abf5-09580d48110f" wire="1" />
					</connections>
				</element>
				<element content="#IN0" subtype="load" type="operand" uuid="1ec623b3-f549-4f50-8e5f-336b4077903c" x="5" y="10">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="013d078e-e7f5-4ac4-911c-a69dde42a9b4" wire="2" />
					</connections>
				</element>
				<element content="#OUT0" subtype="assign" type="operand" uuid="a3cc76d0-cc82-495c-8f17-467f47821412" x="7" y="10">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="f3089a1a-a3b9-4230-8688-c8fd2fa9cc5a" wire="3" />
					</connections>
				</element>
				<element subtype="cud" type="counter" uuid="6b46fe6c-e87a-4bdd-a09f-093635fdacae" x="4" y="2">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="0dcf5321-d4e5-40f6-a6ca-45e491c618c4" wire="4" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="9d66a5fa-45cb-4cf4-93e1-125e49baa0fc" wire="6" />
						<connection dir_in="1" dir_out="0" pos="2" text="CD" uuid="6358a1be-c5ca-4ae2-b7af-6a16e37d9bce" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="3" text="S" uuid="d5179b03-a89d-422d-b769-4e72419bc5b4" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="4" text="PV" uuid="d08103bf-efcc-4171-a427-cb7f1b78fabb" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="5" text="R" uuid="b383168f-73cd-487d-9dd6-77d00a3fdb36" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="1a6adcef-d390-4a64-bf71-9f7b54f064f9" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="6a5ebca8-bbbc-4a12-88c8-41158e27abfe" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="35b864f3-6045-4f3f-bdb9-f9098144ed05" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="bdffec0a-0046-4e2a-9eb6-1815d667ac61" wire="5" />
					</connections>
					<subelements>
						<element content="Z 0" subtype="embedded" type="operand" uuid="094a1051-c853-4b1a-82a2-bbe6ef668ac1" x="0" y="0" />
					</subelements>
				</element>
				<element content="#CU0" subtype="load" type="operand" uuid="b5bde61f-4dfc-457f-b354-0775b74e87b0" x="3" y="5">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="c5841dc9-2df9-4365-8f82-7a3801f5e3b9" wire="6" />
					</connections>
				</element>
			</elements>
		</grid>
	</grids>
</FUP>
]]></source>

		<!-- FUP/FBD source code -->
		<source enabled="1"
		        name="count_4"
		        type="1"><![CDATA[
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
<FUP version="0" zoom="1.0">
	<blockdecl name='"FC_count_4"' type="FC" />
	<interface allow_initvalue="0"
	           allow_inouts="1"
	           allow_inputs="1"
	           allow_outputs="1"
	           allow_retval="1"
	           allow_stats="0"
	           allow_temps="1">
		<inputs>
			<field name="CU0" type="BOOL" uuid="1e856e48-1c98-430d-ab2e-a984c15985eb" />
			<field name="CD0" type="BOOL" uuid="5ff917de-8ef6-443f-8bcb-2325d1b9357a" />
			<field name="CU1" type="BOOL" uuid="8277fa55-6197-40c6-80d4-4656df8c2a3f" />
			<field name="CD1" type="BOOL" uuid="bdbd19c1-fc07-42c7-8999-a5f44a3ae766" />
		</inputs>
		<outputs>
			<field name="OUT2" type="BOOL" uuid="02d2fb62-2742-4158-809a-49bdf7e46958" />
		</outputs>
		<retval>
			<field name="RET_VAL" type="VOID" uuid="6de28201-657e-4e4f-9084-31260718f190" />
		</retval>
	</interface>
	<grids>
		<grid height="23" uuid="47695b8f-1a9d-4860-8769-36cd0c1db0f5" width="12">
			<optimizers all="1" enabled="1" type="awl" />
			<wires>
				<wire id="0" uuid="1e9c20d8-0e5f-4053-88fd-24002220ae7b" />
				<wire id="1" uuid="0cab7aae-62ff-4aa2-b13c-db7a112caa16" />
				<wire id="2" uuid="5276e664-e9d7-4aa3-b572-8190510feaf2" />
				<wire id="3" uuid="0f0a078e-780b-4624-a79e-fa6432fb6107" />
				<wire id="4" uuid="9e5eb5bf-390d-4a3e-b374-5d69cf7f022e" />
				<wire id="5" uuid="626dd793-4045-4be8-8f5b-e8e158be61ec" />
				<wire id="6" uuid="318c557f-9134-43c0-a27e-f910131805c9" />
			</wires>
			<elements>
				<element subtype="or" type="boolean" uuid="c2eff5e8-4d5c-4452-b598-04249e177c42" x="4" y="10">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="ef4b64cd-f6c8-493f-aa50-0bb7241cf363" wire="1" />
						<connection dir_in="1" dir_out="0" pos="1" uuid="41723a99-3c9b-4b3a-9567-dcfc0c697627" wire="2" />
						<connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="1fd4f3d0-561f-430e-aaaf-de0537ffe095" wire="0" />
					</connections>
				</element>
				<element content="#OUT2" subtype="assign" type="operand" uuid="a128700d-7cd3-43f8-8810-ef113324f3ee" x="5" y="11">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" uuid="6147c227-19af-42a7-ab86-e8d79dcede74" wire="0" />
					</connections>
				</element>
				<element subtype="cud" type="counter" uuid="9c97904b-216b-48fe-ae04-cb6ba1567a54" x="2" y="2">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="a344ee59-ea82-4ab6-93b2-64ebd3565fe2" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="8f6a0c71-8cbd-4779-b289-7e0fbc76d1bc" wire="3" />
						<connection dir_in="1" dir_out="0" pos="2" text="CD" uuid="31c38f2b-5265-4a65-9ea8-e90eb3dad153" wire="5" />
						<connection dir_in="1" dir_out="0" pos="3" text="S" uuid="b00de621-c17b-4c9c-a6d6-fa3d5f8e2429" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="4" text="PV" uuid="1a9e7b45-0c33-4b3f-a064-7a8aaa2b3e7c" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="5" text="R" uuid="c74ff796-7419-4e17-8c41-b2eb6aa1fb10" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="e7a128a7-af91-45d2-8f2e-b2511b6ad747" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="48f2ce4a-3132-440c-b374-b315ef2cf8b6" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="eaac3b5d-5f57-47fc-8abf-91da8d95feac" wire="1" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="09daf154-63c7-49e3-8445-bbe161674bdb" wire="-1" />
					</connections>
					<subelements>
						<element content="Z 0" subtype="embedded" type="operand" uuid="8c36b0c1-02d7-4c40-86f6-6bebac628911" x="0" y="0" />
					</subelements>
				</element>
				<element subtype="cud" type="counter" uuid="d2ca2071-6528-4a06-b7c8-9e3523b7dd86" x="2" y="11">
					<connections>
						<connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="94025a48-2c37-4d73-983b-770c2432abd7" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="1" text="CU" uuid="7cf6c32e-e5fa-447a-b2d8-7e0ced2d347b" wire="4" />
						<connection dir_in="1" dir_out="0" pos="2" text="CD" uuid="d2ecaca1-1bbb-494a-b4ab-a8bc8eb19f84" wire="6" />
						<connection dir_in="1" dir_out="0" pos="3" text="S" uuid="d55fcdfe-5b31-41be-b768-cf08153bf1c0" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="4" text="PV" uuid="793a65a2-80e5-426b-b27c-201d3d321997" wire="-1" />
						<connection dir_in="1" dir_out="0" pos="5" text="R" uuid="ae5ad73b-b983-4cde-ac3f-bfa05b6d7d14" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="0" text="CV" uuid="377aed68-cda7-4cac-b9ca-a809daf8cc82" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="1" text="CVB" uuid="2b60d8d5-6c70-433b-8c87-0ffcf5d583c4" wire="-1" />
						<connection dir_in="0" dir_out="1" pos="2" text="Q" uuid="5cabcf48-81db-4ba8-a40f-720d69852678" wire="2" />
						<connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="02d4b951-e664-4c6c-809f-f6c726d4c1e9" wire="-1" />
					</connections>
					<subelements>
						<element content="Z 1" subtype="embedded" type="operand" uuid="8c36b0c1-02d7-4c40-86f6-6bebac628911" x="0" y="0" />
					</subelements>
				</element>
				<element content="#CU0" subtype="load" type="operand" uuid="07f3d41d-f84a-4988-939c-67dab12895f7" x="1" y="5">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="6993e7dc-9652-401a-acb5-c2bf11b3c556" wire="3" />
					</connections>
				</element>
				<element content="#CU1" subtype="load" type="operand" uuid="cf87ddfd-b2f2-4b73-ad2d-0c1be6a10d26" x="1" y="14">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="e47470df-cce9-49b5-bbd2-c36e1ad473ec" wire="4" />
					</connections>
				</element>
				<element content="#CD0" subtype="load" type="operand" uuid="369a3513-281b-4fbe-8bf6-5e59c1677129" x="1" y="6">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="ca36c97b-ee99-4d32-9eac-bc05577a0103" wire="5" />
					</connections>
				</element>
				<element content="#CD1" subtype="load" type="operand" uuid="149666de-e128-4425-b7f9-8043b4428403" x="1" y="15">
					<connections>
						<connection dir_in="0" dir_out="1" pos="0" uuid="8dbad41b-6d72-4dd1-a48e-75b53d38d30e" 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_count_0              FC 10       FC 10
126,FC_TEST_count_0         FC 11       FC 11
126,FC_count_1              FC 20       FC 20
126,FC_TEST_count_1         FC 21       FC 21
126,FC_count_2              FC 30       FC 30
126,FC_TEST_count_2         FC 31       FC 31
126,FC_count_3              FC 40       FC 40
126,FC_TEST_count_3         FC 41       FC 41
126,FC_count_4              FC 50       FC 50
126,FC_TEST_count_4         FC 51       FC 51

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