Calling The Diagnostics Function Block; Figure 72: Function Block Diaggetstate() In Fup; Figure 73: Off-Line View Of Variable Window In Codesys - WAGO 750-8215 Manual

I/o-system 750
Table of Contents

Advertisement

274 CANopen Master and Slave
DRIVERNAME:
The DRIVERNAME input parameter does not need to be indicated for the
controller.
DEVICENUMBER:
The DEVICENUMBER is device-specific, and the variable "DeviceNumber"
must be adapted accordingly based on the information given in the section
"Appendix" > ... > "BusDiag.lib."
7.
Call the function block DiagGetBusState() for the slave diagnostics from the
library BusDiag.lib.
8.
Create an instance of the function block DiagGetState().
Shown in this example is "DiagnosticsNode."

Figure 72: Function Block DiagGetState() in FUP

In this example, both function blocks are called during the program sequence. To
avoid prolonging the cycle times during the program sequence, set the input
"ENABLE" for DiagGetState() to "TRUE" only when performing diagnostic
operations.
10.4.1.2

Calling the Diagnostics Function Block

Call the function block as shown in the following figure.

Figure 73: Off-line View of Variable Window in CODESYS

Manual
Version 1.2.0, valid from FW Version 03.02.02(14)
WAGO-I/O-SYSTEM 750
750-8215 PFC200; G2; 4ETH CAN USB

Advertisement

Table of Contents
loading

Table of Contents