User Tools

Site Tools


siemens_iso

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
siemens_iso [2019/02/06 10:18] emozolyaksiemens_iso [2023/09/08 07:03] (current) emozolyak
Line 1: Line 1:
 ====== Siemens S7 Communication ====== ====== Siemens S7 Communication ======
  
-{{::s7-1200.jpg?direct|}}+{{network:s7-1200.jpg?direct|}}
  
-Since version 1.7.0.3180 WebHMI supports work with Siemens S7 controllers via S7 Communication protocol over Ethernet (Profinet interface on the controller). It makes possible for WebHMI to work with PLCs such as Siemens S7-300, S7-400, S7-1200, S7-1500 and others that support this protocol. To configure the connection, you must define the following parameters in the controller configuration:+Since version 1.7.0.3180 WebHMI supports work with Siemens S7 controllers via S7 Communication protocol over Ethernet (Profinet interface on the controller). It makes it possible for WebHMI to work with PLCs such as Siemens S7-300, S7-400, S7-1200, S7-1500and others that support this protocol. To configure the connection, you must define the following parameters in the controller configuration:
  
   ***PLC address** - This is the IP address of the controller or the communication module.    ***PLC address** - This is the IP address of the controller or the communication module. 
Line 13: Line 13:
 |Ix.y |Digital inputs of the controller. X — offset address, Y — bit address. You can address both bits and bytes and words. Examples: I0.2, IB2, IW0, ID2 |Bit, Byte, Word, Double Word |Read/—| |Ix.y |Digital inputs of the controller. X — offset address, Y — bit address. You can address both bits and bytes and words. Examples: I0.2, IB2, IW0, ID2 |Bit, Byte, Word, Double Word |Read/—|
 |Mx.y |М memory. X — offset address, Y — bit address. You can address both bits and bytes and words. Examples: M0.2, MB2, MW0, MD2 |Bit, Byte, Word, Double Word |Read/Write| |Mx.y |М memory. X — offset address, Y — bit address. You can address both bits and bytes and words. Examples: M0.2, MB2, MW0, MD2 |Bit, Byte, Word, Double Word |Read/Write|
-|Vx.y |Synonymous to DB1.DBxx. Accessing to memeory block DB1. X — offset address, Y — bit address. You can address both bits and bytes and words. Examples: V0.2, VB2, VW0, VD2 |Bit, Byte, Word, Double Word |Read/Write| +|Vx.y |Synonymous to DB1.DBxx. Accessing to memory block DB1. X — offset address, Y — bit address. You can address both bits and bytes and words. Examples: V0.2, VB2, VW0, VD2 |Bit, Byte, Word, Double Word |Read/Write| 
-|DBx.DBy.z |Addressing datablock DBx, where X - datablock number (1, 2, 3 ...). Y — offset inside the datablock, Z — bit number. You can address both bits and bytes and words. Examples: DB1.DBB0.2, DB4.DBD2, DB4.DBW13.3 |Bit, Byte, Word, Double Word |Read/Write|+|DBx.DBy.z |Addressing data block DBx, where X - data block number (1, 2, 3 ...). Y — offset inside the data block, Z — bit number. You can address both bits and bytes and words. Examples: DB1.DBB0.2, DB4.DBD2, DB4.DBW13.3 |Bit, Byte, Word, Double Word |Read/Write|
  
-Note that although WebHMI correctly recognizes addresses with the data size included in them (for example, IW0 in the notation Siemens stands for a Word type register), but the data size from the address itself is ignored and instead the data size specified in the WebHMI project settings of this register is used. I.e. the address is used exclusively as an base address and in fact the three addresses IW0, IB0, ID0 are equivalent to the record I0.+Note that although WebHMI correctly recognizes addresses with the data size included in them (for example, IW0 in the notation Siemens stands for a Word type register), but the data size from the address itself is ignored and instead the data size specified in the WebHMI project settings of this register is used. I.e. the address is used exclusively as base address and in factthe three addresses IW0, IB0, ID0 are equivalent to the record I0.
  
 Example of setting up a connection for the S7-1200 controller see [[connecting_to_s7-1200|here]]. Example of setting up a connection for the S7-1200 controller see [[connecting_to_s7-1200|here]].
Line 22: Line 22:
 Connecting WEBHMI to Siemens controllers is possible simultaneously with other devices on the same network (HMI panels, other controllers), because the controllers support several connections, depending on the type: Connecting WEBHMI to Siemens controllers is possible simultaneously with other devices on the same network (HMI panels, other controllers), because the controllers support several connections, depending on the type:
  
-{{::s7-comm_1200_conn.png?direct&400|}} +{{network:s7-comm_1200_conn.png?direct&400|}} 
-{{::s7-comm_400_conn.png?direct&400|}}+{{network:s7-comm_400_conn.png?direct&400|}} 
 + 
 +See the application note on [[connecting_to_s7-1200|this page]]
  
siemens_iso.1549448322.txt.gz · Last modified: 2019/02/06 10:18 by emozolyak

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki