LDmicro0.1 CYCLE=10000 us at Timer1, YPlcCycleDuty:0, ConfigurationWord(s):0x5593E3FB00000000 CRYSTAL=16000000 Hz BAUD=9600 Hz, RATE=1000000 Hz, SPEED=100000 Hz IO LIST Yfrecuenciadesalida at 0 0 0 ALectorfrecuencia at 0 0 0 END PROGRAM RUNG COMMENT (none) END RUNG PARALLEL SET_PWM duty_cycle 1023 PWMoutpin1 0-100% MOVE duty_cycle duty_cycle MOVE WMoutpin1 WMoutpin1 READ_ADC ALectorfrecuencia 0 MOVE duty_cycle ALectorfrecuencia END END RUNG EQU duty_cycle 1023 COIL Yfrecuenciadesalida 0 0 0 0 END