120
••••
6 - Programming
Simatic 505 SoftShop
Performing Syntax Check
Use the Syntax Check to check your RLL program for errors that will
prevent the controller from entering RUN mode (such as
UNKNOWN
INSTRUCTION
,
LADDER ELEMENT OUT OF RANGE
,
NO
CORRESPONDING PAIR
, or
OUT OF MEMORY)
.
Syntax Check
is currently available only on 545, 555, and 575 controllers.
To execute the Syntax Checker:
1.
Click Syntax Checker on the Diagnostics menu (Alt+D, Y). The
Syntax Checker menu dialog box is displayed (Figure 6.12a).
Figure 6.12a
Up to 16 errors can be displayed on the Syntax Check screen; if more
than 16 errors are detected, the prompt line announces
ADDITIONAL
ERRORS DETECTED
. To display the additional errors, use the scroll
bar on the dialog box
.
If no errors are detected, Syntax Check reports
"No errors detected
"
on the bottom line.
If errors are detected, they will be listed within the dialog box. The logic
errors can be viewed by selecting the error and pressing the go to error
button on the dialog box.
Ladder Status (Online)
You can display the values of your addressees in the PLC by using
Status. Status can be displayed for Ladder networks. Status is an online
feature only.
Status will continue to update when you scroll and cursor within the
program.
To display Ladder status:
1.
Click Status on the Diagnostics menu (Alt+D, S). The Status
menu item displays a check if Status has been turned on.
2.
Ladder status is indicated by the following features:
•
Contacts and Coils, when on, are displayed in Red.
•
Addresses in box instructions indicate the current value for
each address.