Fig. 10 El6731 - Beckhoff EL6731 Documentation

Master/slave terminal for profibus
Table of Contents

Advertisement

Parameterization and commissioning
ADS-WriteControl for local FC310x/EL6731 addressing (port 200)
AdsState
DeviceState State of the
STOP (6)
0x00
RUN (5)
0x00
ADS-WriteControl for addressing a configured PROFIBUS device (port 0x1000-0x107E)
AdsState
DeviceState State of the
STOP (6)
0x00
RUN (5)
0x00
ADS Error Codes
The 32 bit ADS error code always consists of a general ADS error code (Low Word, see ADS
documentation) and a FC310x/EL6731-specific, unique error code (High Word, -> chapter ADS error codes
[} 127]). The appropriate text message will also be displayed in the TwinCAT System Manager Logger.
5.1.5.2
PROFIBUS DPV1
On a C1 connection, the master supports the Read and Write services, and on the C2 connection it supports
the Read, Write, Data_Transport, Initiate and Abort services.
C1 Connection (MSAC-C1)
The C1 connection is reserved for the master that cyclically exchanges data with the slave (C1 master). In
order for a slave to be able to use the C1 connection, the slave must support DPV1 (this means that the line
"DPV1_Slave = 1" and the key word "C1_Max_Data_Len" with an appropriate length must be in the GSD
file). If it is also generally necessary to activate the C1 functionality by setting bit 7 in the PrmData byte 0
(see the slave's Profibus [} 96] tab) for the corresponding slave (this is done automatically for those
Beckhoff devices that support DPV1).
MSAC-C1-Read is shown in ADS-Read, and MSAC-C1-Write is represented in ADS-Write:
MSAC-C1 Read
ADS-Read parameters
Net-ID
Port
IndexGroup
IndexOffset
Length
Data
46
Description
FC310x/
EL6731
RUN (5)
This will stop the FC310x/EL6731, i.e. the process data
connections to all DP slaves (Data_Exchange) are removed (with
SetPrm,Unlock).
STOP (6)
This will restart the FC310x/EL6731 after a stop, i.e. the process
data connections to all DP slaves (Data_Exchange) are re-
established (normal DP start-up).
Description
FC310x/
EL6731
RUN (5)
This will stop the slave, i.e. the process data connection to the
relevant DP slave (Data_Exchange) is removed (with
SetPrm,Unlock).
STOP (6)
This will restart the slave after a stop, i.e. the process data
connection to the relevant DP slave (Data_Exchange) is re-
established (normal DP start-up).
Meaning
Net-ID of the master (see the device's ADS [} 92] tab)
0x1000 + station address of the slave
Slot number (DPV1 parameter)
Index (DPV1 parameter)
Length of the data that is to be read
In response: data that has been read
Version: 2.8
EL6731

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

El6731 seriesEl6731-0000El6731-0010

Table of Contents