Skip to content

Connect to Siemens S7-200 CPU

I need to connect to a Siemens S7-226 CPU via Profibus to read many addresses and send a few commands. Not very clear how to do this.

Comments

  • I guess you intend to use the Siemens PLC as a Profinet device?
    Every Profinet device should provide a GSDML file that can be imported into PLCnext Engineer. There is information in the PLCnext Engineer help system on how to import GSDML files. The process data described in the GSDML file can then be linked to Port variables in the PLCnext Engineer project.
    If you have the GSDML file, and if you are having trouble getting this working in PLCnext Engineer, please let us know.
  • S7-226 is a very old model and should support only support natively MPI/PPI/DP(master).
    PPI can be used only by microwin, so you've to excude. MPI can be used only by other Siemens CPU with XGET/XPUT.
    The only way I see is to add extension module EM277 to S7-226, so you can set it as Profibus Slave. In such case you could use a Gateway PN/DP (1108712) that see it as a PNIO Device under the PLCnext.
    In the future a new profibus extension module should be released for PLCnext control and maybe we'll have other way.
  • Siemens CPU-226 has Port 0 configured as Modbus (RS-485) and is currently sending and receiving messages to a 3rd party device using Modbus.
    We are looking to disconnect this port and use it for the PLCNext (3152) to read / write to the CPU. We have very limited access to the existing logic in the 226 and cannot change/alter/add anything to it.
  • You will need a serial comms module for the AXC F 3152, probably an AXL F RS UNI 1H (2688666).
    You will then need to set up the AXC F 3152 to be the same type of Modbus device (master or slave) as the 3rd party device that will be disconnected, probably using the Modbus RTU library from the PLCnext Store.
    The AXC F 3152 will then need to be programmed to either provide the same Modbus data addresses as the 3rd party device (if a Modbus slave), or to read and write data from/to the Siemens PLC (if a Modbus master).
Sign In or Register to comment.