DeviceNet
Deutschmann Automation GmbH & Co. KG
35
UNIGATE
®
fieldbus gateway UNIGATE
®
EL - DeviceNet
™
V. 1.0
22.6.17
13 DeviceNet
13.1 The Product Code
The device’s Product Code is an unsigned integer value (UINT) with values ranging between 0
and 65535 and it is included in the first instance (01 hex) of the Identity Object (01 hex) in attri-
bute 3 (0003 hex).
There are two ways to set the Product Code via the Script:
1. If the value is set to
default = 0 [Set (ProductCode , 0 ) ; // default]
, then
the following applies:
The Product Code is set subject to the Fieldbus length. At the same time the Produced Size
of the UNIGATE presents the more significant byte and the Consumed Size the low-order
byte of the Product Code.
Example:
The Produced Size = 5 byte and the Consumed Size of the UNIGATE = 3 byte,
Set ( BusOutputSize , 5 ) ; // produced size
Set ( BusInputSize , 3 ) ; // consumed size
i. e. the more significant byte is 5 and the low-order byte is 3. That implies a Product Code 0503
(hex) = 1283 (dec).
2. A fixed value can be set through the Script command Set Product Code.
Please note: The command has to be set after „
BusOutputSize
“ and „
BusInputSize
“:
Example:
Set ( ProductCode , 1234 )
;
The Product Code is 1234 (hex) = 4660 (dec)
13.2 EDS file
In order to use a device with the set values in a DeviceNet network, a corresponding EDS file has
to be integrated into the configuration tool.
Below you find a sample EDS file. The file (CLDN.eds) can also be downloaded from our website
www.deutschmann.com.
13.2.1 Sample EDS file
CLDN.eds
$ EZ-EDS Version 1.0 Generated Electronic Data Sheet
$
http://www.odva.org/Home/CIPNETWORKSPECIFICATIONS/Order/Software/EZEDSFreeware-
Download/tabid/201/Default.aspx
[File]
DescText
= "Gateway
DeviceNet-RS232/485/422"; $ req, display by config tool
CreateDate = 01-16-2007;
CreateTime = 13:42:00;
ModDate = 01-16-2007;
ModTime = 15:16:21;
Revision =
1.0;