Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

SERIAL Communication, Parity Error

LuckyHK
2012-11-21
2012-11-22
  • LuckyHK - 2012-11-21

    Hello,

    When I initialize the connection by function SERIAL_SETUP, I choose PARITY := 1 (even parity). The communication is now set to sending format 8E1. Same format I set to next device, which will communicate with my PLC. But I don't know, how I determine that in receive data is error. Neither function SERIAL_RX has no output, which can tell me about this error.

    Could somebody help me? Thanks for your replies.

     
  • sarathbabu - 2012-11-22

    Hi

       You can check with CRC for errors.
    

    Have a good day

     

Log in to post a comment.