The CANopen object dictionary NOTICE Deletion of objects configured offline. It is also possible to delete objects that were configured before commissioning by means of TwinCAT (offline configuration) and as a result are already generated on activating the controller. The following must be considered in this case: Some objects manage variables (e.g. CycleIndex , Quality , Status Word , Control Word etc.) that are located in the process image of the EAP device. TwinCAT accesses the process image by ADS when displaying online values. The addresses of the respective variables in the process image that were generated and activated with the help of TwinCAT are calculated after the configuration.
If an object that was configured offline is now deleted during an online configuration, this change remains hidden from TwinCAT. It therefore still accesses the calculated addresses in order to display their contents in the online view. It should be clear at this point that the online values displayed no longer match the configuration generated in TwinCAT. In this case, therefore, the online view, or the addresses of the process image respectively, are no longer a valid reference source for monitoring or even evaluating the values of the process image. It is recommended that objects configured offline be deactivated and not deleted.
If objects are deleted or added with the help of TwinCAT, new objects are not directly displayed in the Object Dictionary. Deleted objects remain in the OD and no values are displayed for their entries any longer. So that new objects are displayed and deleted objects are no longer displayed, the structure of the OD must be read again in TwinCAT. This can be done with the help of the Advanced Settings dialog (see fig. CoEOnline in chapter The TwinCAT EAP device [ } 41] ).
Activation/deactivation of objects In case certain Process Data/PDOs or complete Frames are only to be temporarily removed from the existing EAP communication, it is advisable to deactivate the objects concerned instead of deleting them. The objects TxFrame (0x8000), TxPD Assignment (0x8001), TxPD (0xD000), TxPDO (0x1A00), RxPD (0xE000) and RxPDO (0x1600) can be deactivated and reactivated by setting their subindex 0 to the value 0. The activation then takes place by setting the original value or any other value greater than 0. List-based objects Note with the list-based objects TxPD Assignment and Rx/TxPDOs that their entries always contain references to other objects.
Any change made to subindex 0 will therefore affect which and how many other objects are actually referenced. Linking of a variable from the EAP process image with a PLC variable. The linking of variables from the TwinCAT I/O level with variables from a PLC program takes place as standard in TwinCAT. If an Input/Output Variable from a PLC program is linked with a Publisher or Subscriber Variable of the EAP device, the symbol name of this variable is entered in the corresponding CANopen object of the EAP device (see next illustration). TE1000 72 Version: 1.7.1