montania Posted January 4, 2021 Report Share Posted January 4, 2021 I would like to send a string to a modem via the RS232 interface with a Send FB. This works with the terminal program if I append the carriage return, without a CR it does not work. My problem is to append the CR in the send FB. I tried different variants (13, 0d,) but it doesn't work. Can someone help me how to add a Garriage Return to the send FB and it will send a 0d? Thanks, Martin Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted January 5, 2021 MVP 2023 Report Share Posted January 5, 2021 You're almost there. Double-click on one of the little boxes in the ETX box and this will appear: Select 13 and you'll get your CR: Joe T. Link to comment Share on other sites More sharing options...
AlexUT Posted January 5, 2021 Report Share Posted January 5, 2021 You have to use 0x0D 0x0A (CR LF) when send commands to modem. B.R. Link to comment Share on other sites More sharing options...
montania Posted January 5, 2021 Author Report Share Posted January 5, 2021 now sending works perfectly. thanks Martin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now