EL6752-0010 - Changing the DeviceNet address and baud rate using ADS

The DeviceNet address (MACId) and the baud rate of the EL6752-0010 DeviceNet Slave terminal can be set using an ADS command in addition to the familiar functions as already described in the chapter “Configuration with the TwinCAT System Manager

ADS command

Setting the MAC-ID and the baud rate using ADS

IDXGRP=0x1F480
Index Offset 0x00

LEN=6

DATA[0]=0x45
DATA[1]=0x23
DATA[2]=MACId (0 _ 63)
DATA[3]=0
DATA[4]=Baudrate (1=500k, 2=250k, 3=125k)
DATA[5]=0

Ams Net Id: die der EL6752
Ams Port: 200

After writing the command the terminal must be switched once to INIT and then back to OP. The set data can be read in the object 0xF800 Index 1 (MAC ID) and Index 2 (baud rate).

Command taking the example of the TwinCAT AMS ADS Viewer

EL6752-0010 - Changing the DeviceNet address and baud rate using ADS 1:
ADS command with the data 3C - MACId (60dec) and 01 - baud rate (500k)

Reset

Once the MAC ID and the baud rate have been set using the ADS command, the terminal stores the information persistently. Once these data have been written, the entries in the objects 0x8000:01, 0xF800:01 and 0xF800:02 are ignored! ! This concerns the start-up commands, which are then ignored by the terminal.

EL6752-0010 - Changing the DeviceNet address and baud rate using ADS 2:
Example of start-up CMD (0x8000:01; 0xF800:01 and 0xF800:02) that are ignored by the slave terminal after successfully setting the MACId and baud rate using ADS

ADS command (reset)

IDXGRP=0x1F480 
Index Offset 0x00 

LEN=6 

DATA[0]=0 
DATA[1]=0 
DATA[2]=0 
DATA[3]=0 
DATA[4]=0 
DATA[5]=0 


Ams Net Id: die der EL6752 
Ams Port: 200

In this way the data can be permanently deleted again and the terminal behaves as in the delivery condition.

Reset command taking the example of the TwinCAT AMS ADS Viewer

EL6752-0010 - Changing the DeviceNet address and baud rate using ADS 3:
Resetting the persistent data for MAC ID and baud rate