<root>
<document schema='101' license=',Dev User,XDKHX7' title='' description='' target='PIC.16F.16F877A' >
	<config data='!0,3f72%0,2%2,0%3,0%6,1%7,0%9,3%b,1%8,1%d,1' clkspd='19660800' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='1' />
			<data name='ictrate' value='1000' />
			<data name='ictmask' value='-1' />
		</dll_dbg_icd>
		<dll_models enabled='1' />
		<dll_upgrader enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='45a3cbc4-d769-44a8-8b43-eed8e7d58373' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='0' expose='stepper_generic1' exposeid='' iconpath='' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties >
				<property name='Connections' hidden='0' >
					<property name='Coil 1' target='Coil_1' typeid='5' hidden='0' locked='0' info='Hardware pin connection for the first motor coil.' />
					<property name='Coil 2' target='Coil_2' typeid='5' hidden='0' locked='0' info='Hardware pin connection for the second motor coil.' />
					<property name='Coil 3' target='Coil_3' typeid='5' hidden='0' locked='0' info='Hardware pin connection for the third motor coil.' />
					<property name='Coil 4' target='Coil_4' typeid='5' hidden='0' locked='0' info='Hardware pin connection for the fourth motor coil.' />
				</property>
				<property name='Motor Setup' hidden='0' >
					<property name='Winding Type' target='Winding_Type' typeid='16' hidden='0' locked='0' info='Set the polarity of the windings used by a real hardrware motor.
Refer to the data sheet for your chosen hardware to determine this value.' filter='000bipolar/unipolar +ve
001unipolar -ve' />
					<property name='Step Type' target='Step_Type' typeid='16' hidden='0' locked='0' info='Trade accuracy and torque by changing the step type.
Refer to the data sheet for your chosen hardware to determine which modes are supported.' filter='000Full Step
001Half Step
002Wave' />
					<property name='Steps Per Revolution' target='Steps_Per_Rev' typeid='14' hidden='0' locked='0' info='The number of full steps needed for the motor to make a complete turn (360 degrees)
Refer to the data sheet for your chosen hardware to determine this value.' />
				</property>
				<property name='Simulation' hidden='0' >
					<property name='Show Coils' target='coils_enable' typeid='7' hidden='0' locked='0' info='Show a representation on screen of which motor coils are activated for each step.
Hiding these may improve graphical performance slightly.' />
					<property name='Show Arrow' target='arrow_enable' typeid='7' hidden='0' locked='0' info='Show an arrow connected to the motor shaft to make it easier to see the position.' />
				</property>
				<property name='Link to...' hidden='0' >
					<property name='Object' target='target_object' typeid='17' hidden='0' locked='0' info='Choose an object here to be linked to the motor.  When the motor moves, this object will also be moved
according to the settings made in the other properties below.
To move multiple objects, first make them into a single group, then set the group as the target.' />
					<property name='Gear Ratio' target='gear_ratio' typeid='15' hidden='0' locked='0' info='When this value is non-zero, the target object will rotate around the axis of the motor&apos;s shaft.
A setting of one will make the target rotate at the same speed as the motor.  Choose other values to
simulate a gearbox between the motor and the target object.' />
					<property name='X Linear Pitch' target='x_pitch' typeid='15' hidden='0' locked='0' info='When this value is non-zero, the target will move linearly along its X-axis whenever the motor moves.
The value represenrts the amount of movement per whole rotation of the motor - i.e. it simulates a
typical linear drive using a lead-screw, with the property value equal to the screw&apos;s pitch.' />
					<property name='Y Linear Pitch' target='y_pitch' typeid='15' hidden='0' locked='0' info='When this value is non-zero, the target will move linearly along its X-axis whenever the motor moves.
The value represenrts the amount of movement per whole rotation of the motor - i.e. it simulates a
typical linear drive using a lead-screw, with the property value equal to the screw&apos;s pitch.' />
					<property name='Z Linear Pitch' target='z_pitch' typeid='15' hidden='0' locked='0' info='When this value is non-zero, the target will move linearly along its X-axis whenever the motor moves.
The value represenrts the amount of movement per whole rotation of the motor - i.e. it simulates a
typical linear drive using a lead-screw, with the property value equal to the screw&apos;s pitch.' />
				</property>
			</properties>
			<values >
				<value target='Coil_1' data='$PORTA.0' />
				<value target='Coil_2' data='$PORTA.1' />
				<value target='Coil_3' data='$PORTA.2' />
				<value target='Coil_4' data='$PORTA.3' />
				<value target='Winding_Type' data='000' />
				<value target='Step_Type' data='002' />
				<value target='Steps_Per_Rev' data='100' />
				<value target='coils_enable' data='1' />
				<value target='arrow_enable' data='1' />
				<value target='target_object' data='' />
				<value target='gear_ratio' data='1.000000' />
				<value target='x_pitch' data='0.000000' />
				<value target='y_pitch' data='0.000000' />
				<value target='z_pitch' data='0.000000' />
			</values>
			<events >
				<event class='Components' event='Property' target='Ev_Property' />
			</events>
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Ev_Property' description='Sent when a property has been changed by the User' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Copy all children of the root component' macro='Component.Property.CopyChildValues' >
							<argument exp='this' />
							<argument exp='stepper_generic1' />
							<argument exp='&quot;&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' />
				</macro>
			</macros>
			<component class_type='ref' guid='cfd176dc-a2c1-4dad-ac45-117781624c82' vmin='1' vmaj='1' codename='stepper_generic1' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='Coil_1' data='$PORTA.0' />
					<value target='Coil_2' data='$PORTA.1' />
					<value target='Coil_3' data='$PORTA.2' />
					<value target='Coil_4' data='$PORTA.3' />
					<value target='Winding_Type' data='000' />
					<value target='Step_Type' data='002' />
					<value target='Steps_Per_Rev' data='100' />
					<value target='coils_enable' data='1' />
					<value target='arrow_enable' data='1' />
					<value target='target_object' data='' />
					<value target='gear_ratio' data='1.000000' />
					<value target='x_pitch' data='0.000000' />
					<value target='y_pitch' data='0.000000' />
					<value target='z_pitch' data='0.000000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='11842740' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='0' >
		<background rgb='8404224' img='' style='0' />
		<table rgb='8404224' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='94.177' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel3d>
	<layout >
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAwgMAAGgDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wAAAAAUAAAAwgMAAGgDAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
