kanber Posted September 20, 2021 Share Posted September 20, 2021 Hi, I should make modbus 485 comunication with device like that; 1- RTS enable 2- Tx Data 3- RTS disable (Delay 100-200msec) 4- Rx Data these condition should do looping from 1 to 4 for communication. Is there any way to do that? Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted September 21, 2021 Share Posted September 21, 2021 You probably want to set the Comm port handshaking to Manual, then set RTS control to Toggle. These parameters largely align with the Windows DCB structure for opening comm ports and you can read about it here if you want a lot of detail: https://docs.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-dcb Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.