Beckhoff EtherCAT EL6752 Documentation page 67

Master/slave terminal for devicenet
Table of Contents

Advertisement

Parameterization and commissioning
Once the DeviceNet slave parameters have been written via the EtherCAT object 0xF800 [} 81], the
DeviceNet slave registers itself in the network and carries out the Duplicate MAC ID check.
Starting the fieldbus
During the EtherCAT state transition from PREOP to SAFEOP the DeviceNet slave starts the data
communication, i.e. it is now ready for communication with a DeviceNet master. In EtherCAT state SAFEOP
the DeviceNet slave is in IDLE mode. During the EtherCAT state transition from SAFEOP to OP the
DeviceNet slave switches to RUN mode.
Loading a new configuration
A new DeviceNet configuration can only be loaded through an EtherCAT state transition to IDLE or PREOP.
The DeviceNet slave parameters and DeviceNet slave configuration data then have to be written again.
6.7.1.3
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 [} 45]"
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).
EL6752
Version: 2.1
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents