...
Note: communication via Profinet/Profibus adapter ACCON-NetLink-PRO compact produced by company DELTALOGIC has been verified. Communication with multiple S-300 series PLCs on Profibus worked after firmware upgrade of adapter to version V2.54 (31. march 2015) with adapter's BIOS version V2.39 (7. june June 2011). When the adapter's firmware was version V2.37 (8.august 2011), communication could not be correctly established.
Note: communication with PLC Siemens LOGO was tested. A part of memory that is accessible for readreading/write writing is the V area that is seen as DB1.
...
- Communication line category: TCP/IP-TCP, TCP Redundant.
- IP address (addresses) is set according to a network configuration of a specific device Siemens SIMATIC device.
- Port The port number is 102 (according to specification RFC 1006).
- Line The line number is not used, set on 1.
When the communication line is set as TCP Redundant you can configure an IP address and port of a backup device. If a communication process lost the connection or is unable to connect to the device, it will switch periodic periodically between the configured devices. KOM process tries to connect to a primary device at first.
Note: Multiple IP addresses of primary/backup device can also be configured (separated by commas or semicolons).
Kotva |
---|
| linka_parametre |
---|
| linka_parametre |
---|
|
Line protocol parameters
...
A dialog window of of communication line configuration - Protocol parameters tab.
They influence some optional protocol parameters.
...
Parameter | Meaning | Unit / size | Default value |
---|
| Siemens Simatic rack number. | 0 to 7 | 0 |
| Siemens Simatic slot number. | 0 to 31 | 0 |
Connection Resource (hex) | Connection resource, it inputs enters as MSB byte to the calculation of the value of Remote TSAP at initialization of ISO Connection-request. See the description of parameter Use long TSAP. | 0x0 to 0xFF | 3 |
| ISO Local TSAP (Transport Service Local Point). Source TSAP value at during the initialization of ISO Connection-request. See the description of parameter Use long TSAP. | 0x0 to 0xFFFF | 0x1000 |
| ISO Source Reference. Value of SRC-REF at connection during the initialization of ISO Connection-request. | 0 to 65535 | 1 |
| Enables a long format of local and remote TSAP which is sent during the connection setup phase. Short TSAP is 2 bytes long. Short local TSAP has the following format:Short remote TSAP has the following format:Long local TSAP is 28 bytes long. Last 2 bytes are higher and lower byte of parameter Local TSAP Full remote TSAP is 28 bytes long and it contains: | - | False |
| MPI/Profibus address sent as a part of Remote TSAP, if parameter Use long TSAP is set to True | 0 to 126 | 1 |
S7 Subnet ID-part 1 (hex) | S7 subnet address sent as a part of Remote TSAP, if parameter Use long TSAP is set to True | 0x0 to 0xFFFF | 0 |
S7 Subnet ID-part 2 (hex) | S7 subnet adresa address sent as a part of Remote TSAP, if parameter Use long TSAP is set to True | 0x0 to 0xFFFF | 0 |
ISO TPDU Size Variable Parameter | Maximum The maximum required size of ISO TPDU. The parameter value at value the initialization of ISO Connection-request. | 8192, 4096, 2048, 1024, 512, 256 or 128 bytes | 1024 bytes |
Nr. of Parallel Network Threads | Maximum parallel communication threads. Increase the value if there is a request on more data read from the device in a shorter time. | 1 to 4 | 1 |
| Required The required time of one data reading cycle. | ms | 1000 ms |
| Maximal wait time on a reply from other the device. | ms | 2500 ms |
| Delay which is used before sending a data request. When a high data transfer rate is required, set 0 ms. | sec.ms | 20 ms |
| Delay before reconnection to other the device if the connection has failed or some communication error has occurred. | sec.ms | 2 sec |
| When Timeout passes and communication error occurs in all threads, a communication error status is set on the stations. FALSE state is set on the communication line. | sec.ms | 20 sec |
| Maximum PDU in bytes at S7 communication with other the device. | 240, 480, 960 bytes | 480 bytes |
| Setting Tcp No Delay parameter causes low-level socket option TCP_NODELAY being to be set, thus turning off the default packet coalesce feature. | - | False |
| Activates a debug info about the loaded values of I/O tags. Use this parameter only when communication must be debug debugged because it highly uses CPU and slows down the communication. | YES/NO | NO |
Debug I/O Binary Packets Info | Activates a debug info about a binary content of packets. Use this parameter only when communication must be debug debugged because it highly uses CPU and slows down the communication. | YES/NO | NO |
| Activates a basic debug info about requested data. | YES/NO | YES |
| Activates a basic debug info about received packets. | YES/NO | YES |
...
- Communication protocol: Siemens SIMATIC S7 ISO over TCP.
- No station address, no protocol parameters on the station.
- Time The time parameter setting is ignored. See the line parameter Cycle Time.
- A time Time synchronization of device is not supported.
...
I/O tag address is a character string according to the following:
{;}{S7:[connectionname]}DB<no>,<type><address>
{;}{S7:[connectionname]}DI<no>,<type><address>
{;}{S7:[connectionname]}<object>{<type>}<address>
...