Parameter | Fa'amatalaga |
Paoa sapalai | DC12V(24V e mafai ona fa'avasegaina) |
Fefa'ataua'iga | RS422 |
Avetaavale |
Ole tele ole pulupulu lautele: 3ms (e mafai ona seti e ala ile fa'atonuga ole port serial) |
Pulea aveta'avale | E mafai ona pulea le taʻavale taimi ma fesuiaʻi e RS422. |
Avetaavale i le taimi nei | 100μJ leisa: 6A / 200μJ leisa: 12A/300μJ leisa: 13A-15A 400/500μJ leisa: 14A-16A |
Avetaavale voltage | 2V |
Fa'avevesi taimi | ≤10Hz |
Faiga sapalai eletise | DC 5V |
Faiga fa'aoso | Fa'aoso fafo |
Fa'aoga fafo | TTL(3.3V/5V) |
Pulse lautele(Tu'u eletise) | E fa'alagolago i fa'ailoga fafo, <3ms |
Maumau i le taimi nei | ≤1% |
Teuga vevela | -55~75°C |
O le vevela o galuega | -40~+70°C |
Fua | 26mm * 21mm * 7.5mm |
LD+ ma le LD- fa'afeso'ota'i i le pou lelei ma le pou leaga.Na faʻaalia e pei ona taua i lalo:
E pei ona faʻaalia i luga, XS3 o se atinaʻe fafo, e mafai ona faʻafesoʻotaʻi i fafo atu o le eletise ma komepiuta pito i luga.Fa'amatalaga feso'ota'iga e pei ona fa'aalia i lalo:
1 | RS422 RX+ | Fefa'ataua'iga |
2 | RS422 RX- | Fefa'ataua'iga |
3 | RS422 TX- | Fefa'ataua'iga |
4 | RS422 TX+ | Fefa'ataua'iga |
5 | RS422_GND | GND |
6 | VCC 12V | 12V eletise sapalai |
7 | GND | Malosiaga sapalai GND |
Pepa: RS422, Baud rate:115200bps
Bits: 8 bits (se amataga, se taofi, leai se tutusa).O fa'amaumauga e aofia ai ta'i ulutala, fa'atonuga, umi o pa'i, ta'otoga ma pate siaki fa'atasi.
Feso'ota'iga faiga: matai-pologa faiga.O se komepiuta pito i luga e auina atu poloaiga i le taʻavale taʻavale, o le taʻavale taʻavale e maua ma faʻatino poloaiga.I le faiga galue, o le a tu'uina atu e le ta'avale ta'avale fa'amatalaga i se komepiuta pito i luga i lea taimi ma lea taimi.Fa'amatalaga o oka ma fomu e pei ona fa'aalia i lalo.
1) O se komepiuta pito i luga e lafo
Laulau 1 Tuuina atu o pepa
STX0 | CMD | LEN | FA'AMATALAGA1H | FA'AMATALAGA1L | CHK |
Laulau 2 Auina atu fa'amatalaga fa'amatalaga
LEAI. | Igoa | Fa'amatalaga | Code |
1 | STX0 | Faailoga amata | 55(H) |
2 | CMD | Poloaiga | Fa'aalia ile laulau 3 |
3 | LEN | Paita umi (sei vagana ai le STX0, CMD ma fa'ailoga tupe) | / |
4 | FAATAU | Parameter | Fa'aalia ile laulau 3 |
5 | FAAMATALAGA | ||
6 | CHK | XOR siaki tupe (Se'i vagana ai siaki, o paita uma e mafai ona maua XOR siaki) | / |
Laulau 3 Fa'atonuga ma fa'amatalaga
LEAI. | Poloaiga | Fa'amatalaga | Bytes | Manatua. | Umi | Faataitaiga |
1 | 0×00 | Tu'u i tafatafa (tu fa'aauau galuega) | FAAMATALAGA=00(H) FAAMATALAGA=00(H) | Tu'u ta'avale ta'avale | 6 Paita | 55 00 02 00 00 57 |
2 | 0×01 | E faigaluega nofofua | FAAMATALAGA=00(H) FAAMATALAGA=00(H) |
| 6 Paita | 55 01 02 00 00 56 |
3 | 0×02 | Galulue faifai pea | FA'AMATALAGA=XX(H) FAAMATALAGA=YY(H) | FA'AMATALAGA = ta'amilosaga galue, iunite: ms | 6 Paita | 55 02 02 03 E8 BE (1Hz galue) |
4 | 0×03 | Siaki e le tagata lava ia | FAAMATALAGA=00(H) FAAMATALAGA=00(H) |
| 6 Paita | 55 03 02 00 00 54 |
5 | 0×06 | Aofa'i numera o moli | FAAMATALAGA=00(H) FAAMATALAGA=00(H) | Aofa'i numera o moli | 6 Paita | 55 06 02 00 00 51 |
13 | 0×20 | Fa'atulagaina ovataimi o le fa'aauauina o galuega | FAAMATALAGA=00(H) FAAMATALAGA=00(H) | DATA = ovataimi o le fa'aauauina o galuega, iunite: min | 6 Paita | 55 20 02 00 14 63 (20 minute) |
12 | 0xEB | LEAI.siaki | FAAMATALAGA=00(H) FAAMATALAGA=00(H) | laupapa li'o NO.siaki | 66Paita | 55 EB 02 00 00 TLM |
2) E maua e se komepiuta pito i luga
Laulau 4 Tuuina atu o pepa
STX0 | CMD | LEN | FAAMATALAGA | FAAMATALAGA0 | CHK |
Laulau 5 Mauaina fa'amatalaga fa'amatalaga
LEAI. | Igoa | Fa'amatalaga | Code |
1 | STX0 | Faailoga amata | 55(H) |
2 | CMD | Poloaiga | Fa'aalia ile laulau 6 |
3 | LEN | Paita umi (sei vagana ai le STX0, CMD ma fa'ailoga tupe) | / |
4 | FAATAU | Parameter | Fa'aalia ile laulau 6 |
5 | FAAMATALAGA | ||
6 | CHK | XOR siaki tupe (Se'i vagana ai siaki, o paita uma e mafai ona maua XOR siaki) | / |
Laulau 6 Fa'atonuga ma fa'amatalaga
LEAI. | Poloaiga | Fa'amatalaga | Bytes | Manatua. | Umi |
1 | 0×00 | Tu'u i tafatafa (tu fa'aauau galuega) | D1=00(H) D0=00(H) |
| 6 Paita |
2 | 0×01 | E faigaluega nofofua | D3 D2 D1 D0 |
| 8 Paita |
3 | 0×02 | Galulue faifai pea | D3 D2 D1 D0 |
| 8 Paita |
4 | 0×03 | Siaki e le tagata lava ia | D7 ~D0 | D5-D4: -5V, iunite: 0.01V D7-D6:+5V, Iunite: 0.01V(<450V o lo'o i lalo-voltage) | 13 Paita |
6 | 0×06 | Aofa'i numera o moli | D3~D0 | DATA=Aofa'i numera o le malamalama (4 paita, o le paita pito sili ona taua o lo'o i luma) | 8 Paita |
9 | 0xED | galuega ovataimi | 0×00 0×00 | Leisa o loʻo i lalo o le puipuiga ma taofi le galue | 6 Paita |
10 | 0xEE | Sese le siaki | 0×00 0×00 |
| 6 Paita |
11 | 0XEF | 0×00 0×00 |
| 6 Paita | |
18 | 0×20 | fa'atulagaina ovataimi o le fa'aauauina o galuega | FAAMATALAGA=00(H) FAAMATALAGA=00(H) | DATA = ovataimi o le fa'aauauina o galuega, iunite: min | 6 Paita |
12 | 0xEB | LEAI.siaki | D12…… D0 | D10 D9 NO.o le ta'avale ta'avale D8 D7 polokalama faakomepiuta | 17 Paita |
Fa'aaliga: Fa'amatalaga e le'i fa'amalamalamaina bytes/bits.O le tau masani o le 0. |