EtherNet/IP Device. Schneider Electric Modicon M258
विज्ञापन
विज्ञापन
Ethernet Configuration
EtherNet/IP Device
Introduction
This section describes the configuration of the EtherNet/IP Device (CIP) to the controller.
For further information about EtherNet/IP (CIP), refer to the www.odva.org website.
Adding an EtherNet/IP Device
See Adding an EtherNet Manager
EtherNet/IP Device Configuration
To configure the EtherNet/IP device parameters, double-click Ethernet → EthernetIP in the
Devices tree.
The following dialog box is displayed:
186
The EtherNet/IP configuration parameters are defined as:
Instance:
Number referencing the input or output Assembly.
Size:
Number of channels of an input or output Assembly.
The memory size of each channel is 2 bytes that stores the value of an %IWx or %QWx object, where x is the channel number.
EIO0000004135 09/2020
Ethernet Configuration
For example, if the Size of the Output Assembly is 20, it represents that there are 20 input channels (IW0...IW19) addressing %IWy...%IW(y+20-1), where y is the first available channel for the Assembly.
Element
Output Assembly
Input Assembly
Instance
Size
Instance
Size
Admissible Controller
Range
150...189
2...40
100...149
2...40
EcoStruxure Machine Expert
Default Value
150
20
100
20
EDS File Generation
You can generate an EDS file to facilitate configuring EtherNet/IP cyclic data exchanges.
To generate the EDS file:
Step
1
2
3
Action
In the Devices tree, right-click the EthernetIP node and choose the Export as EDS command from the context menu.
Modify the default file name and location as required.
Click Save.
NOTE: The Major Revision and Minor Revision objects in the EDS file are used to ensure uniqueness of the EDS file. The values of these objects do not reflect the actual controller revision level.
The EDS file is generated automatically in the "/usr/Eip" directory within the controller when an application is downloaded, or at start-up when a boot application exists, according to the parameters above.
NOTE: The EDS file is generated when the control network is working correctly on the controller
(cable connected and the IP address is acquired).
EIO0000004135 09/2020
187
Ethernet Configuration
EthernetIP Slave I/O Mapping Tab
Variables can be defined and named in the EthernetIP Slave I/O Mapping tab. Additional information such as topological addressing is also provided in this tab.
188
For further generic descriptions, refer to I/O Mapping Tab Description
.
EIO0000004135 09/2020
Ethernet Configuration
The table below describes the EthernetIP Slave I/O Mapping configuration:
Channel Type
WORD -
Default
Value
Description
Command word of controller outputs (%QW) Input IW0
IWxxx
Output QW0
QWxxx
WORD State of controller inputs (%IW)
The number of words depends on the size parameter configured in EtherNet/IP Device
Configuration
.
Output means OUTPUT from Originator controller (= %IW for the controller).
Input means INPUT from Originator controller (= %QW for the controller).
Connections on EtherNet/IP
To access a target device, open a connection (global name used by EtherNet/IP protocol level) which can include several sessions that send requests.
One explicit connection uses one session (a session is a TCP or UDP connection.
One I/O connection uses 2 sessions.
The following table shows the EtherNet/IP connections limitations:
Characteristic
Explicit connections
I/O connections
Connections
Sessions
Simultaneous requests
Maximum
8 (Class 3)
1 (Class 1)
8
16
32
EIO0000004135 09/2020
189
Ethernet Configuration
Profile
The controller supports the following objects:
Object class Class ID
1
1
Cat.
Number of
Instances
1
1
Identity Object
01 hex
02 hex
Connection Manager Object
04 hex
06 hex
File Object
37 hex
Modbus Object
44 hex
TCP/IP Interface Object
Ethernet Link Object
F5 hex
F6 hex
2
1
1
2
1
2
1
1
1
Effect on Interface Behavior
Supports the reset service
Explicit message connection
-
Defines I/O data format
-
Allows to exchange EDS file
TCP/IP configuration
Counter and status information
Identity Object (Class ID = 01 hex)
The following table describes the class attributes of the Identity Object:
2
3
Attribute ID
1
4
6
7
Access
Get
Get
Get
Get
Get
Get
Name
Revision
Data Type
UINT
Max Instances UINT
Number of
Instances
UINT
Optional
Instance
Attribute List
01h
01h
UINT, UINT [ ] 00h
UINT
Value Details
01h Implementation revision of the
Identity Object
The largest instance number
The number of object instances
07h
The first 2 bytes contain the number of optional instance attributes. Each following pair of bytes represents the number of other optional instance attributes.
The largest class attributes value Max Class
Attribute
Max Instance
Attribute
UINT 07h The largest instance attributes value
190
EIO0000004135 09/2020
Ethernet Configuration
The following table describes the Class Services:
Service Code (hex) Name
01 Get Attribute All
0E Get Attribute Single
Description
Returns the value of all class attributes
Returns the value of the specified attribute
The following table describes the Instance Services:
Service Code (hex) Name
01 Get Attribute All
05
0E
Reset (1)
Get Attribute Single
Description
Returns the value of all class attributes
Initializes EtherNet/IP component (controller reboot)
Returns the value of the specified attribute
(1) Reset Service description:
When the Identity Object receives a Reset request, it:
determines whether it can provide the type of reset requested
responds to the request attempts to perform the type of reset requested
The Reset common service has one specific parameter, Type of Reset (USINT), with the following values:
Value
0
Type of Reset
Reboots the controller.
NOTE: This value is the default value if this parameter is omitted.
Reset Warm.
1
2 Not supported.
3...99
Reserved
100...199
Vendor specific
200...255
Reserved
The following table describes the Instance attributes:
2
3
Attribute ID
1
4
Access
Get
Get
Get
Get
Name
Vendor ID
Device type UINT
Product code UINT
Revision
Data Type Value
UINT 243h
Struct of
USINT,
USINT
-
0Eh
805h
Details
Schneider Automation ID
Controller
Controller product code
Product revision of the controller
Equivalent to the 2 low bytes of controller version
(1)
EIO0000004135 09/2020
191
Ethernet Configuration
Attribute ID
5
6
Access
Get
Get
Name
Status
Data Type Value
WORD (1) -
Serial number UDINT -
Details
See definition in the table below
Serial number of the controller
XX + 3 LSB of MAC address
Example: TM258LD42DT.
7 Get Product name Struct of
USINT,
STRING
-
1
2
Bit
0
3
4...7
(1) Mapped in a WORD:
MSB: minor revision (second USINT)
LSB: major revision (first USINT)
Example: 0205h means revision V5.2.
Status Description (Attribute 5):
8
9
10
Name
Owned
Reserved
Configured
Reserved
Extended Device
Status
Minor
Recoverable
Error
Minor
Unrecoverable
Error
Major
Recoverable
Error
-
Description
Unused
-
TRUE indicates the device application has been reconfigured.
0: self-testing or undetermined
1: firmware update in progress
2: at least one invalid I/O connection error detected
3: no I/O connections established
4: non-volatile configuration invalid
5: non recoverable error detected
6: at least one I/O connection in RUNNING state
7: at least one I/O connection established, all in idle mode
8: reserved
9...15: unused
TRUE indicates the device detected an error, which, under most circumstances, is recoverable.
This type of event does not lead to a change in the device state.
TRUE indicates the device detected an error, which, under most circumstances, is not recoverable.
This type of event does not lead to a change in the device state.
TRUE indicates the device detected an error, which requires the device to report an exception and enter into the HALT state.
This type of event leads to a change in the device state, but, under most circumstances, is recoverable.
192
EIO0000004135 09/2020
Ethernet Configuration
Bit
11
Name
Major
Unrecoverable
Error
12...15 Reserved -
Description
TRUE indicates the device detected an error, which requires the device to report an exception and enter into the HALT state.
This type of event leads to a change in the device state, but, under most circumstances, is not recoverable.
Message Router Object (Class ID = 02 hex)
The following table describes the class attributes of the Message Router Object:
Attribute ID
1
2
3
4
5
6
7
Access
Get
Get
Get
Get
Get
Get
Get
Name
Revision
Optional
Service
List
Max Class
Attribute
Max
Instance
Attribute
Data Type
UINT
Max
Instances
Number of
Instance
Optional
Instance
Attribute
List
UINT
UINT
Struct of UINT,
UINT [ ]
01h
20
UINT
UINT
UINT
Value Details
01h Implementation revision of the Message
Router Object
01h The largest instance number
00h
07h
119
The number of object instances
The first 2 bytes contain the number of optional instance attributes. Each following pair of bytes represents the number of other optional instance attributes (from 100 to 119).
The number and list of any implemented optional services attribute (0: no optional services implemented)
The largest class attributes value
The largest instance attributes value
The following table describes the Class Services:
Service Code (hex) Name
01 Get Attribute All
0E Get Attribute Single
Description
Returns the value of all class attributes
Returns the value of the specified attribute
The following table describes the Instance Services:
Service Code (hex) Name
01 Get Attribute All
0E Get Attribute Single
Description
Returns the value of all class attributes
Returns the value of the specified attribute
EIO0000004135 09/2020
193
Ethernet Configuration
The following table describes the Instance attributes:
Attribute ID
1
2
100
101
102
103
104
Access Name
Get
Get
Get
Get
Get
Get
Get
Implemented Object
List
Number available
Total incoming Class1 packets received during the last second
Total outgoing Class1 packets sent during the last second
Total incoming Class3 packets received during the last second
Total outgoing Class3 packets sent during the last second
Total incoming unconnected packets received during the last second
Data Type
Struct of
UINT, UINT [ ]
UINT
UINT
UINT
UINT
UDINT
UINT
-
-
-
-
-
-
Value Description
Implemented Object list. The first 2 bytes contain the number of implemented objects. Each two bytes that follow represent another implemented class number.
This list contains the following objects:
Identity
Message Router
Assembly
Connection Manager
Parameter
File Object
Modbus
Port
TCP/IP
Ethernet Link
20h Maximum number of concurrent CIP (Class1 or
Class 3) connections supported
Total number of incoming packets received for all implicit (Class1) connections during the last second
Total number of outgoing packets sent for all implicit
(Class1) connections during the last second
Total number of incoming packets received for all explicit (Class 3) connections during the last second
Total number of outgoing packets sent for all explicit
(Class 3) connections during the last second
Total number of incoming unconnected packets received during the last second
194
EIO0000004135 09/2020
Attribute ID
105
106
107
108
109
110
111
112
113
114
EIO0000004135 09/2020
Access Name
Get Total outgoing unconnected packets sent during the last second
Get
Get
Get
Total incoming
EtherNet/IP packets received during the last second
Total outgoing
EtherNet/IP packets sent during the last second
Total incoming Class1 packets received
Data Type
UINT
UINT
UINT
UINT
Get Total outgoing Class1 packets sent
UINT
Get Total incoming Class3 packets received
UINT
Get
Get
Get
Get
Total incoming Class3 packets Invalid
Parameter Value
Total incoming Class3 packets Invalid Format
Total outgoing Class3 packets sent
Total incoming unconnected packets received
UINT
UINT
UINT
UINT
Ethernet Configuration
-
-
-
-
-
-
-
-
-
-
Value Description
Total number of outgoing unconnected packets sent during the last second
Total unconnected Class1 or
Class 3 packets received during the last second
Total unconnected Class1 or
Class 3 packets sent during the last second
Total number of incoming packets received for all implicit (Class1) connections
Total number of outgoing packets sent for all implicit
(Class1) connections
Total number of incoming packets received for all explicit (Class 3) connections. This number includes the packets that would be returned if an error had been detected (listed in the next two rows).
Total number of incoming
Class 3 packets that targeted a non-supported service/class/instance/attribu te/member
Total number of incoming
Class 3 packets that had an invalid format
Total number of packets sent for all explicit (Class 3) connections
Total number of incoming unconnected packets. This number includes the packets that would be returned if an error had been detected
(listed in the next two rows).
195
Ethernet Configuration
Attribute ID
115
116
117
118
119
Access Name
Get Total incoming unconnected packets
Invalid Parameter
Value
Data Type
UINT
Get
Get
Get
Get
Total incoming unconnected packets
Invalid Format
Total outgoing unconnected packets sent
Total incoming
EtherNet/IP packets
Total outgoing
EtherNet/IP packets
UINT
UINT
UINT
UINT -
-
-
-
-
Value Description
Total number of incoming unconnected packets that targeted a non-supported service/class/instance/attribu te/member
Total number of incoming unconnected packets that had an invalid format
Total number of all unconnected packets sent
Total unconnected, Class 1, or Class 3 packets received
Total unconnected, Class 1, or Class 3 packets sent
Assembly Object (Class ID = 04 hex)
The following table describes the class attributes of the Assembly Object:
2
3
4
Attribute ID
1
5
6
7
Access Name
Get Revision
Get
Get
Get
Get
Get
Get
Data Type
UINT
Max Instances UINT
Number of Instances UINT
Optional Instance
Attribute List
Struct of:
UINT
UINT [ ]
Optional Service List UINT
Max Class Attribute UINT
Max Instance Attribute UINT
1
4
Value Details
2 Implementation revision of the
Assembly Object
189
2
00h
The largest instance number
The number of object instances
The first 2 bytes contain the number of optional instance attributes. Each following pair of bytes represents the number of other optional instance attributes.
The number and list of any implemented optional services attribute (0: no optional services implemented)
07h
04h
The largest class attributes value
The largest instance attributes value
196
EIO0000004135 09/2020
Ethernet Configuration
The following table describes the Class Services:
Service Code (hex) Name
0E Get Attribute Single
Description
Returns the value of the specified attribute
The following table describes the Instance Services:
Service Code (hex) Name
0E Get Attribute Single
10
18
19
Set Attribute Single
Get Member
Set Member
Description
Returns the value of the specified attribute
Modifies the value of the specified attribute
Reads a member of an Assembly object instance
Modifies a member of an Assembly object instance
Instances Supported
Output means OUTPUT from Originator controller (= %IW for the controller).
Input means INPUT from Originator controller (= %QW for the controller).
The controller supports 2 Assemblies:
Name
Controller Output (%IW)
Controller Input (%QW)
Instance Data Size
Configurable: must be between 100 and 149 2...40 words
Configurable: must be between 150 and 189 2...40 words
NOTE: The Assembly object binds together the attributes of multiple objects so that information to or from each object can be communicated over a single connection. Assembly objects are static.
The Assemblies in use can be modified through the parameter access of the network configuration tool (RSNetWorx). The controller needs to recycle power to register a new Assembly assignment.
The following table describes the Instance attributes:
Attribute ID
1
2
3
4
Access
Get
Get
Get/Set
Get
Name
Number of Member
Object List
Member List
Instance Data
Instance Data Size
Data Type
UINT
ARRAY of
Struct
ARRAY of
Byte
UINT
-
-
Value Description
2...40
Always 1 member for the controller
4...80
Array of 1 structure where each structure represents one member
Data Set service only available for Controller output
Size of data in byte
EIO0000004135 09/2020
197
Ethernet Configuration
Member list content:
Name
Member data size
Member path size
Member path
EPATH is:
Word
0
1
Value
2004 hex
24xx hex
2 30 hex
Data Type
UINT
UINT
EPATH -
6
Value
4...40
Type of Reset
Member data size in bits
Size of the EPATH (see table below)
EPATH to the Member
Semantic
Class 4
Instance xx where xx is the instance value (example: 2464 hex = instance
100).
Attribute 3
Connection Manager Object (Class ID = 06 hex)
The following table describes the class attributes of the Assembly Object:
Attribute ID
1
2
Access Name
Get Revision
Get
Data Type Value Details
UINT 2 Implementation revision of the
Connection Manager Object
UINT 189 The largest instance number
3 Get
Max
Instances
Number of
Instances
UINT 2 The number of object instances
198
EIO0000004135 09/2020
Ethernet Configuration
Attribute ID
4
6
7
Access Name
Get Optional
Instance
Attribute List
Get
Data Type Value Details
Struct of:
UINT
UINT [ ]
The number and list of the optional attributes. The first word contains the number of attributes to follow and each following word contains another attribute code.
Following optional attributes include:
total number of incoming connection open requests
the number of requests rejected because of the non-conforming format of the Forward Open the number of requests rejected because of insufficient resources the number of requests rejected because of the parameter value sent with the Forward Open the number of Forward Close requests received the number of Forward Close requests that had an invalid format the number of Forward Close requests that could not be matched to an active connection the number of connections that have timed out because the other side stopped producing, or a network disconnection occurred
UINT 07h The largest class attributes value
Get
Max Class
Attribute
Max
Instance
Attribute
UINT 08h The largest instance attributes value
The following table describes the Class Services:
Service Code (hex)
01
0E
Name
Get Attribute All
Get Attribute Single
Description
Returns the value of all class attributes
Returns the value of the specified attribute
EIO0000004135 09/2020
199
Ethernet Configuration
The following table describes the Instance Services:
Service Code (hex)
01
0E
4E
52
54
Name
Get Attribute All
Get Attribute Single
Forward Close
Unconnected Send
Forward Open
Description
Returns the value of all instance attributes
Returns the value of the specified attribute
Closes an existing connection
Sends a multi-hop unconnected request
Opens a new connection
The following table describes the Instance attributes:
Attribute ID
1
2
3
4
5
6
7
8
Access
Get
Get
Name
Open Requests
Data Type Value Description
UINT Number of Forward Open service requests received
Open Format Rejects UINT -
Get Open Resource
Rejects
ARRAY of
Byte
-
Number of Forward Open service requests which were rejected due to invalid format
Number of Forward Open service requests which were rejected due to lack of resources
Get Open Other Rejects UINT -
Get
Get
Get
Get
Close Requests
Close Format
Requests
Close Other
Requests
UINT
UINT
UINT
Connection Timeouts UINT -
-
-
-
Number of Forward Open service requests which were rejected for reasons other than invalid format or lack of resources
Number of Forward Close service requests received
Number of Forward Close service requests which were rejected due to invalid format
Number of Forward Close service requests which were rejected for reasons other than invalid format
Total number of connection timeouts that have occurred in connections controlled by this
Connection Manager
200
EIO0000004135 09/2020
Ethernet Configuration
File Object (Class ID = 37 hex)
The following table describes the class attributes of the File Object:
2
3
6
Attribute ID
1
7
32
Access
Get
Get
Get
Get
Get
Name
Revision
Max Instances
Number of Instances
Max Class Attribute
Data Type Value Details
UINT 1 Implementation revision of the
File Object
UINT
UINT
UINT
C9h
2
20h
The largest instance number
The number of object instances
Max Instance Attribute UINT 0Bh
The largest class attributes value
The largest instance attributes value
Get Instance List Returns information on all configured instances including
Instance Number, Instance
Name and Instance File Name
The following table describes the Class Services:
Service Code (hex) Name
0E Get Attribute Single
Description
Returns the value of the specified attribute
Instance Code
The File object provides download functionality for the EDS and EDS Icon files. The following instances of the File object are implemented:
Instance C8 hex returns an uncompressed version of the EDS text file. The instance name attribute is returned as "EDS and Icon Files". The file name attribute returns "M258xxx.eds"
where M258xxx is the exact reference of the controller. The contents of the EDS file are adjusted dynamically by the controller. The connection data sizes in the EDS file are adjusted to reflect the actual standard Assembly instance sizes.
Instance C9 hex returns a compressed version of the device EDS icon file. The instance name is returned as "Related EDS and Icon Files". The file name attribute returns "M258xxx.gz" where
M258xxx is the exact reference of the controller. This is zip encoded file containing only one file:
M258xxx.ico. The file is encoded with the ZLIB compression file format. ZLIB is a free, general purpose, legally unencumbered, loss-less compression library. The specifications are available from the Internet Engineering Task Force (http://www.ietf.org).
EIO0000004135 09/2020
201
Ethernet Configuration
The following table describes the Instance Services:
Service Code
(hex)
0E
4B
4F
Name Description
Get Attribute Single Returns the value of the specified instance attribute
Initiate Upload Start uploading process. Request contains the Maximum File Size the Client can accept on Upload. Response contains the actual File
Size, which will never be more than the Maximum File Size and the
Transfer Size, which is the number of bytes transferred with each
Upload Transfer request.
Upload Transfer Upload another section of file data. Request contains the Transfer
Number, which is incremented with each subsequent transfer.
Response contains the matching Transfer Number, Transfer Type,
File Data, and for the last transfer, the Checksum word. Transfer
Type indicates if this is the first, intermediate or last packet, if it is the only packet, or if the transfer should be aborted.
The following table describes the Instance Attributes:
Attribute ID
1
2
Access
Get
Get
Name
State
Data Type Value Description
USINT
Instance Name STRING -
One of the following:
0: non existent
1: file empty - file should not have any content until it is downloaded from the remote client. When set, File name,
Revision, Checksum and File Save
Flag values have no meaning, and
File Size is 0.
2: file loaded - file contents are preloaded by the application (file size >
0) or file data has been downloaded and stored into the non-volatile memory area
3: upload initiated
4: download initiated
5: upload in progress
6: download in progress
7: storing to non-volatile area is in progress
Unique Name assigned to the File Object
Instance. For the C8 hex instance, it is
"EDS and Icon Files". For the C9 hex instance, it is "Related EDS and Icon
Files".
202
EIO0000004135 09/2020
Ethernet Configuration
6
7
4
5
8
10
11
Attribute ID
3
9
Access
Get
Get
Get
Get
Get
Name
Instance
Format
Revision
File Name
File Revision
File Size
Data Type Value Description
UINT Revision number assigned for this instance by the application, to differentiate between different file formats.
STRING
USINT
UDINT
File Checksum UINT
-
-
-
Major
Minor
Unique name for File Storage
File Revision is updated every time file content is changed.
File Size in bytes
Get Invocation
Method
USINT -
Two’s complement of the 16 bit sum of all bytes
Defines what should happen after the file is downloaded. Possible options include:
0: No Action
2: Power Cycle, etc.
Get File Save
Parameters
BYTE -
Get
Get
File Type
File Encoding
Format
USINT
UINT -
-
If bit 1 is set, the file should be explicitly saved to non-volatile storage after download is complete.
0: Read/Write access
1: Read Only access
0: no encoding
1: encoded using ZLIB
Modbus Object (Class ID = 44 hex)
The Modbus object provides an additional method to access the Modbus table data. A single explicit request will either read or write 1 or more contiguous registers. An additional Pass-through service allows the user to specify an actual Modbus message data.
The following table describes the class attributes of the Modbus Object:
Attribute ID
1
Access
Get
Name
Revision
Data Type
UINT
Value Details
1 Implementation revision of the
Modbus Object
The following table describes the Class Services:
Service Code (hex) Name
0E Get Attribute Single
Description
Returns the value of the specified attribute
EIO0000004135 09/2020
203
Ethernet Configuration
Instance Codes
Only instance 1 is supported.
The following table describes the Instance Services:
Service Code
(hex)
4B
Name Description
4C
4E
4F
50
Read Digital Inputs
Read Coils
Returns the value of one or several contiguous Digital Input registers
Returns the value of one or several contiguous Coils
Read Holding Registers Returns the value of one or several contiguous Holding
Registers
Write Coils Updates the value of one or several contiguous Coils
Write Holding Registers Updates the value of one or several contiguous Holding
Registers
NOTE: The Read Register service requires 4 bytes of data: the first word contains the starting register address and the second word contains the number of registers to read. The Write service request requires the same 4 bytes, followed by the actual data.
The Modbus Pass-through service indicates a specific Modbus function. The translation function will not perform any Indian conversion on the request or response data. Both request and response contain 1 byte of the Modbus Function code followed by the Modbus message data, including a sub-function code if present.
TCP/IP Interface Object (Class ID = F5 hex)
This object maintains link specific counters and status information for an Ethernet 802.3 communications interface.
The following table describes the class attributes of the TCP/IP Interface Object:
2
3
Attribute ID
1
6
7
Access
Get
Get
Get
Get
Get
Name
Revision
Max Instances
Number of Instance
Max Class Attribute
Data Type
UINT
UINT
UINT
UINT
Max Instance Attribute UINT
1
1
Value Details
1 Implementation revision of the
TCP/IP Interface Object
The largest instance number
The number of object instances
07h
06h
The largest class attributes value
The largest instance attributes value
204
EIO0000004135 09/2020
Ethernet Configuration
The following table describes the Class Services:
Service Code (hex)
01
0E
Name
Get Attribute All
Get Attribute Single
Description
Returns the value of all class attributes
Returns the value of the specified attribute
Instance Codes
Only instance 1 is supported.
The following table describes the Instance Services:
Service Code (hex)
01
0E
Name
Get Attribute All
Get Attribute Single
Description
Returns the value of all instance attributes
Returns the value of the specified instance attribute
The following table describes the Instance Attributes:
Attribute ID
1
Access Name
Get Status
Data Type Value
DWORD Bit level
2
3
Get
Get
Configuration
Capability
Configuration
DWORD Bit level
DWORD Bit level
Description
0: The interface configuration attribute has not been configured.
1: The interface configuration contains a valid configuration.
2...15: Reserved.
0: BOOTP Client
1: DNS Client
2: DHCP Client
3: DHCP-DNS capable
4: interface configuration set table
All other bits are reserved and set to
0.
0: The interface configuration is valid.
1: The interface configuration is obtained with BOOTP.
2: The interface configuration is obtained with DHCP.
3: reserved
4: DNS Enable
All other bits are reserved and set to
0.
EIO0000004135 09/2020
205
Ethernet Configuration
Attribute ID
4
Access Name
Get Physical Link
5
6
Get
Get
Interface configuration
Host Name
Data Type Value
UINT
Padded
EPATH
UDINT
UDINT
UDINT
UDINT
UDINT
Path size
Path
IP Address -
Network
Mask
-
-
Logical segments identifying the physical link object. The path is restricted to one logical class segment and one logical instance segment. The maximum size is 12 bytes.
Gateway
Address
Primary
Name
-
Secondary
Name
Description
Number of 16 bits word in the element Path
STRING
STRING -
Default
Domain
Name
0: no secondary name server address has been configured.
Otherwise, the name server address shall be set to a valid Class A, B, or C address.
ASCII characters. Maximum length is
48 characters. Padded to an even number of characters (pad not included in length).
0: no Domain Name is configured
ASCII characters. Maximum length is
64 characters. Shall be padded to an even number of characters (pad not included in length).
0: no Host Name is configured
206
EIO0000004135 09/2020
Ethernet Configuration
Ethernet Link Object (Class ID = F6 hex)
This object provides the mechanism to configure a TCP/IP network interface device.
The following table describes the class attributes of the Ethernet Link Object:
2
3
Attribute ID
1
6
7
Access
Get
Get
Get
Get
Get
Name
Revision
Max Instances
Number of Instances
Max Class Attribute
Data Type
UINT
UINT
UINT
UINT
Max Instance Attribute UINT
1
1
Value Details
2 Implementation revision of the
Ethernet Link Object
The largest instance number
The number of object instances
07h
03h
The largest class attributes value
The largest instance attribute value
The following table describes the Class Services:
Service Code (hex) Name
01 Get Attribute All
0E Get Attribute Single
Description
Returns the value of all class attributes
Returns the value of the specified attribute
Instance Codes
Only instance 1 is supported.
The following table describes the Instance Services:
Service Code (hex) Name
01 Get Attribute All
10
0E
Set Attribute Single
Get Attribute Single
Description
Returns the value of all instance attributes
Modifies the value of the specified attribute
Returns the value of the specified instance attribute
EIO0000004135 09/2020
207
Ethernet Configuration
The following table describes the Instance Attributes:
Attribute ID
1
2
Access Name
Get
Data Type Value
Interface Speed UDINT -
Get Interface Flags DWORD Bit level
3 Get Physical
Address
ARRAY of
6 USINT
-
Description
Speed in Mbps (10 or 100)
0: link status
1: half/full duplex
2...4: negotiation status
5: manual setting / requires reset
6: local hardware error detected
All other bits are reserved and set to 0.
This array contains the MAC address of the product.
Format: XX-XX-XX-XX-XX-XX
208
EIO0000004135 09/2020
डाउनलोड
विज्ञापन