Beruflich Dokumente
Kultur Dokumente
User Interface
Sucosoft S 40
Programming Software
Introduction 3
1 Sucosoft S 40 Navigator 5
Getting to know the navigator 5
Project management 14
Generating program code 35
Using libraries 57
2 POU Editor 65
Overview 65
Declaration section 74
Instruction section 94
Global type editor 149
Syntax check and error correction 151
Creating a new POU in IL: procedure 152
Opening an existing POU 154
Converting POU types 155
Importing Sucosoft S 30 programs 157
Documentation 165
POU editor settings 169
3 Topology Configurator 173
Overview 173
Toolbar functions 176
Creating a topology configuration 181
Changing a topology configuration 198
4 Form Editor 211
Overview 211
5 Test and Commissioning 217
Overview 218
Defining the program connections 221
07/99 AWB 2700-1305 GB
1
Program test for PS 4-300 251
Program test for PS 416 261
Checking or modifying the POU 275
Checking or modifying the POU in LD
and FBD 289
PLC test PS 4-200 292
PLC test PS 4-300 315
PLC test PS 416 332
Network status display 350
Appendix 355
Modem operation 355
Use of several PS 416 CPUs in the
same rack 361
Glossary 365
Abbreviations 371
Index 373
2
Introduction
3
List of Revisions to Manual AWB 2700-1305 G
3XEOLFDWLRQ'DWH 3DJH 6XEMHFW 1HZ &KDQJH 'HOHWHG
06/98 31 Note u
208-209 Master Slave Operation with u
Remote Control
211-212 Upper figure, Button description u
displayed
214/227 NOT_READY u
223 Note u
234 Second to last paragraph u
286 D, P, T u
07/99 Entire manual -Revision for
Version 4.0
- Chaps. 1, 2 and 5
- Incorporation of
AWB 2700-1337 GB
4
1 Sucosoft S 40 Navigator
5
Sucosoft S 40 Navigator
mouse.
Standard Windows-type operations on the Navigator
desktop will not be explained here.
6
Getting to know the
navigator
Menu bar
The menu bar allows you access to the Navigator
menu via the respective menu headings.
In addition to standard menu items such as Edit,
Window and Help, the Navigator menu bar provides
the following selections:
“Project” for editing new or existing S 40 projects.
“Generate” for creating executable program
codes.
“Tools” for implementing Sucosoft Tools or linked
Windows applications, and
“Options” for importing or deleting additional
libraries, integrating Windows applications, and
for arranging your Navigator workspace.
Toolbar
The toolbar contains buttons with which you can
directly carry out the most frequently used
commands for project management and for creating
program code.
7
Sucosoft S 40 Navigator
Sucosoft Toolbar
The Sucosoft toolbar initially contains four Sucosoft
tools for project editing but can be expanded to
include buttons for starting Windows applications
according to individual needs. See chapter
“Integrating additional applications in the Navigator.”
window.
8
Getting to know the
navigator
Context menus
The context menus contain the most important
commands for a specific function. They are opened
with a right mouse click on the selected object or
window.
Short menu content depends upon the environment,
the context in which the mouse pointer finds itself,
and the selected element.
9
Sucosoft S 40 Navigator
10
Getting to know the
navigator
11
Sucosoft S 40 Navigator
Libraries”.
12
Getting to know the
navigator
13
Sucosoft S 40 Navigator
14
Project management
15
Sucosoft S 40 Navigator
16
Project management
17
Sucosoft S 40 Navigator
Output window
The output window displays status and error reports
which, for example, can occur when creating
program code.
You can observe generation progress in the Program
Code Generation window.
After a successful sequence of program code
generation the corresponding report will appear.
If an error should occur during program code
generation, an error tone and corresponding report
along with the line/column position will be issued in
the POU.
If you double-click on an error line or press the return
key the POU Editor will open automatically. The
cursor will position itself in the POU in the line/
column position in which the error was found.
The incorrect input will be displayed in colour.
You can adjust the size of the window by dragging
the horizontal margins with the mouse.
18
Project management
19
Sucosoft S 40 Navigator
Source
Project files you create in the POU Editor or in the
Topology Configurator are stored in this folder.
All saved files are automatically registered by the
Navigator under the current project. All files of the
type Topology and POU (program, function, and
function block) are therefore displayed in the file view
window on the right. The Topology Configurator or
POU Editor icon before the file name allows you to
quickly arrange the file types.
You can find additional data on the type of POU in
the Type column. Other columns show you the size
of the file, when it was last modified, and registration
status.
When you create Source sub-folders, these will be
offered as destination folders in addition to Source
when you save a POU in the POU Editor.
07/99 AWB 2700-1305 GB
20
Project management
Devices
All controller-specific files related to the project are
stored in this folder.
Device folders PS 416, PS 4-300 and PS 4-200 are
sub-filed in the device tree structure view window on
the left.
After selecting the corresponding folder for the type
of PLC chosen, PS 416 for example, you will see the
make file created and the program code files in the
file view window. The structure and content of the
tree view window are pre-set and cannot be
modified.
When you produce a program code file Sucosoft
S 40 creates a sub-folder for the folder of the
corresponding PLC type, identified by the name of
the make file belonging to it. If you select the
additional sub-folder, all files logically connected to
the make file will be displayed in the file view window
on the right. Starting from this sub-folder you can
initiate a print or delete task via the context menu.
Starting with a double-click in file view you can
navigate between project-relevant files and Sucosoft
S 40 Tools, starting Test and Commissioning, for
example. In addition, you can start a print or delete
task in this window for each individually-selected
make file via the context menu.
07/99 AWB 2700-1305 GB
21
Sucosoft S 40 Navigator
22
Project management
23
Sucosoft S 40 Navigator
Deleting a project
Precondition: The project is open.
E Select Project ➞ Delete.
The open project will be deleted directly, or after a
confirmation, depending on the setting in Options ➞
Options ➞ Confirm Deletion. This latter option is the
default setting.
Copying projects
Precondition: The project is open.
Copying a project is carried out via the menu with
Project ➞ Copy... or with the corresponding button.
24
Project management
25
Sucosoft S 40 Navigator
Renaming projects
Precondition: The project is open.
E Select Project ➞ Rename....
The Rename Project dialog window will open:
26
Project management
Saving projects
You save a project in compressed form via the menu
point Project ➞ Save..., or with the corresponding
button.
When the project to be saved contains imported
libraries please read the section “Saving Libraries” in
the chapter “Using Libraries”.
27
Sucosoft S 40 Navigator
Restoring projects
You can restore a saved project to a destination
directory via the menu with Project ➞ Restore..., or
with the corresponding button.
28
Project management
29
Sucosoft S 40 Navigator
30
Project management
Registering sources
In order to edit a POU copied with a different tool,
Explorer for example, it must be registered.
POUs not yet registered are indicated by the lack of
a checkmark in the Registered column of the file view
window.
Precondition: A project is open and the copied files
are displayed in the Source branch.
E Select Project ➞ Register sources.
The new status will be indicated by a checkmark
in the Registered column.
Printer Setting
E Select Project ➞ Printer Setting....
The Printer Setting dialog window offering you
various printer setting options will open. It enables
you to specify a printer, determine a default printer,
and set paper format as well as page layout (portrait
or landscape). You can configure your printer
connection with the Network button. The Options
button allows you to set printer-specific properties.
07/99 AWB 2700-1305 GB
31
Sucosoft S 40 Navigator
Printing
Unlike the printing function of the individual S 40
tools, the Navigator printing function allows you to
print files individually or all together. From here you
can print without forms and in text mode.
Printing all files
E To print all the files belonging to an application
program, click the Devices tab and select the
make file in the File View window belonging to the
application program.
E You can then print by means of the menu point
Project ➞ Print, via the context menu, or with the
button.
32
Project management
33
Sucosoft S 40 Navigator
Summary
With the help of Navigator Project Manager functions
you can create a new project and structure it clearly
by setting up additional sub-folders for receiving
sources.
Navigator enables you to delete, copy, and rename
projects, to register files trom other sources (POUs
and .dcf files), and to set up printing and print.
Navigator also simplifies saving and restoring of
projects.
07/99 AWB 2700-1305 GB
34
Generating program code
35
Sucosoft S 40 Navigator
36
Generating program code
PS 416:
PS 416-CPU-200,
PS 416-CPU-300,
PS 416-CPU-400
E Select the desired PLC type in the selection
window in the toolbar, or
E Select Generate ➞ Select PLC... and in the Select
PLC dialog window which then opens choose the
desired PLC type from the PLC Type list box.
37
Sucosoft S 40 Navigator
38
Generating program code
39
Sucosoft S 40 Navigator
Forcing
Online programming
Compare PLC – PC
40
Generating program code
Transfer PC – PLC
Set date in PLC
When the correct password is entered all functions
are freely available until the Test and Commissioning
tool is closed.
If there is no response to a requested password or in
the case of an incorrect entry, an error report will
appear and the functions will not be performed.
Version Number: A version code for the program to
be generated, composed of a maximum of four
letters and numbers, can be assigned in this field.
The version number will be displayed in the Program
Status dialog box of the Test and Commissioning
tool under Program Version. This facilitates
identifying various program versions when
troubleshooting.
Startup behaviour after NOT READY
In the event that the running application program is
interrupted by an error which shuts down the
program - exceeding the maximum cycle time, for
example - the controller will switch to Not Ready
status. This can occur at any place in the program.
Make sure, therefore, that any possibly inconsistent
variable or marker values in Warm Start Behaviour
are avoided, i. e. that no dangerous circumstances
can arise! The startup behaviour after Not Ready
described is only effective and appropriate with the
switch in the RUN position.
Halt: After a program error
there is no restart.
Warm Start: Selects a PLC warm start.
07/99 AWB 2700-1305 GB
41
Sucosoft S 40 Navigator
Cycle time
The maximum permissible cycle time for the program
in a range from 1 ms to 255 ms is determined in this
entry field. The default setting is 60 ms; it should only
be set to a lower value when you know precisely the
typical program cycle time and wish to achieve such
precise disturbance control. If the program exceeds
the maximum set cycle time while running, the
controller will switch to Halt.
E Assign the marker range for PLC working memory
under the Compiler register.
42
Generating program code
43
Sucosoft S 40 Navigator
44
Generating program code
45
Sucosoft S 40 Navigator
46
Generating program code
47
Sucosoft S 40 Navigator
48
Generating program code
49
Sucosoft S 40 Navigator
50
Generating program code
51
Sucosoft S 40 Navigator
52
Generating program code
Management
Version number: The version number allows you to
assign a version code consisting of a maximum of
four characters and digits for the program to be
generated. The version number is displayed in
the Program Status dialog box of the Test and
Commissioning tool under Program Version.
This allows easy identification of different program
versions when troubleshooting.
53
Sucosoft S 40 Navigator
54
Generating program code
55
Sucosoft S 40 Navigator
56
Using libraries
57
Sucosoft S 40 Navigator
Library view
After clicking the Libraries tab, the Tree structure
window will display the Library file tree with the
PS 416, PS 4-300 and PS 4-200 device folders as
sub-folders and their corresponding library groups.
See Figure 40.
With the Library View you can can get a quick
overview of which modules, i. e. which manufacturer
and user-defined function blocks and functions are
available for efficient program creation.
Additionally, the Help function offers you
explanations for the modules (see the section “Using
Library Help”).
No further sub-folders can be created.
When you select a sub-folder, a folder with
manufacturer-defined libraries and, if imported, a
folder with user-defined libraries will be diplayed.
By double-clicking on the corresponding folder, the
PLC-specific functions and function blocks
belonging to that library will be displayed in the File
View window.
58
Using libraries
59
Sucosoft S 40 Navigator
Creating a library
Creation and subsequent modification of a library will
only be described briefly here. You will find a detailed
description in the handbook “S 40 Library Manager”
AWB 2700-1366 GB.
07/99 AWB 2700-1305 GB
60
Using libraries
Using a library
Imported libraries are available to all projects except
the original library project. A library cannot be
imported while the Libary Origination Project is open
in Navigator.
61
When no library module is being used in a library
user project and you wish to conserve memory
for saving the project.
When you wish to subsequently edit a library
module in the original library project.
E Select Edit ➞ Activate/Deactivate or Activate/
Deactivate in the context menu.
62
Using libraries
Saving libraries
Libraries cannot be saved individually, only along
with a project as a component.
When you save a project, all currently imported
libraries will be saved with it.
Restoring a library
Libraries cannot be restored individually,only as part
of a a project.
When you restore a project containing a library, it will
be stored under the corresponding PLC type folder in
the Devices project branch. To transfer the library to
Sucosoft S 40 management, you must import it as
described above.
63
64
07/99 AWB 2700-1305 GB
2 POU Editor
65
POU Editor
66
Overview
Context menu
Context menus offer you a convenient work
assistant. These are short menus containing the
most important commands for a specific function.
They are opened by a right mouse-click on the
selected object or window. Short menu content is
dependent on the environment, the context in which
the mouse pointer is located, and the selected
element.
67
POU Editor
Program POU
The program POU represents the main program.
All project variables firmly defined at a physical
address (markers and inputs and outputs, for
example) are declared in the program. Functions
blocks and functions can be called up from a
program.
Function POU
Functions are also structuring elements for your PLC
program. They are used by programs or FBs and can
themselves call up other functions. A function can
display one or any of many input parameters it is
linked to and delivers the result as a return value.
In contrast to a function block, a function only returns
one element.
07/99 AWB 2700-1305 GB
68
Overview
69
POU Editor
VAR-Input Input ✓ ✓
VAR_Output Output ✓
Var_In_Out In_Out
VAR_Global Global ✓
VAR_External External ✓
Var Local ✓ ✓ ✓
Type Type ✓ ✓ ✓ ✓
70
Overview
programming languages.
71
POU Editor
72
Overview
POU Info
The Editor feature, POU Info, offers effective
assistance in the use of your POUs. You can edit
important POU data such as destination PLC type,
author, date created, comments on the POU, etc. in
the left portion of the dialog box displayed below.
The edited information on a POU is displayed when
you select the POU in the Navigator and select the
“About” option in the Edit menu or you can call it up
via the context menu.
E With an open POU select File ➞ POU Info... and
click the Prototype button in the dialog box that
opens. The following figure will appear:
73
POU Editor
Element Entry
Attribute optional
Address optional
Comment optional
74
Declaration section
75
POU Editor
76
Declaration section
Example:
By declaring a derived data type “Pressure” as an
INT data type with a limited value range, the new
data type can be used for declaring variables:
7<3(
3UHVVXUH,17
(1'B7<3(
9$5
&KDPEHU3UHVVXUH3UHVVXUH
(1'B9$5
77
POU Editor
78
Declaration section
79
POU Editor
80
Declaration section
81
POU Editor
type with the help of the Global Type Editor are listed
under the User tab.
82
Declaration section
83
POU Editor
84
Declaration section
85
POU Editor
86
Declaration section
87
POU Editor
88
Declaration section
89
POU Editor
90
Declaration section
91
POU Editor
92
Declaration section
93
POU Editor
94
Instruction section
Inserting operators
E Enter the program. You can enter the operators
directly or take them out of the toolbox if you have
previously activated it by View ➞ Toolbox. You
can also take them out of the Operators list box
which you have to open first via the menu point
Insert ➞ Operators... or by selecting Operators in
the context menu.
07/99 AWB 2700-1305 GB
95
POU Editor
.
Inserting variables
E You can easily insert previously declared
variables from the list in the dialog available via
Insert Variable ➞ <All/Input/Output etc.>.
E This Dialog window is opened with Insert ➞ Insert
variable ➞ <All/Input/Output etc.> ,
or
via Insert Variable in the context menu.
07/99 AWB 2700-1305 GB
96
Instruction section
97
POU Editor
98
Instruction section
If you are saving the file for the first time you will be
asked in the following dialog window for the name
under which the POU is to be saved. The current
project is pre-set a folder. In the window that opens,
select, if applicable, one of the sub-folders you
created. POUs are always saved in the project in the
Source folder or any possible Source sub-folders.
99
POU Editor
100
Instruction section
Z Z In N S S N E
o o s e ta ta a n
o o e g rt rt m te
m m rt a e r
te L F n
In O in D B n e
u p n D e tw
t u e tw
t tw n o
e o rk
o tw rk
rk o a c
rk s o
m
ju m
m e
p n
d t
e
s
ti
n
a
ti
o
n
You can also use the context menu (press the right
mouse button) to speed up the completion of
different stages of the POU. You must still, however,
use the keyboard for certain programming entry
tasks.
The following procedures for creating a program in
LD are based primarily on using context menus.
07/99 AWB 2700-1305 GB
101
POU Editor
102
Instruction section
Creating a POU in LD
Precondition: The POU Editor is open.
E First select the program POU, declare variables
as described on page 74 in the chapter
“Declaration section”, and then click Use LD
Editor in the toolbar.
E Enlarge the LD Editor window.
E Next to the standard toolbar you should also
display the LD editing toolbar via View ➞ LD/FBD
Toolbar.
The following functions for program entry are
available from the Insert menu:
103
POU Editor
104
Instruction section
105
POU Editor
Alternative:
E Select the operator from the list box in the
Operators dialog box which you have opened
with the Insert ➞ Operators... menu point or via
Operators... in the context menu. In the right-
hand portion of the list box are listed all operators
available in the first selected group “Logic”. When
you select another group the operators belonging
to that group will be listed (see Figure 64).
E Select the group and the required operator and
click on Accept. The selected operator will be
inserted at the cursor position if the logic check
allows it. Otherwise it will be rejected with an
appropriate message.
Inserting FB variables
Function blocks must exhibit at least one Boolean
input and output either directly or indirectly
connected to the appropriate current rail.
E Position the cursor on the required spot in the
07/99 AWB 2700-1305 GB
106
Instruction section
107
POU Editor
108
Instruction section
Input Output
Input_1 Result
07/99 AWB 2700-1305 GB
109
POU Editor
0001
Inserting an OR sequence
E Mark the contact or the network area to which a
parallel contact should be added.
0001
Input_1 Result
Input_1 Result
Input_2
Input_1 Output_1
Output_2
07/99 AWB 2700-1305 GB
110
Instruction section
0001
Input_1 Output_1
undef_opd
Output_2
S
07/99 AWB 2700-1305 GB
111
POU Editor
Input_4 Input_5
Input_4 Input_5
Input_3 Input_4
112
Instruction section
Input_3 Input_4
Input_1 Input_2
>>Label_1
0001
Input_1 Input_2
>>o Label_1
07/99 AWB 2700-1305 GB
113
POU Editor
Deleting elements
You can delete a single graphical element or a group
of adjacent elements. If you wish to delete several
elements in mixed AND/OR sequences the POU will
only allow element groupings resulting in a logical
network content, i. e. there must always remain at
least a valid network start after deleting.
In networks with conditional jump operations,
JMPCN or RETC for example, the entire logic
sequence can be deleted. A JMP or RET
unconditional operation will remain in the network.
In networks with conditional allocation instructions
such as ST, STN, S and R, at least one contact must
remain after the deletion.
When deleting output symbols at least one output
must be left over.
Naming elements
The inputs and outputs must be completed by
entering variable names. Parameter passing in the
program requires the assignment of variable names
to the connections of functions and function blocks.
Inputs can also be assigned constants, i. e. values.
E Select the element for which you wish to enter an
element name.
0001
undef_opd
>>undef_opd
114
Instruction section
Input
>>undef_opd
115
POU Editor
0001
Input
>>Label_3
Network comment
07/99 AWB 2700-1305 GB
Input
>>o Label
116
Instruction section
117
POU Editor
118
Instruction section
Network graphics
Network graphics consist of graphical elements
(block symbols) with input connection lines on the
left and output connections lines on the right side.
Data flows over these connection lines and then over
the further-extending horizontal or vertical
connection lines to graphical elements where it is
processed and led on to the output.
Outputs from one block, as well as those of different
blocks, cannot be connected together because the
source of the data to be passed on would not be
clear.
Data flow can only occur from an output or from a
variable/constant to one or several inputs of a
subsequent block.
Declare the variables in the Variable Editor common
to the programming languages. You will find a
detailed description of variable declaration in the
section “Declaration section” beginning on page 74.
IL, LD, and FBD programming languages are
interchangeable. You can therefore begin writing a
program in FBD and then display or continue writing
it in IL or LD. While doing this, you must take note of
the restrictions which are explained in the section
“Changing programming language” beginning on
page 142.
To create a POU in FBD activate the FBD POU Editor
in the instruction section via the corresponding
toolbar button.
119
POU Editor
120
Instruction section
121
POU Editor
Procedure (Jumps)
Select JMP or RET operators from the menu via
Operators ➞ Group - Branches or from the context
menu (see Figure 74, “List of Branch operators”).
E The jump symbol, the element for entering and
editing the jump destination will appear in the
new network.
E Press the Enter key and the Name Element dialog
box in which you enter the jump destination will
open.
07/99 AWB 2700-1305 GB
122
Instruction section
by clicking on Help.
123
POU Editor
124
Instruction section
0004
Counter_1
_16Bit Counter
Forward
>
Backward
>
Set
>
ReSet Zero
InputValue OutputValue
Inserting functions
E Select Insert ➞ Start FBD Network or click the
corresponding toolbar button when the function
is designated for a separate, new network. If you
wish to insert the function into an existing
network observe the following procedure.
E Select the complete connection line after which a
function is to be inserted.
0001
SUB
AND
Position
Running to
Reference point
right
Enable
:=
125
POU Editor
126
Instruction section
0001
SUB
ispositive AND
Position
Running to
Reference point
right
Enable
:=
127
POU Editor
128
Instruction section
Deleting networks
E Select the network to be deleted.
E Press the DEL key or select Delete from the menu
bar or the context menu. The selected network
will be deleted.
Marking the network as a jump destination
A network can be marked as a jump destination for a
jump operation programmed in another network.
E Position the cursor in the network you wish to
mark as a jump destination.
E Select Insert ➞ Network Label or click the
corresponding toolbar button:
0005 Label_2
07/99 AWB 2700-1305 GB
Output
Input
:=
129
POU Editor
Editing networks
You can insert graphical symbols such as operators
and functions into an existing network. You can
thereby program several operators and functions in
any sequence in a network.
When combining functions using operators with
more than two inputs, an additional graphical symbol
can only be inserted in front of the first function input.
.
0001
SUB
Measuring
Value_1 ispositive
Measuring Result
Value_2
:=
07/99 AWB 2700-1305 GB
130
Instruction section
SUB
Measuring Value_1
ispositive AND
Measuring Value_2
Result
undef_opd
:=
2. Inserting functions
See the section “Creating a new FBD POU”
07/99 AWB 2700-1305 GB
131
POU Editor
0001
AND
Automatic
OR
Running to right
AND
Manual operation
Motor_right
Key_right
:=
AND
Automatic
Motor_right
Running to right
:=
Inserting inputs
The number of inputs can only be increased for logic
sequence symbols and the arithmetic operations
07/99 AWB 2700-1305 GB
132
Instruction section
0001
OR
Off undef_opd
Halt
R
OR
Off
undef_opd undef_opd
Halt
R
133
POU Editor
0001
AND
Input_1
Input_2
Input_3
Result
Input_4
:=
0001
AND
Input_1
Input_3 Result
Input_4 :=
134
Instruction section
OR
Malfunction
AND
Display of
Display of
malfunction
malfunction
Acknowledge
:=
135
POU Editor
OR
Malfunction
Display of AND
malfunction
undef_opd
Acknowledge
:=
Display of
malfunction
:=
0001
OR
Malfunction
Display of AND
malfunction
Display of
malfunction
Acknowledge
:=
136
Instruction section
OR
Malfunction
Display of AND
malfunction Display of
malfunction
Acknowledge
:=
undef_opd
:=
Deleting outputs
Individual outputs or several adjacent outputs can
be deleted. At least one output symbol must be left
when outputs are deleted
E Mark the output range to be deleted.
0001
AND
Input_1
Output_1
Input_2
:=
Output_2
S
Output_3
R
will be deleted.
137
POU Editor
0001
AND
Input_1
Output_3
Input_2
R
Negating inputs
You can negate inputs assigned to Boolean data
types or bit pattern data types.
E Mark the input to be negated.
0001
AND
Input_1
Result
Input_2
:=
0001
AND
Input_1
Result
Input_2
:=
Negating outputs
A
07/99 AWB 2700-1305 GB
138
Instruction section
0001
AND
Input_1
Result
Input_2
:=
0001
AND
Input_1
Result
Input_2
NOT
Naming elements
The inputs and outputs must be completed by
entering variable names. Parameter passing in the
program requires the assignment of variable names
to the connections of functions and function blocks.
Inputs can also be assigned constants, i. e. values.
1. Naming inputs
E Mark the input for which you wish to enter a
variable name or a constant.
E Press the Enter key to open the Name Element
dialog box.
07/99 AWB 2700-1305 GB
139
POU Editor
jump destination.
E Mark the jump symbol for which you wish to
define a jump destination.
140
Instruction section
0001
And
Starting position
Start
>>undef_opd
0001
And
Starting position
Start
>>System_1
141
POU Editor
0001
Network comment
And
Starting position
Start
>>System_1
142
Instruction section
143
POU Editor
144
Instruction section
Solution
Programming a conditional jump of the CAL function
block call when the variable Palletizing is “0” results
in an IL program that can be displayed graphically.
/'13DOOHWL]LQJ
-03&/DEHOB
&$/&RXQWHUB
&8 /LJKWEDUULHU
5(6(7 5(6BEXWWRQ
39
_
IXOO 4
/DEHOB
0011
Palletizing
>>o Label_4
0012
Counter_3
CTU
Lightbarrier CU
>
120 PV CV
0013 Label_4
07/99 AWB 2700-1305 GB
145
POU Editor
Solution
$1'EHIRUH25VHTXHQFH
/')%'FRPSDWLEOH3DUW
/'YDU
$1'YDU
67$1'BUHVXOW
07/99 AWB 2700-1305 GB
$1'EHIRUH25VHTXHQFH
/')%'FRPSDWLEOH3DUW
/'YDU
25$1'BUHVXOW
25YDU
6725BUHVXOW
146
Instruction section
0001
AND-before-OR sequence,
AND
var2
AND_result
var3
:=
0002
AND_before_OR_sequence,
OR
var1
AND_result
OR_result
var4
:=
Line-oriented comments
Line comments are possible in IL at any point in the
program. In graphical programming languages,
comments can only be entered in the network
header.
When a program written in IL is displayed in LD or
FBD, all line comments of an IL sequence will appear
in the network header.
These comments can then no longer be re-assigned
07/99 AWB 2700-1305 GB
147
POU Editor
Example:
&RXQWLQJWKHSURGXFHGSDUWV
&$/&RXQWHUB
,QVWDQFHRIWKH&7'IXQFWLRQEORFN
&' 3DUW
3XOVHVIURPDOLJKWEDUULHU
/RDG 6HW.H\
39
4XDQWLW\LQDSDFNLQJXQLW
_HPSW\ &RXQWHUB4
&RXQWHUHODSVHG
LH3DFNLQJIXOO
&9
0003
Counter_4
CTD
Part CD
>
Set key
LOAD Q empty
50 PV CV
CALCounter_4(
CD := Part
LOAD :=SetKey,
07/99 AWB 2700-1305 GB
PV :=50
|
empty:=Counter_4.Q
:=CV
)
148
Global type editor
Global type editor You can easily make complex types of declarations,
e. g. structures you wish to use for several POUs
within the overall project, by declaring them in a
separate editor that you can call up via the menu bar
by selecting File ➞ Open Global Types.
149
POU Editor
150
Syntax check and error
correction
Syntax check and error Precondition: You have written the instruction
correction section, all variables used have been declared and
the POU has been saved.
E Select File ➞ Syntax Check,
or
click on the Syntax Check toolbar button.
151
POU Editor
152
Creating a new POU in IL:
procedure
153
POU Editor
Opening an existing If you wish to The Open File dialog box will open.
POU continue working on an existing POU you can open
it in the following way:
E Select File ➞ Open POU, or click on the
corresponding toolbar button:
154
Converting POU types
Converting POU types Use this option when you want to use the contents of
an existing POU in a new POU of a different type
(program, function, or function block) or when you
have selected the wrong POU type when creating the
POU with File ➞ New POU.
Precondition: The POU whose type you wish to
change is open in the POU Editor.
07/99 AWB 2700-1305 GB
155
POU Editor
156
Importing Sucosoft S 30
programs
157
POU Editor
Type of conversion
Use a newly created S 40 project for the conversion.
The conversion will change the S 30 program into a
program type POU and, if necessary, into one or
several function block POUs.
When converting, the S 30 converter always
automatically creates S 40 program equivalents.
For example, a program for the PS 4-200 compact
PLC is made from an S 30-S 4- or S 30-S 3 program.
S 30-S 316 source programs are converted to a
program for a PS 416.
Due to the differences between the S 30 IL and
IEC 1131 the cross compiler may not be able to carry
out complete conversions in some cases and may
not be able to generate syntactically correct POUs.
A syntax check should therefore always be carried
out after importing in order to rectify any errors
reported.
The converter can only handle blocks of up to
500 lines. Source programs with large blocks are
displayed in the Status display of the converter and
must be reduced by the user.
Conversion procedure
E Open the new S 40 and call up the POU Editor.
Make sure there are no POUs in the project since
any POU will be overridden by the imported POU
of the same name.
E Select File ➞ Import...,
or
enter the key combination Ctrl. + T.
07/99 AWB 2700-1305 GB
158
Importing Sucosoft S 30
programs
159
POU Editor
160
Importing Sucosoft S 30
programs
161
POU Editor
162
Importing Sucosoft S 30
programs
163
PP and SYS commands
The PP operands and the SYS commands are
transferred to the S 40 source program without
any changes. They create a syntax error when
compiled. In this case, adapt your program logic
accordingly.
Flash markers
The 3 flash markers (e. g. FRQ1) of the PS 316 are
replaced by suitable time generators.
Timers
The timers (e. g.T24) of the PS 316 are replaced
by suitable timers.
NOP command
This command does not exist in S 40. It is not
converted.
TEST command
The TEST command is replaced by the functions
"Issuer" and "IsPositiv".
# define command
The # define command does not exist in S 40.
It is commented out in parentheses.
164
Documentation
165
POU Editor
Printing a POU
Precondition: The POU to be printed is open.
E Select File ➞ Print...,
or
click the corresponding toolbar button:
166
Documentation
printed.
167
POU Editor
168
POU editor settings
Cross-reference file
The cross-reference file provides you a listing of all
declared variables including which variables are
written in which line of the instruction section and
which operations are used with them. It also provides
the physical address or location or directly
represented variables.
Open the cross-reference file by choosing File ➞
Cross-Reference File
POU editor settings You can set the POU Editor to your personal
preferences via the Options menu point:
07/99 AWB 2700-1305 GB
169
POU Editor
170
POU editor settings
171
172
07/99 AWB 2700-1305 GB
3 Topology Configurator
173
Topology Configurator
174
Overview
175
Topology Configurator
176
Toolbar functions
177
Topology Configurator
178
Toolbar functions
179
Topology Configurator
180
Creating a topology
configuration
0 1 2 3 4 5
PS4-201 SBI LE LE LE LE
Device A
CPU
1 2
Modules
1 PS4-141
Device B
Lines CPU
2
Slaves
PS4-201 SBI LE
Device C
CPU
1
EM Device E
2
EM Device F
Modules
1 PS4-201 SBI LE LE
Device D
CPU
1
EM Device G
Slaves
2
EM Device H
2
EM LE LE Device I
Modules
181
Topology Configurator
182
Creating a topology
configuration
183
Topology Configurator
184
Creating a topology
configuration
185
Topology Configurator
186
Creating a topology
configuration
187
Topology Configurator
188
Creating a topology
configuration
Slots
0 2 4 5 6 7 8
S A A I O
Power CPU
B I I N U Device A
supply
I N O P T
unit
Lines 2
1
PS 4-200 Device B
0 2 3 4
S A A
Stations Power
B I I Device C
supply
I N O
unit
0 2 4 5 6 7
A A I O S
Power CPU
I I N U B Device D
supply
N O P T I
unit
1 Device F
1
EM LE LE
Stations
Module
2
EM LE LE Device E
07/99 AWB 2700-1305 GB
Module
189
Topology Configurator
190
Creating a topology
configuration
configured.
The number of lines which can be connected to the
master is dependent on the type of master.
191
Topology Configurator
192
Creating a topology
configuration
193
Topology Configurator
194
Creating a topology
configuration
195
Topology Configurator
196
Creating a topology
configuration
197
Topology Configurator
198
Changing a topology
configuration
199
Topology Configurator
200
Changing a topology
configuration
Replacing a device
E Load an existing configuration file using the Load
Configuration button or by choosing File ➞ Open
in the menu of the Topology Configurator. The
configuration will appear in the graphic window.
E Select the device you wish to replace.
201
Topology Configurator
202
Changing a topology
configuration
203
Topology Configurator
204
Changing a topology
configuration
205
Topology Configurator
206
Changing a topology
configuration
207
Topology Configurator
208
Changing a topology
configuration
209
210
07/99 AWB 2700-1305 GB
4 Form Editor
Overview The Form Editor is used to create your own forms for
printing out files. To print a file, select the form
required from the Form list box.
211
Form Editor
Ope Ope Sav Def Def Def Pos Pos Pos Pos Pos Pos Dra Dra Dra Pos Loa Edit Brin Sen
n ne n ex e cu ine l ine l ine f ition ition ition ition ition ition w lin w re w ci ition d bi ent g fo d to
w d istin rren ine t ine c ill co text dat tim pag file pro e
ctan rcle text tmap ered rwa bac
ocu g d t do hick olo lou ou e e
e n nam ject r k
men ocu cum nes ur r tput umb e nam gle
output in cur eleme d
m
t en ent s rag er e r e nt f tsn
t e in orm
form
212
Overview
213
Form Editor
214
Overview
Editing elements
Precondition: The form to be edited is loaded.
E Choose Elements ➞ Edit element or click the
corresponding button in the toolbar
E Select the element to be edited and drag it to the
required position while keeping the mouse button
pressed.
Make sure that all bitmaps (*.bmp) that are used
in each form are stored in the same directory as
the form file itself. Large graphic elements such
as page frames may cover smaller elements
making them no longer visible or accessible.
The top element must then be moved or
deleted.
07/99 AWB 2700-1305 GB
215
216
07/99 AWB 2700-1305 GB
5 Test and Commissioning
217
Test and Commissioning
218
Overview
Program test
connection
no
OS present?
yes
Transfer OS or boot from MC
(PS 416)
yes
PLC test 1
no
2
Start program
Test/modify program
yes
Wiring test?
no
Stop program (HALT)
yes
Check further POUs?
3
07/99 AWB 2700-1305 GB
no
Terminate connection
219
Test and Commissioning
PLC test
Wiring test
220
Defining the program
connections
Defining the program E Click the Test and Commissioning icon in the
connections Sucosoft Manager or in the toolbar.
Test and Commissioning
This will open the Test and Commissioning main
window with the Connection List:
07/99 AWB 2700-1305 GB
221
Test and Commissioning
222
Remote diagnostics a
modem
223
Test and Commissioning
Telephone RS 485/
RS 232
section
RS 232
224
Remote diagnostics a
modem
Warning
Remote programming allows you to program a
running PLC. Since you can influence running
processes and machines, this can present a
potential hazard for persons and machinery.
Only change the settings of a PLC – in particular
during online programming and forcing outputs
remotely – if you are sure it does not cause any
hazardous conditions for persons or machinery.
225
Test and Commissioning
226
Remote diagnostics a
modem
227
Test and Commissioning
228
Remote diagnostics a
modem
229
Test and Commissioning
230
Remote diagnostics a
modem
231
Test and Commissioning
232
Remote diagnostics a
modem
233
Test and Commissioning
234
Programming via
Suconet K
Programming via PLCs that are designed for use in a Suconet network
Suconet K can be individually programmed just like stand-alone
PLCs using a programming cable connected in turn
between each PLC and the programming device
(PC).
Sucosoft also allows one or more subordinate PLCs
to be programmed and commissioned via the
Suconet network from a central “master” PLC which
is connected to the programming device using a
single programming cable. The subordinate PLCs
must be stations on Suconet K lines which are
directly managed by the master (their remote
expansions cannot be programmed via Suconet
07/99 AWB 2700-1305 GB
235
Test and Commissioning
PC
Sucosoft
Programming connection
(ZB 4-303-KB1)
PS 4-201-MM1
from V 1.05
Master PLC
PS 4-201-MM1
Suconet K
from V 1.05
Line 1
station 1
236
Programming via
Suconet K
PC
Sucosoft
S 40
Programming cable
(PS 416-ZBK-210)
NET 400
V 1.05
PS 416
Power CPU
Master PLC
supply
PS 416
Power CPU
Station 1
Suconet K supply
Line 1
237
Test and Commissioning
238
Programming via
Suconet K
Connection List.
In addition, the programming device must already
have program code with the required final topology
configuration for each slave PLC. At this stage, the
239
Test and Commissioning
240
Programming via
Suconet K
241
Test and Commissioning
242
Program test for PS 4-200
Program test for The following steps must carried out before you can
PS 4-200 test the program in the controller:
Establish the connection between the
programming device and the PLC.
Transfer the program.
Start the program.
Some of these steps are only required when you test
the program and the controller for the first time and
need not be repeated for subsequent program tests.
243
Test and Commissioning
244
Program test for PS 4-200
245
Test and Commissioning
Starting programs
Starting programs from Sucosoft
E Click the Program Status button in the main
window of Test and Commissioning to open the
Program Status window:
246
Program test for PS 4-200
247
Test and Commissioning
Switch position
This shows the current position of the CPU operating
mode switch as follows:
RUN: A warm or cold start is possible.
RUN_MR: A cold start is possible.
HALT: PLC cannot be switched to RUN
Program information
The current program execution parameters are
shown as follows:
Program name: Name of user program in the PLC
Program version: version number of the program
as set in the Code Generation function under
Options ➞ Configure PLC.
Code size: the size of the executable code of the
PLC user program
Data size: size of the data area for the user
program
Program date: the date and time of the program
generation
Startup behaviour after NOT READY (page 250)
Program execution type – cyclical
Maximum permissible cycle time: if the specified
time is exceeded, the PLC switches to HALT
Cycle time: when the PLC is in the RUN status,
this displays the current cycle time
These parameters correspond to the values used for
the generation of the program code, i. e. the
standard settings or the settings which you made in
the Code Generator under Options ➞ Configure
PLC. The parameters cannot be changed in this
07/99 AWB 2700-1305 GB
window.
248
Program test for PS 4-200
249
Test and Commissioning
Diagnostics button
This opens the Program Diagnostics window
showing additional information on the status of the
user program. The detected errors and the number of
errors are highlighted in red. The diagnostics bits and
the diagnostics counter can be reset:
Switch
250
Program test for PS 4-300
Program test for The following steps must be carried out before you
PS 4-300 can test the program in the controller:
Establish the connection between the
programming device and the PLC
Transfer the operating system, if there is no
current version loaded already,
Transfer the program
Start the program.
Some of these steps are only required when you test
the program and the controller for the first time and
need not be repeated for subsequent program tests.
251
Test and Commissioning
controller.
252
Program test for PS 4-300
253
Test and Commissioning
254
Program test for PS 4-300
the File format list box when the All Files setting is
selected.
255
Test and Commissioning
Starting programs
Starting programs from Sucosoft
E Click the Program Status button in the main
window of Test and Commissioning to open the
Program Status window:
256
Program test for PS 4-300
257
Test and Commissioning
258
Program test for PS 4-300
259
Test and Commissioning
Diagnostics button
This opens the Program Diagnostics window
showing additional information on the status of the
user program. The detected errors and the number of
errors are highlighted in red. The diagnostics bits and
the diagnostics counter can be reset:
260
Program test for PS 416
Program test for PS 416 The following steps must becarried out before you
can test the program in the controller:
Establish the connection between the
programming device and the PLC.
Transfer the operating system if a current version
is not yet loaded.
Transfer the program.
If necessary, define or change the program
startup behaviour of the memory card.
Start the program.
Some of these steps are only required when you test
the program and the controller for the first time and
must not be repeated for subsequent program tests.
261
Test and Commissioning
262
Program test for PS 416
263
Test and Commissioning
264
Program test for PS 416
265
Test and Commissioning
Files:
“416m_” or “341_” followed by numbers,
“PS416”, “BOOT”, “Update”, “RSDAT”
Extensions:
“.DCF”, “.ETC”, “.GAB”, “.GID”, “.ITB”, “.ITC”,
“.LAB”, “.LID”, “.PCD”, “.PDF”, “.TID”.
Files with these extensions are not displayed in
the File format list box when the All Files setting is
selected.
266
Program test for PS 416
267
Test and Commissioning
268
Program test for PS 416
Starting programs
Starting programs from Sucosoft
E Click the Program Status button in the main
window of Test and Commissioning to open the
Program Status window:
07/99 AWB 2700-1305 GB
269
Test and Commissioning
270
Program test for PS 416
271
Test and Commissioning
When the program cold start takes place for the first
time, the CPU is requested to start the user program
which is marked as “active”. The status “started” is
then displayed in the program box.
Warm Start button: This resumes the selected user
program at the point where it was stopped. A warm
start is only possible if the operating mode selector
switch is set to RUN and the CPU is in Halt status.
The process data is saved if the program is
interrupted and is still available if the program is
resumed. A warm start is only possible after an
already started program has been stopped, i. e. by
setting the operating mode selector switch to HLT
and pressing the SET button or by clicking the Halt
button. If the program was stopped by switching to
HLT, the operating mode selector switch must be set
to RUN again before it can be warm started.
Halt button: This stops a running user program.
Deactivate button: The selected user program is
deactivated as a CPU process (i. e. the CPU is no
longer required to execute the program) and the
program attribute is set to “-”. However, the user
program remains as a file in the CPU memory. A
deactivated user program can be deleted from the
PLC memory in the Transfer/File Manager window.
The deactivated program can be started again by
clicking on the cold start button with the operating
mode selector switch set to RUN or RUN_M_RESET.
07/99 AWB 2700-1305 GB
272
Program test for PS 416
Diagnostics button
This opens the Program Diagnostics window
showing additional information on the status of the
user program. The detected errors and the number of
errors are highlighted in red. The diagnostics bits can
be reset:
273
Test and Commissioning
274
Checking or modifying the
POU
Connection list
Variable window
07/99 AWB 2700-1305 GB
275
Test and Commissioning
276
Checking or modifying the
POU
277
Test and Commissioning
278
Checking or modifying the
POU
279
Test and Commissioning
280
Checking or modifying the
POU
281
Test and Commissioning
282
Checking or modifying the
POU
Variables window
You can transfer field or structure type variables from
the Online Editor into the Variables window. Data
structure content will be displayed in a tree, in the
same way as in a separate window of the status
display. Specific structure elements can be viewed
by “opening” the structure or hidden by “closing” it.
07/99 AWB 2700-1305 GB
283
Test and Commissioning
284
Checking or modifying the
POU
285
Test and Commissioning
286
Checking or modifying the
POU
287
Test and Commissioning
288
Checking or modifying the
POU in LD and FBD
289
Test and Commissioning
LD
E Click Options ➞ Programming Language.
E Select the programming language LD.
The current POU is displayed in LD.
If you click the Status Display option, the current
variable states will be shown underneath the
contacts, output symbols or connection lines:
Activate
290
Checking or modifying the
POU in LD and FBD
FBD
E Click Options ➞ Programming Language.
E Select the programming language FBD. The
current POU is displayed in FBD. If you click the
Status Display option, the current variable states
will be shown underneath the contacts, output
symbols or connection lines:
291
Test and Commissioning
PLC test PS 4-200 The Test and Commissioning tool helps you to check
the CPU status. This can be carried out during the
program test or independently of the user program.
E If the PLC is not yet connected, establish the
connection by clicking the Connect button. The
name, connection parameters and the message
“Connected” will appear in the Connection List
window.
E Click the CPU Status button to open the CPU
Status dialog box (the example is for
PS 4-201-MM1):
292
PLC test PS 4-200
293
Test and Commissioning
294
PLC test PS 4-200
295
Test and Commissioning
296
PLC test PS 4-200
297
Test and Commissioning
298
PLC test PS 4-200
299
Test and Commissioning
300
PLC test PS 4-200
Toolbar buttons
All actions required to test and commission a
configuration with the Topology Configurator can be
chosen using the buttons on the toolbar.
301
Test and Commissioning
302
PLC test PS 4-200
303
Test and Commissioning
decimal.
304
PLC test PS 4-200
Forcing outputs
Take care when you force the values of outputs
since you directly affect the control of the
machine and can trigger uncontrolled states.
The interlocks in the program have no effect since
the program is not being executed at this stage.
305
Test and Commissioning
306
PLC test PS 4-200
307
Test and Commissioning
Online configuration
Compared to offline configuration, online
configuration saves time in the following two cases:
You want to create a topology configuration for
an ASI line which is already configured, or
you want to extend an existing configuration.
The starting-out point in both cases is the so-called
“actual configuration” - the configuration currently
stored in the PLC. This can be a basic configuration
with an expandable PS 4 controller and an AS-
Interface master LE 4-505-BS1 or a functioning
actual configuration which you want to extend.
The basic configuration can be created offline as
described on page 201.
First compile the basic configuration with any
(dummy) PLC program in the Code Generation tool
and transfer it to the PLC. If all required AS-i slaves
are already addressed, you can then use
Configuration mode to load the actual configuration
from the PLC and save it on disk. If you want to add
new AS-i slaves, you can extend the actual
configuration and store the new configuration when
you are finished.
The new stored configuration is then used as the new
permanent configuration in the Code Generation tool
and transferred to the PLC together with the program
after recompiling. The new topology configuration is
transferred from the PLC to the AS-i master
automatically when the PLC is restarted.
The new permanent configuration is needed
by the PLC in RUN mode and for network
07/99 AWB 2700-1305 GB
308
PLC test PS 4-200
309
Test and Commissioning
310
PLC test PS 4-200
311
Test and Commissioning
PLC.
E If necessary, change the slave parameters in the
Current values panel. The significance of these
entries is described on page 209.
312
PLC test PS 4-200
313
Test and Commissioning
314
PLC test PS 4-300
PLC test PS 4-300 The Test and Commissioning tool helps you to check
the CPU status. This can be carried out during the
program test or independently of the user program.
E If the PLC is not yet connected, establish the
connection by clicking the Connect button. The
name, connection parameters and the message
“Connected” will appear in the Connection List
window.
E Click the CPU Status button to open the CPU
Status dialog box :
07/99 AWB 2700-1305 GB
315
Test and Commissioning
316
PLC test PS 4-300
Date/Time
This shows the date and time of the real-time clock
in the CPU.
System information
This shows the version and the identification code of
the operating system in the CPU.
Memory
This shows the available CPU memory for the user
program and the capacity of the entire CPU memory.
Memory card
This shows information on the CPU memory card if it
is fitted.
Diagnostics status word
Click the Diagnostics button to get information on
the system diagnostics status word:
07/99 AWB 2700-1305 GB
317
Test and Commissioning
318
PLC test PS 4-300
319
Test and Commissioning
320
PLC test PS 4-300
321
Test and Commissioning
322
PLC test PS 4-300
323
Test and Commissioning
Toolbar buttons
All actions required to test and commission a
configuration with the Topology Configurator can be
chosen using the buttons on the toolbar.
324
PLC test PS 4-300
325
Test and Commissioning
326
PLC test PS 4-300
327
Test and Commissioning
328
PLC test PS 4-300
329
Test and Commissioning
330
PLC test PS 4-300
331
Test and Commissioning
PLC test PS 416 The Test and Commissioning tool helps you to check
the CPU status. This can be carried out during the
program test or independently of the user program.
E If the PLC is not yet connected, establish the
connection by clicking the Connect button. The
name, connection parameters and the message
“Connected” will appear in the Connection List
window.
E Click the CPU Status button to open the CPU
Status dialog box (the example is for PS 416):
07/99 AWB 2700-1305 GB
332
PLC test PS 416
333
Test and Commissioning
Date/Time
This shows the date and time of the real-time clock
in the CPU.
334
PLC test PS 416
System information
This shows the version and the identification code of
the operating system in the CPU.
Memory
This shows the available CPU memory for the user
program and the capacity of the entire CPU memory.
Memory card
This shows information on the CPU‘s memory card if
it is fitted. Click the Information button to get further
information on the memory card.
Diagnostics status word
Click the Diagnostics button to get information on
the system diagnostics status word:
335
Test and Commissioning
336
PLC test PS 416
337
Test and Commissioning
338
PLC test PS 416
339
Test and Commissioning
Toolbar buttons
All actions required to test and commission a
configuration with the Topology Configurator can be
chosen using the buttons on the toolbar.
340
PLC test PS 416
341
Test and Commissioning
342
PLC test PS 416
343
Test and Commissioning
344
PLC test PS 416
Forcing outputs
Take care when you force the values of outputs
since you directly affect the control of the
machine and can trigger uncontrolled states.
The interlocks in the program have no effect since
the program is not being executed at this stage.
345
Test and Commissioning
346
PLC test PS 416
347
Test and Commissioning
348
PLC test PS 416
349
Test and Commissioning
350
Network status display
351
Test and Commissioning
352
Network status display
353
354
07/99 AWB 2700-1305 GB
Appendix
355
Appendix
The modem may need to wait for the dial tone of the
outside line before dialling. In this case, include the
W parameter (wait) in the dialling string.
Example: ATDT0W <number>
356
Modem operation
357
Appendix
H Hook control
Example “hang up existing connection”: ATH0
L Speaker volume
Example “low speaker volume”: ATL0
358
Modem operation
359
Appendix
576 _!_!
&76 _ _
360
Use of several
PS 416 CPUs in
the same rack
361
Appendix
Line Rack Slot Type Line Rack Slot Type Line Rack Slot Type
0 0 2 PS 416
CPU
0 0 4 PS 416
CPU
0 0 6 PS 416
CPU
0 0 12 PS 416
COM-200*)
0 0 16 PS 416
NET-220*)
362
Use of several
PS 416 CPUs in
the same rack
Line Rack Slot Type Line Rack Slot Type Line Rack Slot Type
0 0 4 PS 416 0 0 4 PS 416
CPU CPU-400
0 0 6 PS 416
CPU
0 0 12 PS 416
COM-200*)
0 0 16 PS 416
NET-220*)
363
Appendix
364
Glossary
Glossary
365
Appendix
Derived data types Manufacturer and user defined data types that are
derived from ➞ Elementary data types and can be
listed under a new name. They are declared within
➞ Keywords TYPE... END_TYPE
(e. g. structures, arrays).
366
Glossary
367
Appendix
Local variable A variable that is only valid within the ➞ POU in which
it is declared within the ➞ Keywords VAR...
END_VAR.
368
Glossary
Retentive variable Local or global variables that retain their value in the
event of a power loss. They are declared by
assigning the ➞ Keyword RETAIN to the ➞ Keyword
VAR or VAR_GLOBAL (e. g. VAR_GLOBAL RETAIN).
369
Appendix
370
Abbreviations
371
372
07/99 AWB 2700-1305 GB
Index
A F
Actual configuration 308 Fieldbus
read 309 ASI 201
ASI see AS-Interface Form Editor
AS-i-master 204 Checking the layout in
AS-Interface page view 215
Diagnostic 350 Creating forms 212
offline configuraton 201 Editing elements 215
online configuraton 308 Overview 211
overview 201 Page View 215
Autoadressing 204
G
C Generic components 205
Checking the topology
299, 322, 338 I
Code generation 39 ID Code 206
Configuration Inputs/outputs
read 309 Function test 299, 322,
Configuration mode 309, 338
311
CPU L
Status information LD/FBD POU Editor
293, 316, 333 POU online
CPU operating mode modifications 290,
selector switch 294, 291
316, 334 Testing the POU online
289
D LE 4-505--BS1 204
Diagnostics status word Load operating system
295, 318, 334, 335 252, 263
Display CPU status 247,
257, 270 M
Markers 43, 44, 48
E Master 204
07/99 AWB 2700-1305 GB
373
Index
374
Index
V W
Variables Wiring test 299, 322, 338
Status display 277, 290, Example 306, 329, 346
291
07/99 AWB 2700-1305 GB
375