Parameterization and commissioning
EL6731
130
Version: 2.8
twice. All settings, with the exception of
Modulo
under
Additional Data_Exchange Samples
on the slave’s
tab, must be the same. A 0 is entered here for the corresponding slave in one of the boxes
and a 1 in the other box in the System Manager. The
Multiplier
under
Additional Data_Exchange Samples
is to be set for this slave in both boxes to 2, so that each of the two boxes that have been entered is only
polled in every second DP cycle (the slave is in fact polled in each DP cycle, as it is entered twice). For all
other slaves that are only to be polled once within the task cycle (and which of course are only therefore
entered once in the System Manager), the
Multiplier
under
Additional Data_Exchange Samples
is also
set to 2.
Modulo
under
Additional Data_Exchange Samples
can now be used to distribute these slaves
over the two cycles. A slave that is polled twice but which is only to have one variable image in the task is
only to be inserted once; the
Multiplier
would be set to 1, and
Modulo
to 0.
In the present example, slaves 1 and 2 would each be entered into the System Manager twice, with these
settings:
• Additional Data_Exchange Samples/Multiplier = 2
• Additional Data_Exchange Samples/Modulo = 0 or 1
Slaves 3 and 5 would only be entered into the System Manager once, and would have these settings:
• Additional Data_Exchange Samples/Multiplier = 2
• Additional Data_Exchange Samples/Modulo = 0
Slaves 4 and 6 would also only be entered into the System Manager once, with these settings:
• Additional Data_Exchange Samples/Multiplier = 2
• Additional Data_Exchange Samples/Modulo = 1
Fig. 124: Diagram showing several data samples within one task cycle
For slaves 1 and 2, the variables are present twice (in each case there 2 boxes in the System Manager). The
variables associated with the box where Additional Data_Exchange Samples/Modulo is set to 0 are sent or
received first.
5.2
EL6731-0010 - PROFIBUS slave terminal
The EL6731-0010 supports the PROFIBUS DP and PROFIBUS DPV1 protocols.
PROFIBUS DP
In order to configure the slave for cyclic DP operation, proceed as follows in the TwinCAT system manager:
Configure DP slave
It is first necessary to configure a "Profibus Slave EL6731, EtherCAT" I/O device (selecting "I/O devices" with
the right hand mouse button, and then selecting "Insert device"). The device and a box are added (to this
end the GSD file
"EL31095F.GSD"
must be in directory "TwinCAT\Io\Profibus"):
Fig. 125: Adding a „Profibus Slave EL6731, EtherCAT“ in the TwinCAT tree