Napisałem fajny program do testowania danych przesyłanych z różnego rodzaju wag czy innych falowników i sterowników . Odbieramy dane na komputer za pomocą przechwycenia ich przy pomocy HyperTerminal czy innego Putty . Potem plik tekstowy przepuszczamy przez mój program i w wyniku dostajemy drugi plik gdzie dokładnie widać WSZYSTKIE znaki sterujące ASCII z opisem . Dokładnie widać gdzie jest XON , gdzie XOFF i czy CR i LF są prawidłowo wstawiane w transmisję . Program zadaje pytania równolegle po angielsku i po polsku . BARDZO mi się przydał przy analizie transmisji z wag przemysłowych do PLC po łączu RS232 .
Program zapisuje dane sterujące ASCII w formie opisu , kody ASCII widoczne w formie liter i cyfr , dane w postaci decymalnej i hexadecymalnej oraz numer linii co się przydaje przy analizie długości transmisji . Podajemy plik wejściowy ( przykładowo WAGA.TXT ) i plik wyjściowy ( przykładowo WAGA_2.TXT ) .
_________________________________________________________________________________________________________________________________________
I wrote a cool program for testing data transmitted from various scales and other inverters and controllers. We receive the data on the computer by capturing it using HyperTerminal or another Putty program. Then, we run the text file through my program, and as a result, we get a second file that clearly displays ALL ASCII control characters with descriptions. You can see exactly where XON and XOFF are, and whether CR and LF are inserted correctly in the transmission. The program asks questions simultaneously in English and Polish. I found it VERY useful when analyzing transmissions from industrial scales to PLCs via an RS232 connection.
The program saves ASCII control data as a description, ASCII codes displayed as letters and numbers, data in decimal and hexadecimal format, and the line number, which is useful for analyzing transmission length. We provide an input file (for example, WAGA.TXT) and an output file (for example, WAGA_2.TXT).
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
S S 73,5 g INPUT DATA
S S 78,3 g
================
LP dec hex opis OUTPUT DATA
1 83 53 S
2 32 20 SPACE - SPACJA
3 32 20 SPACE - SPACJA
4 83 53 S
5 32 20 SPACE - SPACJA
6 32 20 SPACE - SPACJA
7 32 20 SPACE - SPACJA
8 55 37 7
9 51 33 3
10 44 2C ,
11 53 35 5
12 32 20 SPACE - SPACJA
13 103 67 g
14 32 20 SPACE - SPACJA
15 13 0D CR Carriage Return - powrot karetki CR LF jako pierwszy
16 10 0A LF Line Feed - zmiana wiersza CR LF jako drugi
17 83 53 S
18 32 20 SPACE - SPACJA
19 32 20 SPACE - SPACJA
20 83 53 S
21 32 20 SPACE - SPACJA
22 32 20 SPACE - SPACJA
23 32 20 SPACE - SPACJA
24 55 37 7
25 56 38 8
26 44 2C ,
27 51 33 3
28 32 20 SPACE - SPACJA
29 103 67 g
30 13 0D CR Carriage Return - powrot karetki CR LF jako pierwszy
31 10 0A LF Line Feed - zmiana wiersza CR LF jako drugi
Program zapisuje dane sterujące ASCII w formie opisu , kody ASCII widoczne w formie liter i cyfr , dane w postaci decymalnej i hexadecymalnej oraz numer linii co się przydaje przy analizie długości transmisji . Podajemy plik wejściowy ( przykładowo WAGA.TXT ) i plik wyjściowy ( przykładowo WAGA_2.TXT ) .
_________________________________________________________________________________________________________________________________________
I wrote a cool program for testing data transmitted from various scales and other inverters and controllers. We receive the data on the computer by capturing it using HyperTerminal or another Putty program. Then, we run the text file through my program, and as a result, we get a second file that clearly displays ALL ASCII control characters with descriptions. You can see exactly where XON and XOFF are, and whether CR and LF are inserted correctly in the transmission. The program asks questions simultaneously in English and Polish. I found it VERY useful when analyzing transmissions from industrial scales to PLCs via an RS232 connection.
The program saves ASCII control data as a description, ASCII codes displayed as letters and numbers, data in decimal and hexadecimal format, and the line number, which is useful for analyzing transmission length. We provide an input file (for example, WAGA.TXT) and an output file (for example, WAGA_2.TXT).
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
S S 73,5 g INPUT DATA
S S 78,3 g
================
LP dec hex opis OUTPUT DATA
1 83 53 S
2 32 20 SPACE - SPACJA
3 32 20 SPACE - SPACJA
4 83 53 S
5 32 20 SPACE - SPACJA
6 32 20 SPACE - SPACJA
7 32 20 SPACE - SPACJA
8 55 37 7
9 51 33 3
10 44 2C ,
11 53 35 5
12 32 20 SPACE - SPACJA
13 103 67 g
14 32 20 SPACE - SPACJA
15 13 0D CR Carriage Return - powrot karetki CR LF jako pierwszy
16 10 0A LF Line Feed - zmiana wiersza CR LF jako drugi
17 83 53 S
18 32 20 SPACE - SPACJA
19 32 20 SPACE - SPACJA
20 83 53 S
21 32 20 SPACE - SPACJA
22 32 20 SPACE - SPACJA
23 32 20 SPACE - SPACJA
24 55 37 7
25 56 38 8
26 44 2C ,
27 51 33 3
28 32 20 SPACE - SPACJA
29 103 67 g
30 13 0D CR Carriage Return - powrot karetki CR LF jako pierwszy
31 10 0A LF Line Feed - zmiana wiersza CR LF jako drugi
Fajne? Ranking DIY