...
- TCP parameters - server parameters are mandatory:
- Host: server name in form of INET (name or numerical address a.b.c.d). In the case of redundant systems, multiple names/addresses separated by commas can be entered.
- Port: TCP port number (0..65535). The standard port of Ethernet/IP protocol is 44818
- Line number: unused, set to 0
Note: if if all of the stations are in StOFF mode (or in simulation) on a TCP/IP-TCP line, the TCP connection will be closed. Thus Thus it is possible to control TCP communication from the event using a an STSTAT tell command.
Kotva |
---|
| linka_parametre |
---|
| linka_parametre |
---|
|
Communication line protocol parameters
...
Keyword | Full title | Description | Unit | Replacement value |
---|
| Read Wait Timeout | Waiting between individual reads of data from the communication if no data has been received.. | sec.mss | 0.010 |
| Batch Size | The number of messages after sending of which the Send Delay is performed. | - | 1...1000 |
| Send Delay | Waiting after sending a batch consisting of Batch Size message. The purpose is not to overload the device with too many messages. Note: while testing the Micro820 device, problems were encountered when sending approximately 200 messages (browsing instances of the class File Object [0x37] with zero delay. Waiting for 1 ms solved the problem. | sec.mss | 0.001 |
| Max Pending Requests | Maximum number of unacknowledged messages. If the number of unacknowledged messages reaches the value of the parameter, the KOM proces process waits before sending the next message. A value of 1 means that each message must be confirmed before sending another one (so that the PLC cannot be overloaded due to intensive communication). |
| 1..100 |
| Write Symbolic: Array Elements | Methods of writing array using symbolic addressing (Rockwell). There are three supported modes: - 0 .. Array Index + Item Count: all the elements defined for a particular point are written (Array Index+1 or Item Count, whichever is greater)
- 0 .. Array Index: minimalistic variant - elements from 0 to Array Index are written
- 0 .. Max Array Index: maximalist variant - entries from 0 to Max Array Index are written, where Max Array Index is the largest number of elements of all I/O tags with the same symbolic address (within the station)
| - | 0 .. Array Index |
| Optimized write of array element | Optimized write is used when only one array element is written. Optimization consists of writing only one specific element and specifying its index (in the protocol specified as Member ID). Note: the tested Micro820 device supported the optimization, the test software server did not. | - | False |
| Max Packet Size | The maximum size of Ethernet/IP messages (Unconnected Explicit message) - according to the standard 504 bytes. Note: in symbolic mode (Rockwell) it is also possible to work with larger arrays using proprietary services Read Tag Fragmented Service and Write Tag Fragmented Service. Note: this size does not include the Encapsulation Header (24 bytes - Command/Length/Session Handle/Status/Sender Context/Options) or the SendRRData/Common Packet Format header (16 bytes - Interface Handle/Timeout/Item1 + Length/Item2 Length).
| Bytes | 504 |
| Response Timeout | Timeout to receive an answer for a request. If the response for a request is not received within this time, this is considered an error, and the TCP connection will be closed. | sec.mss | 10.000 |
| Optimized Work with Symbolic Names | Optimization of work in a symbolic mode (Rockwell) - so-called Symbol Instance Addressing. Instead of using symbolic names, a Symbol Instance ID is used for reading. The Symbolic name is converted to the Instance identifier by the same service which is used for browsing. Note: Not every device or Rockwell firmware version supports this optimization (tested Micro820 with firmware 10.0.12 or 11.0.11 did not support this optimization). In this case, if the device returns the Service not supported [0x08] error code, the optimization will be disabled until the KOM process is restarted or the configuration of the respective line is re-saved. | - | False |
...
Info |
---|
|
You can read blogs about the Ethernet/IP protocol: |
Changes and modifications
...