LDmicro0.2 MICRO=Microchip PIC16F88 18-PDIP or 18-SOIC CYCLE=10000 us at Timer0, YPlcCycleDuty:1, ConfigurationWord(s):0x2F42 CRYSTAL=20000000 Hz BAUD=9600 Hz, RATE=1000000 Hz, SPEED=100000 Hz COMPILED=C:\Users\Solt\Desktop\New folder21\cool_pwm_mod.hex COMPILER= PULL-UP LIST RA: 0xFFFFFFFF RB: 0xFFFFFFFF END VAR LIST 1 bytes #0x8F Now not used !!! 2 bytes Cnew Now not used !!! 1 bytes Coff1 1 bytes Coff2 1 bytes Con1 1 bytes Con2 2 bytes DIV Now not used !!! 2 bytes Tauto_off 2 bytes Tconti 2 bytes Tdelay_off Now not used !!! 1 bytes Tdelay_on 1 bytes Tflash 1 bytes Tnew 1 bytes Tpuls Now not used !!! 2 bytes dest Now not used !!! 2 bytes duty Now not used !!! 2 bytes duty_cycle 2 bytes reg0 Now not used !!! 2 bytes reg1 Now not used !!! 2 bytes reg2 Now not used !!! 2 bytes reg3 Now not used !!! 2 bytes reg4 Now not used !!! 2 bytes reg5 Now not used !!! 2 bytes reg6 Now not used !!! 2 bytes src Now not used !!! END IO LIST Xair at 8 0 0 Xcool at 7 0 0 Xfan_stop at 6 0 0 Xiron at 2 0 0 Y220V at 13 0 0 YPlcCycleDuty at 17 0 0 Yair at 12 0 0 Yfan_on at 3 0 0 Yiron at 10 0 0 Yled_30min at 11 0 0 Acool at 18 0 0 Apot at 1 0 0 Pair at 9 0 0 END PROGRAM RUNG 1 CONTACTS Yair 0 0 SET_PWM duty_cycle 15600 Pair 0-1024 END RUNG 2 PARALLEL CONTACTS Rfan_stop 0 0 CONTACTS Rfan_off 0 0 END PARALLEL RES Pair COIL Rfan_on 1 0 0 0 END END RUNG 3 CONTACTS Rfan_on 0 0 CONTACTS Yair 0 0 COIL Yfan_on 0 0 0 0 END RUNG 4 CONTACTS Xfan_stop 0 0 COIL Rfan_stop 0 0 0 0 END RUNG 5 CONTACTS Yair 0 0 CONTACTS Rfan_stop 1 0 CONTACTS Xcool 1 0 PARALLEL READ_ADC Apot 0 MOVE duty_cycle Apot SERIES OSR TOF Tnew 1000000 1 MOVE duty_cycle 1024 END SERIES CONTACTS Rfan_stop 1 0 TON Tdelay_on 750000 1 COIL Y220V 0 0 0 0 END END END RUNG 6 CONTACTS Xcool 0 0 PARALLEL READ_ADC Acool 0 MOVE duty_cycle Acool END END RUNG 7 CONTACTS Xiron 0 0 OSR CTU Con1 1 0 / COIL Yiron 0 0 0 0 END RUNG 8 PARALLEL CONTACTS Xiron 0 0 CONTACTS Rdelay_off 0 0 END OSR CTU Coff1 2 0 \ PARALLEL RES Coff1 RES Con1 END END RUNG 9 CONTACTS Xair 0 0 OSR CTU Con2 1 0 / COIL Yair 0 0 0 0 END RUNG 10 PARALLEL CONTACTS Xair 0 0 CONTACTS Rdelay_off 0 0 END OSR CTU Coff2 2 0 \ PARALLEL RES Coff2 COIL Rfan_off 0 0 0 0 RES Con2 RES Pair END END RUNG 11 PARALLEL CONTACTS Yiron 0 0 CONTACTS Yair 0 0 END CONTACTS Rfan_stop 0 0 TON Tauto_off 10000000 1 PARALLEL COIL Rconti 0 0 0 0 SERIES TCY Tflash 500000 1 COIL Yled_30min 0 0 0 0 END END END RUNG 12 CONTACTS Rconti 0 0 TON Tconti 10000000 0 COIL Rdelay_off 0 0 0 0 END