Raqamli texnika va mikroprotsessorlar”


Н7signal asosidapoyezdni 7 yo’ldan jo’natish dasturi


Download 0.71 Mb.
bet3/3
Sana08.03.2023
Hajmi0.71 Mb.
#1248728
1   2   3
Bog'liq
MiroEHM va mikroprotsessorli nazorat-boshqaruv vositalari

Н7signal asosidapoyezdni 7 yo’ldan jo’natish dasturi

10B7 3E MVI A,80
10B8 80
10B9 D3 OUT 03
10BA 03

1 –(03)kristalni sozlash

10BB 3E MVI A,9B
10BC 9B
10BD D3 OUT 07
10BE 07

2 –(07)kristalni sozlash

10BF 3E MVI A,90
10C0 90
10C1 D3 OUT 0B
10C2 0B

3 –(0B)kristalni sozlash

10C3 3E MVI A,08
10C4 08
10C5 D3 OUT 00
10C6 00

H7 svetaforning qizil chirog'ini yoqish





10C7 DB IN 04
10C8 04
10C9 E6 ANI 40
10CA 40
10CB CA JZ 10C7
10CC C7
10CD 10

7П ning bandlik holatini nazorat qilish

10CE DB IN 05
10CF 05
10D0 E6 ANI 01
10D1 01
10D2 C2 JNZ 10CE
10D3 CE
10D4 10

14SPning bo’shlik holatini nazorat qilish

10D5 DB IN 05
10D6 05
10D7 E6 ANI 02
10D8 02
10D9 C2 JNZ 10D5
10DA D5
10DB 10

12SPning bo’shlik holatini nazorat qilish

10DC DB IN 05
10DD 05
10DE E6 ANI 04
10DF 04
10E0 C2 JNZ 10DC
10E1 DC
10E2 10

10SPning bo’shlik holatini nazorat qilish

10E3 DB IN 04
10E4 04
10E5 E6 ANI 80
10E6 80
10E7 C2 JNZ 10E3
10E8 E3
10E9 10

8SPning bo’shlik holatini nazorat qilish

10EA DB IN 05
10EB 05
10EC E6 ANI 08
10ED 08
10EE C2 JNZ 10EA

10EF EA
10F0 10



6SPning bo’shlik holatini nazorat qilish

10F1 DB IN 05
10F2 05
10F3 E6 ANI 10
10F4 10
10F5 C2 JNZ 10F1
10F6 F1
10F7 10

4SPning bo’shlik holatini nazorat qilish

10F8 DB IN 05
10F9 05
10FA E6 ANI 20
10FB 20
10FC C2 JNZ 10F8
10FD F8
10FE 10

ЧДПningbo’shlik holatininazorat qilish

10FF 3E MVI A,40
1100 40
1101 D3 OUT 01
1102 01

14 STning“-“ holatga o’tkazishni boshqarish

1103 3E MVI A,02
1104 02
1105 D3 OUT 02
1106 02

12STning“+“ holatga o’tkazishni boshqarish

1107 3E MVI A,04
1108 04
1109 D3 OUT 02
110A 02

10 STning“-“ holatga o’tkazishni boshqarish

110B 3E MVI A,20
110C 20
110D D3 OUT 02
110E 02

6/8 STning“+“ holatga o’tkazishni boshqarish

110F 3E MVI A,80
1110 80
1111 D3 OUT 02
1112 02

2/4 STning“+“ holatga o’tkazishni boshqarish

1113 DB IN 06
1114 06
1115 E6 ANI 40
1116 40
1117 CA JZ 10FF
1118 FF
1119 10

14STning “+” holatini nazorat qilish

111A DB IN 08
111B 08
111C E6 ANI 01
111D 01
111E CA JZ 1103
111F 03
1120 11

12STning “+” holatininazoratqilish

1121 DB IN 08
1122 08
1123 E6 ANI 02
1124 02
1125 CA JZ 1107
1126 07
1127 11

10ST ning “-” holatini nazorat qilish

1128 DB IN 08
1129 08
112A E6 ANI 10
112B 10
112C CA JZ 110B
112D 0B
112E 11

6/8STning “+” holatini nazorat qilish

112F DB IN 08
1130 08
1131 E6 ANI 40
1132 40
1133 CA JZ 110F
1134 0F
1135 11

2/4STning “+” holatini nazorat qilish

1136 3E MVI A,40
1137 40
1138 D3 OUT 00
1139 00

H7 svetaforning yashil chirog’ini yoqish



113A DB IN 05
113B 05
113C E6 ANI 01
113D 01
113E CA JZ 113A
113F 3A
1140 11

14SPning bandlik holatini nazorat qilish

1141 3E MVI A,80
1142 80
1143 D3 OUT 00
1144 00

H7 svetaforning qizil chirog’ini yoqish



1145 DB IN 05
1146 05
1147 E6 ANI 02
1148 02
1149 CA JZ 1145
114A 45
114B 11

12SPning bandlik holatini nazorat qilish

114C DB IN 05
114D 05
114E E6 ANI 04
114F 04
1150 CA JZ 114C
1151 4C
1152 11

10SPning bandlik holatini nazorat qilish

1153 DB IN 04
1154 04
1155 E6 ANI 80
1156 80
1157 CA JZ 1153
1158 53
1159 11

8SPning bandlik holatini nazorat qilish

115A DB IN 05
115B 05
115C E6 ANI 08
115D 08
115E CA JZ 115A
115F 5A
1160 11

6SPning bandlik holatini nazorat qilish

1161 DB IN 05
1162 05
1163 E6 ANI 10
1164 10
1165 CA JZ 1161
1166 61
1167 11

4SPning bandlik holatini nazorat qilish

1168 DB IN 05
1169 05
116A E6 ANI 20
116B 20
116C CA JZ 1168
116D 68
116E 11

ЧДПning bandlik holatini nazorat qilish

116F DB IN 05
1170 05
1171 E6 ANI 40
1172 40
1173 CA JZ 116F
1174 6F
1175 11

1УУning bandlik holatini nazorat qilish

1176 DB IN 04
1177 04
1178 E6 ANI 40
1179 40
117A C2 JNZ 1176
117B 76
117C 11

7П ning bo’shlik holatini nazorat qilish

117D DB IN 05
117E 05
117F E6 ANI 01
1180 01
1181 C2 JNZ 117D
1182 7D
1183 11

14SPning bo’shlik holatini nazorat qilish

1184 DB IN 05
1185 05
1186 E6 ANI 02
1187 02
1188 C2 JNZ 1184
1189 84
118A 11

12SPning bo’shlik holatini nazorat qilish

118B DB IN 05
118C 05
118D E6 ANI 04
118E 04
118F C2 JNZ 118B
1190 8B
1191 11

10SPning bo’shlik holatini nazorat qilish

1192 DB IN 04
1193 04
1194 E6 ANI 80
1195 80
1196 C2 JNZ 1192
1197 92
1198 11

8SPning bo’shlik holatini nazorat qilish

1199 DB IN 05
119A 05
119B E6 ANI 08
119C 08
119D C2 JNZ 1199
119E 99
119F 11

6SPning bo’shlik holatini nazorat qilish

11A0 DB IN 05
11A1 05
11A2 E6 ANI 10
11A3 10
11A4 C2 JNZ 11A0
11A5 A0
11A6 11

4SPning bo’shlik holatini nazorat qilish

11A7 DB IN 05
11A8 05
11A9 E6 ANI 20
11AA 20
11AB C2 JNZ 11A7
11AC A7
11AD 11

ЧДПning bo’shlik holatini nazorat qilish

11AE C3 JMP 10C7
11AF C7
11B0 10

Dastur boshiga (10C7 adresga shartsiz o’tish)

Xotirani tashkil etish:



  1. Dastur boshlangan yacheyka adresini (1010(16)) tugallangan yacheyka adresi(11B0(16))dan ayramiz

11B0(16) – 1010(16) = 1A0(16)

  1. O’n oltilik sanoq tizimida chiqqan natijani o’nlik sanoq tizimigao’tkazamiz

12A100(16)=1*162+10*161+0*160=256+160+0=416(10)

  1. Natijani koeffitsent (K)ga ko’paytiramiz

416*40(K)=16640(10)=16640Bayt

  1. Natijani Baytdan Kbaytga o’tkazamiz

16640/1024=16Kbayt

  1. Hotirani tashkil etish uchun (4Kb) 4ta THQsi kerak bo’ladi

Jo’natish blok sxemasi



Boshlash

6/8CT


4СП




+

bo’sh

Н7 qizil


2/4CT





+

ЧДП




band

bo’sh




H7 yashil


1УУН

16СП

bo’shhh

6СП

bo’shhh

10СП

bo’shhh

12СП

bo’shhh

14СП

bo’shhh

16СП


band
hh




bo’sh







H7 qizil

14/16 “-“
12 “+”
10 “-“
6/8 “+”
2/4 “+”




14CП







band
hh





12СП

14/16CT


band
hh

-



10СП

12CT



band

+



10CT

6СП




-


band




4СП

10СП


bo’shhh




band






bo’shhh



band
hh

1УУН

band
hh

ЧДП

6СП





bo’shhh







16СП

bo’shhh

bo’shhh

14СП

12СП

bo’shhh

4СП







bo’shhh







ЧДП







bo’shhh







Boshiga

Kontroller chizmasi

Qabul qilish blok sxemasi

Чqizil

Boshlash

2/4 “+”
6/8 “+”
18 “+”





18СП




band


2/4


1 УП

1 УП


+




band

bo’shhh




6/8


ЧАП

2СП

bo’shhh

bo’shhh

8СП

18СП

bo’shhh

bo’shhh



bo’shhh

+

ЧАП





bo’shhh




18




+

2СП




bo’shhh




Чsariq




8СП




ЧАП




band

bo’shhh







band

2СП

8СП

band

18СП

Чqizil




bo’shhh











band

Boshiga

QABUL QILISH DASTURI



10103E MVI A,80
101180
1012 D3 OUT 05
101405

1 –(05)kristalnisozlash

1015 3E MVI A,9B
1016 9B
1017 D3 OUT 09
1018 09

2 –(09)kristalnisozlash

1019 3E MVIA,9B
101A 9B
101B D3 OUT 0D
101C 0D

3–(0D)kristalni sozlash

101D 3E MVI A,08
101E 08
101F D3 OUT 02
102002

Ч svetaforning qizil chirogini yoqish

1021 DBIN 06
1022 06
1023E6 ANI 01
1024 01
1025 C2 JNZ 1021
1026 21
1027 10

1УП ning bandlik holatini nazorat qilish

1028 DB IN 06
1029 02
102A E6 ANI 02
102B 02
102C CA JZ 1028
102D 28
102E 10

ЧАПningbo’shlikholatininazoratqilish

102F DB IN 06
1030 06
1031 E6 ANI 04
1032 04
1033 CA JZ102F
1034 2F
1035 10

2СПningbo’shlikholatininazoratqilish



1036 DB IN 06
1037 06
1038 E6 ANI 08
1039 08
103A CA JZ 1036
103B 36
103C 10

8СПningbo’shlikholatininazoratqilish

103D DB IN 06
103E 06
103F E6 ANI 10
1040 10
1041 CA JZ 103D
1042 3D
1043 10

18СПningbo’shlikholatininazoratqilish

1044 DB IN06
1045 06
1046 E6 ANI 20
1047 20
1048 CA JZ1044
1049 44
104A 10

ПIIningbo’shlikholatininazoratqilish

104B 3E MVI A,02
104C 02
104DD3 OUT03
104E 03

2/4-ST ning “+“ holatgao’tkazishniboshqarish

104F 3E MVI A,08
1050 08
1051 D3 OUT03
1052 03

6/8-STning “+“ holatgao’tkazishniboshqarish

1053 3E MVI A,20
1054 20
1055 D3 OUT 03
1056 03

18-STning “+“ holatgao’tkazishniboshqarish

1057 DB IN 08
1058 08
1059 E6 ANI01
105A 01
105B CA JZ1057
105C 57
105D 10

2/4-ST ning “+“ holatininazoratqilish

105E DB IN 08
105F 08
1060 E6 ANI 04
1061 04
1062 CA JZ105E
1063 5E
1064 10

6/8-STning “+” holatininazoratqilish

1065 DB IN 08
1066 08
1067 E6 ANI 10
1068 10
1069 CA JZ 1065
106A 65
106B 10

18-STning “+” holatininazoratqilish

106C 3E MVI A,01
106D 01
106E D3 OUT02
106F 02

Чsvetaforningsariqyuqorichirog'iniyoqish

1070 DB IN 06
1071 06
1072 E6 ANI 02
1073 02
1074 C2 JNZ1070
1075 70
1076 10

ЧАПningbandlikholatininazoratqilish

1078 3E MVI A,08
1079 08
107A D3 OUT 02
107B 02

Чsvetaforningqizilchiroginiyoqish

107C DB IN06
107D 06
107E E6 ANI 04
107F 04
1080 C2 JNZ107C
1081 7C
1082 10

2SPning bandlikholatininazoratqilish

1083 DB IN 06
1084 06
1085 E6 ANI 08
1086 08
1087 C2 JNZ1083
1088 83
1089 10

8SPningbandlikholatininazoratqilish

108A DB IN06
108B 06
108C E6 ANI 10
108D 10
108E C2 JNZ108A
108F 8A
1090 10

18SPning bandlikholatininazoratqilish

1091 DB IN06
1092 06
1093 E6 ANI 02
1094 02
1095 CA JZ 1091
1096 91
1097 10

ЧАПningbo’shlikholatininazoratqilish

1098 DB IN 06
1099 06
109A E6 ANI O4
109B 04
109C CA JZ1098
109D 98
109E 10

2SPningbo’shlikholatininazoratqilish



109F DB IN 06
10A0 06
10A1 E6 ANI 08
10A2 08
10A3 CA JZ109F
10A4 9F
10A5 10

8SPningbo’shlikholatininazoratqilish

10A6 DB IN 06
10A7 06
10A8 E6 ANI 10
10A9 10
10AA CA JZ10A6
10AB A6
10AC 10

18SPningbo’shlikholatininazoratqilish

10AD DB IN06
10AE 06
10AF E6 ANI 20
10B0 20
10B1 C2 JNZ 10AD
10B2 AD
10B3 10

ПII ningbandlikholatininazoratqilish

10B4 C9JMP 1021
10B5 21
10B6 10

Dasturboshiga (1021adresgashartsizo’tish)



Xulosa
«Elektronikaasoslari, sxematexnikavamikroprosessorlar » fanibo'yichapoezdniЧsignalasosidajuftyo’nalishdanmarshrutni 2 yo’lgaqabulqilishva 7yo’ldanH7signalasosidajo’natishmavzusidagikursloyihamdatemiryo'lavtomatika , telemexanikavaaloqatizimlaridamikroprosessorlitexnikaniqo'llashasoslarinio'rgandim.
Kursloyihadamasalanianiqlabvatahlilqilib, dastlabmasalaalgoritminiishlabchiqdim. Shu algoritm asosida blok sxema tuzib, mashina kodida dastur tuzib chiqdim. Kontrollerning funksional va prinsipial sxemalarini ishlab chiqdim. Ushbu kurs loyihasini tayyorlash mavzularni juda sodda tushuntirilganligi tufayli qiyin bo'lmadi.

Adabiyotlar

  1. М.М. Алиев. «Цифровая вычислительная техника и микропро-цессоры» I и II книги. Учебное пособие, Ташкент, 2002г.

  2. Е.П. Балашов, А.В. Пузанков. «Микропроцессоры и микропро-цессорные системы». М.: Радио и связь, 1981.

  3. Ю.Н. Казаринов, В.Н. Номонконов, В.Н. Филиппов. «Применение микропроцессоров и микро-ЭВМ в радиотехнических системах». М., 1996.

М.М. Алиев «Микропроцессорлар ва улардан автоматика ва телемеханика курилмаларида фойдаланиш». Т., 1992.


Download 0.71 Mb.

Do'stlaringiz bilan baham:
1   2   3




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling