ORSO2001 Posted December 12, 2015 Report Share Posted December 12, 2015 Dear All, I have connected the UNITRONICS by RS485 port (CPU protocol) at 1 slave;I read only 1 register (but is the same if I try with 20 or more) and the buffer that come back has the byte of the address located for last! in the attached pic you can see that the B8 is the "request" and the B45 is the "answer"...B45= first byte from the left is "3" for function, second is "2" for the lenght, third and fourth are "3,231" are the value 999 that is correct, fourth and fifth are "248,254" for the CRC ...and last byte "0"!? how I have to do for have back the correct sequence? thanks in advance. Link to comment Share on other sites More sharing options...
ORSO2001 Posted December 13, 2015 Author Report Share Posted December 13, 2015 I fixed the problem...I changed the BIT in position D of the COM Rx, that I have created by myself, with the BIT of "parsed successfully" and it works...sorry other mistake from a beginner. 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