Pdo parameterisation, Consider the requirements of the application, Baud rate – BECKHOFF FC5101 User Manual

Page 49: Determine the communication type

Advertising
background image

Eiserstraße 5 / D-33415 Verl / Telefon 05246/963-0 / Telefax 05246/963-149

49

PDO Parameterisation

Even though the majority of CANopen networks operate satisfactorily with the default settings, i.e. with the mi-
nimum of configuration effort, it is wise at least to check whether the existing bus loading is reasonable: 80%
bus loading may be acceptable for a network operating purely in cyclic synchronous modes, but for a network
with event-driven traffic this value would generally be too high, as there is hardly any bandwidth available for
additional events.

Consider the Requirements of the Application

The communication of the process data must be optimised in the light of application requirements which are
likely to be to some extent in conflict. These include

·

Little work on parameterisation - useable default values are optimal

·

Guaranteed reaction time for specific events

·

Cycle time for regulation processes over the bus

·

Safety reserves for bus malfunctions (enough bandwidth for the repetition of messages)

·

Maximum baud rate - depends on the maximum bus length

·

Desired communication paths - who is speaking with whom

The determining factor often turns out to be the available bus bandwidth (bus load).

Baud rate

We generally begin by choosing the highest baud rate that the bus will permit. It should be borne in mind that
serial bus systems are always more sensitive to interference at higher baud rates, so the better rule is "just as
fast as needed". 1000 kbit/s are not usually necessary, and only to be unreservedly recommended on networks
within a control cabinet where there is no electrical isolation between the bus nodes. Experience also tends to
show that estimates of the length of bus cable laid are often over-optimistic - the length actually laid tends to be
longer.

Determine the Communication Type

Once the baud rate has been chosen it is appropriate to specify the PDO communication type(s). These have
different advantages and disadvantages:

·

Cyclic synchronous communication provides an accurately predictable bus loading, and therefore a de-

fined time behaviour - you could say that the standard case is the worst case. It is easy to configure:
The SYNC rate parameter sets the bus loading globally. The process images are synchronised: Inputs
are read at the same time, output data is set valid simultaneously, although the quality of the synchro-
nisation depends on the implementation. The Beckhoff FC510x PC cards are capable of synchronising
the CANopen bus system with the cycles of the application program (PLC or NC).

The guaranteed reaction time under cyclic synchronous communication is always at least as long as
the cycle time, and the bus bandwidth is not exploited optimally, since "old" data, i.e. data that has not
changed, is continuously transmitted. It is however possible to optimise the network through the selec-
tion of different SYNC multiples (transmission types 1...240), so that data that changes slowly is
transmitted less often than, for instance, time-critical inputs. It must, however, be borne in mind that
input states that last for a time that is shorter than the cycle time will not necessarily be communicated.
If it is necessary for such conditions to be registered, the associated PDOs for asynchronous commu-
nication should be provided.

·

Event-driven asynchronous communication is optimal from the point of view of reaction time and the

exploitation of bus bandwidth - it can be described as "pure CAN". Your choice must, however, also
take account of the fact that it is not impossible for a large number of events to occur simultaneously,
leading to corresponding delays before a PDO with a relatively low priority can be sent. Proper net-
work planning therefore necessitates a worst-case analysis. Through the use of, for instance inhibit
time it is also necessary to prevent a constantly changing input with a high PDO priority from blocking
the bus (technically known as a "babbling idiot"). It is for this reason that event driving is switched off
by default in the device profile of analog inputs, and must be turned on specifically. Time windows for

Advertising
This manual is related to the following products: