Jump to content

Serial communication problem


mjarvas

Recommended Posts

I'm using a Unistream 10.1" built-in for a project where I have to communicate with using an UAC-CX-01RS2  RS232 module.

I created a simple test project after watching the communication tutorial video.

It seems that something is not right. The PLC doesn't receive the full message sent by the other party. The first character(s) are missing. Usually 1 or 2 but sometimes even 3 or 4 characters.

I checked the signals with a logic analyzer and they are there on the dedicated pin of the DB9 connector plugged into the PLC.  Communication speed and parameters are set properly.

Maybe I did something not proper in the Unilogic software but I couldn't find another example. I attached the project.

Could anybody please have a look at it? Is it a software problem or maybe my RS232 module is faulty?

Thanks in advance for your help.

Comm_test.ulpr

Link to comment
Share on other sites

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...