![]() |
ALPHA-VISION® AbvSpu-MsPv: Udp2Av |
The UDP-Communication is an unsecured connection, i.e. it can’t be
guaranteed that all recipients receive a send data package.
Therefore a limited number of data packages are kept (Rollback-Puffer) for
resending in case of a transmission error. The request for resending a
data package must come from the recipient. To facilitate the request for
resending the data packages got running numbers; these numbers are checked
for gaps on the receiving end.
For the communication between AbvSpu and the VisuNT operator station at
least one 1 UDP-Connection of the type <All Multicast Members>
must be created. Thereby it is determined that all UDP-Telegrams are send
to the reachable members of the Multicast-Group.
For UDP-Communication the user must define 1 to n connections in the S7-Project and load to the target system. These definitions must match the communication parameters made in the AbvSpu. By default (on delivering the AbvSpu) parameters for UDP-Communication are set to the following:
| Address | Symbol | Comment | Start Value |
|---|---|---|---|
| DB190.DBW2 | wCountConnections | Number of Connections | 3 |
| DB190.DBW4 | wFirstConnection | First Connection-ID | 1 |
| DB190.DBW34/36 | wLAddr[1..2] | Log. Assembly Group Address | W#16#3FFD, W#16#3FFE |
| DB190.DBW40 | wRollbackSize | Size of the Rollback-Puffer (Number of packages) | 10 |
| Local ID (Hex) | Identical to the value from the Connection List. The Local ID may be changed. That is necessary if already existing Communication FCs using the same IDs. The new Local ID is inputted as Hex-Value. The permissible value range is specified by the system automatically. |
|---|---|
| Name | Suggested name plus Suffix Verb. -No.; the name may be modified (24 characters max). |
| Via CP | In case there are more CPs of the same type in a station, connecting to the same subnet, a selection of connections may be made here. |
| IP (DEZ) | Local | IP-Address of the Ethernet-CP (indication only) |
|---|---|---|
| IP (DEZ) | Multicast-Group | z.B. 239.0.1.0 |
| PORT (DEZ) | Local | 2000
WARNING
For the first UDP-Connection the port 2000 is mandatory, since all
VisuNT Stations send to port 2000.
|
| PORT (DEZ) | Multicast-Group | 2000
WARNING
The port 2000 must be defined as target port for all UDP-Connections,
since VisuNT-Stations only receive on that port.
|
| Connection-ID | IP (Local) | Port (local) | IP (Multicast) | Port (Multicast) |
|---|---|---|---|---|
| 1 | 192.168.0.100 | 2000 | 239.0.1.0 | 2000 |
| 2 | 192.168.0.100 | 2001 | 239.0.1.0 | 2000 |
| 3 | 192.168.0.100 | 2002 | 239.0.1.0 | 2000 |
| Address | Symbol | Meaning |
|---|---|---|
| DB195.DBW186 | - | 0 = ok any other = Error |
| Address | Symbol | Meaning |
|---|---|---|
| DB195.DBW162 | - | Maximum number of communication partners |
| Address | Symbol | Meaning |
|---|---|---|
| DB195.DBW190 | - | Number of cycles after that the collected telegrams about changes are sends to the connected communication partners. |
| Address | Symbol | Meaning |
|---|---|---|
| DB190.DBD356 | - | Online-Status der angeschlossenen
PC-Kommunikationspartner.Der Online-Status der maximal 32
Kommunikationspartner wird jeweils durch ein Bit mit der Bedeutung
1=online, 0=offline dargestellt. Die Zuordnung zwischen PC-Nummer und Bit-Nummer verläuft von rechts nach links aufsteigend: DBX359.0 //PC1 DBX359.1 //PC2 ... DBX359.7 //PC8 ... DBX356.0 //PC25 ... DBX356.7 //PC32 |
| Address | Symbol | Meaning |
|---|---|---|
| DB190.DBB0 | S7_WDOG | If initializing the AbvSpu (specially the communication interface) was successfully, that memory cell is incremented by 1 on any OB1-Cycle. |
| Address | Symbol | Meaning |
|---|---|---|
| DB190.DBD22 | dwConnectionAvailable[1] | Connections CP 1 Bit 2^0 //Connection 1 Bit 2^1 //Connection 2 ... Bit 2^15 //Connection 32 Bit = 1 //available Bit=0 //unavailable |
| DB190.DBD26 | dwConnectionAvailable[2] | Connection CP 2 |
| Address | Symbol | Meaning |
|---|---|---|
| DB190.DBD6 | dwSndInfo_ConnectionFree[1] | Connection CP 1 Bit 2^0 //Connection 1 Bit 2^1 //Connection 2 ... Bit 2^15 //Connection 32 Bit = 1 //free Bit=0 //not free |
| DB190.DBD10 | dwSndInfo_ConnectionFree[2] | Connection CP 2 |
| Address | Symbol | Meaning |
|---|---|---|
| DB190.DBD14 | dwSndInfo_Error[1] | Connection CP 1 Bit 2^0 //Connection 1 Bit 2^1 //Connection 2 ... Bit 2^15 //Connection 32 Bit = 1 //Error Bit=0 //no Error |
| DB190.DBD18 | dwSndInfo_Error[2] | Connection CP 2 |
| Address | Symbol | Meaning |
|---|---|---|
| DB190.DBW390 | wRollbackRequestsFromPC | Number of Rollback Requests from the communication partners. |