---
+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 1
    Points: 830, Level: 6

    Join Date
    Apr 2008
    Posts
    1
    Helped
    0 / 0
    Points
    830
    Level
    6

    xmt s7-200

    How to connect Siemens PLC S7-200 on Serial Port without any third party Drivers or APIs?


    Please tell me About Modbus Protocol or Profibus Protocol for S7-200.



    Regards


    Mayur

    •   Alt23rd April 2008, 13:00

      advertising

        
       

  2. #2
    Member level 1
    Points: 1,899, Level: 10

    Join Date
    May 2005
    Location
    USA
    Posts
    37
    Helped
    1 / 1
    Points
    1,899
    Level
    10

    s7-200 xmt

    Hi mayur,

    You can use Open Serial Protocol features of S7-200 PLC. I don't remember now exactly, but it works with XMRT and RXT mnemonics of Statement List language.

    Go through its System Manual and you will find examples there.

    Regards,
    --micropar--



    •   Alt22nd May 2008, 18:37

      advertising

        
       

  3. #3
    Member level 2
    Points: 1,204, Level: 7
    tvthang's Avatar
    Join Date
    May 2008
    Location
    Ho Chi Minh city, VietNam
    Posts
    46
    Helped
    9 / 9
    Points
    1,204
    Level
    7

    how to read data siemens from plc using .net

    HI,
    If you want to transmit/receive data to or from another equipment you should have a cable (PPI cable, RS232-RS485 cable).
    In PLC lader, you init SMB30 cell with rev./trans configure, for example: value 16#09 in SMB30: baud rate: 9600bps, 8 bit data, 1 stop bit, no parity
    after that, you using XMT for transmit (using help on program) or interrupt 8 to receive data
    It is easy for you to do this, good luck!



    •   Alt23rd May 2008, 02:54

      advertising

        
       

  4. #4
    Full Member level 3
    Points: 3,525, Level: 13
    auto_mitch's Avatar
    Join Date
    Oct 2004
    Posts
    172
    Helped
    24 / 24
    Points
    3,525
    Level
    13

    plc s7-200

    Check at S7-200 documentation for freeport configuration. Take a look at special memory bytes SMB30 for Port 0 and SMB130 for Port 1. After port configuration you can use the XMT and RCV function to send and receive a number of data bytes. Check these functions how they work, in help.



+ Post New Thread
Please login