Performing Bus Diagnostics Using Diaggetbusstate() - WAGO 750-8215 Manual

I/o-system 750
Table of Contents

Advertisement

WAGO-I/O-SYSTEM 750
750-8215 PFC200; G2; 4ETH CAN USB
10.4.1.3

Performing Bus Diagnostics Using DiagGetBusState()

To perform bus diagnostics, proceed as follows:
1.
Log into CODESYS. To do this, click in the menu bar on Online > Login.
The variable window then displays information on the variables (online
view).
2.
To start the PLC program, click on Online > Start in the menu bar. Starting
calls the function block DiagGetBusState(), and the diagnostic information
is output to the array EXTENDEDINFO.
In the online view of the variable window, the EXTENDEDINFO array provides
information on the status of the slave. An entry is reserved in the array for every
slave. The slave address is assigned to the array index. In this example, the
slaves with station addresses 2 and 5 store the diagnostic information. If the
device is configured as a slave, only the information for its own address is
available.
Display of diagnostic information
The diagnostic information is only displayed for the duration of one program
cycle. If the diagnostic information should be available for longer, a suitable
program must be written.
CANopen Master and Slave 275
Version 1.2.0, valid from FW Version 03.02.02(14)
Manual

Advertisement

Table of Contents
loading

Table of Contents