Muna yin allon da yawa tare da wayoyi da aka sanya, yawanci kwastomomi zasu buƙaci shigar da PCBA ɗinmu tare da wayoyi akan kwalaye, sannan kammala samfurin.

Case Nazarin:

Abokin ciniki: Brail

Jirgin: PWREII

Aikin kwamitin: allon sadarwa.

Abokin ciniki yana amfani da allon mu don sakawa akan babban mashin. mun yi alluna tare da duk wayoyin da aka sanya. Wayoyi 14 a kowane katako. abokin ciniki zai iya sauƙaƙe a kan injin, yana adana ƙoƙari da yawa a gefen abokin ciniki.

Wayoyi akan PCBAs, tare da ledodi.

Ana siyar da wayoyi 14 akan kowane PCBA.

Don haka, yadda za'a siyar da dukkan wayoyi 14 ingantacce da tasiri. Da farko wayoyi an siyar dasu da hannu amma sai a hankali. Injiniyoyin Fumax sun tsara kayan aiki na musamman wanda zai ba da damar siyar da wayoyi ta hanyar injin walda. abokin ciniki yana da matuƙar farin ciki da sakamakon.

PIN

Launi

NASIHA

DRASSAWA

1

Launin shuni

TX + 485

RS485 Sadarwa

2

Rawaya

MUW 232

Sadarwa RS232

3

Shuɗi

UART RX

RX TTL Sadarwa

4

Koren

UART TX

TX TTL Sadarwa

5

Orange (gajere)

S2

ZAUREN S2

6

Rawaya (gajere)

S1

ZAUREN S1

7

Baƙi

GND

Tushen tushe mara kyau

8

Ja

24v

Tushen tushe tabbatacce

9

Black (gajere)

GND firikwensin

ZAUREN -

10

Ja (gajere)

5v   

ZAUREN-MALAMA +

11

NC

NC

NC

12

Baƙi

GND serials

MUW 232 -

13

Lemu mai zaki

MUW 232

Sadarwa RS232

14

Guraye

TX- 485

RS485 Sadarwa

 

Wire Harness10
Wire Harness1
Wire Harness2
Wire Harness11

Tsarin gwaji na allon:

1. Abun ciki

Wannan takaddun yana nufin daidaita daidaito a cikin kerar PWREII.

Abin lura: Wajibi ne a tsince igiyoyin da ba su da mahada a cikin 1cm don gudanar da gwaje-gwajen kuma bayan gwajin, dole ne a yanke su don kebul din ya ware.

2. Masu tsalle Kanfigareshan

JP1 (1 da 2) yana ba da damar nunin 1

JP3 (1 da 2) suna ƙidaya a hanyoyi biyu.

JP2 (1 da 2) sake sake kirgawa.

3. Walƙiya da firmware

3.1. Shigar da fayil din "sttoolset_pack39.exe", ana samunsa a cikin https://drive.google.com/open?id=0B9h988nhTd8oYUFib05ZbVBVWHc.

3.1. Haɗa shirin ST-Link / v2 a PC.

3.2. Tare da kashe wuta haɗa tashar jirgin ruwa ta STM8 akan tashar PWREII ta ICP1.

Wire Harness3
Wire Harness4

Kula sosai akan pin din 1 na programmer da na allon 1.

Wire Harness5

Dubawa daga baya (inda wayoyi suke zuwa mai haɗawa).

3.3. Thearfafa na'urar a kunne

3.4. Gudu da ST Visual Programmer app.

Wire Harness6

3.5. Sanya kamar hoto mai zuwa:

Wire Harness7

3.6. Danna fayil, Buɗe

3.7. Zaɓi tarihin "PWREII_V104.s19"

Wire Harness8

3.8. Danna cikin Shirin, Duk shafuka

Wire Harness9

3.9. Duba cewa Firmware an tsara shi daidai:

3.10. Arfafa PWRE II kafin cire haɗin mai shirin.

4.     Idaya ta amfani da allon PWSH (ZAUREN Tasirin firikwensin)

4.1. Passando-se o imã da direita para a esquerda verifique que o nuni incrementa a contagem na direção saída.

4.2. Passando-se o imã da esquerda para a direita verifique que o nuni incrementa a contagem na direção de entrada.

5.     RS485 Gwajin Sadarwa

ABIN LURA: Kuna buƙatar RS485 zuwa mai sauya USB

5.1. Zazzage kuma shigar da direban mai canzawa.

5.2. A Fara menu -> Na'urori da firintocinku

5.3. Bincika a cikin kayan kayan haɗin lambar tashar tashar COM

5.4. A wurinmu COM4.

5.5. Bude shirin gwajin PWRE II da yake a cikin "https://drive.google.com/open?id=0B9h988nhTd8oS1FhSnFrUUN6bW8"

5.6. Saka lambar Serial tashar sannan danna “abrir porta”.

5.7. Shigar da bayanan lambobi (lambobi 6 a kowane akwati) a cikin akwatin rubutun kusa da maɓallin “escreve contadores”. Danna wannan maballin kuma ga cewa an aika waɗannan lambobin zuwa kan tebur.

5.8. Danna cikin “Le Contadores”, tabbatar da cewa lambobin da ke cikin kantin sayar da kayayyaki sun canja zuwa akwatin rubutu kusa da wannan maɓallin.

Wire Harness12

ABIN LURA: Idan waɗannan gwaje-gwajen sun yi nasara yana nufin cewa sadarwa RS485 da TTL suna aiki.

6.     RS232 Gwajin sadarwa

6.1. Kayan da ake bukata:

6.1.1. 1 DB9 mata mai haɗawa

6.1.2. 1 AWG 22 kebul tare da wayoyi 4

6.1.3. 1 PC tare da tashar jiragen ruwa

6.2. Sanya mai haɗawa kamar hoto mai zuwa:

Wire Harness13

6.3. Haɗa ɗayan gefen kebul ɗin a kan wayoyin RW232 na PWREII.

Wire Harness14

NOTE: Idan kana da RS232 zuwa adaftan USB baku buƙatar haɗa wannan kebul ɗin.

6.4. Bi umarnin daga 5.1 zuwa gaba.

7.     Gwajin tsarin cajin baturi

7.1. Don yin wannan gwajin, dole ne ku buɗe jan wayar batirin.

7.2. Sanya multimeter a jere tare da jan wayar kuma zaɓi sikelin MA.

7.3. Haɗa binciken tabbatacce a cikin wayar da ta fito daga PWREII da binciken negaive a cikin wayar da ke zuwa baturin.

7.4. Duba ƙimar akan allon multimeter:

Wire Harness15

Kyakkyawan ƙima yana nuna cewa batir yana caji.

ABIN LURA: Lokacin da batirin ya zama cikakke fanfet na yanzu ya tashi zuwa 150mA.

7.5. Adana waɗannan haɗin kuma rufe wutar a kashe.

Wire Harness16

Bincika sigina mara kyau wanda yake nuna alamar cajin baturi.