Ethernet/IP Adapter (Server)

The KAS RuntimeClosed In computer science, runtime (or run-time) describes the operation of a computer program, the duration of its execution, from beginning to termination (compare compile time). Within KAS, runtime also refers to the virtual machine that manage the program written in a computer language while it is running includes fully integrated EthernetClosed Ethernet is a large, diverse family of frame-based computer networking technologies that operate at many speeds for local area networks (LANs)/IP server driver for exchanging CIPClosed "Common Industrial Protocol " The Common Industrial Protocol allows complete integration of control with information, multiple CIP Networks, and Internet technologies I/O assemblies as an Ethernet/IP adapter in your applications.

Data Exchange - Configuration

A dedicated configuration tool is integrated in the KAS IDEClosed "Integrated development environment" An integrated development environment is a type of computer software that assists computer programmers in developing software. IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger.

  1. Double-click the FieldbusClosed A Fieldbus is an industrial network system for real-time distributed control (e.g. CAN or Profibus). It is a way of connecting instruments in a plant design node in the project explorer to open it
  2. Click the Insert Configuration icon to add the Fieldbus configuration
  3. Then select the Ethernet/IP Adapter in the configuration selector

The configuration is represented as a tree:

  • Ethernet/IP IO Scanner
    • Served I/Os and objects
      • IO Assembly or Vendor Specific Object (*)
        • Exchanged Variable (*)

    (*) The items with this mark can appear several times in the configuration.

Configuration

The following items can be configured at the root level.

Identifier Meaning
Use LAN2 obsolete
IP Address IP address of the Ethernet adapter used

Click the Insert Master icon to declare a server (adapter device). Each server is identified by its IP address and an optional description text.

Select the Served I/Os and objects node, then click the Insert Slave icon to declare a CIP I/O assembly or a vendor specific object. Up to 4 input and 4 output assemblies are supported by the KAS Runtime, even though it is possible to create more in the KAS IDE.

Each assembly is identified by:

Identifier Meaning
Mode Kind of CIP object. Can be one of:
  • I/O assembly
  • Vendor specific object
Access In case of a vendor specific object, this property defines the access rights:
  • Read/Write = free access
  • Read Only = the client (scanner) cannot write the object data
Class CIP class in case of a vendor specific object. This field should be ignored in case of an I/O assembly.
Instance Instance of the CIP assembly or object
Size Data size in bytes
Read Only Specify that a vendor-specific object is only readable by clients
Description Optional description text

When defining a vendor specific objects, the following attributes are available for scanners:

1 (get only) = size of the object data

3 (get/set) = object data

Then you can map IEC61131-3Closed IEC 61131-3 is the third part of the open international standard IEC 61131. The current (second) edition was published in 2003. IEC 61131-3 currently defines five programming languages for programmable control systems It deals with programming languages and defines two graphical and two textual PLC programming language standards variables on the data of the assembly, for each variable you must specify:

Identifier Meaning
Symbol The name of the IEC61131Closed IEC standard for Programmable logic controllers (PLCs)-3 variable
Offset Offset in bytes in the assembly data
Bit Bit offset in the selected byte if format is "Bit"
Format Format of the data in the assembly

  • You can drag a variable from the Dictionary directly to a slave item.


  • The data limit is: 500 bytes of data maximum O(originator)->T(target) and 500 bytes of data maximum T(target) -> O(originator). This is based on the Ethernet/IP specification.