Sign in to follow this  
Followers 0
Jay Anthony

From PM this morning

1 post in this topic

Hi Jay:

                     I have been trying to modifying your Cx protocol Modbus RTU master cx protocol,


For the First part message send with fix message "010300060004A408"  Reading 4 register from 40007 to 40010


Now , I am trying to understand what you wrote "<a>+[03]+<l>+(W(1),*)+<c>"     My intention is to have a fix format of response message just like with start code and end code since i know i only need 4 register instead of "<a>+[03]+<l>+(W(1),*)+<c>" 

The Response should be 0103AAAABBBBCCCCDDDD+CRC , correct?

That mean,

1) <a>  is [01] Constant Hex in cx protocol.

2) [03] is the function code 03

3) <l> should be 16 bytes?

4)  W(1),*  can the wild card replace with 8 bytes of data?

How can I have a fixed response for the like this  XX+AAAABBBBCCCCDDDD+CRC?

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0