Anda di halaman 1dari 35

Training Guide

PS 4-141-MM1
PS 4-151-MM1

9/96 AWB 27-1272-GB


1st edition 9/96
Moeller GmbH, Bonn
Author:
Editor:
Translator:

Norbert Mausolf
Thomas Kracht
Karin Weber

Caution!
Dangerous electrical voltage!
Before commencing the installation

Disconnect the power supply of the


device.

Ensure that the device cannot be


accidentally restarted.

Verify isolation from the supply.

Earth and short circuit.

Cover or enclose neighbouring units that


are live.

Follow the engineering instructions


(AWA) of the device concerned.

Only suitably qualified personnel may


work on this device/system.

Before installation and before touching


the device ensure that you are free of
electrostatic charge.

Connecting cables and signal lines


should be installed so that inductive or
capacitive interference do not impair the
automation functions.

Install automation devices and related


operating elements in such a way that
they are well protected against
unintentional operation.

Suitable safety hardware and software


measures should be implemented for
the I/O interface so that a line or wire
breakage on the signal side does not
result in undefined states in the
automation devices.

IBM is a registered trademark of International


Business Machines Corporation.
All other brand and product names are
trademarks or registered trademarks of the
owner concerned.

Ensure a reliable electrical isolation of


the low voltage for the 24 volt supply.
Only use power supply units complying
with IEC 60 364-4-41 or HD 384.4.41 S2.

Deviations of the mains voltage from the


rated value must not exceed the
tolerance limits given in the
specifications, otherwise this may cause
malfunction and dangerous operation.

Emergency stop devices complying with


IEC/EN 60 204-1 must be effective in all
operating modes of the automation
devices. Unlatching the emergency-stop
devices must not cause uncontrolled
operation or restart.

Devices that are designed for mounting


in housings or control cabinets must only
be operated and controlled after they
have been installed with the housing
closed. Desktop or portable units must
only be operated and controlled in
enclosed housings.

Measures should be taken to ensure the


proper restart of programs interrupted
after a voltage dip or failure. This should
not cause dangerous operating states
even for a short time. If necessary,
emergency-stop devices should be
implemented.

All rights reserved, including those of the


translation.
No part of this manual may be reproduced in
any form (printed, photocopy, microfilm or
any otherprocess) or processed, duplicated
or distributed by means of electronic
systems without written permission of
Moeller GmbH, Bonn.
Subject to alterations without notice.

9/96 AWB 27-1272-GB

Contents

About this Manual


Hardware and software requirements

2
3

1 Task Definition
Elements of the tank level control
Stages of the tank level control

4
5
6

2 Installing and Wiring the Controller


Address coding
Setting bus terminating resistors
Wiring

9
9
10
10

3 Setting System Parameters


SYSTEM PARAMETERS

12
12

4 Configure Stations

15

5 Addressing Stations
Address elements
Addressing

17
17
18

6 Writing the IL Program


IL editor
IL program
Reference file

19
19
20
23

7 Compiling IL Program
Compiler message

24
24

8 Transferring the Program to the


PS 4-141-MM1
Requirements
Transfer

26
26
27

9 Commissioning

28

10 Online Program Modifications

29

11 Conclusion

31

Index

33

About this Manual

This training guide provides an overview of the


Sucosoft S 30-S4 programming package and the
PS 4-141-MM1 and PS 4-151-MM1.
The manual introduces the handling of Sucosoft
S 30-S4 using the example of a control application
from creating your own program file to commission
the IL program in the controller.
The following example is executed with the
PS 4-141-MM1; but the program can also be used
for the PS 4-151-MM1 without modifications. When
configuring the device, the PS 4-151-MM1 must be
stated. The both controllers differ from each other in
the following points:
Table 1: Differentiation features
PS 4-141-MM1

PS 4-151-MM1

24 V DC power supply

115230 V AC power supply

14 digital outputs 24 V

8 relay outputs (NO contact)

It is assumed that you know how to used the


MS-DOS operation system, as well as having a
knowledge of open loop control engineering.

9/96 AWB 27-1272-GB

All actions which are to be executed by the user are


marked with a .

Hardware and software


requirements
Hardware and software
requirements

The following hardware and software is required for


the control task:

Hardware
PS 4-141-MM1/PS 4-151-MM1 programmable
controller
EM 4-201-DX2 expansion module
LE 4-116-XD1 local expansion module
ZB 4-303-KB1 programming cable (connection
cable between PC and PS 4-141-MM1)
KPG 1-PS3 Suconet cable (connection cable
between PS 4-141-MM1 and EM 4-201-DX2)
IBM-compatible PC with
at least 640 Kbyte working memory
3.5/1.44 Mbyte disk drive
Hard disk with at least 5 Mbyte free memory
Serial interface (COM1 to COM4)
Parallel printer interface (LPT1)

Software

9/96 AWB 27-1272-GB

MS-DOS operating system from version 3.0


Sucosoft S 30-S4 programming software from
version 2.0
The installation of Sucosoft S 30-S4 is described
in the manual Installation, Operation,
Documentation (AWB 27-1185-GB).

Task Definition

The PS 4-141-MM1 in conjunction with the external


module EM 4-201-DX2 and a LE 4-116-XD1 local
expansion module connected to it has the task to
execute a tank level control.
The tank shown in the following figure is meant to
buffer deviations in the supply volume and keep the
drain valve Y0 open as long as possible in order to
supply a bottling plant. When the start button S3 is
pressed, the lamp H1 is permanently lit to indicate
that the plant is in operation.
The supply is meant to keep the tank level at
maximum. The limit switches S0 and S1 enable the
switch hysteresis of the inlet valve Y1 to be
implemented, i.e. when the liquid level drops to the
level of limit switch S1, the inlet valve Y1 is opened,
and is closed when the level reaches limit switch S0.
If more water drains out of the tank than goes in, and
therefore the water level continues to drop even
though the inlet valve is open, the drain valve Y0 will
close as soon as the tank level goes below switch S2.
It will not open again until the level has reached
switch S0.

9/96 AWB 27-1272-GB

The plant can be switched off via the S4 stop button.

Elements of the tank level


control
Elements of the tank
level control

Table 2: Elements of the tank level control


Y0

Drain valve

Y1

Inlet valve

S0

Limit switch (break)

S1

Limit switch

S2

Limit switch

S3

Start button

S4

Stop button

H1

Lamp (ON indication)

Y1
S3

S4

H1
S0
S1

Y0

S2

9/96 AWB 27-1272-GB

Figure 1: Tank level control

Task Definition
The entire process can be divided into six different
stages:
Y1

S0

Y1

S1

Y0

S1

Y0
S2

Y1

S0

S2

S0

S1

Y0

S1

Y0
S2

S0

S2

Y1

S1

S0
S1

Y0

Y0
S2

Figure 2: Stages 1 to 6 of the tank level control

S0

S2

9/96 AWB 27-1272-GB

Stages of the tank level


control

Stages of the tank level


control
The following diagram shows the logical states of the
switches and valves in each stage:

Y1
0
1
S0
0
1
S1
0
1
S2
0
1
Y0
0
Level rising

Level dropping

Level rising

9/96 AWB 27-1272-GB

Figure 3: Stage diagram of the level control

Task Definition
The following table is derived from the stage
diagram:
Table 3: Status of the switches and valves
Switches,
valves

Stage
1

Y1

S0

S1

S2

Y0

9/96 AWB 27-1272-GB

Y1 = 0/1: Inlet valve closed/open


S0 = 0/1: Water level over/under limit switch S0 (break)
S1 = 0/1: Water level under/over limit switch S1 (make)
S2 = 0/1: Water level under/over limit switch S2 (make)
Y0 = 0/1: Drain valve closed/open

Installing and Wiring the Controller

Five inputs are required for switches S0, S1, S2, S3


and S4, and three outputs are required for the valves
Y0, Y1 and lamp H1. The PS 4-141-MM1 is thus able
to handle the control task on its own. However, the
network solution in this example has been selected
to show you how to use the additional networking
functions of the PS 4-141-MM1.

Address coding

The station address of the EM 4-201-DX2 must be


set before the PS 41-141-MM1 is networked and
wired with the EM 4-201-DX2 and the connected
LE 4-116-XD1.
Set the address coding switch S2 for the selected
station address 1 and the Suconet K protocol as
follows (see also AWB 27-1257-GB, Page 515ff.):
1 2 3 4 5 6 7 8

OFF

Figure 4: Switch positions S2 of the EM 4-201-DX2 as first


station on the line via Suconet K

9/96 AWB 27-1272-GB

1 to 5: Station address 1; 6: Suconet K; 7, 8: Position optional

Installing and Wiring the


Controller
Setting bus terminating
resistors

The bus terminating resistors for the first and last


station on the bus must be closed.
Set the switch S1 of the EM 4-201-DX2 as
follows:
1

OFF

Figure 5: Switch positions S1 of the EM 4-201-DX2 as first


station on the line via Suconet K

10

The following figure shows the wiring of the


PS 4-141-MM1, EM 4-201-DX2 and the
LE 4-116-XD1

9/96 AWB 27-1272-GB

Wiring

Wiring
+24 V

0V

2,5 mm 2

S3

S4

Digital Input
Suconet K

PS 4-141-MM1
Digital Output

KPG 1-PS 3

H1
Y1

2,5 mm

S2 S1 S0

Suconet K1/K

Digital Input

Digital Output

EM 4-201-DX2

LE 4-116-XD1

Digital Input

Digital Output

9/96 AWB 27-1272-GB

Y0

Figure 6: Wiring of the control system

11

Setting System Parameters

The system parameters determine the system


configuration of the control system. These
specifications are compiled and then transferred to
the controller together with the user program.
The default values need not be modified for the tank
level control system. However, since the setting in
the System Parameters menu is required in many
applications, the steps required for this are
described below:

SYSTEM
PARAMETERS

Call up the SYSTEM PARAMETERS menu from the


main menu of Sucosoft S 30-S4 by pressing the
function keys [F1] PROGRAMMING and [F3]
SYSTEM PARAMETERS.
Since the system parameters form part of the user
program, you are requested to enter the name of the
program file and the appropriate drive.
Enter the drive (e. g. C) and the file name (e. g.
PLANT2).

Start after NOT READY


The controller is to carry out a cold start after Not
Ready. In this case, all dynamic variables and
program sections are reset to the previously set
value before the PLC starts to process the user
program.
Enter a 1 into the entry field

12

9/96 AWB 27-1272-GB

Press the function key [F2] SYSTEM


PARAMETERS and enter the stated values for the
following fields.

SYSTEM PARAMETERS
Maximum cycle time
This setting does not control the cycle time of the
user program but sets an upper limit for the fault
control.
Set the maximum cycle time to 35 ms.
Active marker range
Make this setting in accordance with your user
program since all active markers require memory.
Three marker bits are required for the user program.
Enter a 1 in this line (1 marker byte).
Password
Assign a password of max. 8 characters to protect
the controller from unauthorized access.
Enter, for example, the name test2.
Version number for user program
The user program has the version number 1.0.

9/96 AWB 27-1272-GB

Enter 1.0 in this line.

Figure 7: System parameters for the IL program of the tank


level control

13

Setting System Parameters


Save the set system parameters by pressing the
following function keys:
F1Return
F4SAVE PROGRAM
F2Save old name
F1Return

14

9/96 AWB 27-1272-GB

You should now be in the PROGRAMMING menu.

Configure Stations

Once the system parameters are defined in the


Device configurator of the Sucosoft S30-S4,
configure the stations of the control system. Figure 6
Wiring of the control system shows which devices
are to be configured.
Call up the Device configurator from the
PROGRAMMING menu by pressing the function
key [F4]:
You will be asked for the name of the program file
and the drive since the Device configurator is also
part of the user program.
Enter the drive C and the file name PLANT2.
Select F2 CONFIGURE.
In this menu you can expand the PS 4-141-MM1 with
the EM 4-201-DX2 remotely. The EM 4-201-DX2 is
then expanded locally with an LE4-116-XD1.
Proceed as follows:
Select F4 Replace module and select the
PS 4-141-MM1 in the selection window. Confirm
by clicking Return.
Select F2 Add station and select the station
EM 4-201-DX2 in the selection window.
Select F3 Add module and select the module
LE 4-116-XD1 in the selection window.

9/96 AWB 27-1272-GB

The following display appears:

15

Configure Stations

Figure 8: Device configuration for tank level control

Save the device configuration via


F1 Return
F4 SAVE PROGRAM
F2 Save old name
F1 Return

16

9/96 AWB 27-1272-GB

You will now have returned to the PROGRAMMING


menu.

Addressing Stations

In order to create the program in the IL editor you


have to know how the inputs and outputs of the
individual stations are to be addressed. The
addressing of the stations depends on the logical
configuration that you carried out in the Device
configurator.
Figure 6 Wiring of the control system shows how
the switches and valves of the I/O are to be assigned
to the devices. This data is also required by the PLC
in order to address the stations. The stations are
addressed according to the general sy ntax rule:
Operand-data type-line-station-module-byte-bit

9/96 AWB 27-1272-GB

Address elements

The data type must not be stated when


addressing in bit format.

The table below show how the values defined in the


example are assigned to the seven address
elements:

17

Addressing Stations
Table 4: Address elements of the station
Address elements

Stations
PS 4-141-MM1

EM 4-201-DX2 LE 4-116-XD1

Operands:
I = Input, Q = Output

I: S3, S4
Q: H1,Y1

I: S0, S1, S2

Q: Y0

Data type:
B = Byte; W = Word,
Bit without additional code

Bit

Bit

Bit

Line number:
0 = Master; 1 = Slaves

Station number (0-8):


0 = Master
1 = first Slave, etc.

Module (local expansion 0-6)

Byte

Bit number of the input


(Input)/output (output)

Input bit 3, 4
Output bit 2, 4

Input bit
0, 1, 2

Output bit 3
(bit 3 from
most significant output
byte 1)

The inputs/outputs of the stations are addressed as


follows according to this table and the general syntax
rule:

Y0
Y1
H1
S0
S1
S2
S3
S4

Q 1.1.1.1.3
Q 0.0.0.0.4 (Q0.4)*)
Q 0.0.0.0.2 (Q0.2)*)
I 1.1.0.0.2
I 1.1.0.0.1
I 1.1.0.0.0
I 0.0.0.0.3 (I0.3)*)
I 0.0.0.0.4 (I0.4)*)

*) The first three zeros must not be stated when addressing the inputs
and outputs in the basic unit . They will be cut after the first line
automatically. The complete entry is required with the expansion
units.

18

9/96 AWB 27-1272-GB

Addressing

Writing the IL Program

The actual writing of the IL program is started after


the system parameters have been set and the device
configuration completed.

IL editor

Press function key [F2] in the PROGRAMMING


menu to call up the the IL editor.
Enter the file name (e. g. PLANT2) and select the
drive (e. g. C).
Enter the same name (PLANT2) for the reference
file and select the same drive (C).
Press function key [F2] EDIT PROGRAM FILE.

9/96 AWB 27-1272-GB

The menu-driven IL editor will appear on the screen


where you will enter your IL program.

Figure 9: IL editor

19

Writing the IL Program


Press function key [F2] Open block.
Enter an appropriate block name and comment.
First of all incorporate the configuration file with
the name PLANT2 in the IL program. Observe the
following syntax:
#include"PLANT2.K42"
Start writing the IL program.

20

00000
001
002
003
004
00001
001
002
003
00002
001
002
003
004
005
006
007
008
009
00003
001
002
003
004
00004
001

EXAMPLE "Program example PS 4-141-MM1 with EM 4-201-DX2 and


"connected L E4-116-XD1
"Example of a tank level control
INCLUDE

"Include the configuration file


#include"plant2.k42"

CONTROL "Control voltage ON - OFF

START

L I 0.3
S Q 0.2
S M 0.0

Control voltage ON S3
Control light H1
Start marker

L I 0.4
R Q 0.2
R M 0.0

Control voltage OFF S4


Control light H1
Start marker

"Start tank program


LN M 0.0
JC RESET

FULL

Start marker

"Save Full signal from tank

9/96 AWB 27-1272-GB

IL program

There are several ways of programming a tank


level control. In this example, a sequence
program was chosen intentionally in order to
show more clearly the six different stages of the
tank level control.

9/96 AWB 27-1272-GB

IL program
002
003
004
005
006
007
008
009
00005
001
002
003
004
005
006
007
008
009
00006
001
002
003
004
005
006
007
008
00007
001
002
003
004
005
006
007
008
009
00008
001
002
003
004
005
006
007
008
009

LN I 1.1.0.1.2
S M 0.1

Tank Full maximum S0


Marker Tank was full

"Reset Full signal from tank


LN I 1.1.0.1.1
R M 0.1

Tank Full minimum S1


Marker Tank was full

EMPTY "Save Empty signal


LN I 1.1.0.1.0
S M 0.2

Tank is empty S2
Marker Tank was empty

"Reset Empty signal


LN I 1.1.0.1.2
R M 0.2
STAGE1

"Implement stage 1 of the truth table


L I 1.1.0.1.2
AN I 1.1.0.1.1
AN I 1.1.0.1.0
R Q 1.1.1.1.3
S Q 0.4
JC END

STAGE2

Tank Full maximum S0


Tank Full minimum S1
Tank is empty S2
Valve drain Y0
Valve drain Y1

"Implement stage 2 of the truth table


L I 1.1.0.1.2
AN I 1.1.0.1.1
A I 1.1.0.1.0
A M 0.2
R Q 1.1.1.1.3
S Q 0.4
JC END

STAGE3

Tank Full maximum S0


Marker Tank was empty

Tank Full maximum S0


Tank Full minimum S1
Tank is empty S2
Marker Tank was empty
Valve drain Y0
Valve drain Y1

"Implement stage 3 of the truth table


L I
A I
A I
A M
R Q
S Q
JC

1.1.0.1.2
1.1.0.1.1
1.1.0.1.0
0.2
1.1.1.1.3
0.4
END

Tank Full maximum S0


Tank Full minimum S1
Tank is empty S2
Marker Tank was empty
Valve drain Y0
Valve drain Y1

21

Writing the IL Program

22

STAGE4

"Implement stage 4 of the truth table


LN I 1.1.0.1.2
A I 1.1.0.1.1
A I 1.1.0.1.0
A M 0.1
A Q 0.4
S Q 1.1.1.1.3
JC END

STAGE5

"Implement stage 5 of the truth table


L I
A I
A I
A M
R Q
S Q
JC

STAGE6

1.1.0.1.2
1.1.0.1.1
1.1.0.1.0
0.1
0.4
1.1.1.1.3
END

Tank Full maximum S0


Tank Full minimum S1
Tank is empty S2
Marker Tank was full
Valve drain Y1
Valve drain Y0

"Implement stage 6 of the truth table


L I 1.1.0.1.2
AN I 1.1.0.1.1
A I 1.1.0.1.0
S Q 1.1.1.1.3
S Q 0.4
JP END

RESET

Tank Full maximum S0


Tank Full minimum S1
Tank is empty S2
Marker Tank was full
Valve drain Y1
Valve drain Y0

Tank Full maximum S0


Tank Full minimum S1
Tank is empty S2
Valve drain Y0
Valve drain Y1

"Reset outputs Y0 and Y1


"after switching off the plant
L K 1
R Q 1.1.1.1.3
R Q 0.4

Valve drain Y0
Valve drain Y1

END "End of program


EP

9/96 AWB 27-1272-GB

00009
001
002
003
004
005
006
007
008
009
00010
001
002
003
004
005
006
007
008
009
00011
001
002
003
004
005
006
007
008
00012
001
002
003
004
005
006
00013
001
002

Reference file
Save your program:
F1 Return
F4 SAVE PROGRAM
F2 Save old name
F1 Return
You will then return to the PROGRAMMING menu.


Reference file

Use the DOCUMENTATION menu in Sucosoft to


printout program fils and Help lists such as
corss-reference files, utilisation files and
reference files (see AWB 27-1185-GB).

Sucosoft S 30-S4 will automatically create the


reference file while you are entering the IL program.
The reference file lists all operands and the
corresponding symbols assigned to them.

Reference file for IL program:

9/96 AWB 27-1272-GB

Symbol Operand
V Terminal Operand comment
------------------------------------------------------S3
I 0.3
Control voltage ON S3
S4
I 0.4
Control voltage OFF S4
S2
I 1.1.0.1.0
Tank is empty S2
S1
I 1.1.0.1.1
Tank Full minimum S1
S0
I 1.1.0.1.2
Tank Full maximum S0
H1
Q 0.2
Control light H1
Y1
Q 0.4
Valve drain Y1
Y0
Q 1.1.1.1.3
Valve drain Y0
M 0.0
Start marker
M 0.1
Marker Tank was full
M 0.2
Marker Tank was empty

The five-digit syntax is used in the printout of the


IL program for better understanding of the
spatially addressing of the inputs/outputs. The
operands can also be addressed symbolically
(e. g. LS1 instead of L I 1.1.0.0.1)

23

Compiling IL Program

Once the IL program is saved it can be compiled.


When compiling the program it is converted into a
machine code which the PS 4-141-MM1 can
process.
Press function key F7 OPTIONS in the F4 SYSTEM
SELECTION menu. Make the following entries in this
menu:
Programming via Suconet K:
Include drive scan when converting:

No
Yes

Proceed as follows when compiling the IL program.


In the PROGRAMMING menu press function key
F5 COMPILER
Enter the drive (C) and the name of the program
file (PLANT2).
Repeat this operation for the reference file.
Two prompts appear:
Should Include files be read by one drive?
Answer this prompt with Yes (Y).
Enter the standard drive:
Enter drive C:

24

Your IL program will now be compiled. If the syntax


is free of errors, the following window will appear on
screen:
9/96 AWB 27-1272-GB

Compiler message

Compiler message

Figure 10: Prompts of the compiler

If the compiler indicates one or several error


messages, correct the IL program at the appropriate point and recompile the program.

9/96 AWB 27-1272-GB

Press Enter to return to the PROGRAMMING


menu.

25

Transferring the Program to the


PS 4-141-MM1

The compiler has now converted the program into a


code which understands the P S4-141-MM1.

Requirements

Before you can transfer the program to the


PS 4-141-MM1 the following steps must be taken:
Connect the PC to the controller using the
ZB 4-303-KB1 programming cable.
PS 4-141-MM1

COM1...COM4

ZB 4-303-KB1

Figure 11: Programming the PS 4-141-MM1

Set the operating mode selector switch S2 of the


PS 4-141-MM1 to position 1 (Halt).

26

9/96 AWB 27-1272-GB

Switch on the 24 V DC power supply for the


controller. The controller must be in Ready or Not
Ready status. This is indicated by the Ready LED
(yellow) or the Not Ready LED (red). Not Ready is
lit if, for example, there is no program stored in
the controller.

Transfer
Proceed as follows to transfer the program to the
controller:

Transfer

Press the function key [F1] to change to the MAIN


MENU.
Confirm the function keys one after another:
[F2] TEST/COMMISSIONING and
[F6] TRANSFER DRIVE PLC
Enter the program name (PLANT2) and the
corresponding drive (C).
The LEDs Ready and Not Ready are lit during the
transfer process. The program is now stored in the
controller.

1 2 3 4

1 Ready
2 Run
3 Not Ready
4 Battery

Reset

1 Halt
2 Run
3 Run M-Reset

1
2
3
S2

9/96 AWB 27-1272-GB

Figure 12: Status display and operating mode selector


switch

27

Commissioning

The user program is located in the controller and


ready to start.
Set the operating mode selector switch S2 to
position 2 (Run) or 3 (Run M-Reset)
Press the Reset button.

28

9/96 AWB 27-1272-GB

The PS 4-141-MM1 is then in Run status and you


can test your program using the task definition.
Program modifications can be carried out in the IL
editor or in the ONLINE editor.

10

Online Program Modifications

The ONLINE MODIFICATION function is particulary


useful during commissioning. It enables you to carry
out program modifications while the PS 4-141-MM1
is in operation. The following modifications are
possible:
Opening new blocks
Inserting instructions and allocations
Deleting instructions and allocations
Modifying jumps and jump destinations
Changing function block parameters
Press the function key [F5] in the TEST/
COMMISSIONING menu.
Enter the name of the drive (C) and the name of
the file (PLANT2).

9/96 AWB 27-1272-GB

Online program

The current program is now shown:

Figure 13: Online program

29

Online Program
Modifications
Program modification

Select [F2] EDIT PROGRAM FILE in the ONLINE


MODIFICATION menu to change the program.

Figure 14: Online modification, Edit program file

Please observe the following section:


Care should be taken when carrying out online
program modifications in order to ensure the
safety of personnel and machinery.
Do not switch off your PC before you have left the
ONLINE MODIFICATION menu with [F1] Return.
Otherwise your program in the programmable
controller will no longer correspond with the source file on the data carrier.
Once the Online modification has been successfully completed, a new compiler run should
be carried out and the program transferred to the
PS 4-141-MM1 with the CPU stopped. This minimizes the load on the program memory.

30

9/96 AWB 27-1272-GB

Use function key [F6] Activate to transfer the


compiled modifications to the PS 4-141-MM1.

11

Conclusion

The example of the tank level control system in this


manual has explained to you all the stages of a
project, from the task definition, to wiring, to
programming and finally to Online modifications.
This has given you an overview of the elements of the
controller as well as the most important menus in
Sucosoft S 30-S4.
If you wish to transfer your special application to the
example, detailed information is provided in the
documentation on the manuals of the
PS 4-141-MM1, the Sucosoft S 30-S4 and
programming:
Hardware and Engineering of the PS4-141MM1and PS 4-151-MM1 (AWB 27-1266-GB)
Installation, Operation and Documentation (AWB
27-1185-GB)
Programming (AWB 27-1186-GB)

9/96 AWB 27-1272-GB

Good luck!

31

Index

A
Active marker range . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Add module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Add station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Address coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Address coding switch . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Address elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Addressing stations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
B
Bit number. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Bus terminating resistors . . . . . . . . . . . . . . . . . . . . . . . . . 9
Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
C
Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Compiling IL program . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Cycle time, maximum . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
D
Data type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Device configurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Differentiation features PS 4-141-MM1/PS 4-151-MM1 . 1
E
Elements of the tank level control . . . . . . . . . . . . . . . . . . . 4
Error messages, compiler . . . . . . . . . . . . . . . . . . . . . . . . 24

I
IL editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
IL program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Include. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Incorporating the configuration file . . . . . . . . . . . . . . . . . 19
Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

32

9/96 AWB 27-1272-GB

H
Hardware requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Index
L
Line number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
M
Mode selector switch . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
O
Online program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Operand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
P
Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Program modification, online . . . . . . . . . . . . . . . . . . . . . 29
Programming cable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
R
Reference file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
S
Save
Device configuration . . . . . . . . . . . . . . . . . . . . . . . . . 15
IL program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
System parameters. . . . . . . . . . . . . . . . . . . . . . . . . . 13
Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Stage diagramm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Stages of the tank level control . . . . . . . . . . . . . . . . . . . . 5
Start after Not Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Station number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Switch S1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Switch S2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
System parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

9/96 AWB 27-1272-GB

T
Task definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Transferring the program . . . . . . . . . . . . . . . . . . . . . . . . 25
V
Version number for user program . . . . . . . . . . . . . . . . . . 12
W
Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

33

Anda mungkin juga menyukai