	
	int32 angle;
	
	public void OS_run()
	{
		if( DIR == 0 ) {
			return;
		}
		if( time == 0 ) {
			DIR = 0;
			return;
		}
		if( time > 0 ) {
			time - 1;
		}
		
		if( DIR == 1 ) {
			angle + 1;
			#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0000), angle );
		}
		if( DIR == 2 ) {
			angle - 1;
			#.OS.REMO_ModuleWrite( (int)(ID * 0x00010000 + 0x0000), angle );
		}
	}
	
	