z 2nd, 3rd, and 4th RxPDO and TxPDO mapping objects are assigned
to record the value of analog outputs and inputs respectively.
z If a device supports too many digital input or output channels which
exceed the 8 channels, the related analog default PDO mapping
objects shall remain unused and the additional digital I/Os may use
additional PDO mapping objects. This rule shall also be obeyed for
the additional analog channels. Take the RxPDO for example; there
are 11 DO object entries and 13 AI object entries in the object
dictionary. In the default situation for the
CAN-8123/CAN-8223/CAN-8423, the first 8 DO object entries will be
mapped to the first RxPDO mapping object because one DO object
entry needs one byte space. The last 3 DO object entries will be
assigned into the 5th
RxPDO because of the 2nd and 3rd rule
described above. One AO object entry needs 2 bytes of space.
Therefore, the second RxPDO mapping object loads the first 4 AO
object entries. The following 4 AO object entries are packed into the
third RxPDO mapping object, and so is the 4th RxPDO mapping
object. Because the 5th RxPDO mapping object has been occupied
by the DO object entries, the last AO object entry shall be assigned
into the 6th RxPDO mapping object.
Before applying the PDO communications, the PDO producer and the
PDO consumers need to have their PDO mapping information for each other.
On the one hand, the PDO producers need PDO mapping information to
decide how to assign the expected practical I/O data into PDO messages.
Besides, PDO consumers need the PDO mapping information to know the
meaning of each byte of received PDO message. That is to say that when a
PDO producer transmits a PDO object to PDO consumers, the consumers
contrast this PDO message with PDO mapping entries which are previously
obtained from the PDO producer. Then, interpret the meanings of these values
from the received PDO object. For example, if a CANopen device has 16 DI, 8
DO, 2 AI, and 1 AO channels. The input or output values of these channels will
be stored into several specific entries for each other. If the user-defined PDO
mapping objects have been used, then general concept for these PDO
mapping objects which have been depicted may be very useful.
CAN-8123/CAN-8223/CAN-84 2 3 user manual (ver. 2.00, Jul y / 26/2007) ------41