Example for Script DeviceNet parameter into the EDS file and the settings of the script: SC: === Please finde the EDS example "SCDN.eds" and the Script templates "DeviceNet_SC.dss" IC: === Please finde the EDS example "ICDN.eds" and the Script templates "DeviceNet_IC.dss" CL: === Please finde the EDS example "CLDN.eds" and the Script templates "DeviceNet_CL.dss" From script: //:SetupDeviceNet; // => TBD from user Set(VendorID, 272); // info *1 Set(DeviceType, 12); // info *2 Set(DeviceRevision, 0x021E); // 02 = MajRev=2, 1E=MinRev=30 Var variable : Buffer[21]; Moveconst (variable[0], "UNIGATE-CL DeviceNet/0"); // Max_Name_Len 24 and "/0"termination SetByVar ( DeviceName , variable[0] ) ; // default ProductName = "UNIGATE-RS DeviceNet" Set(ProductCode, 0x1234); // 0x1234 => 4660 Dez, Das höherwertige Byte des Product Code stellt die Produced Size des Unigate dar und das niederwertige Byte die Consumed Size. SetByVar(BusInputSize, LenBusDataIn ); // 3 consumed size SetByVar(BusOutputSize, LenBusDataOut); // 5 produced size //************************************************** From DeviceNet EDS: [Device] VendCode = 272; ProdType = 12; MajRev = 2; MinRev = 30; ProdCode = 4660; VendName = "example Vendor Name"; ProdTypeStr = "Communication Adapter"; ProdName = "UNIGATE-IC DeviceNet"; Catalog = "V3095"; Icon = "ICDN.ico"; //************************************************** Bemerkung für den Parameter "MajRev" ========= als default für folgende Hardware gilt: - Hutschienenmodule (RS + SC + CL): MAJOR_REV 2 - IC's (Zweiplatinen bzw. DNL): MAJOR_REV 3 ********************************************************************************************************************* info *1 http://www.odva.org/ DOWNLOADS DeviceNet Vendor IDs info *2 http://www.odva.org/ TECHNICAL INFO DeviceNet Technical Overview ("Table 3: Device Types Supported by DeviceNet and CIP") Device Profile Device Type No. AC Drives 02hex Communications Adapter 0Chex // * Contactor 15hex DC Drives 13hex Dc Power Generator 1Fhex General Purpose Discrete I/O 07hex Generic Device 00hex Human-Machine Interface 18hex Inductive Proximity Switch 05hex Limit Switch 04hex Mass Flow Controller 1Ahex Motor Overload 03hex Motor Starter 16hex Photoelectric Sensor 06hex Pneumatic Valve(s) 1Bhex Position Controller 10hex Process Control Valve 1Dhex Residual Gas Analyzer 1Ehex Resolver 09hex