EtherNet/IP IO Scanner (Client)
The KAS Runtime 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 a fully integrated EtherNet/IP client driver for exchanging CIP "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 scanner in your applications.
Data Exchange Configuration
A dedicated configuration tool is integrated in the KAS-IDE "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.
- Double-click the Fieldbus 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.
- Click the Insert Configuration icon to add the Fieldbus configuration.
- Then select the EtherNet/IP I/O Scanner in the configuration selector.
The configuration is represented as a tree:
- EtherNet/IP I/O Scanner
- Server (an EtherNet/IP adapter device) (*)
- I/O Assembly (Originator to Target)
- Exchanged Variable (*)
- Exchanged Variable (*)
- I/O Assembly (Target to Originator)
- Exchanged Variable (*)
- I/O Assembly (Originator to Target)
- Server (an EtherNet/IP adapter device) (*)
(*) The items with this mark can appear several times in the configuration.
In addition to the IO configuration, explicit messaging can be performed using the blocks eipReadAttr and eipWriteAttr.
Server Configuration
Click the Insert Master icon to declare a server (slave adapter). Each server is identified by its IP address and an optional Description text.
These blocks of data are exchanged with the server for each connection:
- Outputs (originator to target)
- Inputs (target to originator)
- Configuration: a static block sent to the server at connection time.
The instance number for the configuration may be specified in the properties of the server.
Edit the Configuration Data Block
While most devices do not expect any configuration it may happen that some data is required. For this, double click the server in the tree and click the Edit... button in the dialog box.
- The configuration is entered as a list of items.
- Use the Type button to specify the number of items and their data types.
- Structured data types defined in the KAS-IDE are supported.
- Enter values in the grid.
- If you exchange multiple byte integers (e.g., WORD), you must specify whether the device expects little or big endian formatting.
Assembly Configuration
Click the Insert Slave button () to declare a CIP I/O assembly.
Each assembly is identified by:
Identifier |
Meaning |
---|---|
Type |
Direction of the I/O assembly. Can be one of:
|
Instance |
Instance of the CIP assembly. |
Config.instance |
The instance number of the configuration assembly. |
Size |
Data size in bytes. |
Connection type |
Type of the CIP connection. Can be Point To Point or MultiCast. |
Priority |
CIP priority:
|
32 bit header |
Check this option if a 32-bit header is to be sent on notifications. |
Minimum period for notification of changes in milliseconds. The range is 10 - 10000 ms. |
|
Description |
Optional description text. |
Configuring Variables
IEC "International Electrotechnical Commission" IEC is a not-for-profit, non-governmental international standards organization that prepares and publishes International Standards for all electrical, electronic and related technologies 61131-3 variables may be mapped on the data of the assembly.
For each variable you must specify:
Identifier |
Meaning |
---|---|
Symbol |
|
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 |
Mode |
Kind of data exchanged through the variable:
|
-
-
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 Ethernet is a large, diverse family of frame-based computer networking technologies that operate at many speeds for local area networks (LANs)/IP specification.