Naoto Posted August 30, 2010 Report Share Posted August 30, 2010 I'm using Vision120 and want to receive serial message from DRO. The message format is follows X=999.9999 Y=999.9999+cr+lf or X=-99.9999 Y=-99.9999+cr+lf The leading zero will be supplessed by space. Total length is fix. Integer value is vary and signed. In front of Y is space. When I setup Protocol Scan FB as X=111111111 Y=222222222+ETX 111111111 is defined deciaml ASCII fixed length, vector=1,decimal point=MI20(10000), Lenhth=8 prefix=-(negative) only, link ML1 ETX is defained as length=2, 1st one is 0D, 2nd one is 0A. 222222222 is defined deciaml ASCII fixed length, vector=1,decimal point=MI20(10000), Lenhth=8 prefix=-(negative) only, link ML2 ETX is defained as length=2, 1st one is 0D, 2nd one is 0A. The FB protocol config return status code=258 (Invalid message) When I setup as 111111111111111111111+ETX 111111111111111111111 is defined as stream vector length 21, convert 1 receive bite to 1 liked element,Link=DW0 This code can success. And message stored correctry. But It are word data, and need to convert numerical data. It is not smart. Does anybody knows the correct setting for this message format? Naoto Quote Link to comment Share on other sites More sharing options...
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.