RS232

Dokee
2008-07-24
2016-09-30
  • Dokee

    Dokee - 2008-07-24

    Hello,

    How to use a RS232 modul with codesys? I found a FB about this module, but the help doesn't allusion the use.

    May I get some example about RS232?

    Thanks,

    Dokee

     
  • timvh

    timvh - 2008-08-12

    It fully depends on which device you have, but in general attached code should give you an idea on how to use the standard serial communication library. Import it in a new project and add the syslibcom library to this project.

    You manually have to set the bits to execute the FB's.

    PLC_PRG.zip [1.45 KiB]

     
  • mravlincek

    mravlincek - 2016-09-26

    Why can't I open this file? I have the same problem, I am trying to do a simple program where the device would open the RS232 port and read it. Of course also displaying somehow what it was read. I am working with Eatons XVS440 panel and trying to use the RS232 port.

     
  • shooter

    shooter - 2016-09-30

    this post is 8 years old so check codesys site direct.

     

Log in to post a comment.