Monitoring RS485

Oct 06, 2014 20 Replies

un oscillo. et la plus petite impulsion te donne la vitesse.

en general c'est du 9600 ou 19200bps.

bonne journee

l'interface

et 4 du

smission tels que

sans

Je recommande HTERM

formatting link

ant les

Merci Laurent

Donc 1/T, 1/15^6 ce qui donne 66 600 Bauds, ce qui s'en rapproche est

57600 bauds.

-je viens d'avoir une info, la vitesse du bus 485 est de 60kBs, du coup

Merci Jules

60kBs donc en dehors des normes.

-CAS Modbus Scanner

formatting link

-Wireshark

formatting link

-ComDebug Serial Port Software

formatting link

RS485 is not a protocol, it only provides the basic rules and the physical link for data exchange, enabling the transmission of serial messages using a multi-drop bus whereas the message content is completely user defined.

Sinon, quand je ne trouve pas ce dont j'ai besoin ou que c'est trop

( je plaisante, je plaisante ... :o)

qu'on veut, et entre autres pour une vitesse arbitraire.

en comptant les start/stop ca totalise 11 bits/octet.

Avec un scope tu peux tenter de retrouver le nombre de bits

fonctionne, celui de Richard Grier auteur de livres informatiques : "It is possible to use non-standard speeds and data lengths"

formatting link

salut, dans ce cas tu a TERMINAL V1.9b de br@y++, a priori tu a un "custom baud rate" mais.... j'ai jamais essaie.

Cordialement

Dominique

BYTE ByteSize; // number of bits/byte, 4-8 BYTE Parity; // 0-4=no,odd,even,mark,space BYTE StopBits; // 0,1,2 = 1, 1.5, 2 Tant que tu n'as pas d'indications (via oscilloscope) pour lever

---

typedef struct _DCB { // dcb DWORD DCBlength; // sizeof(DCB) DWORD BaudRate; // current baud rate DWORD fBinary: 1; // binary mode, no EOF check DWORD fParity: 1; // enable parity checking DWORD fOutxCtsFlow:1; // CTS output flow control DWORD fOutxDsrFlow:1; // DSR output flow control DWORD fDtrControl:2; // DTR flow control type DWORD fDsrSensitivity:1; // DSR sensitivity DWORD fTXContinueOnXoff:1; // XOFF continues Tx DWORD fOutX: 1; // XON/XOFF out flow control DWORD fInX: 1; // XON/XOFF in flow control DWORD fErrorChar: 1; // enable error replacement DWORD fNull: 1; // enable null stripping DWORD fRtsControl:2; // RTS flow control DWORD fAbortOnError:1; // abort reads/writes on error DWORD fDummy2:17; // reserved WORD wReserved; // not currently used WORD XonLim; // transmit XON threshold WORD XoffLim; // transmit XOFF threshold BYTE ByteSize; // number of bits/byte, 4-8 BYTE Parity; // 0-4=no,odd,even,mark,space BYTE StopBits; // 0,1,2 = 1, 1.5, 2 char XonChar; // Tx and Rx XON character char XoffChar; // Tx and Rx XOFF character char ErrorChar; // error replacement character char EofChar; // end of input character char EvtChar; // received event character WORD wReserved1; // reserved; do not use } DCB;

Il y a plus simple juste sous notre nez, pour 60 kbps, il suffit de taper sous DOS :

C:\>mode com1 60000,N,8,1

Baud : 60000

Temporisation : OFF XON/XOFF : OFF Protocole CTS : OFF Protocole DSR : OFF

implicitement interdit :-).

du noyau offrent une plus grande souplesse.

Je crois que la version 14.04 devrait le permettre, mais je n'ai pas eu l'occasion d'essayer.

Cordialement

Dominique.

? 2014?10?10????UTC

+8??5?05?51??jfc? ??

?e

formatting link

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required