Open the Program Viewer to view and monitor the Control Expert programs that are in run mode:
Step
|
Action
|
1
|
Select the Monitoring tab.
|
2
|
Expand the Program Viewer (Menu → Program Viewer).
|
3
|
Click Open Program Viewer.
|
Control Expert supports these (PLC) programs, which you can view on the Program Viewer page:
-
Ladder (LD)
-
Instruction List (IL)
-
Function Block Diagram (FBD)
-
Structured Text (ST)
-
Sequential Function Chart (SFC)
-
Function block diagram LL984
Click the PAC/PLC program section in the navigation tree view to display the selected program section.
Boolean variables are displayed in different colors:
Color
|
Indication
|
green
|
The value is true.
|
red
|
The value is false.
|
yellow
|
The value is of a type that is neither true nor false. (Use the Tool Tip below to find information about the variable’s name, type, address, and comment.)
|
Values in the Program Viewer page are refreshed more than once per second.
The links to boolean variables are displayed in different colors depending on the value of the variable to which they are connected:
Color
|
Indication
|
green
|
The value is true.
|
red
|
The value is false.
|
black
|
The value of all other links.
|
The Tool Tip help bubble appears when the cursor hovers over a variable. The bubble displays this information
-
The value of the variable if only its name is visible in the Program Viewer.
-
The type, name, address, and comment if only its value is visible in the viewer.
Click on the variable to display the bubble permanently. Right click on the variable to make the bubble disappear.
The Program Viewer gets the program directly from the /PLC. It can detect a program change in order to automatically synchronize to the PAC without any user intervention or configuration. All available sections are displayed.
The Program Viewer displays status messages in the Console pane at the bottom of the page. Here are some examples:
-
A generic error is detected.
-
The PAC/PLC is reserved by someone else.
-
The PAC/PLC must be reserved.
-
The response could not be built.
-
The request has invalid parameters.
-
A bad sequence exists.
-
The response is too big for the available response buffer.
-
The module is not configured.
-
The action is not permitted on the object.
-
There is an application/PAC compatibility error (RELOAD)
-
A general error is detected.
Values in the Program Viewer sections are refreshed more than once per second.
Control Expert Project Settings
In the Property value column, check the Program Viewer Information checkbox and the Data Dictionary checkbox in the Control Expert project settings to make the Program Viewer available with automatic synchronization of the PAC/PLC program in the Program Viewer web page.
You can configure the parameters in the URL to show or hide the navigation tree (at the left of the PLC program viewer), to show or hide the console (at the bottom of the PLC program viewer), and to focus on a specific section or object in the PLC program.
Log in to the FactoryCast web site and use these URLs:
-
Hide the FactoryCast banner:
http://<IP>/#monitoring/plcpv?standalone=1
-
View a single section:
http://<IP>/#monitoring/plcpv?showTreeview=0&showConsole=0§ion=<SECTION_NAME>&standalone=1