Parameter Access Via The Dp-V1 Channel - BONFIGLIOLI Vectron Agile Series Communications Manual

Profibus
Table of Contents

Advertisement

16.2 Parameter Access via the DP-V1 Channel

The Profibus communication module CM-PDPV1 provides the possibility to use the Profibus V1-channel.
This is an alternative to the usage of the communication object PKW in the data exchange object. The
PKW object is always sent on the bus, whether it is used or not, and therefore causes needless busload.
The V1 telegrams for parameter access are special Profibus telegrams that are sent only when a
parameter access is necessary. Contrary to the usage of the PKW object, the V1 telegrams can access all
types of parameters including string parameters.
To be compatible to different types of Profibus master devices there are two different methods included
for the V1-channel. The behavior of the CM-PDPV1 concerning the different methods is set with
Mode
329.
329 DP-V1 Mode
Parameter
No.
329 DP-V1 Mode
Operation Mode
1 - Standard
2 - S7 compatible
Note:
To get access to the V1-channel on a S7 PLC the functions SFC52/53 must be used.
The two different modes are necessary because V1 telegrams are handled differently on the various
Profibus master implementations.
The standard telegram addresses a device by its Profibus node ID and selects the parameters by two 8 bit
slot
objects named
slot
node ID,
and
this setting must be used.
A S7 PLC uses two special functions SFC52/53 for the V1-channel. These functions do not offer an
independent setting for node ID,
slot
(with
always set to 0) of the device to be accessed. The only available and variable object for the PLC
index
application is
index DP-V1 Mode
slot
and
setting is to be used.
For both types of DP-V1 Mode the parameter data to be read or written uses the Motorola format. The
number of bytes depends on the parameter data type.
Parameter data types and byte order
Byte
0
Data Type
Content
High Byte, Low Byte
Data Type
Content
Data Type
Content
first char
uint/int
= 2 Bytes
long
= 4 Bytes
string
= 1 ... 99 Bytes
06/2010
Description
Standard usage of V1 channel
S7 PLC usage of V1 channel
index
and
. If the Profibus master device supports the direct setting of the Profibus
index DP-V1 Mode
329 must be set to "1 – Standard" and the handling described for
slot
and
(8 bit). If the Profibus master device does not support the setting of Profibus node ID,
329 must be set to "2 – S7 compatible" and the handling described for this
1
2
uint/int
long
High Byte, Low Byte
Profibus DP V1 Agile
Setting
Min.
Max.
1
2
Function
index
. The addressing is accomplished by the diagnostic address
3
4
string
Factory Setting
2
5
...
....
DP-V1
max. 98
31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents