Jump to content

Recommended Posts

Hye all,

I've got a very strange bug today.

I'm using a serial connection (RS232) which come from a PC to my V570 port 1.

I use Visilogic 8.9.5.

I have a message which is 89 bytes long using this format :

[sTX] ,NumVar1[1], NumVar2[5], etc ... , stream_1[7], stream_2[7],[ETX] [EOT]

The two last streams variables are stored to MI 2000 -> MI 2006, and MI2010 -> MI2016 using the option convert 1 byte received to 1 linked element.

If i uncheck the parameter Fixed Stream length in the protocol scan Setting for the streams variables and if the message doesn't contain streams the PLc receive, translate all the numerical variables but it 'fill a large amount of MI with strange values From MI 0 to MI 200 and a part within MI 1900.

If i check the parameter Fixed Stream length no problem, the Protocol Scan FB ignore the message because it don't have the good size

My question is : Why my Operand zone is filled with strange values ?

If someone had experienced a similar problem i'll be pleased to understand.

;)

Link to comment
Share on other sites

  • 2 weeks later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...