Sei sulla pagina 1di 136

PRINT 01/07.

92

A-1

The PCS 110 operating console


Specially for the SIMATIC S5
95U, 100U (CPU 102, 103), 115U

PCS, in the opinion of many competent control


system specialists is at last an operating concept
which is tailor-made for programmable control-
lers without compromise and is just as flexible.
PCS is an extremely economic, easy to understand and
universal tool for operating a machine and a control
system. An operating concept with a standard user
interface for even the most diverse programmable
controller systems.
PCS does not require any programming because the
PCS already has many convenient operating tools which
you, depending on your requirements, can simply call up
and use. One thing today, another tomorrow.
PCS allows you to forget complicated wiring and the
awful interface problem to the programmable control-
ler. PCS will fit your programmable controller, without
any ifs or buts.
In fact PCS starts where all other operating terminals
finish. PCS, a great stride towards rational machine ope-
ration.

PCS + programmable controller


- two great partners
Operating instructions, manual and software are protected by
copyright. All rights are reserved. Copying, reproduction,
translation or resetting in whole or in part is forbidden. The only
exception to the above is the production of a back-up copy for the
customer's own use.
THE OPERATING AND
DISPLAYTOOLS OF
THE PCS 110

A-2

The operating console PCS 110 is prepared 1 Fluorescent display (2 x 40 char.) informs about all machine and
nearly for all operating enquieries therefore the controller processes
PLC provides you a huge selection of opera-
2 10 user definable LEDs with functions:
ting-, display-, and function elements, tools
which can be individually used from application ON, OFF, FLASH RAPIDLY, FLASH SLOWLY
to application. 3 20 user definable mechanical control keys
PCS 110, a universal operating console
4 Info field with freely selectable labelling for individual designation
useable for simple operating with some of the function keys
function keys up to complex datainput routines
with dialog. Programming control systems and 5 3 LED, which give information on the current PCS function
operating - now it's possible. 6 10-key numeric keyboard for the entry and correction of
norminal values
7 8 control keys for fast operation of the PCS
PROGRAMMING
ACCESSORIES

A-3

Programming and adapting cable of the PCS


110

PCS 737
PCS 739

PCS 716
Adapting cable, 300 cm
PCS 732
▲ PG-programming cable, 300 cm
PCS 732
PCS 737
PCS 716 PC-programming cable, 300 cm, 25/25pol
PCS 739
PC-programming cable, 300 cm, 25/9pol
MEMORY ORGANISATION
AND
DIL-SWITCH-FUNCTIONS

A-4

PCS 801, PCS 802



The PCS has at its disposal 4 memories (date
banks) each of 32 kByte:

■ RAM 1
■ RAM 2
■ EPROM A / EEPROM A
■ EPROM B / EEPROM B

The contents of the RAM can be written into the


EPROM or copied from the EPROM back into
the RAM. In the data banks different programs
can be stored, or the same programs in diffe-
rent languages. The EPROM's are located in
an extended memory module (2 x 32 kByte),
the Memory-Pack (PCS 801 EPROM, PCS DIL FUNKTION
802 EEPROM). Interchange easily the memory 10 Overwrite protection for RAM 2 (OFF = protected)
pack and already the PCS 110 use another 9 Overwrite protection for RAM 1 (OFF = protected)
operating task. 8 Service program *) (ATTENTION! During operation
this switch must always be OFF)
7 OFFLINE menu (OFF = programming of PCS
is not possible)

5 no effect
6 no effect

4 W 4.7 (free function in prog. cont.)


3 W 4.6 (free function in prog. cont.)
The DIL-switches are located on the rear of the 2 W 4.5 (free function in prog. cont.)
PCS: 4 of 10 switches are freely allocatable 1 W 4.4 (free function in prog. cont.)
(word W 4.4 ... W 4.7). All other switches have
specific PCS-functions see therefore map on
your right.

*) These switches are only scanned while power up the PCS.


PROGRAMMING
THE PCS 110

A-5

Which tasks the operating console PCS 110


will take in certain applications, which text the
display will show, which and how many input
values belong to which text and a lot more you
will program easy with a PC (MSDOS, with
random text editor) or the programming unit
PG 675/685 (Siemens). You don't need any
additional programming software, via the serial
interface "prog" you download your program
to the PCS 110.

1. Start programming by pressing key HLP


and CLR. DIL switch 7 must be in on
position.

2. Download your PCS-Program via serial


interface "prog" into "RAM 1" or "RAM 2" of
the PCS 110. During the transmission the
PCS will do a syntax check and stops if a
error occurs. The PCS-Display shows a
correct error message.

3. If you modify your program you must do


PCS 737 another download again.
PCS 739

4. If your program is finished you have to
decide from which memory-medium the
PC (MSDOS) PCS should work (internal RAM or external
PG 730/750 EPROM, EEPROM).

5. The PROM's (EPROM 1+2 oder EEPROM


1+2) are located on a plugable cassette,
the so called MEMORY PACK.

PCS 732 6. The RAM-content of the PCS can be trans-
mitted without auxillery units directly into a
PG 675/685 EPROM (EEPROM).
CONNECTION TO THE S5
PROGRAMMABLE CONTROLLER

A-6

Use the programming interface for simple


communication with your Siemens program-
mable controller. The set
Operating console PCS 110
Connection cable PCS 716
will provide the best basis for reliable, trouble-
free operation between the PCS 110 and your
programmable controller.
THE COMMUNICATION
BETWEEN
PCS 110 AND THE
SIEMENSS5-PLC

A-7

The interface to the programmable controller


program is either a data block (23 to 256 data
words) a marker area with a minimum length
(excluding external variables) of 23 marker
words (eg. MW 50 - MW 94 inclusive). The
data are transferred in packages. The
packages (varying number of marker words)
are made up by the PCS 110. Package errors
are recognised and signalled.
The data words for the data component are
read and written by the PCS 110 and the
programmable controller together.

PCS 716
PCS 110
SPECIFICATIONS

A-8

Operating voltage +19 ... +33 VDC

Power consumption 8 VA

Immunity to interfer. in acc. with IEC 801, Part 2, Classes 3+4

Immunity to vibration sinusoidal in all directions 7 g

Humidity without condensation at rear 0...75 %

Interface 1 9600 Baud, 7 Bit, 2 Stopbit, Even Parity (rer)

Interface 2 9600 Baud, fixed data format (L1)

Transmission TTY and V.24

Keys mechanical with pressure point

LEDs on, off, flash

Realtime clock battery-backed

Fluorescent display number of line 2


characters per line 40

character depiction 5x7

character height 7 mm

Temperature operating 0 ... 50 °C

storage -25 ...70 °C

Protective encl. IP 65

Weight 1400 g

Dimension see dimensioned drawing


MECHANICAL DETAILS
AND GROUNDING

A-9

Mounting is very easy. Only a rectangular


cutout is required fo installation. The PCS 110
is secured with 6 clamping screws. All con-
nections except the voltage supply made with
plugable and are located on the rear of the
panel. A seal ring is positioned between the
chassis and the front panel. The IP 65 protec-
tive enclosure enables the PCS 110 to be
employed even in damp environments.
Front panel

Installation depth only 40 mm!

Material thickness 1 ... 5 mm

Front panel
cutout

Rear panel
ASCII CHARACTERS
DISPLAYABLEINTHE
PCS DISPLAY

A-10

Displayable ASCII-Characters of the PCS.


ASCII-Character in the map shows also HEX-
0
è
10 20
0
30
@ P
40 50
°
60
p
70
codedefinition. Field without character repre-
sent "SPACE".
■ é
1 11
!21
1
31
A Q a
41 51 61
q
71

l ë " 2 B R b r
2
_
12 22 32 42 52 62 72

3
Ï e
13
#23
3
33
C S
43 53
c
63
s
73

à $ 4 D T d t
4
_14 24 34 44 54 64 74

5
a
15
% 5
25 35
E
45
U e
55 65
u
75

6
[ £
16
& 6
26 36
F
46
V
56
f
66
v
76

Å å
7 17
´27
7
37
G W g
47 57 67
w
77

\
8
¥
18
(28
8
38
H X
48 58
h
68
x
78

] 1/2 ) 9 I Y i y
_
9
_19 29 39 49 59 69 79

N n
A 1A
*2A
:
3A
J
4A
Z
5A
j
6A
z
7A

¿
B
{
1B
+2B
;
3B
K Ä k
4B 5B 6B
ä
7B

ç
C
|
1C
,2C
<
3C
L
4C
Ö l
5C 6C
ö
7C

@ }
D 1D
— =
2D 3D
M Ü m ü
4D 5D 6D 7D

¢
E
÷
1E
.
'_n˜n›N˜
2E
>
3E
N ▲ n
4E 5E 6E
ß
7E

F
i 1/4 /
1F 2F
?
3F
O ▼ o
4F 5F 6F

7F
LEGENDSTRIPS
FORTHE
PCS-INFOFIELD

A-11

With 20 function keys you can call up directly


random machine- and control functions. The
assignment of the keys is free. All function
-MACHINE STATUS: HOME POSITION keys are scannend like PLC-inputs.
-START PRODUCTION WITH -> F 04 < The keys are labelled with legend strips.
Lettering can be carried out by engraving or
printing on all common materials. The legend
strip is applied to the infofield of the PCS 110
without the use of tools and can easily be
changed as often as desired.
The PCS we supply with a infofield cover.
An individual lettering can be done easily by
using the legend strip.
THE UNIVERSAL PCS 890 TRIM
THE PCS 110

A-12

Safety regulations demand that certain


operating and switch functions are to be
performed with non-solid-state switch
elements, for example: EMERGENCY STOP,
two-hand functions, keyswitch functions and
the like.
To ensure that conventional switch elements fit
the PCS design you can use the PCS 890
universal trim. This trim can bear up to 9
buttons, switches or signal lamps in the 22.5
mm series. The arrangement of these
elements is completely unrestricted.

Example
THEPCS-FAMILIE
THE PCS110 IS FOR THESE
PROGRAMMABLECONTROLLERSYSTEM

A-13

PCS 110 Siemens Programmable controller systems ■ The PCS 100 operating console
SIMATIC S5, 100U...115U
PCS 111 Manual with diskette more information in the
through the programmable controller PCS 100 and 101 manual
PCS 716 Connection cable
■ PCS 100 is bus-compatible.
Up to 31 PCS (and therefore different pro-
PCS 732 2 Programmable cable for PG 685, PG 750 grammable controller systems and ma-
chines can be managed centrally by a com-
PCS 737 2 Programmable cable for PC (MSDOS) 25-pole
puter through a DIN measurement bus.
PCS 739 2 Programmable cable for PC (MSDOS) 9-pole

more information in the


PCS DIN measurement bus manual.

■ The PCS 200 operating console with the


PROFI protocol

more information in the


PCS 200 and 201 manual.

■ The PCS 300 operating console with the


PROFI protocol and the EL-flat screen
(15 lines x 40 characters, semi-graphic)

more information in the


PCS 300 and 301 manual.
A-14
A-15

ABOUT THIS MANUAL:

■ Operating instructions, manual and software are protected by copyright. All rights are reserved.
Copying, reproduction, translation or resetting in whole or in part is forbidden. The proper use of the
software constitutes an exception to the above.

■ This manual describes our PCS 110 products. We reserve the right to make changes to this manual
at any time without giving prior notification.

■ We can accept no liability for any printing errors that may occur. Our liability for damages is limited to
cases where it can be proved that incorrect information was given deliberately.

■ This manual deals with the delivered versions PG 110.302.3. Differences to older versions are not
indicated in all cases.

■ We cannot guarantee that programs and data stored on the diskette in respect of accuracy and
freedom from error. We only guarantee that they are capable of running within the application described
in the manual.

■ Since diskettes constitute data carriers which may be manipulated, we can only guarantee their
physical integrity. Out liability is limited to the supply of a replacement.

■ Suggestions for improvements and information about errors are always welcome.

■ S5, STEP5 and SIMATIC are registered trademarks of SIEMENS AG.

August 13th, 1991


Version 03/08.91
TABLE OF CONTENTS

1 FIRST START-UP 1
1.1 TOPICS COVERED 1
1.2 EQUIPMENT AND ACCESSORIES REQUIRED 1
1.3 PROCEDURE 2
1.4 FAULT ELIMINATION 5

2 FUNCTION 7
2.1 GENERAL SURVEY OF TASKS 7
2.2 OPERATING ELEMENTS 8
2.2.1 DIL SWITCHES 8
2.2.2 LED DISPLAYS 9
2.2.3 DISPLAY 10
2.2.4 KEYS 10
2.2.5 LABELLING FIELD 10
2.3 CONNECTIONS 11
2.3.1 OPERATING VOLTAGE 11
2.3.2 SERIAL INTERFACES 11
2.3.2.1 COMMUNICATIONS INTERFACE 12
2.3.2.2 PROGRAMMING INTERFACE 12
2.3.3 MEMORY PACK PCS 801 / PCS 802 12
2.4 ONLINE OPERATION 13
2.4.1 TEXT / VARIABLES / MENU 13
2.4.1.1 TEXT GROUPS 13
2.4.1.2 VARIABLES 14
2.4.1.3 EXTERNAL VARIABLE TYPES 14
2.4.1.3.1 VARIABLE FORMAT BIT 15
2.4.1.3.2 VARIABLE FORMAT STRING 16
2.4.1.3.3 VARIABLE FORMAT CSTRING 17
2.4.1.3.4 VARIABLE FORMAT BCD-1.2 / BCD0-1.2 18
2.4.1.3.5 VARIABLE FORMAT BIN 19
2.4.1.3.6 VARIABLE FORMAT WORD 21
2.4.1.4 INTERNAL VARIABLES 22
2.4.1.5 VARIABLE REPRESENTATION 23
2.4.2 PRIORITY MANAGEMENT 24
2.4.2.1 DEFAULT TEXTS 25
2.4.2.2 MENU DESIGN 25
2.4.2.2.1 ACTUAL VALUE MENU 26
2.4.2.2.2 SETPOINT VALUE MENU 27
2.4.2.3 MESSAGE PRIORITIES 30
2.4.2.3.1 STORAGE PROCEDURE 30
2.4.2.3.2 DELETION PROCEDURES 31
2.4.2.3.3 DISPLAY PROCEDURE 32
2.4.2.3.4 VARIABLES IN MESSAGE TEXTS 32
2.4.2.4 HELP PRIORITY 32
2.4.2.5 COMMUNICATIONS ERRORS 33
2.4.3 PCS 110 INTERFACING 34
2.4.3.1 BRIEF OVERVIEW OF THE DW/MW RANGE 36
2.4.3.2 SYSTEM RANGE 37
2.4.3.3 FUNCTION RANGE 38
2.4.3.4 MESSAGE RANGE 43
2.4.3.5 VARIABLES RANGE 44
TABLE OF CONTENTS

2.5 OFFLINE OPERATION 45


2.5.1 INOCATION AND TERMINATION 45
2.5.1.1 START PROCEDURES 46
2.5.1.2 PROGRAMMING / SERIAL INTERFACE 46
2.5.1.3 BURNING EPROM'S AND EEPROM'S 47

3 PROGRAMMING 49
3.1 COMMANDS FOR SERIAL PROGRAMMING 50
3.2 SYNTACTICAL DECLARATIONS 51
3.2.1 BEGINNING / END IDENTIFIERS 52
3.2.2 TEXT DEFINITION 52
3.2.3 DELETION PROCEDURE / PRIORITY ASSIGNMENT 53
3.2.4 DETERMINE ROTATION TIME / CYCLE TIME 54
3.2.5 DETERMINE TERMINATION KEY FOR ACTUAL VALUE MENU 54
3.2.6 MENU DEFINITION 55
3.2.7 VARIABLE DEFINITIONS 56
3.2.8 TEXT INSTANCES 57
3.2.9 POSITION STATUS INFORMATION 58
3.3 MEMORY ORGANISATION 58
3.4 ERROR CODES 60
3.5 PROGRAMMING PROCEDURE 61
3.5.1 CREATING A TEXT FILE 61
3.5.2 TRANSCRIBING THE TEXT FILE 61
3.5.3 ERROR ANALYSIS 62
3.6 SETTINGS OF THE PROGRAMMING UNIT 62
3.6.1 PG 675 62
3.6.2 PG 685 62
3.6.3 PG 750 63
3.6.4 PC 63

4 PROGRAMMABLE CONTROLLER / HANDLING SOFTWARE 65


4.1 DESCRIPTION OF THE HANDLING SOFTWARE 65
4.2 SINEC L1 PARAMETER BLOCKS 66
4.2.1 L1 PARAMETER ASSIGNMENT FOR 100 U / 155 U
PROGRAMMABLE CONTROLLERS 66
4.2.2 L1 PARAMETER ASSIGNMENT FOR 95 U
PROGRAMMABLE CONTROLLER 67
4.3 FB 210 HANDLING BLOCK 68
4.4 CALCULATION OF CYCLE TIME EXTENSION 69
4.4.1 MEASURED CYCLE TIME EXTENSION 70
4.5 PARAMETER ASSIGNMENT OF THE FB'S 71
4.5.1 PARAMETERS FOR THE FB 210 71
4.5.2 PARAMETERS FOR THE FB 211 72
4.6 OPERATING THE PROGRAMMABLE CONTROLLER WITH EPROM 72
4.7 IMPLEMENTING THE PROGRAMMABLE CONTROLLER SOFTWARE 73
4.8 PARAMETERS ZV,S AND PROGRAMMABLE CONTROLLER TIMEOUT TIMES 74
TABLE OF CONTENTS

5. TECHNICAL APPENDIX 75
5.1 TECHNICAL DATA OF THE PCS 110 75
5.2 CABLES 76
5.2.1 COMMUNICATION CABLE PCS 110 / PROG. CONTROLLER L1 76
5.2.2 PROGRAMMING CABLE 77
5.3 DATA TRANSFER PCS 110 / PROG. CONTROLLER L1 79
5.3.1 DATA TRANSFER PROCEDURE 80
5.4 PROGRAM LISTING 82
5.4.1 PROJECT 1 (P11112ST.S5D) 82
5.4.1.1 FB 210, 211, 212 AND 213 82
5.4.1.2 APPLICATION EXAMPLE FOR PROJECT 1 88
5.4.2 PROJECT 2 (P11122ST.S5D) 89
5.4.2.1 FB 210, 211, 212, 213 AND DB1 89
5.4.2.2 APPLICATION EXAMPLE FOR PROJECT 2 94
5.4.3 PROJECT 3 (P11132ST.S5D) 95
5.4.3.1 FB 210, 211, 212 AND 213 95
5.4.3.2 APPLICATION EXAMPLE FOR PROJECT 3 100
5.4.4 PROJECT 4 (P11142ST.S5D) 101
5.4.4.1 FB 210, 211, 212, 213 AND DB1 101
5.4.4.2 APPLICATION EXAMPLE FOR PROJECT 4 106

6. PROGRAM EXAMPLES 107


6.1 EDGE FORMATION AT THE TOUCH OF A BUTTON 107
6.2 OPEN A MENU 108

7. INDEX 109
First start-up

1 FIRST START-UP

The chapter contains information on starting up the system for the first time. Its main purpose is to enable
you to carry out initial tests with the system. All the techniscal details which you require for adapting the
system to your personal requirements are given in Chapters 2 to 6.

1.1 TOPICS COVERED

The manual refers exclusively to the use of the PCS 110 together with an S5 series controller from Siemens.
It is assumed that the reader is familiar with S5-specific terminology. Other terms such as M+xx.y, MB+xx
and MW+xx are used. Since the PCS 110 can also communicate with a measurement range to which
parameters can be assigned, the initial address of the marker range must be added to the offset xx (eg. 50
if parameters are being assigned to the marker range MW 50 - MW 198).

Caution:

Since the communication interface to the programmable controller is also used by the programming unit,
it is recommended that a CPU with two serial interfaces are used for the program test. However, only the
CPU 943 and 944 in the 115U series are currently available with this equipment.

1.2 EQUIPMENT AND ACCESSORIES REQUIRED

The following products are required (Systeme Lauer):

1. the PCS 110 operating console itself


2. The PCS 716 connection cable
3. The PCS 732 programming cable for PG 675/685 or PCS 739 for PG 750
4. This manual (PCS 111)
5. Diskette with handling blocks and example (included in the manual)

In addition, the following are required (Siemens):

6. An programable controller 115 U (CPU 941 or over), programmable controller


100 U (CPU 102, 103) or programmable controller 90 U and 95 U
7. An input board (required: 1 input; only programmable controller 100 U and
programmable controller 115 U)
8. An output board (required: 1 output; only programmable controller 100 U and
programmable controller 115 U)
9. A CR 700.x (115 U) or a SIGUT mus module (100 U)
10. A PG 675 or PG 685 / PG 750 programmer
and power supplies for all components.

1
First start-up

1.3 PROCEDURE

First of all the text file »#P110.DOK« and »#P111.DOK« are transferred into the PCS 110. If you are using
a data block as the communication range Project 3 (programmable controller 100 U or over) or Project 4
(programmable controller 95 U) is to be used. Otherwise, if you are using a marker range as the
communication range, Project 1 (programmable controller 100 U or over) or Project 2 (programmable
controller 95 U) is to be used. This ensures that there is a valid parameter set in the PCS 110 regardless
of the condition in which it was delivered. Communication with the programmable controller is then started.
If you are not using a PG 685 please read Section 3.6 first.

The diskettes supplied were created in PG 685 format !


Diskettes for the PG 675 must be ordered separately !

1. Connect the printer interface of the programmer with the programming interface (1) of the PCS 110
via the cable PCS 732. Observe the legends on the cable ends!
2. Ensure that DIL switches Nos. 7, 9 and 10 are ON and that DIL switch No. 8 is OFF. Ensure also that
the RS 232 / TTY changeover switches are in the correct position (1: RS232, 2: TTY).
3. Switch on the operating voltage (19...33 V DC) to the PCS 110. At least the ERR LED must now light
up.
4. Press the HLP key and keep it pressed while briefly pressing the <CLR> key. The following message
appears:
»STOP DISPLAY OF MESSAGES?
CONFIRM WITH ENTER«

5. Press the ENTER key. The OFFLINE menu now appears. You can now select the menu option
(underlined) with the <+> and <-> keys.
6. Select the menu option:
»PROGRAMING ON SERIAL PORT«

7. Select »RAM1« and press ENTER. 4 numerals and the »>« sign now appear. The PCS is now in
programming mode.
8. Use the DEVICE command to set the interface of the PG to 7 data bits, 2 stop bits and EVEN parity
(not necessary with the PG 675):
>DEVICE LPT0 <PAR=EVEN>
>DEVICE LPT0 <DAT=7>
>DEVICE LPT0 <STOP=2>
9. In the default on the PG select »TITLE BLOCK NO« and »SYSTEM COMMANDS ON« and copy the
diskette onto your hard disk as a project.

Name key P11115St.S5D


Projectnumber output state
Project: Application: Communication Range:
P11112ST.S5D: for AG 100 U and AG 115 U Parametrizeable flag words
P11122ST.S5D: for AG 95 U Parametrizeable flag words
P11132ST.S5D: for AG 100 U and AG 115 U Data block (256 data words) compatible PCS 100
P11142ST.S5D: for AG 95 U Data block (256 data words) compatible PCS 100

2
First start-up

10. Select:
»Output FD #P110.DOK nach DRU: 1« am PG 685 und PG 750
»Output FD1 #P110.DOK nach DRU: *« am PG 675

Depending on the printer setting, either the contents of the file or (apparently) incoherent characters
with the cursor flashing will appear in the display. In the latter case, it means there is a line which the
PCS 110 does not understand. In this case the <CLR> key must be pressed. Normally it is a sequence
of characters linke »ä1W« or similar. This is the ESC sequence, which the programmer sends to the
printer (in this case to the PCS) for font selection.
11. After a time (approx. 20 seconds .. 2 minutes) the programmer answers. Repeat Point 11 with the
file »P101.DOK«.
12. In the display "##" (the end mark) should now appear. If the line number (...IN:xxx) has not been
counted up, see »DEALING WITH FAULTS«.
13. Programming can now be terminated with the [HLP] key. The main menu appears.
14. Select the menu option:
»STARTUP-PROCEDURE«

15. Select in this menu:


»RAM1«

16. Now select in the main menu:


»EXIT TO ONLINE«

Colons must now appear at both line ends. If they do not, a fault analysis must be carried out (see
1.4).
17. Switch off the voltage supply to the PCS 110 and connect the operating console to the same supply
as your programmable controller (assuming that you are supplying your programmable controller with
24 V DC).
18. If you are using a programmable controller of type AG 100 U or 115 U connect an input module as
the 1st module and an output module as the 2nd module.
19. Switch the programmable controller to STOP and supply the programmable controller and the PCS
110 with operating voltage.
20. Check the presetting mask in the programming unit. The »SYSTEM COMMANDS« point must be
preset to »YES«.
21. Transfer FB 210, FB 211, FB 212, FB 213 (also DB1 on the AG 95 U), OB1, OB21 and OB22 from
the diskette to the programmable controller.
22. If you are using a series 100 U programmable controller the parameter "ERROR" in the handling FBs
210 in the OB1 in output 1.0 should be renamed. This assumes that you are using 8-bit input/output
modules.
23. Connection the programming interface of the programmable controller to the PCS 110 using cable
PCS 716, observing the writing on the cable ends.
24. Switch the programmable controller from STOP to RUN. The RUN LED on the programmable
controller must now come on and the ERR LED on the PCS 110 go out. If this happens the following
text appears in the display between the colons:

»Programmable controller / PCS - connection is active«

This already constitutes the display of a variable. Furthermore output A 4.0 (AG 95 U: A 32.0, AG 100 U:
A 1.0) must not be active.

If one of the above points does not apply


an error analysis (1.4) must be completed

3
First start-up

The interfacing of the PCS can now be simulated at the programmable controller by writing and reading the
appropriate data words of the DB 50 (Projects 3 or 4) or marker words, marker bytes and marker bits
(Projects 1 and 2). If the connection is broken A 4.0 (for the AG 95 U; A 32.0 and for the 100 U: A 1.0) will
be set. The communication can be restarted by pressing a reset button on E 0.0 (for AG 95 U: E 32.0).

In the examples for Projects 1 and 2 there is the marker range from MW 50 up to an including MW 198 (in
other words 75 words) required for communication. This range can be redefined using the parameter "VOBI"
in FB 210. See also 4.2: "Parameter assignment of the FB 210".

All the texts, various variables, all actual and setpoint value menus and all message texts and a HELP text
are now filed in the PCS. This means that all the functions can now be tested (manually using CONTROL
VARIABLE on the programmable controller). However, this is only possible if the CPU has two serial
interfaces which is currently only possible with CPU 943 and 944 in the 115 U series.

The following is an excerpt of the variable assignment table:

TEXTS USED IN VARIABLE TYPE M-No. DW-No.


Operat. MENU CODE MW-No.
texts USED *) **)

0 - AZ BIT 97.0 255.0


BA BIT 97.0 255.0
1 - AA STRING (0...6) 112 100
2...15 - - - -

16 SETPT. 1 (K1) - - - -
17 SETPT. 1 (K2) AD BIT (SETPOINT) 96.0 104.0
AE BIT (SETPOINT) 96.1 104.1
AF BIT (SETPOINT) 96.2 104.2
AG BIT (SETPOINT) 96.3 104.3

18 SETPT. 2 (K1) - - - -
19 SETPT. 2 (K2) AH STRING (ACT) 0...5 105 100

20 SETPT. 3 (K1) - -
21 SETPT. 3 (K2) AK BIN-1 (SETPOINT) 102 110
0...150 => 0...2048
22 SETPT. 3 (K3) AM BCD 1 (STPT) 0...1 104 112
AN BCD 2 (STPT) 0...59 106 113
23 SETPT. 3 (K4) AQ BIN-1 (STPT) 500...900 108 116
AR BIN-1 (STPT) 500...900 110 117

*) nur für Projekt 1 und 2 (Merkerbereich)


**) nur für Projekt 3 und 4 (Datenbaustein)

4
First start-up

1.4 FAULT ELIMINATION

The most common faults that may occure at first start-up are listed below:

1. DIL switch No. 8 is ON. If this switch is set, the PCS enters a diagnostic routine that is required only
for test purposes. Remedy: Set the DIL switch to OFF and restart the PCS 110 (by briefly switching
it off or by briefly pressing the RESET buttons above the DIL switch).
2. The cable ends are interchanged, interfaces 1 (programming interface) and 2 (communications
interface) have been confused or the TTY / RS 232 changeover switches are incorrectly set (correct
setting: switch 2 (PCS110-PLC): TTY, switch 1 (PCS110-PG): RS 232).
3. When programming the handshake does not work. This makes itself noticeable through the following
behaviour: during transfer a first fault occurs. Although this is not acknowledged, the programming
unit replies after a while. Remedy: with the help of the utility »Printer« selec

»BUSY : YES«

in the printer setup file.


4. If the line number was not incremented, a »PRINTOUT WITH MARGIN« is made. Since the »margin«
consists of spaces, it is interpreted as a comment. Select

»PRINTOUT WITHOUT MARGIN«

(normally PRINTER 1 on the PG 685). A further cause of fault is the choice of the wrong data format
at serial programming.
5. The write protection DIL switches Nos. 9 and 10 are OFF. This is signalled in the PCS and can be
reset by means of a key after removal of the fault condition.
6. The menu DIL switch (7) is OFF and there are already valid data in the PCS 110. As a result of this
the OFFLINE menu cannot be selected. Remedy: set DIL switch 7 to ON (can be switched on even
during operation).
7. After programming the PCS does not show the colons of the default text 0. Diagnosis: errors have
occurred during programming (that were acknowledged) or burning the data into the EPROM has
been omitted.
8. The programmable controller goes to STOP after being started. Diagnose: The selected marker range
is too small, the terminal plug from the last plug position is missing, the PCS wants to access a marker
word outside the specified marker range or there is no data block of the correct length in the
programmable controller.
9. Although the programmable controller goes to RUN, the ERR LED on the PCS does not go out. If this
LED does not go out after a 2nd attempt the connection between the programmable controller
interface and the PCS 110 is to be checked (in this case the send and receive cable of the
programmable controller).
10. In DW 3 (= MW + 6) an error is signalled with a value >< KH 0000. In this case the error is to be sought
at the connection of the programmable controller and the PCS 110. It is possible that the cable is
defect.
11. Communication begins, but after a short time the following message appears:

»COMMUNICATION-ERROR«

In this case the PCS 110/PLC has been laid in area with too high an interference level, the cable is
too long for the baud rate or the earthing is not good enough. A variable in the HELP text gives
information on the reliability of communication (see internal variables).

5
First start-up

Possible remedies:

■ Connect the cable shield to the central grounding point of the control cabinet.

■ Ensure that the PCS 110 housing and the programmable controller bus board are well grounded.
Bear in mind that a copper grounding strap, due to its large surface area, is a much better
conductor of high frequencies than normal stranded wire.

■ Avoid as far as possible the generation of high frequency interference as this is very difficult to
suppress. The programmable controller and the PCS are electrically isolated from one another
by means of optocouplers, but with rapid transients this isolation is ineffective, as the optocouplers
possess a certain amount capacitance.

■ The reference points of the supply voltages must be unambiguous.

■ Where the supply voltage exhibits a high degree of interference, it is advisable to supply the PCS
110 from a separate power supply (24 V, 10 VA). This should be fitted with interference filters.
The 0 volt conductor can then be connected directly to the ground lead of the PCS 110.

■ The PCS 110 and the communications cable should be located at least 200 mm from sources
of interference. This applies particularly to inductors and frequency converters.

■ Ensure that the serial data cables are as fully surrounded by the screen as possible. Use a
metallised plug housing on both the PCS 110 and on the programmable controller side which
has a good conductive connection to the cable screen. Please note that if earthed at both sides
an equi-potential bond with at least 10 times the screen cross section may be required.
Particularly if the PCS and programmable controller are not connected to the same earthing point
(if, for example, the PCS and programmable controller are housed in different switch cabinets).
Reason: To avoid bonding currents on the cable screen

6
Function

2 FUNCTION

2.1 GENERAL SURVEY OF TASKS

Using the operating console the following tasks can easily be performed:

■ 1. OPERATING A MACHINE BY MEANS OF 20 FREELY SELECTABLE BUTTONS; These keys -


designated F01 to F20 - can be provided with legends chosen as desired and are available in the
controller as bits in 2 data words, readable at any time.

■ 2. SUPPORTING MACHINE OPERATION WITH 10 FREELY SELECTABLE LED's; These can take on
the states »LIGHTED«, »DARK«, »FLASHING« and »INVERSE FLASHING«.

■ 3. REPRESENTATION OF FIXED TEXT IN CONJUNCTION WITH VARIABLE VALUES; The values can
optionally be represented as numeric values or in words.

■ 4. ORGANIZATION OF SEVERAL PRIORITY LEVELS WHICH ARE CHANGED DEPENDING ON THE


SITUATION; This practise-oriented management considerably reduces the burden on the
programmable controller program.

■ 5. REPRESENTATION OF THE CONTENTS OF UP TO 226 DW'S AS GENUINE VARIABLES; Up to


676 variables can be declared (@AA...@ZZ).

■ 6. CHANGING THE CONTENTS OF ANY DW IN A DATA BLOCK; All imaginable forms of


representation can be processed with the integrated editor.

■ 7. MONITORING 128 CONSECUTIVE BITS FOR RISING AND FALLING EDGES; Assigment to texts,
management in 3 priority levels, the most extensive possible retention of the sequence in time,
organization of FIRST, LAST and CYCLIC display, individually adjustable deletions and the
representation forms NORMAL, with FLASHING UNDERLINING; FLASHING and COMBINED
FLASHING are tasks which the PCS 110 performs on its own.

■ 8. COMMUNICATIONS MONITORING (WIRE BREAK, SHORT CIRCUIT); Integrated priority


management combined with intelligent package length optimization and the high data throughput
rate and error tolerance of the protocol ensure extremely efficient data transfer.

7
Function

2.2 OPERATING ELEMENTS

2.2.1 DIL SWITCHES

On the rear side there are 10 DIL switches, identified by numbers:

DIL 1 to 4 = programmable controller bits;


These switches are freely
available in DW 4 or MB+9 Bits 4...7.

DIL 1 = M+9.7 or DW 4.7


DIL 2 = M+9.6 or DW 4.6
DIL 3 = M+9.5 or DW 4.5
DIL 4 = M+9.4 or DW 4.4

DIL 5, DIL 6 = unrelevant

DIL 7 = ON = releases the OFFLINE menu.


In the case of faulty programming of
the PCS this interlock is disabled!

DIL 8 ON = Service program *)

!! During operation this switch must be set to OFF !!

DIL 9 OFF = write protect RAM 1 (OFF = protected)

DIL 10 OFF = write protect RAM 2 (OFF = protected)

*) These switches are only read on power-up!

8
Function

2.2.2 LED DISPLAYS

All LED displays have 4 conditions: OFF, ON, FLASHING, INVERSE FLASHING. In FLASHING condition
there is a 75 % lighted phase and a 25 % dark phase. In INVERSE FLASHING condition there is a 75 %
dark phase and a 25 % lighted phase.

The 10 green LED's above the F-keys are freely controllable via the programmable controller. The 3 red
LED's above the control keys show the operating conditions of the PCS:

OPERATOR MALFUNCTION, COMMUNICATIONS-


PROMPT INFO, WARNING FAULT

? ! ERR

■ OPERATOR PROMPT (?)

LIGHTED: The PCS waits for the actuation of a key (delete messages, close a menu, release the [HLP]
key).

FLASHING: In delete mode 4 this LED flashes as long as the corresponding message bit is at log 1
(the message cannot be cleared). If the message bit is 0, it is constantly lighted and the message can
be cleared with [CLR].

■ MALFUNCTION, INFORMATION, WARNING (!)

LIGHTED: A MALFUNCTION, INFORMATION or WARNING is shown on the display.

FLASHING: A MALFUNCTION, INFORMATION or WARNING is switched on, due to priority limiting


by the programmable controller this MESSAGE is however not (at present) displayed.

■ COMMUNICATIONS ERROR (ERR)

LIGHTED: Communication has not yet begun after switching on.

NORMAL FLASHING: Communication to the programmable controller has been interrupted!

INVERSE FLASHING: There is an invalid data record in the PCS or the selected EPROM is not plugged
in or the STARTUP procedure is unclear.

While communication is in progress this LED is out. If communication is interrupted (after having been
started) the acoustic error alarm sounds briefly and the LED starts flashing.

9
Function

2.2.3 DISPLAY

In ONLINE operation both lines are available with up to 40 characters each without restrictions (no undesired
entries). The character set is restricted to the Latin letters, including the most common special national
characters. As standard characters the German characters are used; other characters and some auxiliary
graphical symbols can be input hexadecimal codes (see "Programming" chapter).

Underlining under an individual character is managed by the PCS itself. In the message operating modes,
however, global underlining with a flashing underline is selectable. In these modes flashing display of the
entire text is also possible. The representation modes described can be selected at any time from the
programmable controller - separately for each MESSAGE PRIORITY.

2.2.4 KEYS

These are divided into function keys, edit keys and control keys. The function keys F1 to F20 are transferred
into the programmable controller only, they have no internal function. As long as a key is pressed, a log. 1
appears at the corresponding bit.

The edit keys are for numeric inputs, they are not transferred into the programmable controller. The [+] and
[-] keys support the input of setpoint values; they are however also available in the programmable controller.

The control keys [ARROWS], [CLR], [ENTER] and [HLP] have control function, i.e. they are evaluated in the
PCS, where they initiate the corresponding functions. They are also transferred into the programmable
controller, but there they must be interpreted with caution. When the PCS 110 is in Priority 0 (DEFAULT
TEXT), only the [HLP] key has an internal function. The acoustic error alarm, which normally sounds when
a non-permissible key is pressed, is suppressed in Priority 0. Machine-specific functions can thus be
assigned to these keys - provided the priority is limited to 0. Within the HELP priority (which can not be
interlocked) the [ARROW UP] and [ARROW DOWN] keys have internal functions!

2.2.5 LABELLING FIELD

In the labelling field an individually shaped foil can be inserted for designating the F-keys. The dimensions
of this foil are as follows:

197.5 ± 0.2

39.5 ± 0.2

Thickness excluding covering film: max. 1 mm. At the upper and lower edges 1.2 mm is covered in each case.

10
Function

2.3 CONNECTIONS

2.3.1 OPERATING VOLTAGE

The operating voltage connections are made using screw-type terminals for wires of up to 2 mm2. For details
of current consumption and operating voltage limits see 5.1.1.

Attention:
In the unit the protective conductor and 0V are separate. The
protective conductor is connected to Pin 1 of the serial interfaces
(except on the interference filter). The housing should be earthed in
order to ensure the best degree of immunity to interference. In
addition, 0V should be grounded in the vicinity of the power supply (in
accordance with the regulations of the Society of German Engineers).

2.3.2 SERIAL INTERFACES

Both interfaces are RS232/TTY and have the same pin assignment. For TTY a total of 2 current loop sources
(A+B) are available to both interfaces. The communications cable PCS 736 is connected in such a way that
both current loop sources are used for communication and are thus not available for programming.

■ Pinning
JD 25 (female)
(rear side view)

13 TTY-Receiver +
12 20 mA Current source A (B)
0 Volt (GND) 24

10 TTY-Transmitter +

0 Volt (GND) 21
8 RS 232 DCD
RS 232 output DTR 20
7 0 Volt (GND)
TTY-Transmitter - 19
6 RS 232 DSR (free)
5 RS 232 Input CTS
4 RS 232 Output RTS
Courrent source 20 mA B (A) 16
3 RS 232 Input RxD
2 RS 232 Output TxD
TTY-Receiver - 14
1 SHIELD (chassis)

The line current sources A and B are cross wired:


• COM : A = 12, B = 16
• PROG : A = 16, B = 12

11
Function

2.3.2.1 COMMUNICATIONS INTERFACE

Interface 2 (COM) is for communication with the programmable controller. In conjunction with the
programmable controller the TTY/RS 232 switch (No. 2) must be set to the TTY position. Only the data lines
TxD or RxD (4 lines) are required for communication. The cable connections are described in Section 5.2.1.

2.3.2.2 PROGRAMMING INTERFACE

Interface 1 (PROG) is for programming. It is set unalterably to 9600 baud, 7 data bits, 2 stop bits and EVEN
parity. Switch 1, located beside the interface plugs, is used for switching between TTY and RS 232. For
cable connections see Section 5.2.2.

2.3.3 MEMORY PACK PCS 801 / PCS 802

In addition to the internal RAM, an EPROM or EEPROM cassette can also be plugged into the 48-pin socket
connector. This cassette can be programmed in the OFFLINE MENU. To erase the EPROMs they must be
removed and erased using a commercially available erasing unit. EEPROMs are erased internally and do
not, therefore, need to be removed (they are permanently soldered in place).

In each cassette 2 additional data records of 32 kByte each can be stored (e.g. 2 languages, which can
be selected in the OFFLINE MENU).

ATTENTION !
When inserting or removing the cassette during operation,
the RESET button must be pressed at the same time. If this is
not done, a program crash is unavoidable. This will not
destroy the unit, but it will cause an inevitable loss of date (if
DIL switches 9 and 10 are ON). If the write protection jumper
on the cassette is in the »OFF« position, even EPROMs can be
overwritten!

12
Function

2.4 ONLINE OPERATION

This capter contains information needed for overall planning of the operating concept. This chapter is not,
however, intended as a substitute for the machine-specific documentation. End users will require this as
well.

2.4.1 TEXT / VARIABLES / MENU

In principle, all variables must be declared before they are inserted into a text. In the same way, texts that
are to be used in menus must be formulated beforehand.

2.4.1.1 TEXTS

There are 3 groups of freely formulatable texts:

1. 128 OPERATING TEXTS: 2-line texts, used as DEFAULT TEXTS, as ACTUAL VALUE MENU
TEXTS and as SETPOINT VALUE MENU TEXTS.

2. 128 MESSAGE TEXTS: text pages, that can be up to 32 lines long. These texts are unalterably
assigned to the message bits and are displayed as INFORMATION, WARNINGS and
MALFUNCTIONS:

3. 1 HELP TEXT: The HELP TEXT is a (max.) 32-line text page, which can be brought into the display
at any time during ONLINE operation by means of the [HLP] key.

In those texts that take up more than 2 lines the user can at any time switch to the lower pairs of lines with
[ARROW DOWN] and switch back to the first pair of lines with [ARROW UP]. If a text consists only of one
line, the 2nd line is dark.

Inside the texts variable sections are realized using VARIABLE. The conversion of numeric and logical values
into a displayable form is the task of the PCS 110. During programming the PCS 110 thus requires not only
the positioning identification in the text, but also a variable definition. This definition contains, in addition to
the type, the length of a variable. These lengths must be taken into account when formulating the texts.
Excess lengths are signalled during programming. Apart from loading the (usually constant) variable value,
no additional programmable controller program is necessary. In all priorities except FAULT PRIORITY the
variables are cyclically refreshed; all values in the display originate from an inseparable data exchange cycle.

Since variables can also be represented in text form, a knowledge of the STRING variable format is extremely
important for configuring (text distribution).

Each menu is a collection hof from 1 to 128 OPERATING TEXTS. The programmable controller can only
open a menu; further operations and closing of the menu are the responsibility of the operator alone. As
of Version 100.304 the forced closing of menus by the programmable controller by means of a
communications reset is also possible.

13
Function

2.4.1.2 VARIABLES

Variable identifiers can be employed in all texts. They consist of the symbol @ and 2 capital letters. The »@«
represents the first variable position. From this position on, the PCS reserves space for the variable. The
representation form an the length are taken from the variable description. The 3 substitute characters
themselves take up no length. A maximum of 4 variables per text line may be employed. When formulating
texts the additional variable lengths in each line must be taken into account.

A distinction is made between INTERNAL and EXTERNAL variables. The source values of the EXTERNAL
variables are in the programmable controller. An appropriate variable description must be drawn up for these
variables. With some variable types, scaling is possible, i.e. a given range of values in the programmable
cotnroller is displayed in another range of values in the PCS 110 (limitation: the multiplier must be positive!).

With all BIN variables the number of digits before and after the point and the limit are programmable (as
constants).

Caution !

Since the communication range may be within a marker range to which


parameters may be assigned (Projects 1 and 2) all the following variables
are written in the form MW+xx, MB+xx or M+xx.y. This means that the
value +xx is to be added to the initial address of the marker range. If, for
example, the marker range begins from MW 50 (see parameter VOBI in FB
210; Chapter 4), the value 50 is to be added to MW+20. You will thus obtain
the absolute address MW 70 with this parameter assignment.

2.4.1.3 EXTERNAL VARIABLE TYPES

1. BIT: A character string is assigned to each of the two possible states of a bit. The character string is
freely selectable and can be up to 40 characters long. The string itself must not contain any variables. The
amount of space to be reserved is determined by the longer of the two instances.
2. (C)STRING: A character string can be assigned to each value of a data record (exception: Value 255).
The maximum length is 40 characters. The amount of space to be reserved is determined by the longer of
the two instances. The string itself must not contain nay further variables.
3. BCD, BCD-1, BCD-2, BCD0-1, BCD0-2: Numbers with a freely selectable number of digits (BCD,
BCD-1, BCD0-1: 1..4 / BCD-2, BCD0-2: 1..8) are represented. These numbers must already by present
in BCD format. It is not possible to display a decimal point. Die Formate BCD und BCD0 unterscheiden sich
lediglich dadurch, daß bei BCD Vornullen unterdrückt werden, während sie bei BCD0 dargestellt werden.
4. BIN, BIN-1, BIN-A: The 16-bit value of a data word is represented as an unsigned number
(KH0000...KHFFFF) in fixed-point format. Scaling and decimal point representation are possible. BIN-2,
BIN-B: The 32-bit value of two data words (HIGH, LOW) is represented as an unsigned number. Decimal
point representation is possible, but not scaling.
5. VBIN, VBIN-1, VBIN-A: The 16-bit value of a data word is represented as a signed number
(KH8000...KH7FFF) in fixed-point format. Scaling and decimal point representaion are possible. The sign
is input using the [+] and [-] keys. VBIN-2, VBIN-B: The 32-bit value of two data words is represented as
a signed number (8000 0000 ... 7FFF FFFF). Decimal point representation is possible, but not scaling.
6. WORD: The 16-bit value of an MW or DW is shown in bit format. It is possible to position the cursor on
the individual bits using the [+] and [-] keys. An individual bit can be reset by pressing the [0] key and set
by pressing the [1] key. This data format requires a fixed number of 17 characters space in a line.

14
Function

2.4.1.3.1 VARIABLE FORMAT BIT

PROGRAMMING INSTRUCTION: VV, AB, 30, SOLL, BIT, 15

Identifier for variable definition

Name of this variable

Data word from which value is obtained

This variable can be altered within a setpoint


value menu using [+] and [-]

This variable is a BIT type

This variable refers to Bit 15

AP, CLOSED
Identifier for instance

Text for bit value 0

AP, OPEN
Text for bit value 1

BV, 0, texttexttext @AB texttext


Operating text 0

Variable AB

■ If Bit D30.15 (= M+60.7) = 0, the following default text 0 appears in the display:

texttexttext CLOSED texttext

■ If Bit D30.15 (= M+60.7) = 1, the following default text 0 appears in the display:

texttexttext OPEN texttext

If this variable is used in a setpoint value menu, Bit D30.15 (= M+60.7) can be set using the [+] key and
reset using the [-] key. Alteration is performed immediately after the key is pressed. The remaining bits of
DW 30 (= M+60) are not influenced during writing back.

15
Function

2.4.1.3.2 VARIABLE FORMAT STRING

Programming instruction: VV, AC, 31, SOLL, STRING

Identifier for variable definition

Name of variable

Data word from which value is obtained (= M+62)

Variable is alterable in setpoint value menus

Variable type is STRING

Instance for value KF+0: ---------- AP,SERVICE


Instance for value KF+1: ---------- AP,SETTING-UP OPERATION
Instance for value KF+2: ---------- AP,AUTOMATIC OPERATION

Use of variable AC in operating text 15:

BV,15,texttexttext @AC texttextte

Display as default text 15, when value KH0002 is present in DW 31 (MW+62):

texttext AUTOMATIC OPERATION texttexttext

If the variable is used in a setpoint value menu, the value in DW 31 (= MW+62) can be decremented down
to 0 using the [»-«] key and incremented up to KH0002 using the [+] key. An altered value is not written back
into DW 31 (= MW+62) until [ENTER] is pressed or until leaving the variablen.

ATTENTION:

1. The bits in DL DW 31 (= MB+62) are ignored during reading; after writing back they are set to 0. This
is an aid for determining alterations via the programmable controller program.

2. If the old value is not altered, writing back does not take place (not even Bits 8..15).

3. A maximum of 256 instances are permitted (including 0).

4. The limitation depends on the number of instances programmed; the minimum value is always 0.

5. At least 3 instances must be indicated, otherwise the variable must be declared as BIT.

6. The original value can be restored at any time using [CLR].

16
Function

2.4.1.3.3 VARIABLE FORMAT CSTRING

Programming instruction: VV, AC, 32, SOLL, CSTRING

Identifier for variable definition

Name of variable

Data word from which value is obtained (= MW+64)

Variable is alterable in setpoint value menus

Variable type is STRING

Instance for value KF+0:---------- AP,DW 1 in DB 10


Instance for value KF+1: ---------- AP,DW 2 in DB 10
Instance for value KF+2: ---------- AP,DW 2 in DB 5

Use of variable AC in operating text 15:

BV,0,STATUS @AC: @AZ

Display as default text 15, when value KH0002 is present in DW 32 (= MW+64):

STATUS DW 2 in DB 5: 0

If the variable is used in a setpoint value menu, the value in DW 32 (= MW144) can be decremented using
the [-] key and incremented up to KH0002 using the [+] key. In contrast to STRING, an altered value is
immediately written back.

ATTENTION:

1. The bits in DL DW 32 (= MB+64) are ignored during reading; after writing back they are set to 0. This
is an aid for determining alterations via the programmable controller program.

2. If the old value is not altered, writing back does not take place (not even Bits 8..15).

3. A maximum of 256 instances are permitted (including 0).

4. The limitation depends on the number of instances programmed; the minimum value is always 0.

5. At least 3 instances must be indicated, otherwise the variable must be declared as BIT.

6. The original value cannot be restored using [CLR].

17
Function

2.4.1.3.4 VARIABLE FORMAT OF BCD-1,2 / BCD0-1,2

Programming instruction: VV, AD, 33, SOLL, BCD-2, 8, 90, 50000000

Identifier for variable definition

Name of variable

Sources are DW 33/34; High/Low (= MW+66, +68)

Variable is alterable in the menus

Variable format

Number or digits (1..4 with BCD-1, 1..8 with BCD-2)

Lower limit

Upper limit

Use: BV,10, LENGTH: @AD mm


BV,10,123456789012345678901234567

If KH0001 is present in DW 33 (= MW+66) and KH0500 in DW 34 (= MW+68), the following is displayed:

Length: 10500 mm
123456789012345678901234567

The 3 leading zeros are suppressed because here the vaiable format BCD takes place! If you want to display
the leading zeros just use the variable format BCD0-2 instead of BCD-2!

ATTENTION:

1. Unnecessary higher-value bits are ignored and written back as 0.

2. Scaling and decimal point representation are not possible.

3. Intermediate values are not written back. Writing back does not take place until the [ENTER] key is
pressed or until leaving the variable.

4. Balancing inputs are possible: in the example above [10+] would lead to the intermediate result 10510.
As this is an intermediate result, writing back does not yet take place (although the cursor is no longer
flashing) !

5. Leaving the input field with a value outside the limits is impossible.

6. The sign keys can be used for incrementing and decrementing (with auto repeat).

7. Restoring the original value is possible at any time using [CLR].

18
Function

2.4.1.3.5 VARIABLE FORMAT BIN

The BIN variable formats are divided into the following subgroups:

16 Bits 32 Bits Pocket calulator input Scaling Sign

1. BIN-1 X X X

2. BIN-A X X

3. BIN-2 X X

4. BIN-B X

5. VBIN-1 X X X X

6. VBIN-A X X X

7. VBIN-2 X X X

8. VBIN-B X X

The difference between (V)BIN-1 and (V)BIN-2 and between (V)BIN-A and (V)BIN-B respectively is the
method of editing:

■ BIN-1, BIN-2: Pocket calculator input with different pre-point and post-point input;
■ BIN-A, BIN-B: Displacement (beyond the decimal point).

Programming instruction: VV, AE, 35, SOLL, BIN-1, 1, 2, 0, 100, 0, 4095

Identifier, var. definition

Name of variable

Source-DW = DW 35 (= MW+70)

Setpoint value / actual value determination

Variable format

Number of places before point

Number of places after point

Minimum value of representation

Maximum value of representation

Minimum value in DW 35 (= MW+70) = KH0000

Maximum value in DW 35 (= MW+70) = KH0FFF

19
Function

Text declaration: BV, 1, texttexttexte @AE texttexttext

Identifier for op. text

Text number

Variable AE with length of 4 places

If the value KH0800 is present in DW 35 (= MW+70), the following is displayed:

texttexttext 0.50 texttexttext

Operation as setpoint variable in a setpoint value menu:


■ The value can be altered using the numeric keys.
- (V)BIN-1(2): pre-point and post-point separate, change using the [.] key.
- (V)BIN-A(B): simple displacement form left to right, jumping over the decimal point.
■ Balancing input e.g.[2+]: new representation: 0.70 (not with VBIN !)
■ [+/-] keys:
- BIN-1, BIN2, BIN-A, BIN-B: 1 is added / subtracted (after [.] also).
- VBIN-1, VBIN-2, VBIN-A, VBIN-B: Sign input (possible at any time).

ATTENTION:

■ Only altered values within the limits are written back.


■ If the original value is outside the limits, inverse fields are displayed.
■ If a value outside the limits has been input (only possible with direct numeric input), checking is carried
out when ENTER is pressed or on leaving the field. In the case of an error, the minimum or maximum
value is displayed and nothing is written back.
■ It is not possible to leave the inverse field. If, for example, the first variable in a setpoint value menu text
is outside the limits, it is not possible to continue paging. If this node is a NON-END node, it also
impossible to leave the menu. The value must first be corrected (with BIN the limits are represented
in this case with [+/-], with VBIN a valid value must be entered as a numeric input).
■ The range of values indicated (programmable controller and PCS) can be negative only with VBIN
variables; in this case only the minus sign before the relevant value(s) need to be set (no sign = +).
■ If the characteristic curve of the scaling does not go through zero, the following is to be noted:
• If the display range is smaller than the programmable controller range, the following warning is
displayed during programming:

PLEASE CHECK BOUNDARIES ONLINE

You should then check the tolerance limits because the inaccuracy becomes larger than half a step
with on the display. Select a larger display area using decimal places before and after the decimal point.

20
Function

2.4.1.3.6 VARIABLE FORMAT WORD

Programming instruction: VV, AC, 36, SOLL, CSTRING

Code for variable definition

Name of the variable

DW from which value is brought (= MW+72)

Variable can be changed in setpoint menus

Variable type is WORD

Use of variable programmable controller in operating text 15:

BV,0,M,122 (BINARY): @AC

Display as default text 15 if the value KHAA55 is in DW 36 (= MW+72; for marker range initial address MW50
= MW 122):

STATUS DW 2 in DB 5: 0

If the variable is used in a setpoint menu the cursor (small cursor) can be moved bit by bit using the [+] and
[-] keys. The bit with a flashing underline can be set to 0 or 1 using the [0] or [1] keys. A changed value is
not written back until [Enter] is pressed or the variable is left in word 36 (MW 122).

CAUTION:

■ If the old value is not changed, there is no writing back.

■ The original value can be restored at any time by pressing [CLR].

■ The WORD variable format takes up a fixed number 17 character in the display (maximum valency 8
bits are separated from lower valency 8 bits by "SPACE").

21
Function

2.4.1.4 INTERNAL VARIABLES

As well as user-defined variables, there are also 26 internal variables with fixed definitions available (see
following table). At present only the variables from ZA upwards are used (expansion from YZ downwards
is possible!).

DESCRIPTION OF THE INTERNAL VARIABLES Z?

IDENT. DESIGNATION TYPE LENGTH ACT/SETPOINT

ZA HOURS BIN 2 ACTUAL


ZB MINUTES BIN 2 ACTUAL
ZC SECONDS BIN 2 ACTUAL
ZD DAY BIN 2 ACTUAL
ZE MONTH BIN 2 ACTUAL
ZF YEAR BIN 2 ACTUAL
ZG HOURS BIN 2 SETPOINT
ZH MINUTES BIN 2 SETPOINT
ZI SECONDS BIN 2 SETPOINT
ZJ DAY BIN 2 SETPOINT
ZK MONTH BIN 2 SETPOINT
ZL YEAR BIN 2 SETPOINT
ZM DAY WRITTEN OUT STRING 10 ACTUAL
ZN DAY WRITTEN OUT STRING 2 ACTUAL
ZO DAY WRITTEN OUT STRING 2 SETPOINT
ZP NUMBER OF ACTIVE INFOS BIN 3 ACTUAL
ZQ NUMBER OF ACTIVE WARNINGS BIN 3 ACTUAL
ZR NUMBER OF ACTIVE MALF BIN 3 ACTUAL
ZS MENU NUMBER ACTUAL BIN 2 ACTUAL
ZT MENU NUMBER SETPOINT BIN 2 ACTUAL
ZU ROTATION TIME BIN 2 ACTUAL
ZV ROTATION TIME BIN 2 SETPOINT
ZW STARTUP PROCEDURE STRING 25 ACTUAL
ZX INTERFACE ERROR BIN 2 ACTUAL
ZY COMPL. TIME ---- 8 ACTUAL
ZZ COMPL. DATE ---- 8 ACTUAL

Variable type and display length can be taken from the above list. If individual or all internal variables are not
required, the identifiers can also be used for external variables. The internal variables refer in most cases to
the date and time of the built-in real-time clock.

■ SETTING THE CLOCK:

If this real-time clock is used in any form, an operating text for setting the clock, containing the relevant
setpoint variables, must be programmed. Furthermore this text must be integrated into a setpoint value
menu. In order to avoid ambiguities in the case of seconds overflow, the relevant variables should all be used
in one text.

22
Function

■ INTERNAL VARIABLES ZU, ZV, ZX, ZW:

ZU, ZV: Here the rotation time in seconds in the message memory can be displayed or changed. A
change is valid only until the next RESET. The cange is not secure against a loss of supply
voltage.

ZX: Here the maximum number of faulty (repeated) packages since RESET can be displayed. It
refers to 100 packages and is a measure of the security of the data transfer. This is in turn
dependent on the cable length, the cable type and the level of electrical and magnetic
interference. A fault figure of 2% is acceptable.

ZW: Here the preset startup procedure can be displayed in symbolic form. This internal variable
can only be changed in the OFFLINE MENU. It is stored in the real-time clock and is secure
against a loss of supply voltage (but not write-protected).

2.4.1.4 INTERNAL VARIABLES

All variables are automatically read out of the given data words by the PCS. This also applies to setpoint
values. With setpoint values the value read out is represented as a preset value (see also 2.4.2.3).

For refreshing the values the following rules apply:

■ In all priority classes except FAULT MESSAGES constant refreshing takes place. The resfreshment
rate is, in the most favourable case, 8 per second. It is however dependent on the programmable
controller cycle time, the baud rate selected and the number of variables (currently) represented.

■ In FAULT PRIORITY refreshing takes place only when a new text or a new pair of lines (help lines 3..32)
is displayed (with limitations the internal clock can be displayed for standstill determination).

In addition, in all priorities:

■ A priority change alone does not cause refreshing. If the FAULT PRIORIY is temporarily left, the
variable value that was being displayed during the original call appears (in memory mode FIRST
MESSAGE).

■ There is no difference between internal and external variables. Until the variable values have been
transferred, empty fields are displayed (approx. 1 programmable controller cycle long). If the value
read in is outside the limits stored in the PCS 110, inverse fields are displayed in the variable field.

23
Function

2.4.2 PRIORITY MANAGEMENT

In the PCS 110 up to 10 priorities can be switched on or off. The lowest priority (0 = DEFAULT TEXT) is always
switched on. In principle, the highest (acitve) priority class is always displayed. Priorities 5 to 0 can be limited
by the programmable controller (from the highest to the lowest). If a priority is deactivated, the system returns
to the same place as before limiting.

The individual priority classes are:

Lowest 0 = DEFAULT TEXT (operating texts 0...15)


: displayed when no higher priority is selected.

: *) 1 = ACTUAL MENU (operating texts 0...127)


: activated by prog. cont. (DW 14, = MW+28)
: deactivated by CLR.

: *) 2 = SETPOINT VALUE MENU (operating texts 0...127)


: activated by prog. cont (DW 14, = MW+28)
: deactivated by ENTER

: *) 3 = REMARKS (Message texts 0...127)


: activated by 00 -> 1 transition of at least one message
: bit to which a text with INFO priority is assigned,
: deactivated in accordance with selected deletion
: procedure of corresponding INFO text.

: *) 4 = WARNING (Message texts 0...127)


: as 3, but related to WARNING message texts.

: *) 5 = MALFUNCTIONS (Message texts 0...127)


: as 3, but related to MALFUNCTION message texts.

: 6 = HELP (HELP text)


: activated by pressing [HLP]
: deactivated by releasing [HLP]
: Requirement: valid HELP text!

: 7 = COMMUNICATIONS ERRORS (Fixed text)


: activated by interface or STARTTEST error,
: deactivated by prog. cont. RESET command,
: progr. cont. STOP/RUN transition and restart.

: 8 = User wants to start OFFLINE programs (Fixed text)


: activated by [CLR] with [HLP] key pressed
: and DIL switch 7 switched on,
: deactivated by any other key except
: [ENTER] (Info in display !).

Highest 9 = OFFLINE activated by [ENTER] in priority 8,


deactivated by selecting offline menu item »EXIT«

*) These priorities are only activated if they are not locked out by the prog. cont.

24
Function

2.4.2.1 DEFAULT TEXTS

The operating texts 0...15 are used as default texts (they can, however, also be used in menus). The
programmable cotnroller alone determines which of these default texts is displayed. The numeric and
control keys have no function here. If they are nevertheless pressed, the acoustic error alarm is suppressed,
so that control keys can be used for control purposes. Both setpoint and actual values can be used as
variables. Setpoint variables can, however, not be input. All variables are refreshed cyclically.

DEFAULT TEXT No. 0 has a special position; it appears immediately after the PCS 110 is switched on, even
if communication with the programmable controller has not yet been started. In the standard file supplied
it consists simply of 4 colons; the variable that may be present can not be displayed until communication
has begun.

2.4.2.2 MENU DESIGN

There are 15 setpoint value menus and 15 actual value menus available. The menus of both levels are
designated with numbers from 1...15. A menu consists of one or more nodes. An operating text (0...127)
can be assigned to each node.

Within a menu further nodes can be reached by means of the arrow keys; the structure is freely
programmable. The first node indicated is the entry node. When the menu is called up, the system jumps
to this entry node.

■ OPENING THE MENUS: The programmable controller program writes a menu number
(1..15) to the DR 14 (= MB+29; here MB 79) of the command word.

■ CLOSING THE MENUS: The menu is closed by the user. They can be closed only in the
menu nodes provided for this purpose. In the setpoint value menu the ENTER key must be pressed,
in the actual value menu the CLR key (alternative in actual value menus: ENTER or CLR/ENTER;
selectable by programming).

Each node can be individually declared as an END NODE or as a NON-END NODE. This declaration can
prevent unintended closing of the menu

As of Version PG110.301 a setpoint value menu can only be closed when the
setpoint value agrees with the value read out of the programmable controller.
Between writing back and repeated reading out, 1 programmable controller
cycle is guaranteed. In this way interlockings or variable min/max comparisons
can be carried out by the programmable controller. If the comparison is
negative, the cursor remains in this input field. In this case an INFORMATION
text can also be triggered in the programmable controller, which may have to
be cleared with [CLR].

IN THIS CASE, PARTLY EDITED SETPOINT VALUES ARE NOT TRANSFERRED !

25
Function

■ STRUCTURE OF THE MENUS:

Each of the up to 30 possible menus can have any structure desired. If complex structures are to be realized,
it is advisable to proceed as follows (separately for each menu):

■ First sketch out the structre on a piece of paper, showing the node connections with lines in various
colours (different colour for each arrow key).
■ Then assign an operating text number to each node. The same operating texts can be used in
different menus (saves memory space).
■ Designate each node from which closing of the menu is to be forbidden with an »N«.
■ Then designate all nodes with the desired numbers (1..255).
■ Formulate a program line for each node, taking all parameters from the sketch. The entry node must
be the first to appear, the sequence of the remaining nodes can be chosen at will (provided they all
belong to one menu).
Programming of the menu nodes is described in Section 3.2.6. During programming the PCS 110 checks
the menu definitions for plausibility. It must be ensured that menus do not distintegrate and that from each
menu point an end node can be reached. Apart from this there are no restrictions, i.e. within each node
any desired target node within the same menu can be assigned to any arrow key.

When formulating the operating texts care should be taken to achieve good user guidance; nodes
WITHOUT variables, which serve simply for user guidance, are quite possible. As the structure of the menus
is later invisible, the special characters ARROW UP, ARROW DOWN, ARROW RIGHT and ARROW LEFT
(see character set) should be used as an aid to clarity (@5E = arrow up, @5F = arrow down, <, >). In each
node it should be clear how, for example, the END node can be reached.

2.4.2.2.1 ACTUAL VALUE MENU

A maximum of 15 of the actual value menus that can be opened by the programmable controller are
available. The variables can be both setpoint values and actual values; they are constantly refreshed (but
they are not alterable). The controller is started when a value > 0 is written to Bits 0...3 of the command word.
As soon as this menu number > 0 is recognised, the PCS sets this number to 0 again in the same data
exchange cycle. If, at this time, a higher (or equal priority) is selected, the menu number is stored in the PCS
(not secure against loss of supply voltage) until the higer (or equal) priority is switched off.

26
Function

2.4.2.2.2 SETPOINT VALUE MENU

The same rules apply for setpoint value menus as for actual value menus; however as setpoint declared
variables they are all alterable. The 1st setpoint value is continuously underlined and frozen. If this setpoint
value lies outside the limits defined, inverse fields are displayed instead of the variable. When an deit key
is pressed once, the permitted value (MINIMUM VALUE or MAXIMUM VALUE) is displayed. If the setpoint
value has been changed, the input field is marked with a flashing underline (in the case of numeric values
this is below the last position, in the case of STRING and BIT variables it is below the 1st position).

For fetching variables the following rule applies: the underlined variables is only fetched once. All other
setpoint and actual values are constantly refreshed. If the underlined variable is quit after an alteration, the
value is read again and compared with the edited value at the earliest one programmable controller cycle
later. Thus even context-sensitive setpoint values can be used within a menu node.

ATTENTION !

As longas the underliningis flashing,it is simplyan intermediate


result which is being displayed. This means that the value in the
display does not coincide with the value in the controller !

Numeric values can also be altered in addition or in subtraction


mode: figure, figure, ... plus (see next page). Afterwards the editor
is in initial state again (continuous underlining). The result displayed
is however still an intermediate result, which has not yet been
written back!

For writing back, the following rules apply:

■ Only altered values are written back (even after [ENTER] !)


■ BIT and CSTRING variables are written back immediately at every alteration.

If the variables refer to magnitudes smaller than 1 data word (BCD 1...3 digits, STRING), the leading bits
are handled in accordance with the following logic:

■ When preset values are read in, leading bits are ignored (i.e. if they are set, this dies not result in the
display of inverse fields).
■ During writing back they are set to zero.
■ With BIT variables all bits remain unaltered.

On the basis of these bits a programmable controller program can determine whether an alteration has been
made.

27
Function

Operation of the integrated editor

Variable type Key Function

BIT PLUS Sets a bit that was 0 to 1 and writes back variable;
MINUS Deletes a bit and writes back variable;
ENTER Closes menu, if permitted.
* ARROWS Leaves this variable, if permitted. The next variable or the next
node in the direction of the arrow is searched for.

STRING / * PLUS Increments a variable, provided the value lies within the limits;
CSTRING**) * MINUS decrements a variable, provided the value lies within the
limits;
CLR restores the old value in the display;
ENTER sends off the selected value, provided it has been altered;
* ARROWS sends off value, provided it has been altered and not yet sent
off and seeks for the next variable or the next menu node in
the direction of the arrow.

BCD-1 / * PLUS/ adds/subtracts n within the limits


BCD-2 MINUS where:
* n = 1 if figures have not yet been entered or
* n = value entered if figures have been entered;
CLR restores the old value on the display;
ENTER sends off the value, provided it has been altered and not yet
sent off;
* ARROWS see "STRING"
* FIGURES enables direct entry.

BIN-2 / see BCD


BIN-B

BIN-1 / see BCD


BIN-A additional
POINT changes to digits after point, provided digits after point are
defined.

VBIN-1 / PLUS/ indicate sign (at any time).


VBIN-2 / MINUS
VBIN-A / all
VBIN-B others see "BIN-x"

WORD * PLUS moves the cursor one bit position


MINUS forwards/backwards;
CLR/ENT. see BCD
0/1 sets bit at cursor position to 0 or 1.

* = Autorepeat **) CSTRING see 2.4.1.3

28
Function

If several setpoints value variables are used in a text, these can be reached with the arrow keys. If there
are several nodes in an activated menu, the arrow keys have a double meaning. If this is not desired, then
only one setpoint variable per node can be declared.

ARROW LEFT / RIGHT: If several variables are used in the text, the two lines are regarded as lying one
next to one another and the next variable is searched for. If the current variable was already the last
or the first, the next node is searched for and repositioning takes place to the 1st variable at the top
left. If there is no node in the direction of the arrow, an acoustic error alarm sounds.

ARROW DOWN / UP: If variables are distributed in both lines, the first variable (left) in the line
corresponding to the direction of the arrow is searched for. If there is no setpoint value variable in this
line, the next node in the direction of the arrow is searched for. If there is no node there, an acoustic
error alarm sounds.

ARROW DOWN in the 2nd line and ARROW UP in the 1st line always search for the next node.

In a new node repositioning always takes place to the 1st setpoint value variable top left !

Each mode can be defined as an END node or as a NON-END node. In an end node the [ENTER] key has
the effect of closing the setpoint value menu. The closing of a menu can be detected in the programmable
controller programm with the following logic:

In the DR of DW 11 (= MB+23) the indicated priority is signalled back. If the indicated priority = 2 and the
current priority is < 2, a menu is closed. The [ENTER] key should not be used as a closing criterion, as the
[ENTER] key signal has a higher priority than the writing back of an altered setpoint value.

As of Version 301 there is an alternative PCS status available: »STATUS-BIT«. If this is used,
the 1-> 0 transition of bit 1 in DW 11 (=M+23.1) can be used as the criterion for determining
whether the user has closed the setpoint value menu.

29
Function

2.4.2.3 MESSAGE PRIORITIES

In these priority classes (3,4 and 5) texts are not addressed using a number; the texts are called up by setting
a bit. A MESSAGE TEXT with a maximum of 32 lines is assigned to each of the 128 bits. For each of the
128 texts an individual MESSAGE PRIORITY can be set (determined during programming). The message
priorities are:

■ INFORMATION PRIORITY (Priority 3)


■ WARNING PRIORITY (Priority 4)
■ MALFUNCTION PRIORITY (Priority 5)

These priority classes differ only in priority level, not in function (exception: variable refreshing, see below).
For each priority class individual storage procedure and display procedure can be set by the programmable
controller (and are thus changeable at any time).

2.4.2.3.1 STORAGE PROCEDURE

■ FIRST VALUE MESSAGE WITHOUT MANUAL SELECTION POSSIBILITY:


The oldest text call remains in the display until it is cleared.
■ FIRST VALUE MESSAGE WITH MANUAL SELECTION POSSIBILITY:
The first bit that has a 0-> 1 transfers its text into the display. If further bits are set, these texts can be
reached using the ARROW RIGHT key. The ARROW LEFT key is used for switching back. The text
entries can be deleted from the memory at any time (in accordance with their deletion procedure).
■ LAST VALUE MESSAGE WITHOUT MANUAL SELECTION POSSIBILITY:
Each 0 -> 1 transition transfers its text into the display immediately, the older entries remain in the
memory. Entries can be deleted at will here too.
■ CYCLICAL DISPLAY WITHOUT MANUAL SELECTION POSSIBILITY:
The storage mode corresponds to the FIRST VALUE MESSAGE. If, however, several texts are
switched on, the entries are rotated with a programmable ROTATION TIME. If the help texts are
switched on, the ROTATIOLN TIME begins again from new. In principle all deletion possibilities are
available here too. Since, however, there is no lock-out time available within a priority, only deletion
possibility 1 (no manual deletion) should be selected here, in order to avoid operating errors.
The storage procedure described above can be overridden at any time by a change of priority. The priority
change affects only the representation procedure, not the entry procedure. To avoid operating errors, a fixed
lock-out time of 0.5 seconds is installed. After a priority change the CONTROL KEYS are locked out for 0.5
seconds.

30
Function

In principle it is attempted to enter the appearance of the edges in their correct sequence in time. However,
the following limitations exist: as the reading out of the bits has a relatively low priority, with short
programmable controller cycle periods this task would be performed only in every 5th or 6th data exchange.
With cycle periods longer than 50 milliseconds and a baud rate of 19200 baud this task is performed in
each packet, so the term »sequence in time« is identical with the phrase »in successive« programmable
controller cycles« (see Section 5.3).

If several bits are set in a cycle, the lowest text numbers have a higher priority.

2.4.2.3.2 DELETION PROCEDURES

The deletion procedure can be set individually for each message bit. They are determined during
programming. There are 4 deletion modes:

1 No manual deletion

The text remains switched on, as long as the corresponding bit = 1. The bit is simply read by the PCS.
The operator prompt LED is out.

2 Manual deletion possible at any time

The text is switched by a 0 -> 1 transition and must be deleted using <CLR>. In addition, the message
bit in the programmable controller is deleted by the PCS. For this deletion procedure the message
bit in the programmable controller program may only be set once (no constant assignment !).
On pressing <CLR> the operator promt LED goes out at once, the message is output as a result of
the message bit deleted by the PCS.

3 Manual deletion or programmable controller deletion

The text is switched on by a 0 -> 1 transition. It can be switched off at any time with <CLR> key,
regardless of the status of the message bit. The message bit must be reset by the S5 program and
the message does not appear again until there is a 0 -> 1 transition. The message bit itself is not
affected by the PCS.

4 Manual deletion only possible when message bit = 0

The text is switched by 0 -> 1 transition. The text can only be switched out with the <CLR> key when
the message bit = 0 again. The state of the message bit is indicated by the OPERATOR PROMPT
LED:
Flashing: Bit = logical 1, deletion not possible.
Constantly on: Bit = logical 0, the message can be deleted.

31
Function

2.4.2.3.3 DISPLAY PROCEDURE

For each of the priorities 3,4 and 5, individual display procedures can be set using 2 bits. 1 bit determines
the flashing of the (overall) text, the 2nd bit determines the depiction of a flashing underline (below the
overall text).

2.4.2.3.4 VARIABLES IN MESSAGE TEXTS

In principle all variables within the INFORMATION and WARNING priorities are constantly refreshed (as
of Version 304).

For the MALFUNCTION priority the following applies:


All variables (including internal variables) are fetched only once. If, however, the text
displayed or the pair of lines within a mailfunction text (help lines) changes, the varia-
bles are transferred from the programmable controller again. This does not, however,
applay for a change of priority.

Out of the avobe the following simplication results: if only 2-line malfunction texts are used and a storage
procedure without manual selection possibility and without automatic rotation are chosen, the otherwise
necessary rotation is not required.

Example: For each malfunction the time of its occurence is to be displayed. For this purpose the internal
variable ZY (time) is used in all malfunction texts. If the 1st malfunction occurs, the variable is fetched once
and displayed. If, however, the text consists of 4 lines, the variable is fetched again after the display has
switched back to the main lines. A priority change caused, for example, by the HELP text described
below, would not trigger the refreshing; after returning the value of the variable is still the same as before
the priority change.

2.4.2.4 HELP PRIORITY

This is the highest priority stage that is normally accessible to the user. It is always switched on as long as
the [HELP] key is pressed. When the key is released, the priority is switched off again. This priority stage
cannot be locked out by the programmable controller and is thus always available to the user (provided a
HLP text is defined). The text required here is an independent text with a maximum of 32 lines. It should
contain all variables that could be of significance for possible error diagnosis (including internal variables !).

If, with the [HELP] key pressed, the [ARROW DOWN] key is used to switch on to the following lines and the
HLP key is released, the line numbers remain stored (not secure against loss of supply voltage). When the
[HELP] key is pressed again, the old pair of lines appears in the display. With [ARROW UP] (and the [HELP]
key pressed), it is possible to switch back to the main lines (1 and 2).

32
Function

2.4.2.5 COMMUNICATION ERRORS

The priority stage described here is triggered by 5 possible errors. The corresponding texts cannot be
changed. In Version G these texts consist of abbreviations of English word:

=== DATA ERRORS === === COMMUNICATION ERROR ===


XXXX XXXXX XXXXXX XXXXX XXXXXX

For XXXX on the second line, the following is appears:

■ CONFIG: The selected startup procedure is stored unprotected in the RAM of the real-time clock
together with a cross-check sum. If this cross-check sum does not agree, it must be assumed that
these data (and also the time and date) have been destroyed by a program crash. This is certain to
happen, if an EPROM cassette is inserted during operation WITHOUT pressing the RESET BUTTON.

■ STARTUP: The selected startup procedure cannot be carried out. This fault always occurs, if the
external data cassette is selected when it is not plugged in.

■ PARAMETER: The selected database contains invalid data. This fault is usually the result of
incorrect programming, i.e. errors indicated during programming were ignored and the database
nevertheless selected.

■ TIME: This refers to time-out at the interface. This can have several causes:
1. The programmable controller program has been stopped.
2. The cable has become discontinous.
3. The handling block is not being called up cyclically.

■ CONNECT: Two successive invalid packets have been received. Even non-recurring procedures
(such as the fetching and setting to zero of a menu number) are not lost as the result of a simple
repetition. If, however, the repetition is also erroneous, this error message is issued. Information on
how to eliminate it is given in Section.

The faults TIME and CONNECT can be reset by the programmable cotnroller. When they occur, the PCS
110 goes to listening standby condition, the PLC signals the interruption of communications in the fault word
and the handling function block is formulated in such a way that in this case it sends no response packet
to the PLC. It awaits the command to resume communication via the programmable controller program.
This should - as with acknowledgement - be given manually using a button in the control cabinet or using
the STOP/RUN switch on the programmable controller (see »DESCRIPTION OF THE HANDLING
FUNCTION BLOCK«).

The faults CONFIG and STARTUP can be eliminated by reselecting in the offline menu.

The fault PARAMETER requires reprogramming of the PCS 110 (or is a consequence of the CONFIG or
STARTUP faults).

As of Version 301 the faults CONFIG, STARTUP and PARAMETER do not lead
an terruption of communication: despite the fault, KEYS, TIME, DATE
and LED's are transferred!

33
Function

2.4.3 INTERFACING THE PCS 110

The interface to the programmable controller program in Projects 1 and 2 is a marker range in the handling
FB to which parameters can be assigned (parameter VOBI in FB 210). In Projects 3, 4, 5 and 6 a data block
can also be specified with a maximum of 256 words (parameter UBDB in FB 210). In both cases there must
be a minimum length which is required by the maximum variable address (take care with double word
variables). No check is made so that the control system may go to STOP when it attempts to access these
variables for the first time.

Example: DW 40 (= MW+80) is the maximum specified word address during programming. Further
more a double word variable has been declared at DW 40 (= MW+80). This means that the
data block or marker range must have a length of 42 words (DW 0 to DW 41 inclusive), in other
words 84 bytes (for example MW 50 to MW 134).

The meaning of DW 0 to DW 22 (= MW+0) to MW+44) is fixed.

Caution! (only applies to Projects 1 and 2)

Since the parameter assignment for the marker range is individual,


the corresponding MW No. (programmable controller) must be
calculated into the word No. (PCS) and vice versa using the
following formula:

MW No. (programmable controller) = Word No. (PCS) *2 + Initial MW No. (programmable controller)
Vice versa:
Word No. (PCS) = [MW No. (programmable controller) - Initial MW No. (programmable controller)] / 2

Example: The marker range fixed for communication should go from MW50 up to and inclusing
MW 148, i.e. the parameter VOBI in FB 210 must be assigned the value KY 50, 148.
The MW 126 must be altered in a setpoint menu.

Sought: Word number for programming the PCS 100

Calculation: Word No. (PCS) = (126-50)/2 = 38

All range values are to be understood as »from ... to ... inclusive«. Figures with an initial KH are to be
understood as Hex figures, numbers without specification are to be understood as decimal. The terms
»write« and »read« are to be understood from the point of view of the programmable controller.

The data range is divided into the following groups:

1. System range: DW 0 - DW 3 (= MW+0 - MW+6)

DW0 - DW 2 (= MW+0 - MW+4) are used internally by the handling block FB 210
DW 3 (= MW+6) error word

34
Function

2. Set function range: DW4...DW14 (= MW+8...MW+28)

Direction

KEYS: PCS P/C


DW 4 (= MW+8) key bits --------->
DW 5 (= MW+10) key bits --------->

REAL-TIME CLOCK: PCS P/C


DW 6 (= MW+12) year --------->
DW 7 (= MW+14) month, day --------->
DW 8 (= MW+16) weekend, hour --------->
DW 9 (= MW+18) minute, second --------->

PCS STATUS: PCS P/C


DW 10 (= MW+20) message in display (DW, Bit No.) --------->
DW 11 (= MW+21) text number, displayed priority --------->

LED STATUS, DISPLAY and STORAGE MODE: PCS P/C


DW 12 (= MW+24) Led status and display modes <--------
DW 13 (= MW+26) Led flashing status and storage modes <--------

COMMAND WORD: PCS P/C


DW 14 (= MB+28) default text number, priority limit <---------
DR 14 (= MB+29) menu number SETPOINT, menu number ACTUAL <-------->

3. Message range: DW15...DW22 (= MW+30...MW+44)

PCS P/C
Deletion procedure 1 --------->
Deletion procedure 2 <-------->
Deletion procedure 3 <---------
Deletion procedure 4 <---------

4. Expansion range: DW23...DW29 (= MW+46...MW+58)

At present used for variables <-------->

5. Variable range: DW30...DW255 (= MW+60...max. MW+244)

free for variables <-------->

The communication between the programmable controller and the PCS should be exclusively performed via the
command word DW 14 (= MW+28) for writing and the PCS status word DW 11 (= MW+22) for reading. As a result of
the higher Priority of the key words DW 4 and DW 5 (= MW+8 and MW+10) the control keys (cursor, +, -, CLR and ENTER)
should be used with care.

In Projects 1 and 2 the variable range can only be used in this size in the market range MW0 to the marker range end
MW 244 (= 122 words).

35
Function

2.4.3.1 SUMMARY OF DW/MW RANGE

Each byte of the UBDB's bsw or of the parameterisable flag range VOBI is assigned to a defined task. An
offset of 50 is to be added for the example on diskette (projects 1 and 2) (Flag range from MW 50 -> MW
198). Brief overview:

36
Function

2.4.3.2 SYSTEM RANGE

DW 0 (= MW+0) - not used -

DW 1 (= MW+2) DW1 is reserved for string the base address of the PCS 810 base address
(initialized in FB 203 at the 1st cycle).

DW 2 (= MW+4) - not used -

DW 3 (= MW+6) ERROR WORD

DL 3 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+6 - - Time - - - - -

DR 3 7 6 5 4 3 2 1 0
MB+7 - - - - - - - -

In DL 3 (= MB+6) the faults detected by the PLC are recorded. Only bit 13 may appear:

Bit 13: time-out (cable fault)

These faults should result in the termination of communication (as realized in the data handling block). After
COMMUNICATIONS RESET by the programmable controller, the system returns to the old position in the
PCS. Only the start of a menu can (in the most exceptional cases) be lost.

The faults indicated in the older versions in MB+7 are (when communication is in progress) now only
indicated in the PCS STATUS WORD DW 11 (= MB+23 Bit 6).

37
Function

2.4.3.2 FUNCTION RANGE

Hre, key depressions, clocktime, date and PCS status are read, the PCS control word, the LED's and the
display and storage modes are written, and menu invocations are read and written.

DW 4 (= MW+8) F KEYS, DW 5 (= MW+10) CONTROL KEYS

DL 4 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+8 F1 F2 F3 F4 F5 F6 F7 F8

DR 4 7 6 5 4 3 2 1 0
MB+9 DIL1 DIL2 DIL3 DIL4 F9 F10 F19 F20

DL 5 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+10 F11 F12 F13 F14 F15 F16 F17 F18

DR 5 7 6 5 4 3 2 1 0
MB+11 V ^ > < - + CLR ENTER

These key bits are at logical 1 for as long as the corresponding key is pressed and communication is running
without faults. If a fault appears, they are set to logical 0 via the handling FB. The control keys in DW 5 (=
MB+11) should be used only with caution.

Example: The ENTER key is used exclusively for terminating setpoint value menus, but since key
transmission has a higher priority than the transmission of the setpoint value, it can happen that
the key appears before the edited setpoint value. The key can thus cause false interpretations
in the S5 program. In order to avoid this problem, the PCS status DR 11 (= MB+23) should be
used as end criterion. The ENTER key can however be used, e.g. to call up a subsequent menu
(via the programmable controller).

Section 6.1 contains an example of edge detection (pos. and neg.) for all keys. On pressing and on releasing
each key you obtain a logical 1 for one cycle in each case.

38
DW 6 (= MW+12), DW 7 (= MW+14) DATE

DL 6 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+12 Millennium Century

DR 6 7 6 5 4 3 2 1 0
MB+13 Decade Year

DL 7 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+14 Month (Day code 101) Month (Day code 100)

DR 7 7 6 5 4 3 2 1 0
MB+15 Day (Day code 101) Day (Day code 100)

The date appears as BCD digits. It is, however, only valid when 1000's of years > 0. When no date has
been indicated, DW 6 = KH0000. If the year < 88, 20xx is assumed

DW 8 (= MW+16), DW 9 (= MW+18) WEEKDAY AND TIME

DL 8 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+16 Day of week (01...07)

DR 8 7 6 5 4 3 2 1 0
MB+17 Hour (00...23)

DL 9 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+18 Minute (00...59)

DR 9 7 6 5 4 3 2 1 0
MB+19 Second (00...59)

These contents are also valid only when DW 6 <> 0. A seconds clock rate can be derived from the seconds,
but it should be noted that the indication of a new time (especially with a long programmable controller cycle)
can be delayed for up to a second. Apart from this the contents are always valid, since the PCS always
refreshes DW 6... DW 9 in a cycle.

Application: Holding the rest time point of a machine. For this purpose the clock time is transferred (byte
by byte) to the variable range. The corresponding DW's are declared as 2-digit BCD variables
in the message text. After transfer the corresponding message bit is set.

39
Function

DW 10 (= MW+20), DW 11 (= MW+22) PCS STATUS

These DW's offer the opportunity of reacting to user inputs in the S5 user program.

DL 10 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+20 DW No. (binary) of message bit of displayed message

DR 10 7 6 5 4 3 2 1 0
MB+21 Bit No. (binary) of message bit of displayed message

DL 11 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+22 U/M Text number (binary) of currently displayed text

DR 11 7 6 5 4 3 2 1 0
MB+23 currently displayed priority within PCS (binary)

DW 10 (= MW+20) is valid only when the PCS is in the message priorities (3 4 or 5). A pointer in DW 10
(= MW+20) is then located on message bit field (DW 15...DW 22, = MW+30...MW+44). The value in the
DL 10 = MB+20 runs from KBOF to KB16 and the DR 10 = MB+21 (bit no.) from KB00 to KB0F.

The DR 11 (= MB+23) should always be used as the decision criterion when it is desired that the system
react to user inputs. For example, a priority < 2 (after having been = 2) shows that a setpoint value menu
has been left. Priority 6 (HELP) is not indicated here, priorities 8 and 9 are indicated.

If the PCS is in a message priority, bit 7 of DW 11 (= MB+22) = 0 (corresponding to message text numbers
0...127). If the PCS is in an operating priority, bit 7 of DL 11 (= MB+22) = 1 (operating text number (0...127)
+ 128).

If »STATUS BIT« is indicated when programming or if one of the faults CONFIG, STARTUP or PARAMETER
is active, an alternative status is provided in the DR 11 (= MB+23) (as of Version 304):

DR 11 7 6 5 4 3 2 1 0
MB+23 T/O ERROR HLP MALF. WARN. INFO. STPT. ACT.

Here the priorities 1...8 (beginning with bit 0) are shown. The HLP priority appears in bit 5. The transition and
OFFLINE priorities are both indicated in BIT 7. If one or more priorities are switched on, the corresponding
bits are at logical 1 (priority 0 is always switched on!).

Bit 0: Actual value menu active


Bit 1: Setpoint value menu active
Bit 2: Information switched on
Bit 3: Warning switched on
Bit 4: Malfunction switched on
Bit 5: HELP priority switched on
Bit 6: CONFIG, STARTUP, PARAMETER ERROR
Bit 7: Transition/offline priority

40
DW 12 (= MW+24) LED STATUS AND DISPLAY MODE

These words can be constantly written by the S5 program.

DL 12 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+24 1 2 3 4 5 6 7 8

DR 12 7 6 5 4 3 2 1 0
MB+25 9 10 Displ mode S Displ mode W Displ mode H
H-Bit L-Bit H-Bit L-Bit H-Bit L-Bit

DISPLAY MODES:

■ 00: If both bits are 0, normal representation


■ 01: Message text with flashing underline
■ 10: Flashing message text
■ 11: Flashing text with flashing underline

The display modes apply for the malfunction, information and warning priorities and are separately
adjustable.

DW 13 (= MW+26) LED FLASHING AND STORAGE PROCEDURE

DL 13 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+26 1bl. 2bl. 3bl. 4bl. 4bl. 6bl. 7bl. 8bl.

DR 13 7 6 5 4 3 2 1 0
MB+27 9bl. 10bl. St.proc. malf. St.proc. warning St.proc. info.
H-Bit L-Bit H-Bit L-Bit H-Bit L-Bit

STORAGE PROCEDURE:

■ 00: First message without selection possibilities


■ 01: First message with selection possibilities
■ 10: Last message (without selection possibility)
■ 11: Cyclic display (without selection possibility)

The LED bits in DW 12 (= MW+24) determine whether an LED is to light up, the LED bits in DW 13 (=
MW+26) determine whether an LED is to flash. If only »flash« is set, they light up (slightly) out of phase.

Manual switching on to other messages (with arrows left and right) is possible only in mode 01. If the facility
of switching on is desired in other modes, mode 01 should be set here first. At this moment the text currently
being displayed remains in the display and it is possible to page forwards or backwards with [ARROW
RIGHT (or LEFT)] up to the oldest or latest message.

The various deletion procedures and paging to the help lines are described in the Section on »MESSAGE
PRIORITIES«.

41
Interfacing

DW 14 (= MW+28) COMMAND WORD: DEFAULT TEXT, PRIORITY LIMIT

MENU SELECTION SETPOINT, MENU SELECTION ACTUAL

DL 14 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+28 Operating text number (0...15) Priority limit (bin)

DR 14 7 6 5 4 3 2 1 0
MB+29 Menu selection (nominal values) Menu selection (actual values)

The DL 14 (= MB+28) must be written in the S5 program, the DR 14 (= MB+29) must be read and written
to.

1. Default text: This is one of the operating texts 0...15. It appears either when there is no higher priority
present or when the priority is locked to 0. This text number can be changed at any time by the
programmable controller. The text can contain both ACTUAL and setpoint values (these cannot
however be edited).

2. Priority limit: Priorities can be locked here. The handling FB sets this limit at restart to $F (enable
all priorities). Priorities 6 (HELP text) and 7 (communications fault) cannto be locked. If the priority limit
is set to 2 for setpoint value input, information, warnings and malfunctions cannot interrupt the menus.

3. Calling up menus: An actual or a setpoint value menu can be started by writing a value > 0 to the
DR 14 (= MB+29). As soon as the menu number is fetched, it is set to 0 by the PCS in the same cycle.
It follows from this, that a new menu should not be called up until there are 0's in the 4 bit positions.
The menu number is not fetched by the PCS while a menu is running (divided according to setpoint
and actual menu). A menu is always terminated by the user (see 2.4.2.2). If a subsequent menu is
then to be started, a new value can be written to DW 14 (= MB+29) while menu is running (as soon
as the 4 bits = 0). The default text is displayed briefly between the end of the old menu and the start
of the new menu. If this is found to be disturbing, a default text containing blanks should be called up
at every menu invocation.

An example for starting setpoint value menu 1 with F1 is described in Section 6.2.

42
Interfacing

2.4.3.4 MESSAGE RANGE

DW 15...DW 22 (= MW+30...MW+44) MESSAGE BITS

DL 15 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+30 M.15 M.14 M.13 M.12 M.11 M.10 M.9 M.8

DR 15 7 6 5 4 3 2 1 0
MB+31 M.7 M.6 M.5 M.4 M.3 M.2 M.1 M.0

DL 16 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+32 M.31 M.30 M.29 M.28 M.27 M.26 M.25 M.24

DR 16 7 6 5 4 3 2 1 0
MB+33 M.23 M.22 M.21 M.20 M.19 M.18 M.17 M.16

DL 17 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+34 M.47 M.46 M.45 M.44 M.43 M.42 M.41 M.40

DR 17 7 6 5 4 3 2 1 0
MB+35 M.39 M.38 M.37 M.36 M.35 M.34 M.33 M.32

DL 18 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+36 M.63 M.62 M.61 M.60 M.59 M.58 M.57 M.56

DR 18 7 6 5 4 3 2 1 0
MB+37 M.55 M.54 M.53 M.52 M.51 M.50 M.49 M.48

DL 19 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+38 M.79 M.78 M.77 M.76 M.75 M.74 M.73 M.72

DR 19 7 6 5 4 3 2 1 0
MB+39 M.71 M.70 M.69 M.68 M.67 M.66 M.65 M.64

DL 20 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+40 M.95 M.94 M.93 M.92 M.91 M.90 M.89 M.88

DR 20 7 6 5 4 3 2 1 0
MB+41 M.87 M.86 M.85 M.84 M.83 M.82 M.81 M.80

DL 21 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+42 M.111 M.110 M.109 M.108 M.107 M.106 M.105 M.104

DR 21 7 6 5 4 3 2 1 0
MB+43 M.103 M.102 M.101 M.100 M.99 M.98 M.97 M.96

43
Interfacing

DL 22 15 (7) 14 (6) 13 (5) 12 (4) 11 (3) 10 (2) 9 (1) 8 (0)


MB+44 M.127 M.126 M.125 M.124 M.123 M.122 M.121 M.120

DR 22 7 6 5 4 3 2 1 0
MB+45 M.119 M.118 M.117 M.116 M.115 M.114 M.113 M.112

A MESSAGE TEXT (0..127, max. 32 lines each) is assigned to each bit. Each text can have a specific priority
(3...5) and a specific deletion procedure.

ATTENTION:
In malfunctions variables are not constantly refreshed !

2.4.3.4 VARIABLE RANGE

DW 23 (= MW+46)...DW 255 (= MW+244) VARIABLE CONTENTS

Before the exchange of data, all variables (setpoint and actual) must be written into the corresponding DW's/
MW's; after the exchange of data, only the setpoint values must be read back out of the DW's/MW's. It is
thus advisable to address setpoint values concisely.

The assignment of addresses to the individual variables takes place during the programming of the PCS.
The variable formats BCD, BIN and STRING use the data words right-justified, the format BIT can be used
on every individual bit (up to 16 BIT variables per DW). One and the same DW can however also be the
source for several variables (even if of different types). As setpoint value however, only one variable type
should be assigned to a data word (but one or more actual value variables can be simultaneously assigned
to this word).

Leading (unused) bits in setpoint values of the type STRING and BCD (length 1...3) are ignored during
reading, during writing back they are set to 0. The type BIT alters only the bit addressed.

Before restarting, setpoint values should be present in accordance with their MIN/MAX permitted values,
as they are needed as default values for editing. If they are outside the MIN/MAX range, inverse fields are
displayed; these can be exited as setpoint values only when they have been corrected.

With 32-bit variables the DW with the lower number is the higher-value word, the DW with the higher number
is the lower-value word.

Variables of the types BIT and CSTRING are signalled immediately after a change, all others are signalled
only after leaving the variable field or after [ENTER].

44
Interfacing

2.5 OFFLINE OPERATION

Communication carries on even during programming, i.e. the keys, LED's, the clock, the 0 -> 1 transitions
of the message bits, the PCS status and communications fields continue to be handled. Only the messages
in the display are not visible. While the EPROM's are being programmed, no communication with the
controller is however possible.

2.5.1 START UP AND TERMINATION

If DIL switch 7 is set (ON) or DATA ERROR is active, it is possible to reach the offline menu using CLR with
the HLP key pressed. If the data record with which it is intended to work is invalid, or if the STARTUP
procedure cannot be carried out, the OFFLINE MENU can be reached at any time. Before it is called up,
there is another security inquiry, which must be confirmed with ENTER. For terminating the OFFLINE MENU
there is a separate menu point.

ATTENTION:

After terminating the offline menu, proceed as follows:

■ if the active data record has been overprogrammed, or if the data source (RAM1, RAM2 etc.) has
been switched over, a partial reset follows. I.e.:

■ Started menus are terminated


■ All messages in the message memory are deleted
■ The line selection in the HLP text is reset to the first two lines
■ Faults CONFIG, STARTUP and PARAMETER are deleted
■ The check sum of the data record is checked.

During this time the display is dark (approx. 0,5 s) and a PARTIAL RESET (with communication running) is
performed. This means that a setpoint value menu which may have been started will be terminated without
writing back setpoint values!

■ If the data record was not changed and also not switched over, the system returns to the old position,
i.e. a partial reset is not carried out.

■ OPERATION OF THE OFFLINE MENU

■ [ENTER]: confirm selection


■ [HLP]: return of main menu
■ [+]: select menu items and parameters
■ [-]: select menu items and parameters
■ [CLR]: display preset menu item or parameter

45
Online

■ BASIC FUNCTIONS OF THE OFFLINE MENU

1. return to normal operation


2. select start procedure
3. program via serial interface
4. program from PROM cassettes
(possible only with prog. cont. communication running)

■ RETURN TO ONLINE OPERATION

After selecting the menu item »EXIT« and pressing [ENTEr] the offline menu is selected (see above).

2.5.1.2 START PROCEDURES

The selected start procedure is performed:

1. after MAINS ON and after pressing the RESET BUTTON at the rear.

2. after leaving the offline menu, if the parameter set was altered.

■ If the fault »PARAMETER« then appears, there are no valid data in the PCS 110.

■ If the fault »STARTUP« then appears, the selected start procedure cannot be carried out (e.g. no
MEMORY PACK plugged in).

■ If the fault »CONFIG« then appears, the check sum for the start procedure is incorrect. This can
be due to an empty battery and can be eliminated in the offline menu.

The following start procedures are selectable:

1. Operation from RAM 1 *)


2. Operation from PROM A
3. Operation from RAM 2 *)
4. Operation from PROM B

*) Note description of DIL switches 9 and 10 !

2.5.1.3 PROGRAMMING / SERIAL INTERFACE

After selecting the data memory the PCS can be programmed by transferring an ASCII file. This menu item
must be terminated manually using the [HLP] key. Programmin is described in detail in Section 3.

46
Online

2.5.1.4 BURNING EPROM's AND EEPROM's

ATTENTION:

DURING PROGRAMMING NO PROG. CONT. COMMUNICATION IS POSSIBLE !

After selecting the source and target using the [+] and [-] keys, complete data records can be copied. For
identification the memory capacity occupied is displayed. In addition the first line of the HELP text appears
in the 2nd line. If a version number of the data record is marked here, this can be called up at any time using
the HLP key.

The PCS 110 recognizes the type of memory medium independently. If EPROM's have already been
programmed, they cannot be overprogrammed. EERPOM's are automatically erased.

Only the following types of EPROM can be used:

■ CMOS 32 kBit * 8
■ Access time Tacc = 200 ns
■ Programming voltage Vpp = 12,5 V
■ Programmer algorithm: INTELLIGENT

The following types are checked:

TMS 27C256 20 JL (Texas Instr.)


27 C 256-20 (General Instr.)
MBM 27C256-20 (Fujitsu)
27C256-20 (Intel)

ATTENTION !

WHEN INSERTING THE EPROM,


OBSERVE THE NOTCH !

FOR LONG-TERM OPERATION THE WRITE-PROTECTION JUMPER ON THE MEMORY


PACK MUST BE SET TO »ON« !

47
Online

48
Online

3 PROGRAMMING

Programming is performed by data transfer from a programming unit or PC. A text file must be created,
containing all texts, variable declarations, group assignments and parameters in the form shown below. If
the file is created on a PC, it must be ensured that it is a pure (7-bit) ASCII file (umlauts ÄÖÜ = </>). The
file can be transferred using the DOS commands MODE and COPY:

MODE COM1: 96,e,7,2,p


COPY filename.ext COM1:

On the programming unit you should select output to printer (standard print) without title block and without
margin. In addition, the busy input must be activated and connected to RTS on the PCS.

When this mode has been selected, the serial interface is ready to receive data. Either XON/XOFF protocol
or RTS/CTS protocol is possible. If the PCS is not ready, RTS is at logical LOW and XOFF is
transmitted. When it is ready, RTS is at logical HIGH and XON is transmitted.

After the last programming instruction, you must return to the main menu using HLP. It is possible to abort
at any time using HLP (although this results in the »PARAMETER error« due to an incomplete data record).
It is possible to transfer partial data records: the beginning of the first file must be identified with »AE« and
the beginnings of further files with »AA«. Each file must end with »##« (see AE/## command).

As long as the system is ready for programming, at least the following line appears in the display:

M: wwwww:xxxxxE: yyy IN zzzzz >

After this the transferred data are displayed (without comments).

■ wwwww: Lower end of memory (decimal)


■ xxxxx: Upper end of memory (decimal)
The difference between the above is the space still free
■ yyy: Fault number (> 0, as soon as fault occurs)
■ zzzzz: Line number (including all comment lines)

Since the line number is reset at each AE or AA, it is advisable to write these commands into the first line
of the file(s).

ATTENTION:

DURING TRANSFER THE PROGRAM LINES MUST BE VISIBLE IN


THE DISPLAY !
COMMENT LINES ARE NOT DISPLAYED !

49
Online

3.1 COMMANDS FOR SERIAL PROGRAMMING

At present the follwing commands are used:

AE RECEIVE ALL

AA APPEND ALL *)

## END PROGRAMMING

ZV ALTER TIME

PV SET PRIORITY OF A MESSAGE TEXT

LV SET DELETION PROCEDURE OF A MESSAGE

VV DECLARE (DEFINE) VARIABLE

AP DECLARE APPEND TO BIT AND STRING VARIABLES


MV DECLARE MESSAGE TEXT

BV DECLARE OPERATING TEXT

HV DECLARE HELP TEXT

IV DECLARE ACTUAL VALUE MENU

SV DECLARE SETPOINT VALUE MENU

STATUS BIT ALTERNATIVE PCS STATUS

IMET ALTER TERMINATION KEY OF ACTUAL VALUE MENU *)

*) These commands are available only as of Version PG 110.301.

50
Online

3.2 SYNTACTICAL DECLARATIONS

■ Forward references are nto allowed. The following sequence must be adhered to:
1. IDENTIFY BEGINNING OF FILE (AE)
2. DECLARE VARIABLE
3. FORMULATE TEXT This section may be
repeated over and over
4. DEFINE MENU NODES in the sequence !
5. IDENTIFY END OF FILE (#)

■ The first character in a command must be left-justified on the line, otherwise the line will be interpreted
as a comment and ignored (do not select printout »WITH MARGIN«!)

■ The symbol (@) is used as introduction symbol for variables. It is followed by 2 capital letters as variable
identifier. The length of the variable identifier is taken from the variable definition.

■ The symbol (@) is also used as introduction symbol for special characters. It is followed by 2 HEX
numerals (00...7F), that describe the character equivalent (e.g.@61 = small »a«).

■ The symbolic parameters must agree in length, content and case (upper) with the setpoints, e.g. BIN-
1, STRING, etc.

■ A comment can be added after every command line, separated by a comma. This does not, of
course, apply for text parameters!

■ All commands and parameters must be separated by commas (do not confuse with »POINT«!).

■ Before or after a comma a blank can be inserted. This makes the data record clearer.

■ Where parameters are omitted, the separating commas must still be inserted if further parameters or
comments follow.

■ Numbers must be complete in themselves. Leading zeros are superfluous.

■ Left-justified blanks in texts are retained, right-justified blanks are ignored (apart from the first blank).

■ Parameters marked with * can be omitted if the standard presets are to be used. If however, further
parameters follow, that do not correspond to the setpoints or which must not be omitted, the commas
must be input.

■ Numerical values must be input without decimal points.

■ »+« used as a sign must be omitted; »-« may be used only before VBIN parameters.

■ Don't translate the german idioms »SOLL« and »IST«. For setpoints and actual values. If you define
a variable, type them as they are.

51
Online

3.2.1 BEGINNING/END IDENTIFIER

ATTENTION:
No comment may follow AE, AA and ## in the same line !

* AE-COMMAND *

This command designates the beginning of the 1st program file. Everything up to AE is ignored. The old
parameter record in the PCS is deleted.

* AA-COMMAND *

This command designates the beginning of subsequent files. Everything up to this command is ignored.
The old (valid!) parameter record remains valid.

* ##-COMMAND *

This command designates the end of each program file. After the command comprehensive checks are
performed in the PCS. If programming is interrupted permaturely (with HLP), this results in a invalid parameter
record.

3.2.2 TEXT DEFINITION

* MV/BV-COMMAND *

PARAMETER: * *PAGE NUMBER


* TEXT

The page number has the value range: 0...127

Serveral lines on a page have consecutive identical page numbers. Operating texts have a maximum length
of 2 lines. Message texts have a maximum length of 32 lines. Each line (operating text or message text) can
contain up to 4 variables (@ and two letters). The maximum text length (text + length of individual variables)
is 40 characters.

In subsequent lines the »page number« parameter is optional.

EXAMPLE: MV,0,this is the variable @AB


MV,,and now the second line of text no. 0
BV,23,this is operating text no. 23

52
Online

* HV-COMMAND *

1 PARAMETER: * TEXT

Here the text lines for the HLP text are input (maximum 32 lines; max. 4 variables per line).

EXAMPLE: HV,--- PROJECT-NO. 0815/1


HV,NUMBER OF ACTIVE MALFUNCTIONS: @ZR

3.2.3 DELETION PROCEDURE/PRIORITY ASSIGNMENT

* PV-COMMAND *

SYNTAX: * PV,*from-number,*to-number,value
FROM-number (is 0 if not present)
TO-number (is 127 if not present)
VALUE: »S« or »H« or »W« (malfunction, information or warning)

The PV command is used to determine to which priority memory a message is assigned.

EXAMPLE: PV,0,126,S => message texts 0...126 (inclusive) have malfunction priority
PV,127,127,H => message text 127 has information priority

* LV-COMMAND *

SYNTAX: * LV,*from-number,*to-number,value
from-number is 0 if not present
to-number is 127 if not present
VALUE: »1« .. »4«

Mit dem LV-Befehl wird festgelegt, welches Löschverhalten eine Meldung besitzt.

EXAMPLE: LV,16,31,4 => all messages in DW 16 (= MW+32) (16...31 inclusive) must be


deleted manually. This is not possible until the corresponding bit is
0 again (see Section 2.4.2.4).

53
Online

3.2.4 DETERMINE ROTATION TIME/CYCLE TIME

* ZV-COMMAND *

SYNTAX: ZV,S (or Z),numeric value

1. PARAMETER: 1. Which time (Z or S)


2. PARAMETER: 2. Which value

Using the ZV command internal times can be influenced:

Z Rotation time in seconds. Value range: 1...60, default value = 10; if several messages are
switched on, the messages are advanced using »CYCLIC« storage procedure with time input
here. The input is made in seconds.

S Watch dog for L1-communication.


This time should be changed in dependency on the cycle time of the PLC. See also chapter
4.8!
The details of the values occur in multiple by 10 ms. At this time internally in PCS an offset
time of 500 ms is added.
Maximum value: 205, Default value: 40

EXAMPLE: ZV,S,10 => Watch dog = 100 ms + 500 ms (Offset) = 600 ms


ZV,Z,2 => rotation time for messages in memory is set to 2 s

3.2.5 DETERMINE TERMINATION KEY FOR ACUTAL VALUE MENU

* IMT-COMMAND *

SYNTAX: IMET,key

1 PARAMETER: ■ CLR (CLR key)


■ ENTER (ENTER key)
■ CLRENTER

Using one of the above entries it is possible to change the standard termination key CLR. With CLRENTER
termination is possible with both keys.

EXAMPLE: IMET,CLRENTER

After the command the actual value menus can be closed using CLR or ENTER.

54
Online

3.2.6 MENU DEFINTIONS

* PV-COMMAND *

SYNTAX setpoint or actual value menu: SV,Menu no.,node no., arrow left, arrow right, arrow down,
arrow up, text number, E/N

PARAMETER: ■ Menu number (1...15)


■ Node number (1...255)
■ *REACTION TO ARROW LEFT (node number)
■ *REACTION TO ARROW RIGHT (node number)
■ *REACTION TO ARROW DOWN (node number)
■ *REACTION TO ARROW UP (node number)
■ TEXT NUMBER (operating text number)
■ *E / N N = ENTER or CLR
do not terminate the menu
in this node

The default parameters are 0 (for reactions to the arrow keys) or E (definition for an end node).

EXAMPLE:
======================= Declaration of variables AA: =========================
VV,AA,30,SETPOINT,BIT,0
AP,OFF
AP,ON
======================= Declaration of variables AB: =========================
VV,AB,30,SETPOINT,BIT,1
AP,OFF
AP,ON
======================= Operating text (16) for operator guidance: ===============
BV,16, --- SWITCH ON COOLING FAN ---
BV,16, <= COOLER INLET COOLER OUTLET =>
======================= Operating text (17) for editing variable AA: ===============
BV,17, CONTROLLER FOR COOLING FAN INLET
BV,17, ON = + OFF = - STATUS: @AA
======================= Operating text (18) for editing variable AB: ===============
BV,18, CONTROLLER FOR COOLING FAN OUTLET
BV,18, ON = + OFF = - STATUS: @AB
======================= Declaration of setpoint value menu no. 3: ===============
MENU No. / Nodes / LEFT / RIGHT / DOWN / UP / TEXT / END NODES ?
SV, 3, 100, 101, 102, 0, 0, 16, E
SV, 3, 101, 100, 100, 100, 100, 17, E
SV, 3, 102, 100, 100, 100, 100, 18, E

After calling up the operating information, (starting menu no. 3), the operator can select the INLET with arrow
left or the OUTLET with arrow right. From there the pressing of any arrow key results in a return to the
operating information. In the root node (node 100 with text 17) the arrows up and down are locked out.

55
Online

3.2.7 VARIABLE DEFINITIONS

* V V-COMMAND *

Using the command it is possible to define variables. The first 4 parameters are identical in sequence and
meaning for all variable types. Recollection (regards only to the projects 1 and 2; see also chapter 2.4.3):

Flag word no. (PLC) = word no. (PCS)*2 + offset flag word no. (PLC)
Vice versa: word no. (PCS) = [flag word no. (PLC)-offset flag word no. (PLC)] / 2

PARAMETER HEAD: ■ Variable name (two letters)


■ DW number (= MW+2*Wno.) (23...255; Project 1,2: 23..max. 123)
■ *SOLL or IST (STPT/ACT),Default = ACT
■ Variable type (STRING/BIT/BCD/BIN-1/BIN-2/
BIN-A/BIN-B/WORD)

Further different parameters follow, depending on type.

* TYPE: STRING / CSTRING *

No further parameters, but at least 3 lines with AP commands must follow (i.e. the text representation of
each permitted value).

* TYPE: BIT *

PARAMETER : ■ Bit position in DW/MW (0...15) and exactly 2 AP commands (2 lines)


(additional) (i.e. the text representation of each value)

* TYPE: BCD-1 / BCD-2 and BCD0-1 / BCD0-2 *

PARAMETER : ■ Number of digits (1...4 with BCD-1 / BCD0-1, 1...8 with BCD-2 / BCD0-2)
(additional) ■ *Min. value, default = 0
■ *Max. value, default = number of digits with 9

* TYPE: BIN-2 / BIN-B / VBIN-2 / VBIN-B *

PARAMETER : ■ Number of places before point (1...10)


(additional) ■ *Number of places after point (0...8)
■ *Min. value
■ *Max. value

Default values: Places after point: 0


Min. value: 0
Max. value: max. representable number

56
Online

* TYPE: BIN-1 / BIN-A / VBIN-1 / VBIN-A *

PARAMETER : ■ Number of places before point


(additional) ■ *Number of places after point
■ *Min. value PCS
■ *Max. value PCS
■ *Min. VALUE PROG. CONT.
■ *Max. VALUE PROG. CONT.

* TYPE: WORD *

No other parameter

All inputs msut be decimal values. With VBIN variables the MINUS sign may appear as the leading character
in the values; if there is no MINUS sign, PLUS is assumed.
The MIN and MAX values determine the conversion factor for scaling. The MAX values must always be
greater than the MIN values (i.e. only positive conversions are possible). The PCS calculates the conversion
factors itself. The following limitation applies:
As the PCS works internally with 32-bit integer arithmetic while the representation can also comprise 32
bits, the following strategy is employed: if the differences are not divisible without a remainder, it is attempted
to abbreviate the fraction without a remainder. If this is not possible, a warning is issued and the parameters
must be changed manually. If all scaling values are omitted, a 1:1 representation is assumed. If only
individual parameters are missing, it is attempted to form the parameter from the digit number.
If the number of places after the point > 0, a decimal point is inserted automatically (fixed point). The decimal
point has no influence on the value. The point position must be added to the number of places input when
evaluating the number of places required.

3.2.8 TEXT INSTANCES

* AP-COMMAND *

PARAMETER: ■ Text (40 characters max.)

The command follows STRING and BIT variable declarations and determines their representation.

EXAMPLE: VV,AB,40,ACT,BIT,3
AP,open
AP,closed
MV,1,valve position of V43 : @AB

If message 1 (information..malfunction) is now displayed, the PCS fetches data word 40 from the
programmable controller and ches bit position 3: if it is 0, »OPEN« is output, otherwise »CLOSED«. Special
characters may be used in the instances, but not variables.

57
Online

3.2.9 REDEFINE STATUS INFORMATION

* STATUS BIT *

SYNTAX: STATUS BIT

PARAMETER: none

If this instruction is programmed, the priority in DR 11 (= MB+23) is available not as a binary number but
bit-by-bit (see 2.4.3.2 PCS STATUS).

3.3 TEXT INSTANCES

Two RAM's of 32 kByte each are available for programming. The RAM's are backed up by a lithium battery
with a lifetime of 7 years. In addition, 2 EPROM's of 32 kByte each can be inserted (adapter). There are thus
2 (3) databases. It is possible to switch between them in the OFFLINE MENU.

For creating texts, menus and variables the following remarks apply:

1. The total possible number of lines cannot be indicated, as the texts are stored in compressed form
and memories for texts, menu nodes and variable instances are dynamic.
2. Text compression: consecutive blanks take up one byte, each line takes up an additional byte and
for text management a total of approx. 714 bytes is needed. In addition, each text page created takes
up a further byte.
3. Per text line 3 bytes are required (as well as the text itself).
4. Deleted texts take up no space (after »AE« all texts are deleted).
5. If the times ZV,S and ZV,Z are not indicated, the default values apply.
6. The text for communications errors are stored in the program EPROM and cannot be altered. They
are installed in Version G as English abbreviations.
7. Each text line may include a maximum of 4 variables, the maximum length of an individual variable
is 40 characters.
8. Equal variable instances (character strings), even of different variables, are stored only once. If
storage space is restricted, it is possible to save space by using equal instances (on dummy
variables) instead of text.
9. Each variable created occupies 7 bytes in the head, in the rest of the page between 6 and 22 bytes,
depending on type.
10. The identifiers of the internal variables begin with »Z«. If the corresponding variables are not required,
the identifiers can be used for external variables.
11. The variable designators in a text have a length of 0 in the representation of the text. The space
reserved for the variable is automatically calculated from the number of digits before and after the
point; with character strings the length of the longest string applies.

58
Online

12. Variable instances are represented left-justified, blanks are thus relevant only inside or to the left of
the instance.
13. Blanks that may be present to be right of the variable instance are ignored.
14. Texts that have not been located are ignored, i.e. the previously displayed text remains in the display.
Signalling an unlocated text has no effect, the same applies to an unlocated default text (if the default
text 0 has not been located, an empty display appears after power-up).
15. If undefined menus are called up, the invocation is ignored.
16. Texts which are used in menu nodes must have been created, otherwise the node is invalid.
17. Each menu node created occupies 8 bytes.
18. For menus, 60 bytes are reserved (contained in the 714 bytes mentioned above).

Text design:

Each special character that cannot be obtained directly via the programming unit keyboard can be optained
using @ + 2 digits (HEX notation). The symbol @ itself can be obtained with @40. These special characters
can also beused in text instances of variables. A character set table is to be found on the first page of this
manual.

The variable instances are stored at the upper end of the memory, all other parameters at the lower end
of the memory. The memory space occupied during programming is shown in the display (M:xxxxx:yyyyy).
Since equal variable instances are stored once only, it is possible to save memory space by declaring so-
called dummy variables.

MEMORY SPACE OCCUPIED = xxxxx - 714 + (32785 - yyyyy)

MEMORY SPACE FREE = yyyyy - xxxxx

59
3.4 ERROR CODES

2 Parameter erroneous/missing
3 Num. parameter too great
4 Relation error with parameter
5 String parameter unknown
6 Num. parameter too small
7 Node number erroneous
8 Text no present
9 Menu no. erroneous
10 No successor must be end node
11 Error with num. parameter
12 String parameter not present
13 Page already created
14 Too many lines
15 Text too long
16 Unknown variable
17 More than 4 variables
19 Text number is greater than 127
22 Successor is itself a node
23 No successor and end node

30 Variable error
31 Variable already present
32 DW missing
33 Not SETPOINT/ACTUAL
34 Variable identifier erroneous
37 Bit indication incorrect (or missing)
41 Illegal AP command
55 @ error
61 Digit number with BCD
62 Max value too great or MIN value too small
63 MIN > MAX
64 DW with double word
65 Places before point
66 Places after point
67 Sum digit number
70 Scaling error
72 Prog. cont. MAX value too great or MIN value too small
73 MIN-MAX relation pogr. cont. value
74 General min-max error BIN-1 or BIN-A

75 Illegal AA command
88 Insufficient memory space
92 Variable is not complete
96 Non-end node does not reach end-node
97 Menu disintegrates
98 Successor error
99 Unknown error

If a fault occurs during programming, the fault number »xx« and the line number »yyyy« are displayed in the
first line (E:xx IN:yyyy).

60
Programming

3.5 PROGRAMMING PROCEDURE

3.5.1 CREATING A TEXT FILE

(in this example: PG 675)

First of call up:

»INPUT FD1 BLOCK <#NAME>«

Enter the following example character by character (| = RETURN):

|
AE |
VV, AB, 60, SETPOINT, BIN-1, 1, 2, 0, 2000, 0, 2048, --> TEMP. 1 (AB) IN DW 60 |
BV, 17, TEMPERATURE 1: @AB |
SV, 15, 1,,,,17 |
## |
|

Start each line at the left margin. The file is saved using <|>.

3.5.2 TRANSCRIBING THE TEXT FILE

■ Connect the printer interface of the programming unit to the PCS 110 using programming cable PCS
732 (do not interchange cable ends).
■ Set DIL switch no. 7 to ON, if necessary.
■ Open the OFFLINE MENU by pressing [HLP] and [CLR].
■ Select serial programming using [+] and then [ENTER].
■ Select RAM 1 or RAM 2 using [+] or [-].
■ After concluding with [ENTER] a check is carried out to see whether the corresponding write
protection jumper is open (DIL switch 9 or 10). Follow the instructions given in the display.
■ There now appear 4 numerals (see Section 3) and the character »>«. Start transcription using

»OUTPUT FD1 <#NAME acc. to DRU:*« !

■ Briefly press <|>. After a short time error message 3 (Num. parameter too great) appears in the
display. Confirm the error with [CLR]. Error 16 (Unknown variable) now appears.
■ Confirm the error with [CLR]. Error 8 (Text not present) now appears.
■ Confirm the error with [CLR]. The characters ## and the following text now appear:

»START PROGRAMMING OR PRESS HLP«.

61
Programming

3.5.3 ERROR ANALYSIS

The representation range for variable AB in the PCS should cover 0 to 2000. However, with the number
of digits (1 place before the point, 2 places after the point) this variable cannot be represented. As the
variable is invalid, error 16 appears. Since the text length cannot now be checked, operating text 17 cannot
be created. As a result, error 8 appears.

■ REMEDY

After the relevant line:

VV, AB, 60, SETPOINT, BIN-1, 1, 3, 0, 2000, 0, 2048, --> TEMP. 1 (AB) in DW 60 |

You can now immediately output the file again via the printer interface, without leaving serial programming.
After successful transcription, programming is terminated with [HLP] and 2 * [ENTER].

3.6 SETTINGS OF THE PROGRAMMING UNIT

3.6.1 PG 675
1. Create a DOK file:
»INPUT BLOCK INPUT DEVICE:FD1 BLOCK: #NAME«
2. Connect the printer interface to the PCS programming interface using cable PCS 232.
3. Transfer the DOK file:
»OUTPUT OUTPUT DEVICE: FD1 BLOCK: #NAME PRINTER: *«

3.6.2 PG 685
1. Before starting the S5 software the printer interface must be set, at operating level, to 7 data bits,
2 stop bits and EVEN parity.

B>DEVICE LPT0 <PAR=E>


B>DEVICE LPT0 <DAT=7>
B>DEVICE LPT0 <STOP=2>

2. S5 can then be started.


3. After selecting the project, the printer configuration file must be checked. In the BUSY: field
ACTIVE must be selected, in order that the handshake will function.
4. Continue as described under »PG 675«. With PRINTER as output target, PRINTOUT WITHOUT
MARGIN must be selected. This is normally PRINTER: 1.

62
Programming

3.6.3 PG 750
1. Before starting the S5-programming software the serial interface COM2 must be adjusted and
the printer output has to be diverted to this serial interface.

B>DEVICE AUX 1 [SPEED=(9600,9600)]


B>DEVICE AUX 1 [DAT=7]
B>DEVICE AUX 1 [STOP=2]
B>DEVICE AUX 1 [PAR=EVEN]
B>DEVICE
Feed in new assignment: LST:=AUX1
2. Use programming cable PCS 739 (COM2, 9 pins).
3. After that proceed as adviced under PG 685 item 2).

3.6.4 PC
1. In addition to the programming cable (PCS 737: 25 pins or PCS 739: 9 pins) an ASCII text editor
is needed. The text editor EDLIN is part of your operating system software and therefore always
present.
2. Open an ASCII file under any name and transmit the file with the following commands:
MODE COM1: 96,E,7,2,P
COPY Name COM1:

If an error appears the transmission stops until the error is receipt to the PCS 110 by CLR key. If you want
to break off the transmission early, you need to use [CTRL]+[BREAK] keys.

Attention!

In case you use MS-DOS version 4.xx, you need a Terminal Emulation Program
as PROCOMM, VTERM, KERMIT, TELIX or similar, because at that DOS version
the MODE resp. COPY command is not defined any more for the
serial interface !

63
Programming

64
Programming

4 PROGRAMMABLE CONTROLLER / HANDLING SOFT-


WARE

4.1 DESCRIPTION OF THE HANDLING SOFTWARE


There are four projects on the diskette. Communication may be made either through a marker range to which
parameters may be assigned or through a data block.

Project 1: P11112ST.S5D for AG 100 U / 115 U (CPU 103) (Marker range)


Project 2: P11122ST.S5D for AG 95 U (Marker range)
Project 3: P11132ST.S5D for AG 100 U / 115 U (CPU 103) (Data block)
Project 4: P11142ST.S5D for AG 95 U (Data block)
Project 5: P11152ST.S5D for AG 95 U (Data block)
Project 6: P11162ST.S5D for AG 100 U (CPU 102) (Data block)

The handling software consists of the following blocks (Project 1...4):

■ FB 210: Handling FB; controls the data transfer between the send/receive mailbox and a data
block (Projects 3 and 4) or the parameterisable marker range (Projects 1 and 2). This
must be called up in cycles.

■ FB 211: SINEC L1 parameter assignment FB; assigns parameters to the system data range for
the L1 data transfer (only in Projects 1 and 3), resets the marker for the first cycle and
allocates the coordination bytes for the restart. This FB must be called up in OB 21 and
OB 22 (start-up blocks).

■ FB 212: Restart FB; this FB is called up when the control system is restarted or reset after a
communication failure. Client-specific assignments may be added to it.

■ FB 213: Emergency FB; this FB is called up after a communication error has been found. Client-
specific assignments in case an error occurs may be added to it.

■ DB1: This DB is only present in Projects 2 and 4 (AG 95 U). This block assigns parameters
for the system data range for the L1 data transfer. This DB must be stored in the
programmable controller and expanded or rewritten for the client's specifics. Rewriting
is essential if, for example, another data block is to be used for the send and receive
mailbox.

IMPORTANT

1. In addition to the marker range which may be required for communication and the data block for the
send/receive mailbox, the FBs also use scratch marker ranges:

■ FB 210: MW 246 - MW 255 inclusive


■ FB 211: MW 242 - MW 255 inclusive (only for Projects 1 and 3 but only for a restart)

Writing on these MWs does not interfere with FB 210 as long as it is not being used simultaneously
by interrupt programs. If these MWs are required by other FBs the contents must be rewritten when
they enter and saved when they exit. Do not write these MWs in interrupt programs.

65
Programming

2. The FB accesses the data block / marker range by beans of the TIR / LIR command. When
transferring to the control system the selection is to be made in the »WITH SYSTEM COMMANDS«
setting.
3. The DB (parameter SDB in FB 210/211) which among other things contrains the send and receive
mailbox for the communication as well as the communication DB (parameter UBDB in FB 210) must
not be in the programmable controller program EPROM. It should be generated in the start-up OBs
(unfortunately this is not possible in all programmable controllers using a formal operand, therefore
the generation is notart of the handling FB).
4. The FB 210 consists of a single network. Since in many ABs the interrupt processing only takes place
at the network end it may have to be modified if time-critical interrupt programs are used in such
programmable controllers (very theoretical case).

The implementation is restricted (apart form the cyclic call-up of FB 210) to reading and writing the DWs
/ MWs.

A summary error bit (EROR) allows the communication status to be evaluated by contact plan. If this error
bit = 1 the data transfer has been stopped. The communication can be restarted by resetting an RSET
marker. Furthermore, another marker is required for the restart RFLM. This is set after the first successful
run through the FB 210. It is also to be declared as a parameter when calling up the FB 211.

4.2 SINEC-L1 PARAMETER ASSIGNMENT BLOCKS

4.2.1 L1 PARAMETER ASSIGNMENT FOR 100U / 115U PROG. CONT.

The enclosed FB 211 assigns parameters for the programmable controller for the data transfer with the PCS
110. The PCS takes over the master function for the L1 bus and addresses one programmable controller
as a slave with number 1. The parameter assignments must be made when the programmable controller
is restarted. Therefore the FB 211 must be called up from the OB 21 and OB 22 organisation blocks. The
parameter assignment is made by the block transfer command "TNB 14". This command stores the
parameter data in the system data range of the programmable controller (from address EA72H to EA7FH).
In the system data range it is specified which slave number the programmable controller has to respond
as, in which data range the send and receive mailbox is located and where the coordination bytes (KBS
= send coordination byte, KBS = receive coordination byte) are located. The FB assigns the system data
range so that the following data ranges are assigned for the SINEC L1 bus:

PG number irrelevant here, but preset to No. 0


Slave number set to No. 1
Receive mailbox DW 0 - DW 32 (66 bytes) in parameterised DB (SEDB)
Send mailbox DW 33 - DW 65 (66 bytes) in parameterised DB (SEDB)
KBE DW 66 in parameterised DB (SEDB)
KBS DW 67 in parameterised DB (SEDB)

Caution !
The "SEDB" data block which must be assigned parameters in the FB 211 must in
no circumstances be described (at least not in the range from DW 0 and DW 71).
This is responsible for communication between the PCS and the programmable
controller (operating system). The PCS 110 user only has contact to the PCS
through the data block UBDB which has been assigned parameters in FB 210
(Project 3) or marker range VOBI (Project 1). The data exchange between the send/
receive mailbox and the PCS 110 is controlled completely by the FB 210.

66
Programming

4.2.2 L1 PARAMETER ASSIGNMENT FOR 95 U PROG. CONT.

The enclosed DB 1 assigns parameters to the programmable controller for data transfer with the PCS 110.
The PCS takes over the master function for the L1 bus and addresses one programmable controller as a
slave with number 1. The parameter assignments are taken from the OB 1 automatically when the
programmable controller is restarted. The parameter assignment itself is performed by modification of the
DB 1. These data are automatically filed in the system data range of the programmable controller. This is
where it is specified which slave number the programmable controller has to respond as, in which data
range the send and receive mailbox is located and where the coordination bytes (KBS = send coordination
byte, KBS = receive coordination byte) are located. The FB assigns the system data range so that the
following data ranges are assigned for the SINEC L1 bus:

SLN (slave number) set to No. 1


SF (send mailbox) here DB 50 DW 33 (Proj. 2) of DB 51 DW 33 (Proj. 4)
EF (receive box) here DB 50 DW 0 (Proj. 2) of DB 51 DW 0 (Proj. 4)
KBE here DB 50 DW 66 (Proj. 2) of DB 51 DW 33 (Proj. 4)
KBS here DB 50 DW 67 (Proj. 2) of DB 51 DW 67 (Proj. 4)
PGN (PG number) irrelevant here, but preset to No. 1

Caution:
The "SEDB" data block which must be assigned parameters in the OB 1 must in no
circumstances be described (at least not in the range from DW 0 and DW 71). This is
responsible for communication between the PCS and the programmable controller
(operating system). The PCS 110 user only has contact to the PCS through the data block
UBDB which has been assigned parameters in FB 210 (Project 4) or marker range VOBI
(Project 3). The data exchange between the send/receive mailbox and the PCS 110 is
controlled completely by the FB 210 !

67
Programming

4.3 FB 210 HANDLING BLOCK

The enclosed FB 210 controls the data transfer between the market range to which the user may assign
parameters (parameter VOBI) and the send and receive mailbox for Projects 1 and 3. For Projects 2 and
4 a data block (parameter UBDB) is used instead of the parameterisable marker range.

Every time the programmable controller receives a "question package" sent by the PCS 110, in other words
a telegram containing utility data from the master, bit 15 in the KBE is reset by the operating system of the
programmable controller. This is a note for the user program, in other words for the FB 210, showing that
data have been received. The FB 210 can now decode the data which has arrived in the receive mailbox
and complete the necessary operations (writing, reading, and/or operations). The data to be read are
entered in the send mailbox whilst the data to be written (including and/or operations) are completely
directily with the parameterised data block or marker range. As soon as the complete package has been
completed the send and receive mailbox is cleared for the operating system of the programmable controller
when the FB 210 is exited.

The master, in other words the PCS 110, now automatically receives the data from the send mailbox of
the programmable controller as an "answer package" when the next data are exchanged (organised by
the operating system of the programmable controller). In other words this is a telegram which contains utility
data for the master. As soon as the answer package has been sent with data bit 15 in the KBE is reset
by the operating system. This is a note for the user program showing that the data have been sent from
the send mailbox.

When the PCS 110 has processed the data is sends another "question package". Bit 15 of the KBE is again
reset by the operating system. If the FB 210 now recognises that both the receive mailbox and the send
mailbox are free for processing by the user program, the whole process starts again from the beginning.

68
Programming

4.4 CALCULATION OF CYCLE TIME EXTENSION

The rund time depends on the number of tasks in a "question package, in other words, data from the PCS
110 to the programmable controller. Normally the cyclic tasks 5, 6, 8 and 9 (see Section 5.3) are contained
in every package, i.e. 12 words data + length of task 5 are exchanged in cycles. Each task also requires
a header with a word. Since the length of task 5 depends on the number of external variables in the display
(0 to 24 words including headers if the data sources are not flush), a maximum of 40 words per data
exchange cycle are transferred. Since, however, the number of transferred data in L1 bus transfers is
restricted to a maximum of 64 bytes (i.e. 32 words), this task is treated in two data exchange cycles after
on another. The transfer of the time is only made every second and costs an additional 3 words. All other
tasks can be neglected for the average calculation since they only occur in some locations. With the aid
of the following table the average rund time of the FB 210 for processors in the 100 U and 115 U series
can be calculated depending on the event case.

Abbreviations: SF = Send mailbox


EF = Receive mailbox

CPU 110U-103 941 942 943 944

SF/EF blocked 1180 2907 1282 712 77


SF/EF free, feed 1369 5369 1479 487 116
Feed per task *) 323 2200 350 171 47
Data exchange per word <544 <3205 <580 <402 <68

Total average times without actual values

9470 59270 10200 4170 1090

(all figures in microseconds) *) Time for processing the header

The lengths of the individual tasks are shown in Section 5.3.

The FB is designed such that if an error occurs the communication is aborted and the error signalled
externally. After this the communication must be consciously restarted via an input (parameter RSET). This
does not affect errors which can be repaired by repetition, of course.

Client-specific settings are to be added to 2 FBs called up by FB 210, as required:

■ INIT: Enter the client-specific setting for the restart; (FB 212)
■ COFF: Enter the client-specific setting for an error. (FB 213)

69
Programming

4.4.1 MEASURED CYCLE TIME EXTENSION

The specified times were measured with the aid of a digital output. This was inverted in each programmable
controller cycle. The processing time (overall reset programmable controller) have been deducted from the
measured time.

The following measurements are included:

- without connected PCS 110


- with PCS 110 (communication running) but without external variables in the display
- with PCS 110 (communication running), with 8 separate double word variables (eg. BCD-2)
- The additional stress from L1 data transfer was measured with a connected PCS (communication, i.e.
data exchanged to the programmable controller, not running). However, the time measured without the
connected PCS 110 was deducted from this time.

no PCS with PCS with PCS with PCS additional


no 8 double 8 double stress by
variables words sep. words flush L1

AG 95 U
Proj. 2 + 4 1 ms 16 ms 28 ms 21 ms 5 ms

AG 100 U
Proj. 1 + 3 3,7 ms 30 ms 40 ms 35 ms 10 ms

AG 115 U
CPU 942 5,0 ms 27,5 ms 37,5 ms 34 ms 8 ms
Proj. 1 + 3

AG 115 U
CPU 943 SI1 3,0 ms 14 ms 21 ms 20 ms 8 ms
Proj. 1 + 3

AG 115 U
CPU 943 SI2 3,0 ms 9 ms 15 ms 14 ms 1,5 ms
Proj. 2 + 4

70
Programming

4.5 PARAMETER ASSIGNMENT OF THE FBs

4.5.1 PARAMETER FOR THE FB 210

UBDB: Projects 3 and 4 only. In this case the necessary DB for the interface between the programmable
controller user and the PCS 110 must be specified. It must either be transferred by the PCS or
generated in the OB 21 and OB 22, as in the case in the example. The length of the block must
be the number of words required by the maximum variable address, but at least 23 words, in other
words from DW 0 to DW 22. If the DB is to be generated by OB 21 and OB 22, the following
command sequence is to be entered:

L KF+255 for 256 word communication range


E DB xx (xx ... DB number)

SEDB: The data block number of the DB is to be specified in this parameter, which contains the send
and receive mailboxes. It must either be transferred by the PCS or generated in the OB 21 and
OB 22, as is the case in the example. The length of the block must be at least 72 words, in other
words from DW 0 to DW 71 (71 words will also be sufficient for Projects 3 and 4). If the DB is to
be generated by OB 21 and OB 22, the following command sequence is to be entered:

L KF+71
E DB xx (xx ... DB number)

RSET: Reset marker. As soon as this marker = 1, a reset is triggered and this marker is reset to zero.
It should be capable of being set by a pos. edge of a key. However, it is only evaluated after the
communication between the programmable controller and the PCS has been interrupted by an
error (eg. cable break or double repeat).

EROR: All-round error message. This bit is set after the communication has been irretrievably lost
(TIMEOUT). This bit is reset again as soon as the first error-free package has been received.

RFLM: Marker for the first cycle. If this is set to log. 0 (it is set to log. 0 automatically by the FB 211) checks
are several values are pre-initialised in the FB. After the first successful run, this marker is set to
log. 1.

VOBI: Projects 1 and 2 only. This is where the marker range required for the interface between the
programmable controller user and the PCS 110. A constant KY is to be specified here. The first
byte determines the first marker word of the marker range and the second byte the last word of
the marker range. Example: KY50,200 fixes the marker range between MW50 and MW200
inclusive.

TIMZ: Timeout time. A constant KF is to be entered here. The calculation of the constant is made as
described in Section 4.8 (500 ms/minimum cycle time of the programmable controller in ms). If
this constant is not adapted it may be that a cable break in the programmable controller will, in
certain circumstances, be recognised too late.

INIT: Restart FB. The FB which is to be called up for a restart and RSET = 1 must be specified here.
This is FB 212 on the diskette. This FB must be modified for the client-specific presetting of
setpoint values.

71
Programming

COFF: Emergency FB. Here, too, an FB must be specified which is run immediately is ther is a
COMMUNICATION ERROR. In general this FB should at least set the key values DW 4 and DW
5 (= MW+8 and MW+10) to zero. On the diskette this is FB 213.

Caution:

The marker range specified in parameter VOBI must have a minimum length of 46 bytes
(word 0 to word 22; MB+0 to MB+45). Parameters may be assigned to a maximum of
MW244. Otherwise the communication will not start; the programmable
controller will switch to STOP.

4.5.2 PARAMETER FOR THE FB 211

SEDB: See 4.5.1 Parameters for the FB 210

RFLM: See 4.5.1 Parameters for the FB 210

4.6 OPERATING THE PROG. CONT. WITH EPROM

To do this the SEDB and UBDB should be generated automatically in the OB 21 and OB 22 using the
following instructions:

L KF +xx (xx = length of the DB in words -1)


E DB xx (xx = DB number)

The DB should only be in the EPROM if the programmable controller copies it into the CPU internal RAM
when it is restarted.

Since the automatic generation of a DB using a formal operand is only possible using self-modifying program
code, it has not be possible to intergrate this in the handling FB. However, restart OBs are stored on the
diskette which generate the DB 50.

72
Programming

4.7 IMPLEMENTING THE PROG. CONT. SOFTWARE

1. Switch off the programmable controller.


2. Switch the programmable controller to STOP and supply it with voltage.
3. Copy in FB 210 and FB 211
4. Generate DB SEDB for send/receive mailbox and, for Projects 3 and 4, also DB UBDB in the OB 21
and OB 22 (before calling up FB 211 !)
5. Assign parameters to FB 210 (call up from OB 1 or from elsewhere).
6. Assign parameters to FB 211 (call up in OB 21 and OB 22). Only for 100 U and 115 U versions.
7. Fix reset keys and set RSET with a pos. edge.
8. Assign parameters for the DB 1 (on 95 U programmable controller) and copy in these parameters.
9. Switch programmable controller to RUN.

If error KH 200 (timeout when the PCS 110 is not connected) appears in DW 3 bit 12 (= M+6.5) and the
markers RFLM and EROR are both log. 1, the implementation has been successfully completed.

An example (OB 1) is contained on the diskette which sends an error message on output 4.0 (on 95 U
programmable controller: A 32.0), waits for a reset key on E 0.0 (on 95 U programmable controller: E 32.0)
which uses markers 20.0 / 20.2. The link following the call up of the FB 200 only serves the following
purpose:
- multiple RESET is prevented (edge formation).

The PCS makes the following assumptions after a restart:

■ The date and the time have been made invalid and are therefore transferred immediately.
■ All message bits are switch off. If several messages are active at the restart, they are re-entered in
the sequence of their numbers (lowest first) in the memory.
■ 0 is selected as the default text.
■ All menus were terminated before the system was switched off.
■ The keys and DIL switches are all transferred after the restart.

This start-up behaviour is to be taken into account when presetting the marker range.

Recommendation:

During the development of the programmable controller program it is recommended that


a CPU with two PG interfaces are used (PG connection). At present only the CPU 943 and
CPU 944 can be supplied in this configuration. After the program has been tested it can
also be copied into a CPU with one interface.

73
Programming

4.8 PARAMETER ZV, S AND PROG. CONT. TIMEOUT TIME

Both in the PCS 110 and in the programmable controller there is a time monitoring system for the serial data
exchange through the L1 interface.

The monitoring time can be set at the PCS side using the parameter ZV,S,x. Without programming the
parameter ZV,... a monitoring time of 900 ms is obtained, consisting of 500 ms (basic value) plus 400 ms
(default value for ZV,S). This time should always last an adequate period, but should at least be as long as
two to three full data exchange cycles on the serial interface of the L1 normal transfer (slave and master with
64 bytes of data). A cycle of this type lasts approx. 150 ms, therefore a time of approx. 3 * 150 ms = 500
ms is required. This value is achieved in any case by the presetting (900 ms).

The programmable controller time is generated with the aid of a counter in DW 0 (= MW+0). This counter
is cleared after every successful data exchange, in other words the send and receive mailbox for the user
program is cleared and a constant assigned to it. If no valid data are then placed in the receive mailbox for
any length of time, in other words the receive mailbox is blocked for the user program for any length of time,
this counter runs down to the value 0. This event on the one hand sets an error bit in DW 3, bit 12 (= M+6.5)
and on the other also sets the EROR error bit (parameter in FB 210). The presetting of the timeout counter
is calculated using the following method:

Counter constant = 500 ms / minimum cycle time of the programmable controller in ms

This value must be set when the parameters are assigned to FB 210.

Example: The programmable controller cycle time is a minimum of approx. 2 ms

Calculation: Counter constant = 500 ms / 2 ms = 250

Therefore the parameter TIMZ in FB 210 is to be preset to KF+250. This value is set to KF+300 on the
diskette. This time is therefore sufficient for cycle times of greater than 2 ms in any event.

74
Programming

5 TECHNICAL APPENDIX

This part of the manual contains special information which is needed for project planning: cable assignment,
transfer addresses, program lists etc.

5.1.1 TECHNICAL DATA OF THE PCS 110

Dimensions: front panel cutout: 304+1 x 169+1 mm


installation depth without plug or data cassette: 40 mm
installation depth with plug SUB D 25 pin: 100 mm
front panel thickness: 1..5 mm
external dimensions: 325 x 190 x 43.5 mm

Weight: 1400 g

Operating voltage: 19..33 Volt, polarized

Current consumption: Iav = 350 mA at 24 volt


Ipk = 900 mA at 24 volt

Immunity to interference: acc. to IEC 801-4 operating voltage: 1 kV


TTY connection via signal coupler: 500 V
acc. to IEC 801-1 discharge on rear panel: 5 kV
front panel: no discharge possible

These values cause no irregularities in operation. Exceeding the values results in a controlled error
message; only when the values are exceeded by a factor of 2 is interference to functions likely to occur.
A fine-wire fuse (not replaceable) is soldered in. This will blow before destruction can be caused by high-
energy malfunctions.

Type of protection: acc. to IEC 529


rear: IP 20
front: IP 65

Humidity: 0..95%, no condensation permitted at rear

Immunity to vibration: checked with 2.6 g at 60 Hz

Air pressure: 860..1060 mBar (lithium battery !)

Temperature: storage: -25..+70° C


operation: 0..+50° C

Data retention: CMOS static RAM battery-backed up using VARTA CR 1/2 AA (1 Ah)
soldered in

Battery lifetime: at storage temperature 25° C: 10 years


at storage temperature 70° C: 1 year
in continuous operation (at perm. temp.): 10 years

75
Programming

Front foil: Polyester

Dimemsions of 197.5 mm x 39.5 mm x 1 mm


insert foil: (- 0.2 mm)

Keys: mechanical, with tactile touch

Display: 2 x 40 characters 5 x 7 matrix


6mm character width

Accuracy of real time at 50° C: ± 15 min. / year


clock: at 25° C: ± 5 sec. / year

5.2 CABLE

5.2.1 COMMUNICATION CABLE PCS 110 / PROG. CONT. L1

The connection is made using 2 TTY channels. The line current supply is through the PCS 110; this means
that there is only strict potential separation to the programmable controller.

PCS 110 Jack Plug Cable Plug Jack Prog.cont. L1

+ 24 V 20 mA > I1+ 12 >

< TX+ 10 <

> TX- 19 < > 9 RX+ >


LED >>
0 Volt < GND 24 < > 2 RX- <

+ 24V 20 mA > I2+ 16 > > 6 TX+ >

< RX+ 13 < < 7 TX- <


<<LED
> RX- 14 >

GND <

Casing Screen 1 1 Screen Casing


Plug Plug
housing housing

When using screen standard cable (4 * 0.14, not twisted), the recommended maximum length is 20 metres.
When using low capacity, data cables twisted in pairs, 10 times the length can be projected.
Recommended cable: LiYCY-CY 2 * 2 * 0.252, external diameter 10.2 mm (eg. Metrofunk Berlin).
If the connection is broken this fact is registered in the PCS 110 and noted in the error word (DW 3, bit 13;
= M+6.5) for further evaluation.

76
Programming

■ SCREENING

The screen should be connected on both sides to a metallised plug housing. If non-metallised plug
housings are used the screen can also be connected to Pin 1, but this is not recommended for
interference reasons since the data lines should be covered as far as possible by the screen. The two-
sided earth means, however, that in certain circumstances (as a result of earth potential movements)
an equi-potential bond cable of at least 10 times the cross section of the screen is necessary (Reason:
compensation currents should not, if possible be run through the cable screen), particularly if the PCS
and programmable controller are not connected to the same earthing point (if, for example, the PCS
and programmable controller are housed in different switch cabinets).

5.2.2 PROGRAMMING CABLE

Programming cable PG 675 / 685 - PCS 110:

PCS 110 Jack Plug Cable Plug Jack Prog. cont. L1

DCD < DCD 8 < > 17 K1

DTR > DTR 20 > > 3 K3

CTS < CTS 5 < > 4 K2 >


(±) >>
GND GND 7 < > 2 0V <

RXD < RXD 3 < < 11 TXD < TXD

RTS > RTS 4 > > 7 BUSY > BUSY

24 SCREEN SCREEN

25 SCREEN SCREEN

77
Programming

Programming cable PC 750 - PCS 110:

PCS 110 Jack Plug Cable Plug PC 25 pin PC 9 pin

DCD < DCD 8 < > DSR 6 4

DTR > DTR 20 > > DCD 8 1

CTS < CTS 5 < < DTR 20 6

< RTS 4 7

GND GND 7 < >GND 7 5

RXD < RXD 3 < < TXD 2 3

RTS > RTS 4 > > CTS 5 8

1 (5)

For connection to the PC a standard ZERO MODEM cable can also be used.

ATTENTION:

WHEN THE PROGRAMMING CABLE IS INSERTED, A LOWER DEGREE OF


IMMUNITY TO INTERFERENCE IS TO BE EXPECTED DUE TO THE ELECTRICAL
CONNECTION TO THE PROGRAMMING UNIT !

78
PCS 810 / Handling FB

5.3 DATA TRANSFER PCS 110 / PLC L1

Data exchange with the controller takes place in packets. Each packet is provided with a check sum and
its content is checked in the for possible errors. Each packet consists of at least one subpacket which
carries out a clearly outlined task. The tasks to be performed in a packet are determined by the PCS 110
on the basis of the following parameters: programmable controller scan time, baud rate and the priority of
each task. Each task has specific start priority. A priority management system ensures that no task is
forgotten. The packet lengths stated refer to words including the head.

The individual tasks are as follows:

TASK PRIOR. LENGTH START CRITERION

1. Write keyboard status 8 3 when a key is pressed or released

3. Reset message bit 7 2 pressing [CLR] with deletion procedure 2

4. Write prog. cont. 6 2..3 whenever a setpoint variable has been


setpoint value altered and the entry field exited

5. Read actual values 5 2..24 *) runs in priorities 0...2, 6, otherwise on


on new display

6. Read message bits 4 9 continually

7. Send PCS status 4 3 on alteration

8. Read LED‘s, LED flashers, 3 3 continually


storage procedures and
display procedures

9. Read command word 3 4 **) continually (menu calls only when buffer
is empty)

10. Transmit time and date 2 3...6 only on alteration

*) Depends on number of variables on display and on degree of justification of addresses. If the addresses are not justified, one
head is required for each non-justified variable (1 word).
**) Task with 2 heads and one word of data each.

79
PCS 810 / Handling FB

5.3.1 DATA TRANSFER PROCEDURE

The PCS 110 communicates with an S5 95U, S5 100U (only with CPU 103) or S5 115U via the PG
interface. The master on the bus is the PCS. For communication with the programmable controller (the only
slave on the bus) only a part of the SINEC L1 bus protocol is used. Only the "normal communication"
telegram type is used. The interface to the programmable controller program is a data block which contains
the send and receive mailbox.
The receive mailbox is described by the programmable controller operating system and read by the
programmable controller user program. The reception data "question package" from the PCS 110 are
contained in this mailbox. The handshake is realised by bit 7 in the receive coordination byte KBE.
The send mailbox is described by the programmable controller user program and read by the programmable
controller operating system. The reception data "answer package" for the PCS 110 are contained in this
mailbox. The handshake is realised by bit 7 in the send coordination byte KBS.
The user of the PCS 110 has no contafct to this send and receive mailbox. This handling procedure is carried
out completely by the handling software, which consists of the FB 210 and FB 211. The parameter
assignment of the programmable controller for the SINEC L1 bus (SINEC L1 parameter block) is completed
by the FB 211, which must be called up by OB 21 and Pb 22. In the 95 U programmable controller, these
data are filed in DB 1.

Temporal procedural diagram of the L1 bus protocol


(the diagram shows an L1 bus cycle)

Master (PCS 110):

5 ms N ZB L BM QU Data BM ZB Q BM
Break + E 1 max. 64 2 E 1
xxxxxxxxxxxxxxx yyyyyyyyy

Slave (programmable controller):

N ZB L BS Z Data BS
S 1 max. 64 2
yyyyyyyyyyyyyy
Abbreviations: N+ ... Slave number to be operated
N ... Slave number (answer from the slave)
ZBS ... Status byte send (status information for the master)
ZBE ... Status byte receive (status information for the slave)
L ... Length of the following data block (0 to max. 64 bytes)
BM1 ... Block check 1 by master (control byte)
BM2 ... Block check 2 by master (control byte)
BS1 ... Block check 1 by sender (control byte)
BS2 ... Block check 2 by sender (control byte)
Q ... Acknowledgement byte
xxx ... only if master (PCS 110) has data to send (L <> 0)
yyy ... only if slave (programmable controller) has data to send (L <> 0)

The communication runs as soon as the programmable controller and the PCS 110 are supplied with
voltage and are connected by the PCS 716 communication cable. If the programmable controller is now
switch to RUN the "actual" data transfer begins, i.e. phases xxx and yyy also exist during the bus transfer.
If, during the "actual" data transfer a double repeat "CONNECT error" or a time is exceeded "TIMEOUT error"
(if, for example, phase xxx or yyy fails for too long), the system nevertheless attempts to continue the
communication. In this case the communication runs without phases xxx and yyy, i.e. both the master and
the slave send no data.

80
PCS 810 / Handling FB

Temporal procedure for the "actual" data transfer

11 222222222222 33333333 4444 5555555 6666 777777777777 (11)

11
The PCS is composing a new package. The required time is approximately 2.5 milliseconds in online
and 10 milliseconds in offline mode.
222222222222
The "question package" is transferred in an L1 bus cycle (Phase xxx in the L1 bus procedural diagram).
The time required depends on the package length. Since the package length is not constant, this time
may generally not be fixed.
33333333
The programmable controller operating system checks the data for errors and enters them in the receive
mailbox of the programmable controller. Any errors are entered in the KBS and KBE coordination bytes
for later use. Furthermore, the handling FB 210 is told that the data exchange may be made. This is done
by bit 15 being reset by the KBE, i.e. the programmable controller user program has access to the
received data in the receive mailbox.
4444
Waiting time until the handling FB 210 is processed.
5555555
The handling FB 210 completes the data exchange in both directions. Therefore, data from the receive
mailbox are written into the marker range (including write, AND and OR commands) and data from the
marker range can be written in the send mailbox (reading commands). At the end of the FB both the
send mailbox and the receive mailbox are cleared for the programmable controller operating system (set
bit 15 from the KBE and KBS). The required run time of the FB 210 are given in the description of the
handling FB 210.
6666
Waiting time until the operating system of the programmable controller is ready to transfer the data from
the send mailbox, in other words the answer package.
777777777777
The answer package, in other words data from the send mailbox of the programmable controller, is
transferred (phase yyy in the L1 bus procedural diagram). The length of this package is also variable.
As soon as the package in the PCS 110 has been received in full a new package is composed as
described in 1.

Please note:
There may be several L1 bus cycles between phases 2 and 7. This depends on the
processing speed of the programmable controller CPU.

81
PCS 810 / Handling FB

5.4 PROGRAM LISTING

5.4.1 PROJECT 1 (P11112ST.S5D)

This project is for the 100 U/115 U programmable controller and communicates through a marker range
to which parameters may be assigned.

5.4.1.1 FB 210, 211, 212 AND 213

FB210 SPRM-A LAE=301 ABS


PAGE 1
NETWORK 1
NAME : HANT.PCS
REF : SEDB E/A/D/B/T/Z: B
REF : RSET E/A/D/B/T/Z: E BI/BY/W/D: BI
REF : EROR E/A/D/B/T/Z: A BI/BY/W/D: BI
REF : RFLM E/A/D/B/T/Z: A BI/BY/W/D: BI
REF : VOBI E/A/D/B/T/Z: D KM/KH/KY/KC/KF/KT/KZ/KG:KY
REF : TIMZ E/A/D/B/T/Z: D KM/KH/KY/KC/KF/KT/KZ/KG:KF
REF : INIT E/A/D/B/T/Z: B
REF : COFF E/A/D/B/T/Z: B
003A :B =SEDB CALL UP BLOCK
003C :LW =SEDB
003E :SLW 8
0040 :SRW 7
0042 :L KHE400
0046 :+F
0048 :LIR 0
004A :T DW71 INITIAL ADDRESS SEDB
004C .U =RFLM 1ST CYCLE ?
004E :SPB =NORM ->-> IF NOT
0050 :LW =VOBI
0052 :SRW 8
0054 :L KHEE00
0058 :OW
005A :T DW69 MARKER INITIAL ADDRESS = DW69
005C :I 6
005E :T DW68 ERROR WORD ADDRESS = DW 68
0060 :LW =VOBI
0062 :L KH00FF
0066 :UW
0068 :L KHEE00
006C :OW
006E :T DW70 MARKER END ADDRESS = DW70
0070 :L KHEEF4
0074 :>F
0076 :SPB =STOP STOP IF END OVER MW244 !
0078 :L DW70 TRANSFER RANGE LARGE ENOUGH ?
007A :L DW69
007C :-F
007E :L KF+44 23 WORDS MINIMUM
0082 :>=F CORRES. DIFFERENCE=44 BYTES
0084 :SPB =MBOK
0086 STOP :STS ->-> IF RANGE TOO SMALL STOP !

82
PCS 810 / Handling FB

0088 MBOK := =RFLM 1ST CYCLE ENDED


008A :LW =TIMZ INITIALISE TIMEOUT COUNTER
008C :L DW69
008E :TIR 2
0090 :B =INIT --MACHINE-SPECIFIC RESETTING ---
0092 :L KF+0 TARGET = ENTER MASTER INTO SEND BOX
0096 :T DR33
0098 :SPA =RES1
009A NORM :L KH0000 CHECK TIMEOUT COUNTER
009E :L DW69
00AO :LIR 0
00A2 :><F
00A4 :SPB =NOR1 ->-> IF NO TIMEOUT
00A6 :L DW68 ERROR ADDRESS
00A8 :LIR 0
00AA :L KH2000 ENTER TIMEOUT ERROR
00AE :OW
00B0 :L DW68
00B2 :TIR 2
00B4 :SPA =END1
00B6 NOR1 :L KF-1 DECREMENT TIMEOUT COUNTER
00BA :L DW69
00BC :LIR 0
00BE :+F
00C0 :L DW69
00C2 :TIR 2 AND WRITE BACK
00C4 :L KH8000 KBE: RECEIVE MAILBOX ACCESS ALLOWED ?
00C8 :L DW66
00CA :UW
00CC :><F
00CE :SPB =PKBS
00D0 :BEA ->-> IF RECEIVE MAILBOX BLOCKED !
00D2 PKBS :L KH8000 KBS: SEND MAILBOX ACCESS ALLOWED ?
00D6 :L DW67
00D8 :UW
00DA :><F
00DC :SPB =STAR
00DE :BEA ->-> IF RECEIVE MAILBOX BLOCKED !
00E0 STAR :L KH0100
00E4 :L DW66 KBE: ERROR BIT SET ?
00E6 :UW
00E8 :!=F
00EA :SPB =WDH1 ->-> IF RECEIVE ERROR
00EC :LW =TIMZ RELOAD TIMEOUT COUNTER
00EE :L DW69
00F0 :TIR 2 AND ENTER
00F2 :L DR0 READ SOURCE FROM RECEIVE MAILBOX
00F4 :L KF+0
00F8 :><F
00FA :SPB =WDH1 ->-> IF >< 0 !
00FC :L DL0 READ LENGTH FROM RECEIVE MAILBOX >64?
00FE :T MB253 LENGTH RECEIVE MAILBOX = MB253
0100 :L KF+64
0104 :>F
0106 :SPB =WDH1 ->-> IF LENGTH > 64 BYTES
0108 :L MB253 LENGTH=1 ?
010A :L KF+1
010E :!=F

83
PCS 810 / Handling FB

0110 :SPB =ALT1 ->-> IF LENGTH =1 ! (WDHA.!)


0112 :L KY68,2 START SEND BOX:DW34, RECEIVE BOX:DW1
0116 :T MW254
0118 :L KF+0 SET LENGTH SEND MAILBOX: =0
011C :T MB252
011E DGET :L MB253 ANOTHER SUBPACKAGE THERE ?
0120 :L KF+0
0124 :!=F
0126 :SPB =ENDE ->-> NO MORE THERE ! (MB253 = 0)
0128 :L MB255
012A :L DW71
012C :+F
012E :LIR 0
0130 :T MW250 ADR,COMMAND MEMORY
0132 :L MB255
0134 :L KF+2
0138 :+F
013A :T MB255 POINTER RECEIVE BOX +2 BYTES
013C :L MB253
013E :L KF-2
0142 :+F
0144 :T MB253 LENGTH RECEIVE BOX -2 BYTES
0146 :L MB250
0148 :SLW 1
014A :L DW69
014C :+F
014E :T MW248 OPERATED ADDRESS OF PCS
0150 :L MB251 COMMAND/LENGTH
0152 INTP :L KH000F MASK OUT LENGTH
0156 :UW
0158 :L KH0000
015C :!=F DO WHILE LENGTH >0 !
015E :SPB =DGET ->-> LENGTH=0, NEXT SUBPACKAGE
0160 :UN M 251.4
0162 :SPB =SCHR JUMP FOR ALL WRITE OPERAT.
0164 :L MB254
0166 :L DW71
0168 :+F
016A :T MW246 INTERIM MEMORY TARGET ADDRESS
016C :L MW248
016E :LIR 0 WORD FROM TARGET RANGE
0170 :L MW246
0172 :TIR 2 ENTER IN SEND MAILBOX
0174 :L MB252
0176 :L KF+2
017A :+F
017C :T MB252 SEND MAILBOX LENGTH +2 BYTES
017E :L MB254
0180 :L KF+2
0184 :+F
0186 :T MB254 POINTER TO SEND BOX + 2 BYTES
0188 :SPA =INCR ->-> CONTINUE THERE
018A RES1 :SPA =REST HELP JUMP !
018C ALT1 :SPA =SPAK HELP JUMP !
018E END1 :SPA =ENDE HELP JUMP !
0190 WDH1 :SPA =WDHA HELP JUMP !
0192 SCHR :L MW248 *** WRITE OPERATIONS FROM HERE
0194 :L DW70 IF OUTSIDE OPERATED RANGE

84
PCS 810 / Handling FB

0196 :<=F AG IN STOP STATUS ! ! ! ! ! ! ! !


0198 :SPB =WEIT
019A :STS
019C WEIT :L MB255
019E :L DW71
01A0 :+F
01A2 :LIR 0 WORD FROM RECEIVE MAILBOX
01A4 :L MW248 TARGET ADDRESS
01A6 :U M 251.5
01A8 :SPB =WR ->-> JUMP FOR WRITING ! ! ! !
01AA :LIR 0 READ ACTUAL DATA
01AC :UN M 251.6
01AE :SPB =ODER ->-> JUMP IF OR ! ! ! !
01B0 :UW AND COMMAND
01B2 :SPA =WEND ->-> CONTINUE THERE
01B4 ODER :OW OR COMMAND
01B6 WEND :MW248
01B8 WR :TIR 2 DATE TO TARGET ADDRESS
01BA :K MB255
01BC :L KF+2
01C0 :+F
01C2 :T MB255 POINTER RECEIVE MAILBOX +2 BYTES
01C4 :L MB253
01C6 :L KF-2
01CA :+F
01CC :T MB253 POINTER RECEIVE MAILBOX -2 BYTES
01CE INCR :L MW248
01D0 :L KF+2
01D4 :+F
01D6 :T MW248 POINTER TARGET ADDRESS +2 BYTES
01D8 :L MB251
01DA :L KF-1
01DE :+F
01E0 :T MB251 NUMBER OF WORDS IN SUBPACKAGE - 1
01E2 :SPA =INTP ->-> CONTINUE THERE !
01E4 ENDE :L DW68
01E6 :LIR 0 ERROR WORD
01E8 :L KH0000
01EC :OW
01EE :SPN =FEHL ->-> IF ERROR (ERROR WORD <> 0)
01F0 :U =RSET
01F2 :SPB =REST ->-> RESET (CONT. COMMUNICATION)
01F4 :L KH0000
01F8 :L MB252 LENGTH SEND MAILBOX
01FA :><F
01FC :SPB =NLEE ->-> IF SEND MAILBOX NOT EMPTY !
01FE :L KF+2
0202 :T DL34 EMPTY PACKAGE = 02H
0204 :L KF+1 LENGTH 1 BYTE
0208 NLEE :T DL33 ENTER LENGTH
020A :RB =EROR
020C :SPA =SPAK ->-> SEND PACKAGE
020E WDHA :L KF+1 LENGTH SEND MAILBOX = 1
0212 :T DL33
0214 :T DL34 REPEAT REQUEST = 01H
0216 :SPA =SPAK ->-> SEND PACKAGE
0218 FEHL :S =EROR ERROR MESSAGE ON
021A :B =COFF ---IF ERROR ==> COFF ! ! ! ---

85
PCS 810 / Handling FB

021C :UN =RSET RESET REQUIRED ?


021E :BEB ->-> IF NOT
0220 :RB =RFLM
0222 REST :RB =RSET
0224 :L KF+1 LENGTH 1 BYTE
0228 :T DL33
022A :L FK+0 RESET PACKAGE = OH
022E :T DL34
0230 SPAK :L KH8000 CLEAR SEND AND RECEIVE BOXES
0234 :L DW66 FOR ACCESS BSYS
0236 :OW
0238 :T DW66
023A :L KH8000
023E :L DW67
0240 :OW
0242 :T DW67
0244 :BEA
0246 :L KH0100 FOR 100U/115U PROGRAMMABLE CONTROLLER
024A :L KH0110 WITH PCS 110
024E :BE

FB211 SPRM-A LAE=65 ABS


PAGE 1
NETWORK 1
NAME : L1.PCS
REF : SEDB E/A/D/B/T/Z: B
REF : RFLM E/A/D/B/T/Z: A BI/BY/W/D: BI

0016 :B =SEDB ACTIVATE SEDB


0018 :RB =RFLM MARKER FOR 1ST CYCLE
001A :L KF+1
001E :T MB243 SLAVE NO. 1
0020 :L KH4400
0024 :T MW244 "D"/KBE
0026 :LW =SEDB
0028 :T MB245 DBNR/KBE
002A :L KY66,0
002E :T MW246 DW66/KBE
0030 :L KH4400
0034 :T MW247 "D"/KBS
0036 :L MB245
0038 :T MB248 DBNR/KBS
003A :L KY67,0
003E :T MW249 DW67/KBS
0040 :L KH4400
0044 :T MW250 "D"/SEND MAILBOX
0046 :L MB245
0048 :T MB251 DBNR/SEND MAILBOX
004A :L KY33,0
004E :T MW252 DW33/SEND MAILBOX
0050 :L KH4400
0054 :T MW253 "D"/RECEIVE MAILBOX
0056 :L MB245
0058 :T MB254 DBNR/RECEIVE MAILBOX
005A :L KF+0
005E :T MB255 DW0/RECEIVE MAILBOX
0060 :L KHEEFF SOURCE

86
PCS 810 / Handling FB

0064 :L KHEA7F TARGET


0068 :TNB 14
006A :L KH0000 DELETE INTERIM MEMORY
006E :T DW67 SEND MAILBOX ACCESS FROM USER
0070 :L KH8000
0074 :T DW66 READY TO RECEIVE FOR BSYS
0076 :BE

FB212 SPRM-A LAE=23 ABS


PAGE 1
NETWORK 1
NAME : INIT

000A :L KH0000
000E :L DW69
0010 :I 6 TARGET ADDRESS (=WORD3)
0012 :TIR 2 SET ERROR WORD=0
0014 :I 2
0016 :TIR 2 DECLARE DATE INVALID
0018 :L KH0F00
001C :L DW69
001E :I 28
0020 :TIR 2 CLEAR PRIORITY BLOCK
0022 :BE

FB213 SPRM-A LAE=20 ABS


PAGE 1
NETWORK 1
NAME : COFF

000A :L KH0000
000E :L DW69
0010 :I 8
0012 :TIR 2 SET KEY BITS TO ZERO
0014 :I 2
0016 :TIR 2
0018 :I 2
001A :TIR 2 DECLARE CLOCK INVALID
001C :BE

87
PCS 810 / Handling FB

5.4.1.2 PROJECT 1 APPLICATION EXAMPLE

This example shows the parameter assignment as realised on the enclosed diskette.

OB1 SPRM-A LAE=22 ABS


PAGE 1
NETWORK 1

0000 :SPA FB210


0002 NAME :HANT. PCS
0004 SEDB : DB50 SEND/RECEIVE BLOCK
0006 RSET : M 20.1 RESET REQUEST WITH M 20.1=1
0008 EROR : A 4.0 ERROR MESSAGE AT A4.0 (100U A1.0)
000A RFLM : M 20.0 MARKER FOR FIRST CYCLE
000C VOBI : KY50,198 MARKER RANGE FROM MW50-MW198 INCL.
000E TIMZ : KF+300 TIMEOUT COUNTER
0010 INIT : FB212 MACHINE-SPECIFIC PRESETTING
0012 COFF : FB213 CALLED UP IF COMM. ERROR
0014 :U E 0.0 RESET KEY
0016 :UN M 20.2 EDGE MARKER FOR RESET KEY
0018 :S M 20.1 RESET REQUEST FOR POS. EDGE
001A :S M 20.2 EDGE MARKER FOR KEY
001C :UN E 0.0 NEGATIVE EDGE NOT USED
001E :R M 20.2
0020 :BE

OB21 SPRM-A LAE=14 ABS


PAGE 1
NETWORK 1
0000 :L KF+71
0004 :E DB50 SEND/RECEIVE BLOCK
0008 :SPA FB211
000A NAME :L1.PCS
000C SEDB : DB50
000E RFLM : M 20.0
0010 :BE

OB22 SPRM-A LAE=14 ABS


PAGE 1
NETWORK 1
0000 :L KF+71
0004 :E DB50 SEND/RECEIVE BLOCK
0008 :SPA FB211
000A NAME :L1.PCS
000C SEDB : DB50
000E RFLM : M 20.0
0010 :BE

P R O J E C T: PCS 111
DATE: 01.07.1991

STATUS: HANDLING FB 210 REV. 2 PROJECT 1


SYSTEME LAUER 7440 NUERTINGEN HOHES GESTADE 16

88
Technical appendix

5.4.2 PROJECT 2 (P11122ST.S5D)

This project is for the 95 U programmable controller and communicates through a marker range to which
parameters may be assigned.

5.4.2.1 FB 210, 211, 212, 213 AND DB1

FB210 SPRM-A LAE=301 ABS


PAGE 1
NETWORK 1
NAME : HANT.PCS
REF : SEDB E/A/D/B/T/Z: B
REF : RSET E/A/D/B/T/Z: E BI/BY/W/D: BI
REF : EROR E/A/D/B/T/Z: A BI/BY/W/D: BI
REF : RFLM E/A/D/B/T/Z: A BI/BY/W/D: BI
REF : VOBI E/A/D/B/T/Z: D KM/KH/KY/KC/KF/KT/KZ/KG:KY
REF : TIMZ E/A/D/B/T/Z: D KM/KH/KY/KC/KF/KT/KZ/KG:KF
REF : INIT E/A/D/B/T/Z: B
REF : COFF E/A/D/B/T/Z: B
003A :B =SEDB CALL UP BLOCK
003C :U =RFLM 1ST CYCLE ?
003E :SPB =NORM ->-> IF NOT
0040 :LW =VOBI
0042 :SRW 8
0044 :L KH6100
0048 :OW
004A :T DW69 MARKER INITIAL ADDRESS = DW69
004C :I 6
004E :T DW68 ERROR WORD ADDRESS = DW68
0050 :LW =VOBI
0052 :L KH00F
0056 :UW
0058 :L KH6100
005C :OW
005E :T DW70 MARKER END ADDRESS = DW70
0060 :L KH61F4
0064 :>F
0066 :SPB =STOP STOP IF END OVER MW244 !
0068 :L DW70 TRANSFER RANGE LARGE ENOUGH ?
006A :L DW69
006C :-F
006E :L KF+44 23 WORDS MINIMUM
0072 :>=F CORRES. DIFFERENCE=44 BYTES
0074 :SPB =MBOK
0076 STOP :STS ->-> IF RANGE TOO SMALL STOP !
0078 MBOK := =RFLM 1ST CYCLE ENDED
007A :LW =TIMZ INITIALISE TIMEOUT COUNTER
007C :L DW69
007E :TIR 2
0080 :B =INIT --MACHINE-SPECIFIC PRESETTING--
0082 :LW =SEDB
0084 :SLW 8
0086 :SRW 7
0088 :L KH7E00
008C :+F

89
Technical appendix

008E :LIR 0
0090 :T DW71 BASIC ADDRESS OF THE DBS = DW71
0092 :L KF+0 TARGET = ENTER MASTER INTO SEND BOX
0096 :T DR33
0098 :SPA =RES1
009A NORM :L KH0000 CHECK TIMEOUT COUNTER
009E :L DW69
00AO :LIR 0
00A2 :><F
00A4 :SPB =NOR1 ->-> IF NO TIMEOUT
00A6 :L DW68 ERROR ADDRESS
00A8 :LIR 0
00AA :L KH2000 ENTER TIMEOUT ERROR
00AE :OW
00B0 :L DW68
00B2 :TIR 2
00B4 :SPA =END1
00B6 NOR1 :L KF-1 DECREMENT TIMEOUT COUNTER
00BA :L DW69
00BC :LIR 0
00BE :+F
00C0 :L DW69
00C2 :TIR 2 AND WRITE BACK
00C4 :L KH8000 KBE: RECEIVE MAILBOX ACCESS ALLOWED ?
00C8 :L DW66
00CA :UW
00CC :><F
00CE :SPB =PKBS
00D0 :BEA ->-> IF RECEIVE MAILBOX BLOCKED !
00D2 PKBS :L KH8000 KBS: SEND MAILBOX ACCESS ALLOWED ?
00D6 :L DW67
00D8 :UW
00DA :><F
00DC :SPB =STAR
00DE :BEA ->-> IF SEND MAILBOX BLOCKED !
00E0 STAR :L KH0100
00E4 :L DW66 KBE: ERROR BIT SET ?
00E6 :UW
00E8 :!=F
00EA :SPB =WDH1 ->-> IF RECEIVE ERROR
00EC :LW =TIMZ RELOAD TIMEOUT COUNTER
00EE :L DW69
00F0 :TIR 2 AND ENTER
00F2 :L DR0 READ SOURCE FROM RECEIVE MAILBOX
00F4 :L KF+0
00F8 :><F
00FA :SPB =WDH1 ->-> IF >< = !
00FC :L DL0 READ LENGTH FROM RECEIVE MAILBOX >64?
00FE :T MB253 LENGTH RECEIVE MAILBOX = MB253
0100 :L KF+64
0104 :>F
0106 :SPB =WDH1 ->-> IF LENGTH > 64 BYTES
0108 :L MB253 LENGTH = 1 ?
010A :L KF+1
010E :!=F
0110 :SPB =ALT1 ->-> IF LENGTH = 1 ! (WDHA.!)
0112 :L KY68,2 START SEND BOX:DW34, RECEIVE BOX:DW1
0116 :T MW254

90
Technical appendix

0118 :L KF+0 SET LENGTH SEND MAILBOX: =0


011C :T MB252
011E DGET :L MB253 ANOTHER SUBPACKAGE THERE ?
0120 :L KF+0
0124 :!=F
0126 :SPB =ENDE ->-> NO MORE THERE ! (MB253 = 0)
0128 :L MB255
012A :L DW71
012C :+F
012E :LIR 0
0130 :T MW250 ADR,COMMAND MEMORY
0132 :L MB255
0134 :L KF+2
0138 :+F
013A :T MB255 POINTER RECEIVE BOX +2 BYTES
013C :L MB253
013E :L KF-2
0142 :+F
0144 :T MB253 LENGTH RECEIVE BOX -2 BYTES
0146 :L MB250
0148 :SLW 1
014A :L DW69
014C :+F
014E :T MW248 OPERATED ADDRESS OF PCS
0150 :L MB251 COMMAND/LENGTH
0152 INTP :L KH000F MASK OUT LENGTH
0156 :UW
0158 :L KH0000
015C :!=F DO WHILE LENGTH >0 !
015E :SPB =DGET ->-> LENGTH=0, NEXT SUBPACKAGE
0160 :UN M 251.4
0162 :SPB =SCHR JUMP FOR ALL WRITE OPERAT.
0164 :L MB254
0166 :L DW71
0168 :+F
016A :T MW246 INTERIM MEMORY TARGET ADDRESS
016C :L MW248
016E :LIR 0 WORD FROM TARGET RANGE
0170 :L MW246
0172 :TIR 2 ENTER IN SEND MAILBOX
0174 :L MB252
0176 :L KF+2
017A :+F
017C :T MB252 SEND MAILBOX LENGTH +2 BYTES
017E :L MB254
0180 :L KF+2
0184 :+F
0186 :T MB254 POINTER TO SEND BOX + 2 BYTES
0188 :SPA =INCR ->-> CONTINUE THERE
018A RES1 :SPA =REST HELP JUMP !
018C ALT1 :SPA =SPAK HELP JUMP !
018E END1 :SPA =ENDE HELP JUMP !
0190 WDH1 :SPA =WDHA HELP JUMP !
0192 SCHR :L MW248 *** WRITE OPERATIONS FROM HERE
0194 :L DW70 IF OUTSIDE OPERATED RANGE
0196 :<=F AG IN STOP STATUS ! ! ! ! ! ! ! !
0198 :SPB =WEIT
019A :STS

91
Technical appendix

019C WEIT :L MB255


019E :L DW71
01A0 :+F
01A2 :LIR 0 WORD FROM RECEIVE MAILBOX
01A4 :L MW248 TARGET ADDRESS
01A6 :U M 251.5
01A8 :SPB =WR ->-> JUMP FOR WRITING ! ! ! !
01AA :LIR 0 READ ACTUAL DATA
01AC :UN M 251.6
01AE :SPB =ODER ->-> JUMP IF OR ! ! ! !
01B0 :UW AND COMMAND
01B2 :SPA =WEND ->-> CONTINUE THERE
01B4 ODER :OW OR COMMAND
01B6 WEND :MW248
01B8 WR :TIR 2 DATE TO TARGET ADDRESS
01BA :K MB255
01BC :L KF+2
01C0 :+F
01C2 :T MB255 POINTER RECEIVE MAILBOX +2 BYTES
01C4 :L MB253
01C6 :L KF-2
01CA :+F
01CC :T MB253 POINTER RECEIVE MAILBOX -2 BYTES
01CE INCR :L MW248
01D0 :L KF+2
01D4 :+F
01D6 :T MW248 POINTER TARGET ADDRESS +2 BYTES
01D8 :L MB251
01DA :L KF-1
01DE :+F
01E0 :T MB251 NUMBER OF WORDS IN SUBPACKAGE - 1
01E2 :SPA =INTP ->-> CONTINUE THERE !
01E4 ENDE :L DW68
01E6 :LIR 0 ERROR WORD
01E8 :L KH0000
01EC :OW
01EE :SPN =FEHL ->-> IF ERROR (ERROR WORD <> 0)
01F0 :U =RSET
01F2 :SPB =REST ->-> RESET (CONT. COMMUNICATION)
01F4 :L KH0000
01F8 :L MB252 LENGTH SEND MAILBOX
01FA :><F
01FC :SPB =NLEE ->-> IF SEND MAILBOX NOT EMPTY !
01FE :L KF+2
0202 :T DL34 EMPTY PACKAGE = 02H
0204 :L KF+1 LENGTH 1 BYTE
0208 NLEE :T DL33 ENTER LENGTH
020A :RB =EROR
020C :SPA =SPAK ->-> SEND PACKAGE
020E WDHA :L KF+1 LENGTH SEND MAILBOX = 1
0212 :T DL33
0214 :T DL34 REPEAT REQUEST = 01H
0216 :SPA =SPAK ->-> SEND PACKAGE
0218 FEHL :S =EROR ERROR MESSAGE ON
021A :B =COFF ---IF ERROR ==> COFF ! ! ! ---
021C :UN =RSET RESET REQUIRED ?
021E :BEB ->-> IF NOT
0220 :RB =RFLM

92
Technical appendix

0222 REST :RB =RSET


0224 :L KF+1 LENGTH 1 BYTE
0228 :T DL33
022A :L FK+0 RESET PACKAGE = OH
022E :T DL34
0230 SPAK :L KH8000 CLEAR SEND AND RECEIVE BOXES
0234 :L DW66 FOR ACCESS BSYS
0236 :OW
0238 :T DW66
023A :L KH8000
023E :L DW67
0240 :OW
0242 :T DW67
0244 :BEA
0246 :L KH0100 FOR 95 U PROGRAMMABLE CONTROLLER
024A :L KH0110 WITH PCS 110
024E :BE

FB211 SPRM-A LAE=26 ABS


PAGE 1
NETWORK 1
NAME : L1.PCS
REF : SEDB E/A/D/B/T/Z: B
REF : RFLM E/A/D/B/T/Z: A BI/BY/W/D: BI

0016 :B =SEDB
0018 :U =RFLM
001A :RB =RFLM
001C :L KH0000
0020 :T DW67
0022 :L KH8000
0026 :T DW66
0028 :BE

FB212 SPRM-A LAE=23 ABS


PAGE 1
NETWORK 1
NAME : INIT

000A :L KH0000
000E :L DW69
0010 :I 6 TARGET ADDRESS (=WORD3)
0012 :TIR 2 SET ERROR WORD=0
0014 :I 2
0016 :TIR 2 DECLARE DATE INVALID
0018 :L KH0F00
001C :L DW69
001E :I 28
0020 :TIR 2 CLEAR PRIORITY BLOCK
0022 :BE

93
Technical appendix

FB213 SPRM-A LAE=20 ABS


PAGE 1
NETWORK 1
NAME : COFF

000A :L KH0000
000E :L DW69
0010 :I 8
0012 :TIR 2 SET KEY BITS TO ZERO
0014 :I 2
0016 :TIR 2
0018 :I 2
001A :TIR 2 DECLARE CLOCK INVALID
001C :BE

DB1 SPRM-A LAE=95 ABS


PAGE 1

0 : KC=DB1 OBA: AI 0 ; OBI: ; OBC: CAP N CBP N


27 : KC= ; SL1: SLN 1 SF DB50 DW33 EF DB50 DW0 KBE DB50DW
54 : KC= 66 KBS DB50DW67 PGN 1 ; SDP: NT 128 PBUS N ; TFB:
81 : KC= OB13 100 ; END
90 :

94
Technical appendix

5.4.2.2 PROJECT 2 APPLICATION EXAMPLE

This example shows the parameter assignment as realised on the enclosed diskette.

OB1 SPRM-A LAE=22 ABS


PAGE 1
NETWORK 1

0000 :SPA FB210


0002 NAME :HANT. PCS
0004 SEDB : DB50 SEND/RECEIVE BLOCK
0006 RSET : M 20.1 RESET REQUEST WITH M 20.1=1
0008 EROR : A 32.0 ERROR MESSAGE AT A32.0
000A RFLM : M 20.0 MARKER FOR FIRST CYCLE
000C VOBI : KY50,198 MARKER RANGE FROM MW50-MW198 INCL.
000E TIMZ : KF+300 TIMEOUT COUNTER
0010 INIT : FB212 MACHINE-SPECIFIC PRESETTING
0012 COFF : FB213 CALLED UP IF COMM. ERROR
0014 :U E 32.0 RESET KEY
0016 :UN M 20.2 EDGE MARKER FOR RESET KEY
0018 :S M 20.1 RESET REQUEST FOR POS. EDGE
001A :S M 20.2 EDGE MARKER FOR KEY
001C :UN E 32.0 NEGATIVE EDGE NOT USED
001E :R M 20.2
0020 :BE

OB21 SPRM-A LAE=14 ABS


PAGE 1
NETWORK 1
0000 :L KF+71
0004 :E DB50 SEND/RECEIVE BLOCK
0008 :SPA FB211
000A NAME :L1.PCS
000C SEDB : DB50
000E RFLM : M 20.0
0010 :BE

OB22 SPRM-A LAE=14 ABS


PAGE 1
NETWORK 1
0000 :L KF+71
0004 :E DB50 SEND/RECEIVE BLOCK
0008 :SPA FB211
000A NAME :L1.PCS
000C SEDB : DB50
000E RFLM : M 20.0
0010 :BE

P R O J E C T: PCS 111
DATE: 01.07.1991

STATUS: HANDLING FB 210 REV. 2 PROJECT 2


SYSTEME LAUER 7440 NUERTINGEN HOHES GESTADE 16

95
Technical appendix

5.4.3 PROJECT 3 (P11132ST.S5D)

This project is for the 100 U/115 U programmable controller and communicates through a data block.

5.4.3.1 FB 210, 211, 212 AND 213


FB210 SPRM-A LAE=299 ABS
PAGE 1
NETWORK 1
NAME : HANT.PCS
REF : UBDB E/A/D/B/T/Z: B
REF : SEDB E/A/D/B/T/Z: B
REF : RSET E/A/D/B/T/Z: E BI/BY/W/D: BI
REF : EROR E/A/D/B/T/Z: A BI/BY/W/D: BI
REF : RFLM E/A/D/B/T/Z: A BI/BY/W/D: BI
REF : TIMZ E/A/D/B/T/Z: D KM/KH/KY/KC/KF/KT/KZ/KG:KF
REF : INIT E/A/D/B/T/Z: B
REF : COFF E/A/D/B/T/Z: B
003A :B =SEDB
003C :LW =UBDB
003E :SLW 8
0040 :SRW 7
0042 :L KHE400
0046 :+F
0048 :LIR 0
004A :T DW69 DATA BLOCK ADDRESS COMM. RANGE
004C .L KH0000
0050 :!=F
0052 :SPB =STOP ->-> IF DB NOT THERE !
0054 :TAK
0056 :L KK-2
005A :+F
005C :LIR 0
005E :L KF+261
0062 :<F
0064 :SPB =STOP ->-> IF LESS THAN 256 WORDS !
0066 :LW =SEDB
0068 :SLW 8
006A :SRW 7
006C :L KHE400
0070 :+F
0072 :LIR 0
0074 :T DW70 SEND, RECEIVE BOX BLOCK ADDRESS
0076 :U =RFLM
0078 :SPB =NORM
007A := =RFLM 1ST CYCLE ENDED
007C :L DW69
007E :L KF+6
0082 :+F
0084 :T DW68 ERROR WORD ADDRESS
0086 :LW =TIMZ INITIALISE TIMEOUT COUNTER
0088 :L DW69
008A :TIR 2
008C :B =UBDB
008E :B =INIT --- MACHINE-SPECIFIC PRESETTING ---

96
PCS 810 / Handling FB

0090 :B =SEDB
0092 :L KF+0 TARGET = ENTER MASTER INTO SEND BOX
0096 :T DR33
0098 :SPA =RES1
009A STOP :STS
009C NORM :L KH0000 CHECK TIMEOUT COUNTER
00A0 :L DW69
00A2 :LIR 0
00A4 :><F
00A6 :SPB =NOR1 ->-> IF NO TIMEOUT
00A8 :L DW68 ERROR ADDRESS
00AA :LIR 0
00AC :L KH2000 ENTER TIMEOUT ERROR
00B0 :OW
00B2 :L DW68
00B4 :TIR 2
00B6 :SPA =END1
00B8 NOR1 :L KF-1 DECREMENT TIMEOUT COUNTER
00BC :L DW69
00BE :LIR 0
00C0 :+F
00C2 :L DW69
00C4 :TIR 2 AND WRITE BACK
00C6 :L KH8000 KBE: RECEIVE MAILBOX ACCESS ALLOWED ?
00CA :L DW66
00CC :UW
00CE :><F
00D0 :SPB =PKBS
00D2 :BEA ->-> IF RECEIVE MAILBOX BLOCKED !
00D4 PKBS :L KH8000 KBS: SEND MAILBOX ACCESS ALLOWED ?
00D8 :L DW67
00DA :UW
00DC :><F
00DE :SPB =STAR
00E0 :BEA ->-> IF SEND MAILBOX BLOCKED !
00E2 STAR :L KH0100
00E6 :L DW66 KBE: ERROR BIT SET ?
00E8 :UW
00EA :!=F
00EC :SPB =WDH1 ->-> IF RECEIVE ERROR
00EE :LW =TIMZ RELOAD TIMEOUT COUNTER
00F0 :L DW69
00F2 :TIR 2 AND ENTER
00F4 :L DR0 READ SOURCE FROM RECEIVE MAILBOX
00F6 :L KF+0
00FA :><F
00FC :SPB =WDH1 ->-> IF >< 0 !
00FE :L DL0 READ LENGTH FROM RECEIVE MAILBOX >64?
0100 :T MB253 LENGTH RECEIVE MAILBOX = MB253
0102 :L KF+64
0106 :>F
0108 :SPB =WDH1 ->-> IF LENGTH > 64 BYTES
010A :L MB253 LENGTH=1 ?
010C :L KF+1
0110 :!=F
0112 :SPB =ALT1 ->-> IF LENGTH =1 ! (WDHA.!)
0114 :L KY68,2 START SEND BOX:DW34, RECEIVE BOX:DW1
0118 :T MW254

97
PCS 810 / Handling FB

011A :L KF+0 SET LENGTH SEND MAILBOX: =0


011E :T MB252
0120 DGET :L MB253 ANOTHER SUBPACKAGE THERE ?
0122 :L KF+0
0126 :!=F
0128 :SPB =ENDE ->-> NO MORE THERE ! (MB253 = 0)
012A :L MB255
012C :L DW70
012E :+F
0130 :LIR 0
0132 :T MW250 ADR,COMMAND MEMORY
0134 :L MB255
0136 :L KF+2
013A :+F
013C :T MB255 POINTER RECEIVE BOX +2 BYTES
013E :L MB253
0140 :L KF-2
0144 :+F
0146 :T MB253 LENGTH RECEIVE BOX -2 BYTES
0148 :L MB250
014A :SLW 1
014C :L DW69
014E :+F
0150 :T MW248 OPERATED ADDRESS OF PCS
0152 :L MB251 COMMAND/LENGTH
0154 INTP :L KH000F MASK OUT LENGTH
0158 :UW
015A :L KH0000
015E :!=F DO WHILE LENGTH >0 !
0160 :SPB =DGET ->-> LENGTH=0, NEXT SUBPACKAGE
0162 :UN M 251.4
0164 :SPB =SCHR JUMP FOR ALL WRITE OPERAT.
0166 :L MB254
0168 :L DW70
016A :+F
016C :T MW246 INTERIM MEMORY TARGET ADDRESS
016E :L MW248
0170 :LIR 0 WORD FROM TARGET RANGE
0172 :L MW246
0174 :TIR 2 ENTER IN SEND MAILBOX
0176 :L MB252
0178 :L KF+2
017C :+F
017E :T MB252 SEND MAILBOX LENGTH +2 BYTES
0180 :L MB254
0182 :L KF+2
0186 :+F
0188 :T MB254 POINTER TO SEND BOX + 2 BYTES
018A :SPA =INCR ->-> CONTINUE THERE
018C RES1 :SPA =REST HELP JUMP !
018E ALT1 :SPA =SPAK HELP JUMP !
0190 END1 :SPA =ENDE HELP JUMP !
0192 WDH1 :SPA =WDHA HELP JUMP !
0194 SCHR :L MW255
0196 :L DW70
0198 :+F
019A :LIR 0 WORD FROM RECEIVE MAILBOX
019C :L MW248 TARGET ADDRESS

98
PCS 810 / Handling FB

019E :U M 251.5
01A0 :SPB =WR ->-> JUMP FOR WRITING ! ! ! !
01A2 :LIR 0 READ ACTUAL DATA
01A4 :UN M 251.6
01A6 :SPB =ODER ->-> JUMP IF OR ! ! ! !
01A8 :UW AND COMMAND
01AA :SPA =WEND ->-> CONTINUE THERE
01AC ODER :OW OR COMMAND
01AE WEND :L MW248
01B0 WR :TIR 2 DATE TO TARGET ADDRESS
01B2 :L MB255
01B4 :L KF+2
01B8 :+F
01BA :T MB255 POINTER RECEIVE MAILBOX +2 BYTES
01BC :L MB253
01BE :L KF-2
01C2 :+F
01C4 :T MB253 LENGTH RECEIVE MAILBOX -2 BYTES
01C6 INCR :L MW248
01C8 :L KF+2
01CC :+F
01CE :T MW248 POINTER TARGET ADDRESS +2 BYTES
01D0 :L MB251
01D2 :L KF-1
01D6 :+F
01D8 :T MB251 NUMBER OF WORDS IN SUBPACKAGE - 1
01DA :SPA =INTP ->-> CONTINUE THERE !
01DC ENDE :L DW68
01DE :LIR 0 ERROR WORD
01E0 :L KH0000
01E4 :OW
01E6 :SPN =FEHL ->-> IF ERROR (ERROR WORD <> 0)
01E8 :U =RSET
01EA :SPB =REST ->-> RESET (CONT. COMMUNICATION)
01EC :L KH0000
01F0 :L MB252 LENGTH SEND MAILBOX
01F2 :><F
01F4 :SPB =NLEE ->-> IF SEND MAILBOX NOT EMPTY !
01F6 :L KF+2
01FA :T DL34 EMPTY PACKAGE = 02H
01FC :L KF+1 LENGTH 1 BYTE
0200 NLEE :T DL33 ENTER LENGTH
0202 :RB =EROR
0204 :SPA =SPAK ->-> SEND PACKAGE
0206 WDHA :L KF+1 LENGTH SEND MAILBOX = 1
020A :T DL33
020C :T DL34 REPEAT REQUEST = 01H
020E :SPA =SPAK ->-> SEND PACKAGE
0210 FEHL :S =EROR ERROR MESSAGE ON
0212 :B =UBDB
0214 :B =COFF ---IF ERROR ==> COFF ! ! ! ---
0216 :B +SEBD
0218 :UN +RSET RESET REQUIRED ?
021A :BEB ->-> IF NOT
021C :RB =RFLM
021E REST :RB =RSET
0220 :L KF+1 LENGTH 1 BYTE
0224 :T DL33

99
PCS 810 / Handling FB

0226 :L KF+0 RESET PACKAGE = OH


022A :T DL34
022C SPAK :L KH8000 CLEAR SEND AND RECEIVE BOXES
0230 :L DW66 FOR ACCESS BSYS
0232 :OW
0234 :T DW66
0236 :L KH8000
023A :L DW67
023C :OW
023E :T DW67
0240 :BEA
0242 :L KH0100 FOR 100U/115U PROGRAMMABLE CONTROLLER
0246 :L KH0110 WITH PCS 110
024A :BE

FB211 SPRM-A LAE=65 ABS


PAGE 1
NETWORK 1
NAME : L1.PCS
REF : SEDB E/A/D/B/T/Z: B
REF : RFLM E/A/D/B/T/Z: A BI/BY/W/D: BI

0016 :B =SEDB ACTIVATE SEDB


0018 :RB =RFLM MARKER FOR 1ST CYCLE
001A :L KF+1
001E :T MB243 SLAVE NO. 1
0020 :L KH4400
0024 :T MW244 "D"/KBE
0026 :LW =SEDB
0028 :T MB245 DBNR/KBE
002A :L KY66,0
002E :T MW246 DW66/KBE
0030 :L KH4400
0034 :T MW247 "D"/KBS
0036 :L MB245
0038 :T MB248 DBNR/KBS
003A :L KY67,0
003E :T MW249 DW67/KBS
0040 :L KH4400
0044 :T MW250 "D"/SEND MAILBOX
0046 :L MB245
0048 :T MB251 DBNR/SEND MAILBOX
004A :L KY33,0
004E :T MW252 DW33/SEND MAILBOX
0050 :L KH4400
0054 :T MW253 "D"/RECEIVE MAILBOX
0056 :L MB245
0058 :T MB254 DBNR/RECEIVE MAILBOX
005A :L KF+0
005E :T MB255 DW0/RECEIVE MAILBOX
0060 :L KHEEFF SOURCE
0064 :L KHEA7F TARGET
0068 :TNB 14
006A :L KH0000 DELETE INTERIM MEMORY

100
PCS 810 / Handling FB

006E :T DW67 SEND MAILBOX ACCESS FROM USER


0070 :L KH8000
0074 :T DW66 READY TO RECEIVE FOR BSYS
0076 :BE

FB212 SPRM-A LAE=18 ABS


PAGE 1
NETWORK 1
NAME : INIT

000A :L KH0000
000E :T DW3 SET ERRPR WORD=0
0010 :T DW6 DECLARE DATE INVALID
0012 :L KH0F00
0016 :T DW14 CLEAR PRIORITY BLOCK
0018 :BE

FB213 SPRM-A LAE=16 ABS


PAGE 1
NETWORK 1
NAME : COFF

000A :L KH0000
000E :T DW4 KEY BITS OFF ! !
0010 :T DW5
0012 :T DW6 DECLARE CLOCK INVALID
0014 :BE

101
Technical appendix

5.4.1.2 PROJECT 3 APPLICATION EXAMPLE

This example shows the parameter assignment as realised on the enclosed diskette.

OB1 SPRM-A LAE=22 ABS


PAGE 1
NETWORK 1
0000 :SPA FB210
0002 NAME :HANT. PCS
0004 UBDB : DB50 COMMUNICATION DATA BLOCK
0006 SEDB : DB51 SEND/RECEIVE BLOCK
0008 RSET : M 20.1 RESET REQUEST WITH M 20.1=1
000A EROR : A 4.0 ERROR MESSAGE AT A4.0 (100U A1.0)
000C RFLM : M 20.0 MARKER FOR FIRST CYCLE
000E TIMZ : KF+300 TIMEOUT COUNTER
0010 INIT : FB212 MACHINE-SPECIFIC PRESETTING
0012 COFF : FB213 CALLED UP IF COMM. ERROR
0014 :U E 0.0 RESET KEY
0016 :UN M 20.2 EDGE MARKER FOR RESET KEY
0018 :S M 20.1 RESET REQUEST FOR POS. EDGE
001A :S M 20.2 EDGE MARKER FOR KEY
001C :UN E 0.0 NEGATIVE EDGE NOT USED
001E :R M 20.2
0020 :BE

OB21 SPRM-A LAE=18 ABS


PAGE 1
NETWORK 1
0000 :L KF+70
0004 :E DB51 SEND/RECEIVE DATA BLOCK
0008 :L KF+255
000C :E DB50 COMMUNICATION DATA BLOCK
0010 :SPA FB211
0012 NAME :L1.PCS
0014 SEDB : DB51
0016 RFLM : M 20.0
0018 :BE

OB22 SPRM-A LAE=18 ABS


PAGE 1
NETWORK 1
0000 :L KF+70
0004 :E DB51 SEND/RECEIVE DATA BLOCK
0008 :L KF+255
000C :E
0010 :SPA
0012 NAME :L1.PCS
0014 SEDB : DB51 COMMUNICATION DATA BLOCK
0016 RFLM : M 20.0
0018 :BE

P R O J E C T: PCS 111
DATE: 01.07.1991

STATUS: HANDLING FB 210 REV. 2 PROJECT 1


SYSTEME LAUER 7440 NUERTINGEN HOHES GESTADE 16

102
Technical appendix

5.4.4 PROJECT 4 (P11142ST.S5D)

This project is for the 95 U programmable controller and communicates through a data block.

5.4.4.1 FB 210, 211, 212, 213 AND DB1


FB210 SPRM-A LAE=299 ABS
PAGE 1
NETWORK 1
NAME : HANT.PCS
REF : UBDB E/A/D/B/T/Z: B
REF : SEDB E/A/D/B/T/Z: B
REF : RSET E/A/D/B/T/Z: E BI/BY/W/D: BI
REF : EROR E/A/D/B/T/Z: A BI/BY/W/D: BI
REF : RFLM E/A/D/B/T/Z: A BI/BY/W/D: BI
REF : TIMZ E/A/D/B/T/Z: D KM/KH/KY/KC/KF/KT/KZ/KG:KF
REF : INIT E/A/D/B/T/Z: B
REF : COFF E/A/D/B/T/Z: B
003A :B =SEDB
003C :U =RFLM
003E :SPB =NORM ->->- IF NOT 1ST CYCLE
0040 :LW =UBDB
0042 :SLW 8
0044 :SRW 7
0046 :L KH7E00
004A :+F
004C .LIR 0
004E :T DW69 DATA BLOCK ADDRESS COMM. RANGE
0050 :L KH0000
0054 :!=F
0056 :SPB =STOP ->-> IF DB NOT THERE !
0058 :TAK
005A :L KF-2
005E :+F
0060 :LIR 0
0062 :L KF+261
0066 :<F
0068 :SPB =STOP ->-> IF LESS THAN 256 WORDS !
006A := =RFLM 1ST CYCLE ENDED
006C :LW =SEDB
006E :SLW 8
0070 :SRW 7
0072 :L KH7E00
0076 :+F
0078 :LIR 0
007A :T DW70 SEND, RECEIVE BOX DATA BLOCK ADDRESS
007C :L DW69
007E :L KF+6
0082 :+F
0084 :T DW68 ERROR WORD ADDRESS
0086 :LW =TIMZ INITIALISE TIMEOUT COUNTER
0088 :L DW69
008A :TIR 2
008C :B =UBDB
008E :B =INIT --- MACHINE-SPECIFIC PRESETTING ---

103
PCS 810 / Handling FB

0090 :B =SEDB
0092 :L KF+0 TARGET = ENTER MASTER INTO SEND BOX
0096 :T DR33
0098 :SPA =RES1
009A STOP :STS
009C NORM :L KH0000 CHECK TIMEOUT COUNTER
00A0 :L DW69
00A2 :LIR 0
00A4 :><F
00A6 :SPB =NOR1 ->-> IF NO TIMEOUT
00A8 :L DW68 ERROR ADDRESS
00AA :LIR 0
00AC :L KH2000 ENTER TIMEOUT ERROR
00B0 :OW
00B2 :L DW68
00B4 :TIR 2
00B6 :SPA =END1
00B8 NOR1 :L KF-1 DECREMENT TIMEOUT COUNTER
00BC :L DW69
00BE :LIR 0
00C0 :+F
00C2 :L DW69
00C4 :TIR 2 AND WRITE BACK
00C6 :L KH8000 KBE: RECEIVE MAILBOX ACCESS ALLOWED ?
00CA :L DW66
00CC :UW
00CE :><F
00D0 :SPB =PKBS
00D2 :BEA ->-> IF RECEIVE MAILBOX BLOCKED !
00D4 PKBS :L KH8000 KBS: SEND MAILBOX ACCESS ALLOWED ?
00D8 :L DW67
00DA :UW
00DC :><F
00DE :SPB =STAR
00E0 :BEA ->-> IF SEND MAILBOX BLOCKED !
00E2 STAR :L KH0100
00E6 :L DW66 KBE: ERROR BIT SET ?
00E8 :UW
00EA :!=F
00EC :SPB =WDH1 ->-> IF RECEIVE ERROR
00EE :LW =TIMZ RELOAD TIMEOUT COUNTER
00F0 :L DW69
00F2 :TIR 2 AND ENTER
00F4 :L DR0 READ SOURCE FROM RECEIVE MAILBOX
00F6 :L KF+0
00FA :><F
00FC :SPB =WDH1 ->-> IF >< 0 !
00FE :L DL0 READ LENGTH FROM RECEIVE MAILBOX >64?
0100 :T MB253 LENGTH RECEIVE MAILBOX = MB253
0102 :L KF+64
0106 :>F
0108 :SPB =WDH1 ->-> IF LENGTH > 64 BYTES
010A :L MB253 LENGTH=1 ?
010C :L KF+1
0110 :!=F
0112 :SPB =ALT1 ->-> IF LENGTH =1 ! (WDHA.!)
0114 :L KY68,2 START SEND BOX:DW34, RECEIVE BOX:DW1
0118 :T MW254

104
PCS 810 / Handling FB

011A :L KF+0 SET LENGTH SEND MAILBOX: =0


011E :T MB252
0120 DGET :L MB253 ANOTHER SUBPACKAGE THERE ?
0122 :L KF+0
0126 :!=F
0128 :SPB =ENDE ->-> NO MORE THERE ! (MB253 = 0)
012A :L MB255
012C :L DW70
012E :+F
0130 :LIR 0
0132 :T MW250 ADR,COMMAND MEMORY
0134 :L MB255
0136 :L KF+2
013A :+F
013C :T MB255 POINTER RECEIVE BOX +2 BYTES
013E :L MB253
0140 :L KF-2
0144 :+F
0146 :T MB253 LENGTH RECEIVE BOX -2 BYTES
0148 :L MB250
014A :SLW 1
014C :L DW69
014E :+F
0150 :T MW248 OPERATED ADDRESS OF PCS
0152 :L MB251 COMMAND/LENGTH
0154 INTP :L KH000F MASK OUT LENGTH
0158 :UW
015A :L KH0000
015E :!=F DO WHILE LENGTH >0 !
0160 :SPB =DGET ->-> LENGTH=0, NEXT SUBPACKAGE
0162 :UN M 251.4
0164 :SPB =SCHR JUMP FOR ALL WRITE OPERAT.
0166 :L MB254
0168 :L DW70
016A :+F
016C :T MW246 INTERIM MEMORY TARGET ADDRESS
016E :L MW248
0170 :LIR 0 WORD FROM TARGET RANGE
0172 :L MW246
0174 :TIR 2 ENTER IN SEND MAILBOX
0176 :L MB252
0178 :L KF+2
017C :+F
017E :T MB252 SEND MAILBOX LENGTH +2 BYTES
0180 :L MB254
0182 :L KF+2
0186 :+F
0188 :T MB254 POINTER TO SEND BOX + 2 BYTES
018A :SPA =INCR ->-> CONTINUE THERE
018C RES1 :SPA =REST HELP JUMP !
018E ALT1 :SPA =SPAK HELP JUMP !
0190 END1 :SPA =ENDE HELP JUMP !
0192 WDH1 :SPA =WDHA HELP JUMP !
0194 SCHR :L MW255
0196 :L DW70
0198 :+F
019A :LIR 0 WORD FROM RECEIVE MAILBOX
019C :L MW248 TARGET ADDRESS

105
PCS 810 / Handling FB

019E :U M 251.5
01A0 :SPB =WR ->-> JUMP FOR WRITING ! ! ! !
01A2 :LIR 0 READ ACTUAL DATA
01A4 :UN M 251.6
01A6 :SPB =ODER ->-> JUMP IF OR ! ! ! !
01A8 :UW AND COMMAND
01AA :SPA =WEND ->-> CONTINUE THERE
01AC ODER :OW OR COMMAND
01AE WEND :L MW248
01B0 WR :TIR 2 DATE TO TARGET ADDRESS
01B2 :L MB255
01B4 :L KF+2
01B8 :+F
01BA :T MB255 POINTER RECEIVE MAILBOX +2 BYTES
01BC :L MB253
01BE :L KF-2
01C2 :+F
01C4 :T MB253 LENGTH RECEIVE MAILBOX -2 BYTES
01C6 INCR :L MW248
01C8 :L KF+2
01CC :+F
01CE :T MW248 POINTER TARGET ADDRESS +2 BYTES
01D0 :L MB251
01D2 :L KF-1
01D6 :+F
01D8 :T MB251 NUMBER OF WORDS IN SUBPACKAGE - 1
01DA :SPA =INTP ->-> CONTINUE THERE !
01DC ENDE :L DW68
01DE :LIR 0 ERROR WORD
01E0 :L KH0000
01E4 :OW
01E6 :SPN =FEHL ->-> IF ERROR (ERROR WORD <> 0)
01E8 :U =RSET
01EA :SPB =REST ->-> RESET (CONT. COMMUNICATION)
01EC :L KH0000
01F0 :L MB252 LENGTH SEND MAILBOX
01F2 :><F
01F4 :SPB =NLEE ->-> IF SEND MAILBOX NOT EMPTY !
01F6 :L KF+2
01FA :T DL34 EMPTY PACKAGE = 02H
01FC :L KF+1 LENGTH 1 BYTE
0200 NLEE :T DL33 ENTER LENGTH
0202 :RB =EROR
0204 :SPA =SPAK ->-> SEND PACKAGE
0206 WDHA :L KF+1 LENGTH SEND MAILBOX = 1
020A :T DL33
020C :T DL34 REPEAT REQUEST = 01H
020E :SPA =SPAK ->-> SEND PACKAGE
0210 FEHL :S =EROR ERROR MESSAGE ON
0212 :B =UBDB
0214 :B =COFF ---IF ERROR ==> COFF ! ! ! ---
0216 :B +SEBD
0218 :UN +RSET RESET REQUIRED ?
021A :BEB ->-> IF NOT
021C :RB =RFLM
021E REST :RB =RSET
0220 :L KF+1 LENGTH 1 BYTE
0224 :T DL33

106
PCS 810 / Handling FB

0226 :L KF+0 RESET PACKAGE = OH


022A :T DL34
022C SPAK :L KH8000 CLEAR SEND AND RECEIVE BOXES
0230 :L DW66 FOR ACCESS BSYS
0232 :OW
0234 :T DW66
0236 :L KH8000
023A :L DW67
023C :OW
023E :T DW67
0240 :BEA
0242 :L KH0100 FOR 95 U PROGRAMMABLE CONTROLLER
0246 :L KH0110 WITH PCS 110
024A :BE

FB211 SPRM-A LAE=26 ABS


PAGE 1
NETWORK 1
NAME : L1.PCS
REF : SEDB E/A/D/B/T/Z: B
REF : RFLM E/A/D/B/T/Z: A BI/BY/W/D: BI

0016 :B =SEDB
0018 :U =RFLM
001A :RB =RFLM
001C :L KH0000
0020 :T DW67
0022 :L KH8000
0026 :T DW66
0028 :BE

FB212 SPRM-A LAE=18 ABS


PAGE 1
NETWORK 1
NAME : INIT

000A :L KH0000
000E :T DW3 SET ERRPR WORD=0
0010 :T DW6 DECLARE DATE INVALID
0012 :L KH0F00
0016 :T DW14 CLEAR PRIORITY BLOCK
0018 :BE

107
PCS 810 / Handling FB

FB213 SPRM-A LAE=16 ABS


PAGE 1
NETWORK 1
NAME : COFF

000A :L KH0000
000E :T DW4 KEY BITS OFF ! !
0010 :T DW5
0012 :T DW6 DECLARE CLOCK INVALID
0014 :BE

DB1 SPRM-A LAE=95 ABS


PAGE 1

0 : KC=DB1 OBA: AI 0 ; OBI: ; OBC: CAP N CBP N


27 : KC= ; SL1: SLN 1 SF DB50 DW33 EF DB50 DW0 KBE DB50DW
54 : KC= 66 KBS DB50DW67 PGN 1 ; SDP: NT 128 PBUS N ; TFB:
81 : KC= OB13 100 ; END
90 :

108
PCS 810 / Handling FB

5.4.1.2 PROJECT 4 APPLICATION EXAMPLE

This example shows the parameter assignment as realised on the enclosed diskette.

OB1 SPRM-A LAE=22 ABS


PAGE 1
NETWORK 1
0000 :SPA FB210
0002 NAME :HANT. PCS
0004 UBDB : DB50 COMMUNICATION DATA BLOCK
0006 SEDB : DB51 SEND/RECEIVE BLOCK
0008 RSET : M 20.1 RESET REQUEST WITH M 20.1=1
000A EROR : A 32.0 ERROR MESSAGE AT A4.0 (100U A1.0)
000C RFLM : M 20.0 MARKER FOR FIRST CYCLE
000E TIMZ : KF+300 TIMEOUT COUNTER
0010 INIT : FB212 MACHINE-SPECIFIC PRESETTING
0012 COFF : FB213 CALLED UP IF COMM. ERROR
0014 :U E 32.0 RESET KEY
0016 :UN M 20.2 EDGE MARKER FOR RESET KEY
0018 :S M 20.1 RESET REQUEST FOR POS. EDGE
001A :S M 20.2 EDGE MARKER FOR KEY
001C :UN E 32.0 NEGATIVE EDGE NOT USED
001E :R M 20.2
0020 :BE

OB21 SPRM-A LAE=18 ABS


PAGE 1
NETWORK 1
0000 :L KF+70
0004 :E DB51 SEND/RECEIVE DATA BLOCK
0008 :L KF+255
000C :E DB50 COMMUNICATION DATA BLOCK
0010 :SPA FB211
0012 NAME :L1.PCS
0014 SEDB : DB51
0016 RFLM : M 20.0
0018 :BE

OB22 SPRM-A LAE=18 ABS


PAGE 1
NETWORK 1
0000 :L KF+70
0004 :E DB51 SEND/RECEIVE DATA BLOCK
0008 :L KF+255
000C :E
0010 :SPA
0012 NAME :L1.PCS
0014 SEDB : DB51 COMMUNICATION DATA BLOCK
0016 RFLM : M 20.0
0018 :BE

P R O J E C T: PCS 111
DATE: 01.07.1991

STATUS: HANDLING FB 210 REV. 2 PROJECT 4


SYSTEME LAUER 7440 NUERTINGEN HOHES GESTADE 16

109
Program examples

6 PROGRAM EXAMPLES

The following examples are only intended as guides. They have not been tested and are therefore not stored
on the diskette. Since the marker assignment has been chosen at random, these examples would have
to be adapted anyway

6.1 EDGE FORMATION AT THE TOUCH OF A BUTTON

In this example (precondition: Project 1 or 3) the word-by word edge detection is shown on pos. and neg.
edges. If only pos. edges are required, the commands as from TAK can be omitted. MW30 and MW32 have
been used as edge markers in this example. The edge bits are in MW34, MW36, MW38 and MW40. The
marker range required for communication starts as from MW50.

:L MW58 ---- EVALUATION F1...F20 (word 4 = MW+8) ---


:L MW30 = Edge marker
:XOW Changes ?
:L MW58
:UW positive only !

:T MW34 in 34, 35 the bits are one cycle long = 1


: when actuated
:TAK
:L MW30 = Edge marker
:UW negative only !

:T MW36 in 36, 37 the bits are one cycle long = 1


: when released
:
: --- Edge formation ---
:L MW58
:T MW30 = Edge marker F1...F20
:L MW60 ---- EVALUATION F11..ENTER (word 5 = MW+10) ----
:L MW32 = Edge marker
:XOW Changes ?
:L MW 60
:UW positive only !

:T MW38 in 38, 39 the bits are one cycle long = 1


: when actuated
:TAK
:L MW32 = Edge marker
:UW negative only !

:T MW40 in 40, 41 the bits are one cycle long = 1


: when released
:
: --- Edge formation ---
:L MW60
:T MW32 = Edge marker F11..ENTER
:BE

110
Program examples

6.2 OPEN AND MENU

In this example the setpoint menu No. 1 is opened with F1, whereby the default text number and priority
restriction are retained. The edge formation described above and the use of Projects 1 and 3 are
preconditions. In this example, too, the marker range required for communication starts from MW50.

MENU :0 M79.4 Test whether previous menu has been


:0 M79.5 collected
:0 M79.6
:0 M79.7
:BEB Ignore key if old menu
: has not yet been collected !
:UN M34.8 Key F1 (only if positive edge=1 !)
:BEB

:L KH0010 = setpoint menu 1


:L MW78 old priority restriction, use OR command
:OW for default text No. and setpoint menu No.
:T MW78 and open menu 1
END :BE

111
112
Index

10 INDEX

## 49 Writing field 10
#P100.DOK, #P101.DOK 3 Operating PROM A, B and RAM 1.2 46
#P110.DOK, #P111.DOK 3 Operating voltage 75
1:1 representation 57 Operating voltage connections 11
32 bit integer arithmetic 57 Operating statuses of the PCS 9
[CLR] key 2, 61 BIT 13
[CTRL] + [BREAK] 63 Flashing 7
[ENTER] 18 Flashing text with flashing underline 41
[ENTER] key 2, 29 Flashing message text 41
[HLP] key 2, 32 Scrolling on the help line 41
[ARROW UP] 10, 13 SIGUT bus module 1
[ARROW DOWN] 10
CLRENTER 54
AA 49 COFF 72
Abbreviations 33 Communication error 5, 33
Dimensions 75 CONFIG 33, 46
AE 49, 58 CONNECT 33
AG 100 U 1 Cursor 18
AG 115 U 1 CSTRING 13
AG 95 U 1
Switch AG to run 73 Display modes 10
Acousitc error signal 9, 10, 25, 29 Displaying a variable 3
Start-up OB 66 Data errors 33
Connection assignment 11 Mark beginning of file 51
Answer package 81 Mark end of file 51
Display and storage modes 38, 41 Data transfer 23
Display behaviour 30 Data exchange 81
AP commands 56 Data exchange cycle 13
Refreshing the values 23 Data block 2, 65
Calling up a new menu 42 Data range 34
Instances 1, 16, 17, 57 Data receipt 49
Output on a printer 49 Data reception 8, 75
Output module 3 Data transfer with the controller 79
Output board 1 Data loss 8
Selecting the start procedure 46 Data transfer 7, 80, 81
Selecting menu points 45 Date 39
DB 1 3, 65, 67
Battery service life 75 Device LPT0 2, 62
Baud rate 5, 23 Decimal point insertion 14, 18
Rack CR 700.x 1 The transfer of the clock 69
BCD0 14 DIL switches 8
Meaning of DW 0 to DW 22 34 DIL switch 7 5, 45
User guide 26 DIL switches No. 7, 9 and 10 2
Operating text 25 DIL switch No. 8 2, 5
Operating texts 0 - 15 13, 25, 42 DOS commands MODE and COPY 49
Operating text number 26 Print output WITH MARGIN 5, 51
Operating the offline menus 45 Print output WITHOUT MARGIN 62
Operating request 9 Printer setting file 5
Quitting the menu 25, 26 Printer interface of the PG 2
Commands and parameters 51 Dark phase 9
Command line 51 Run time 69
Example 107 DW 3 error word 37
User entries 40 DW 4 F keys 35, 38
Calculation of cycle time extension 69 DW 5 Control keys 35, 38
Writing on cable ends 3 DW 6, DW 7 Date 35, 39
Index

DW 8, DW 9 Weekday and time 35, 39 Accuracy of the real time clock 76


DW 10, DW 11 PCS status 35, 41 Weight 75
DW 12 LED status and display mode 35, 41 Graphic help characters 10
DW 13 LED flasher and memory behaviour 35, 41 Limit values 14, 18, 20, 23, 27
DW 14 Command word 35, 42 Basic functions of the offline menu 46
DW 15 - DW 22 Message bits 35, 43 Group allocations 49
DW 23 - DW 255 Variables 35, 44
DW number (= MW+2*Wnr) 56 Handshake 5
Handling block 33
Real time clock 22 Handling software 65
Edit key 10, 27 Main lines 32
Editing 19 Margin 49
EPROM/EEPROM cassette 12, 33, 47 Light phase 9
Input module 3 HELP priority 10
Input board 1 HELP text 4, 13, 30, 32, 53
Introduction system for special symbols 51 Note 9
Entry nodes 25, 26 Note priority 30
Receive mailbox 80 HLP key 3
End of any program file 52 Higher valent bits 18
Ending nodes 20, 25, 26
ENTER key 38 Commissioning 1
Expansions 22 INIT 72
Earthing conditions 5 Internal variables 22
EROR 71 Internal variables ZU, ZV, ZX, ZW 23
ERR LED 2, 3, 5 Interrupt programs 65
First message with selections 30, 41 Inverse flashing 7
First message without selections 30, 41 Inverse field 23
ESC sequence 3 Actual and setpoint value menus 4
Read actual values 79
F keys 9, 10 Actual value menus 25, 26
F01 to F20 7 Actual value variables 44
FB 210 handling block 3, 4, 65, 68
FB 210, 211, 212 and 213 82, 95 Cable assignment 12
FB 210, 211, 212, 213 and DB1 89, 101 Cable 76
Assigning parameters to FB210 73 Cable assignment 75
FB211 3, 65 KBE 81
Assigning parameters to FB211 73 KBS 81
FB 212 65 Codes for internal variables 58
FB 213 65 Nodes 25, 26, 29
Error 16 (unknown variable) 61 Node number 55
Error 8 (text does not exist) 61 Commas 55
Error CONFIG, STARTUP and PARAMETER 45 Command word 35
Error analysis 3 Read command word 79
Error codes 60 Comment 51
Error diagnosis 32 Communication reset 13, 37
Moisture 75 Communication interface 5
Edge detection 38 Communication with the AG 2
Edge marker 107 Communication error 9
Subsequent menu 38, 42 Communicaton monitoring 7
Question package 81 Communication 25, 37, 45, 69
Clearance of all priorities 42 Communication cable 11
Function range 35 Complex structures 26
Function keys 10 Contact plan 66
Context-sensitive setpoint values 27
Measured cycle time extension 70 Coupling to the PC 78
Index

L1 bus cycle 80 P11112ST.S5D 2


L1 parameter assignment for 100 U/115 U 66 P11122ST.S5D 2
L1 parameter assignment for 95 U 67 P11132ST.S5D 2
LEDs, LED flasher 7, 38, 79 P11142ST.S5D 2
LED bits 41 Package length optimisation 7
Empty fields 23 Parameters 33, 51
Space 51, 59 Parameters for the FB 210 71
Last message (without selections) 30, 41 Parameters for the FB 211 72
Illuminated display 9 Parameters incorrect 60
Line power sources 11 Parameter RSET 69
Line power supply 76 Parameter set 2
Air pressure 75 Parameter assignment 71
LV command 53 PCS 110 1
Length of a single variable 58 PCS 716 1
Deletion the EPROM 12 PCS 732 1
Deletion behaviour 30, 31 PCS 801 12
PCS 802 12
M+xx.y 1, 14 Send PCS status 79
Master 80 PCS status word 35
Maximum length 52 ARROW LEFT 26, 30
Maximum value 20, 27 ARROW UP 26, 30
MB+xx 1, 14 ARROW RIGHT 26, 30
Multi-meaning in second overrun 22 ARROW DOWN 13, 26, 30
Message priority 30 Cursor keys 26, 29
Message operating modes 10 PG 730/750 2
Message bit 31, 39 PG keyboard 59
Reset message bit 79 Equi-potential bond line 77
Read message bits 4 Potential separation 76
Message priority 40 Priority 10, 24, 26, 29
Message memory 23 Priority 0 40
Message text 4, 13, 30 Priority limit 9, 42, 108
Define menu nodes 51
Menu 20 Priority levels 7
Menu nodes 26, 59 Priority change 30, 32
Menu number 33, 55 Programming 13, 33, 46, 49
Marker for restart 66 Program examples 107
Programming instructions 49
Marker range 1, 34, 65 Programming readiness 49
Minimum value 27 Programming PROM cassettes 46
Minus sign 20 PG 675 programming unit 1
MW+xx 1, 14 Programming cable 63
Programming cable PC/PG 750 - PCS 110 78
MAINS ON 46 Programming cable PG 675/685 - PCS 110 77
Network 66 Programming interface (1) of the PCS 110 2, 5
Restart 72 Program lists 75
Recommence communication 33 Program lines 26
NOT END nodes 25, 29 PROJECT 1 (P11112ST.S5D) 65, 82
Normal mode 46 PROJECT 2 (P11122ST.S5D) 65, 89
Normal cable 76 PROJECT 3 (P11132ST.S5D) 65, 95
PROJECT 4 (P11142ST.S5D) 65, 101
Offline mode 81 Project 2, 34
Offline menu 2, 5, 12, 45 Checksum for the data set 45
Offline priority 40 PV command 53
Offset xx 1
Online mode 10
Index

RAM1 3 Variables format WORD 21


Reset key 4, 5, 46 Variables refreshing 30
Restore the old value 18 Variables description 14
RFLM 71 Variables assignment 4
Rolling time 23, 30 Variables definition 13
RS 232/TTY 11 Variables declarations 49, 57
RSET 71 Variables formats 19
RTS/CTS protocol 49 Variables codes 14, 51
Default text number 108 Variables type 44
Default text 0 15, 25 VBIN-1 20
Default texts 25 VBIN-2 20
RUN LED on AG 3 VBIN-A 20
Return to online mode 46 VBIN-B 20
Shaking resistance 75 VDE regulations 11
Leaving the variables 16, 44
Keys in the switch cabinet 33 Leaving the entry field 18
Pocket calculator entry 19 VOBI 71
Write keyboard status 79 Presettings of the PG/PC 62
ENTER key 25 Presetting 66
[-] key 15 Presetting mask in the PG 3
[+] and [-] key 2 Preset values 27, 44
Technical data 75 Initial zeros 18, 51
Part reset 45 Signless number 14
Temperature 75 Sign key 18
Text 52
Formulate text 51 UBDB 71
Text call-up 30 Send time and date 79
Text file 63 Time and date 33
Text files #P100.DOK, #P101.DOK 2 Unknown command 60
Text files #P110.DOK, #P111.DOK 2 Underline 10, 27
Texts 49 Transfer addresses 75
Text editor EDLIN 63 Transfer of DOK file 62
Text compression 58 Transfer 63
Text length 62
Text line 58 Variables lengths 14
TIME 33 Variables types 56
TIMZ 72 Variables 7, 13, 32
TIR/LIR command 66 Declare variables 51
Variables instance 57, 59
UBDB 71 Variables range 44
Send time and date 79 Variables format WORD 21
Time and date 33 Variables refreshing 30
Unknown command 60 Variables description 14
Underline 10, 27 Variables assignment 4
Transfer addresses 75 Variables definition 13
Transfer of DOK file 62 Variables declarations 49, 57
Transfer 63 Variables formats 19
Variables codes 14, 51
V24/TTY switch 2, 5 Variables type 44
Variables lengths 14 VBIN-1 20
Variables types 56 VBIN-2 20
Variables 7, 13, 32 VBIN-A 20
Declare variables 51 VBIN-B 20
Variables instance 57, 59 VDE regulations 11
Variables range 44 Leaving the variables 16, 44
Index

Leaving the entry field 18


VOBI 71
Presettings of the PG/PC 62
Presetting 66
Presetting mask in the PG 3
Preset values 27, 44
Initial zeros 18, 51
Signless number 14
Sign key 18

Warning 9
Warning priority 30
Value ranges 20
Word-by-word edge detection 107

XON/XOFF protocol 49

Number of external variables in display 69


Number of variables in display 79
Character chains 58
Character set 10
Line number 3, 49
ZV,S and ZV,V times 58
Time-critical interrupt programs 66
Timeout 37
Integer entry 20
Write back setpoint values 27, 45
Reliability of communication 5
ZV,S 74
ZV command 54
Cyclic display (without selections) 30, 41
Counter constants 74
Index

Potrebbero piacerti anche