blob: 1285e4f8f5f0d99e66a315facca98d83b2f6b4d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
LDmicro0.1
MICRO=Microchip PIC16F877 40-PDIP
CYCLE=10000
CRYSTAL=4000000
BAUD=2400
COMPILED=c:\temp\ser.hex
IO LIST
Yled at 22
END
PROGRAM
RUNG
CONTACTS Rosc 1
TOF Tct1 250000
TON Tct2 250000
COIL Rosc 0 0 0
END
RUNG
CONTACTS Rfast 1
TOF Tct3 100000
TON Tct4 100000
COIL Rfast 0 0 0
END
RUNG
CONTACTS Rosc 0
CTC Cwhich 4
END
RUNG
PARALLEL
SERIES
EQU Cwhich 0
MOVE ch 'A'
END
SERIES
EQU Cwhich 1
MOVE ch 'b'
END
SERIES
EQU Cwhich 2
MOVE ch 'c'
END
SERIES
EQU Cwhich 3
MOVE ch 13
END
SERIES
EQU Cwhich 4
MOVE ch 10
END
END
END
RUNG
CONTACTS Rosc 0
OSF
UART_SEND ch
END
RUNG
UART_RECV inch
COIL Rjustgot 0 1 0
END
RUNG
CONTACTS Rjustgot 0
TON Tnew 1000000
COIL Rjustgot 0 0 1
END
RUNG
PARALLEL
SERIES
CONTACTS Rjustgot 0
CONTACTS Rfast 0
END
SERIES
CONTACTS Rjustgot 1
PARALLEL
SERIES
EQU inch 'o'
SHORT
END
SERIES
EQU inch 'b'
CONTACTS Rosc 0
END
SERIES
SHORT
OPEN
END
END
END
END
COIL Yled 0 0 0
END
|