Mesa modbus and pktUart

More
3 years 1 month ago #279973 by PCW
Replied by PCW on topic Mesa modbus and pktUart
The signals on A/B do not look right.
When undriven, A _must_ be higher than B
(or the VFD will receive garbage)


Can you scope TXEN and TXdata at the adapter pins?

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #279984 by Donno
Replied by Donno on topic Mesa modbus and pktUart
 

Close Up of two signals together :

 

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #279989 by PCW
Replied by PCW on topic Mesa modbus and pktUart

Can you give me an example please of ntxen in my use case ?

OPortTag & x"00" & PktUARTTTag & PktUTDrvEnPin,
 
IOPortTag & x"00" & PktUARTTTag & PktUTNDrvEnPin,

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #279998 by PCW
Replied by PCW on topic Mesa modbus and pktUart
Is that TXEN at the adapter or direct from the 7I92
(the adapter needs active high TXEN)

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #280008 by Donno
Replied by Donno on topic Mesa modbus and pktUart
​​​​​​Txen is from 7i92 to 74hc04 then to DE pin i see i mixed my tx an txena pin on picture image missing /media/kunena/emoticons/blink.png

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #280011 by PCW
Replied by PCW on topic Mesa modbus and pktUart
OK so if TXEN is high during transmission (at the MAX485 DE pin)
That's correct

So if the rest of the wiring is OK (and the A/B lines idle with A high and B low)
you should be closer, though there could also be protocol errors or perhaps
address errors if the drive does not respond

You could check TXEN and RXData (RXData should echo TXData if everything is OK)

Please Log in or Create an account to join the conversation.

Time to create page: 0.343 seconds
Powered by Kunena Forum