46
Manual – MOVIPRO® SDC with DeviceNet Interface
6
Return codes of the parameterization via explicit messages
DeviceNet Operating Characteristics
Supported ser-
vices
The following table shows the services supported by the parameter object:
6.3
Return codes of the parameterization via explicit messages
6.3.1
SEW-specific return codes
The return codes that SEW units issue in case of incorrect parameterization are inde-
pendent of the fieldbus. However, in conjunction with DeviceNet, the return codes are
returned in the following format. The table shows an example of the data format for a
parameter response message.
• MAC-ID is the DeviceNet address
• The
Service code
of an error telegram is always
94
hex
• The
general error code
of an manufacturer-specific return code is always
1F
hex
The
additional code
is then defined in the SEW fieldbus unit profile
See "Additional code" table (page 49).
• The
general error codes D0
hex
and D1
hex
indicate a MOVILINK
®
protocol error, e.g.
incorrect address information.
See "MOVILINK
®
-specific return codes" table (page 48).
The table shows the proprietary error
10
hex
= Illegal parameter index.
6.3.2
Return codes of DeviceNet
DeviceNet-specific return codes are sent in the error message if the data format is not
maintained during the transfer or if a service is performed which has not been imple-
mented. The coding of these return codes is described in the DeviceNet specification
(see section "General Error Codes" (page 47)).
6.3.3
Timeout response of explicit messages
MOVIPRO
®
activates timeout monitoring. After a connection has been established, the
master must set the timeout interval.
The DeviceNet specification refers to an "expected packet rate" rather than a timeout
interval in this case. The expected packet rate is calculated on the basis of the timeout
interval using the following formula:
t
Timeout_explicit_messages
= 4 x t
Expected_packet_rate_explicit_messages
The expected packet rate is set using the connection object class 5, instance 1, attribute
9. The range of values runs from 0 ms to 65535 ms in 5 ms steps.
Service code [hex]
Service Name
Class
Instance
0E
Get_Attribute_Single
X
X
10
Set_Attribute_Single
–
X
Byte offset
0
1
2
3
Function
MAC ID
Service code [=94
hex
]
General Error Code
Additional code
Example
01
hex
94
hex
1F
hex
10
hex