
Welcome to the S7-PDIAG and ProAgent Sample Program for First-time Users
Getting Started - S7-PDIAG for S7-300 and S7-400 Configuring Process Diagnostics
8 A5E00494624-01
How To Test your Sample Process Diagnostics In STEP 7
Now that you have gone through the entire configuration process with S7-PDIAG
using the example project, you can simulate a process error and display the
configured messages via the STEP 7 function "CPU Message".
Requirements
In order to view the messages without using an OP, call the "CPU Message"
function included in the standard software package. Proceed as follows:
1. Switch to online mode in SIMATIC Manager.
Result: The online project window pops up.
2. Select the program example "BspPDIAG".
3. Call the "CPU Message" function via the menu command PLC > CPU
Messages ....
4. In the next dialog box "Customize", enable the check box below "A" in order to
enable you to view the Alarm_S messages. Close the dialog box.
Now that you have customized your error message display under "CPU message",
you can go ahead and trigger a process error.
How to Trigger the Error Message in FB10
Trigger a error message configured in FB10 as follows:
1. Set inputs I0.0, I0.1, I0.2 and I0.3, all at the same time. If not in possession of
digital modules, you can use the STEP 7 function "Status/Control Variable".
Result: You set output Q1.0 at FB10 to "1". S7-PDIAG recognizes this as error
due to your error definition. An error message will appear with the message
text you entered. The "CPU Message" window now displays this error
message.
What Comes Next?
In the previous chapters you have learned step-by-step how to use S7-PDIAG to
create a STEP 7 program with diagnostic functions.
You will now learn how to create a configuration for diagnosing processes on an
OP (hereafter referred to as operator panel) using the ProTool configuration
software and the corresponding optional package ProAgent (from the SIMATIC
HMI product family).
This section will then show you how to diagnose a process on the operator panel.
This will also familiarize you with the different diagnostic screens.
Getting Started with ProAgent
In the next chapters will shall show you how to use ProTool to create a
configuration with diagnostic functions for the sample project above, and how to
download it to the OP and perform process diagnostics.