Appendix | Appendix A: Fieldbus Know how In the case of receive PDOs, the timer is used to set a watchdog interval for the PDO: the application is informed if no corresponding PDO has been received within the set period. Notes on PDO Parameterisation [ } 388] PDO Mapping PDO mapping refers to mapping of the application objects (real time data) from the object directory to the process data objects. The CANopen device profile provide a default mapping for every device type, and this is appropriate for most applications. Thus, the default mapping for digital I/O simply represents the inputs and outputs in their physical sequence in the transmit and receive process data objects.
The first 4 analog inputs or outputs are in the second PDO. These PDOs are accordingly occupied by the Beckhoff fieldbus I/O modules - if, for instance, no digital outputs are present, RxPDO1 remains empty. In this way the PDO assignment for the Compact Box Modules is determined by the signal variants: digital input/output data is in PDO1, analog in PDO2, special signals in PDO3. The extendable I/O modules occupy the PDOs automatically: during the start-up phase the coupler reads in which terminals are plugged in and which Extension Box Modules are present and allocates the data to the PDOs.
A distinction is made here between digital, analog, and special terminals, and the PDOs are each occupied with one type. In other words, different types of data (such as digital and analog inputs) are not packed into one PDO, but a new PDO is started for each new data type. Automatic PDO Assignment in Beckhoff Bus Couplers [ } 390] The default PDOs for drives contain 2 bytes each of a control and status word and a set or actual value for the relevant axis. The current mapping can be read by means of corresponding entries in the object directory. These are known as the mapping tables.
The first location in the mapping table (sub-index 0) contains the number of mapped objects that are listed after it. The tables are in the object directory at index 0x1600ff for the RxPDOs and at 0x1A00ff for the TxPDOs. TwinCAT 2 387 Version: 1.7