128 CANopen Master in CoDeSys 2.3WAGO-I/O-SYSTEM 750I/O-IPC-C10E, CANopen Master12.3.4 Performing Bus Diagnostics via DiagGetBusState()To perform bus diagnostics, proceed as follows:1. Log in to CoDeSys. To do this, click in the menu bar on Online > Login.Now the variable window displays the information on the variables (OnlineView).2. Start the PLC program by clicking in the menu bar onOnline > Run. Starting causes the call up of the function blockDiagGetBusState() and the diagnostic information is output to the arrayEXTENDEDINFO.In the online view of the variable window, the array EXTENDEDINFO providesinformation on the status of the slaves. One entry is reserved for each slave in thearray. The slave address is assigned to the array index. In this example, it is theslaves with the station addresses 2 and 5 that store the diagnostic information.NoteThe diagnostic information is only displayed for the duration of one programcycle. If the diagnostic information is to be available for longer, a suitableprogram must be written.Figure 84: Online view of the variable window (upper window) in FBD0: No slaves or non-configured slaves≠ 0: Configured slavesArray