I happened to have a CM 1241 RS485 module on hand, so that's what I used. The serial slave I was working with was incredibly flexible and accepts both RS-485 and RS-232. Siemens (and Step 7) makes setting up basic point-to-point communication incredibly simple. For the current application, I was writing a simple function block to broadcast data to a Red Lion serial slave display, but there are a variety of situations in which you may need to do to this, such as communicating with a VFD. While there are many people in this office who do this regularly with other Siemens PLCs, it was the first time for any of us on an S7-1200, so I thought I'd share my experience.įirst of all, if this is your first experience doing this, you're in luck. Today, I found myself setting up some simple point-to-point serial communication on a Siemens S7-1200.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |