Schneider Electric Dolog AKF -> A120/A250, AKF125 V7.10 User Guide

Schneider Electric Dolog AKF -> A120/A250, AKF125 V7.10 User Guide | Manualzz
Dolog AKF125 → A120/A250
Type: AKF125EN
Version: 7.10
Configuration A120
User Instruction
DOK–702085.35–1096
Translation of the German Description
DOK–700568.35–0196
Accompanying software package E-No. 424-275182
Documents in the software package
Kit 1
Documentation
Installation
User Instruction
DOK-702082
Explains the usage and installation of the diskette s included.
How do you proceed?
User Instruction
DOK-702084
Serves as a ”red thread” through the documentation of the software packet and should
be gone over before the start.
Kit 2
Documentation
AKF125 for Beginners
User Instruction
DOK-702083
Area of application
Serves to introduce new customers to
AKF125. The user learns how to use the software in samll steps.
Short Form Guide A120
User Instruction
DOK-702087
Tables for validity ranges and symstem markers, SFB-Formal operands for quick use onsite.
Sort Form Guide A250
User Instruction
DOK-702088
Tables for validity ranges and symstem markers, SFB-Formal operands for quick use onsite.
Configuration A120
User Instruction
DOK-702085
35
Area of application
Contains the new features of the current version and explains th efunctions of th individual software menus for the configurer.
Documents in the software package
iii
Kit 3
Documentation
Configuration A250 (Vo1)
User Instruction
DOK-702086
Configuration A250 (Vo2)
User Instruction
DOK-707695
Masterindex
User Instruction
DOK-702089
iv
Area of application
Contains the new features of the current version and explains th efunctions of th individual software menus for the configurer.
The explanation of the individual software
menus will continued.
Index of all documentation.
Documents in the software package
35
Notes
Application Note
Caution The relevant regulations must be observed for control
applications involving safety requirements.
For reasons of safety and to ensure compliance with documented system data, repairs to components should be performed only by the manufacturer.
Training
Schneider Automation GmbH offers suitable training that provides further information concerning the system (see addresses).
Data, Illustrations, Alterations
Data and illustration are not binding. We reserve the right to alter our products in
line with our policy of continuous product development. If you have any suggestions for improvements or amendments or have found errors in this publication,
please notify us by using the form on the last page of this publication.
Addresses
The addresses are given at the end of this publication.
20
v
Copyright
All rights reserved. No part of this document may be reproduced or transmitted
in any form or by any means, electronic or mechanical, including copying, processing or any information storage, without permission in writing by the Schneider Automation GmbH. You are not authorized to translate this document into any
other language.
Trademarks
All terms used in this user manual to denote Schneider Automation GmbH products are trademarks of the Schneider Automation GmbH.
 1996 Schneider Automation GmbH.
vi
20
Terminology
Note
This symbol emphasizes very important facts.
Caution This symbol refers to frequently appearing error
sources.
Warning This symbol points to sources of danger that may
cause financial and health damages or may have other aggravating consequences.
Expert This symbol is used when a more detailed information is
given, which is intended exclusively for experts (special training required). Skipping this information does not interfere with understanding the publication and does not restrict standard application of the
product.
Path
This symbol identifies the use of paths in software menus.
Figures are given in the spelling corresponding to international practice and approved by SI (Système International d‘ Unités).
I.e. a space between the thousands and the usage of a decimal point
(e.g.: 12 345.67).
20
vii
Abbreviatons
ABS
Adr.
AE
AZ
AKF
ALD
ALS
AWL
AWP
BGT
BSS
DAE
DAZ
DIB
DB0....9
DPB
DSB
DW
I/O
FB
FUP
FW
HW
IB
KB
KF
KFW
KOP
KS
LZS
MW
OB
PB
PaDT
RK
SFB
SK
viii
absolute Adressing
Adresse (signal adresse)
Block for one time actions
Block for cyclicel actions
Instructionlist, Contaktplan, Functionlist
Sequentiel Flow Chart with Diagnostics
Sequentiel Flow Chart
Instructionlist
User programm
Subrack
Serviceconnection for PC ore VS210
Diagnostics Block for one time actions (AE)
Diagnostics Block for cyclicel actions (AZ)
Diagnostics Block for Block independent Diagnostics
SYM/KOM-Datablock for A120
Diagnostics Block for Programm Blocks (PB)
Diagnostics Structure Block
Double word
Input– / Output signales (e.g. from a Module)
Function block
Function list
Floatingpoint
Hardware (z.B. PLC)
Initial value block
Sequentiel block
Sequentiel errorbit
Sequentiel errorword
Kontaktplan
Kettenstatus für Simultankette
Run Time System
Markerword
Organisations Block
Program Block
Programming- and Diagnostics testequipment
Controlloop
Standard-Function Block
Step marker
20
SM
Systemmarker
SSP
Signal memory
SW
Software
SYM
symbolic Adressing
SYM/COM
Symbol und Comment
SZ
Step Counter
TB
Transitionsblock
TN
Teilnehmer
VBGT
Virtuelle Subrack (InterBus-S, Modnet 1/IS))
ZVT
Time organiasationtable (Controlle)
ZZ
Time Counter
<Return>
Applay the key Return
<Esc>
Applay the key Esc
<Ctrl>+<Alt>+<Applay in the same time the keys Ctrl, Alt und Del
(beginning with Ctrl.and finnishing with Del)
20
ix
Objectives
The functions of the software for the A120 configuration are described. The
documentation is set up like a reference document. Frequent consultation of the
index is recommended.
Arrangement of this guide
x
Chapter 1
contains new features and a broad overview of the
software structure.
Chapter 2
goes into how the software is used.
Chapter 3
contains the actual function descriptions, divided up into
Edit, Load, On–line, Print, Special and Setup.
33
Related Documents
A250
User Manual A250
804 BHB 000 00
A250
User Manual A250
Regeln mit Dolog AKF
804 BHB 001 00
A250
User Manual A250
Prozessperipherie Frontanschlusstechnik
899 BHB 000 00
A250
User Manual A250
Cable
899 BHB 001 00
A250
Blockbibliothek Standard Funktionblocks A250
Vol. 1 (AKF125 V4.x, ALD25 V4.1)
804 BSB 001 00
A250
Blockbibliothek Standard Funktionblocks A250
Vol. 2 (AKF125 V4.x, ALD25 V4.1)
804 BSB 002 00
20
xi
Validity Note
These User Instructions apply to the AKF125 software, version 7.1, on the DOS
operating system.
The current intention is for remote control data only to be edited with the
AKF125 configuration software and not with ALD25. Therefore, within systems
U250 and UZ250, remote control modules KOS140, KOS141 and DEZ161
should not be used as REAL–TIME variants.
Correspondingly, the KOS 20x modules of the U120, Z120 and UZ120 systems
are not to be used.
xii
20
Table of Contents
35
Chapter 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1
1.2
1.3
1.4
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Differences between this version and AKF125 V4.0 . . . . . 3
Validity ranges and differences between versions . . . . . . . 4
Broad overview of the software structure . . . . . . . . . . . . . . 4
Chapter 2
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
Using the mouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Using the keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
US/German keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Keyboard sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Line editor, ”Line editor” . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Screen copy, ”Screensave” . . . . . . . . . . . . . . . . . . . . . . . . 12
Key input memory, ”Learning” . . . . . . . . . . . . . . . . . . . . . . 13
Key text buffer, ”Key macros” . . . . . . . . . . . . . . . . . . . . . . 14
Auto Repeat Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Special keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 3
Programming . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.1
3.2
3.2.1
3.2.2
3.2.3
3.3
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Dolog AKF main menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Status line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Pulldown menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Help function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Edit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Symbols and Comments . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Equipment list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Title Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Table of Contents
xiii
3.3.6
3.3.7
3.3.8
3.4
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.4.7
3.4.8
3.4.9
3.5
3.5.1
3.5.2
3.5.3
3.5.4
3.5.5
3.6
3.6.1
3.6.2
3.6.3
3.6.4
3.6.5
3.6.6
3.6.7
3.7
3.7.1
3.7.2
3.7.3
3.7.4
3.7.5
3.7.6
3.7.7
3.7.8
3.7.9
3.7.10
3.7.11
3.8
3.8.1
3.8.2
3.8.3
3.8.4
3.9
xiv
Replacement of Signals . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Compile (Blocks) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Compile data blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Link program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Program to PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Exchange online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Read Equipment list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Read out PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Set Date / Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Process EPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Bootload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Start PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
StOp PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Dynamic status Display . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Online-Liste . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
PLC status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Program protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Symbols and Comments . . . . . . . . . . . . . . . . . . . . . . . . . 188
cross–reference list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Signal assignment list . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Equipment list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Entire Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Special . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Table of contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Backup the Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Restore a station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Erase a station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Format diskettes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Copy diskettes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Erase Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Copy files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Operating sys. MS–DOS . . . . . . . . . . . . . . . . . . . . . . . . . 209
System information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
End station handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
PLC station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Print . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Hardware Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
Table of Contents
35
Index
35
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Table of Contents
xv
xvi
Table of Contents
35
Chapter 1
Introduction
This chapter contains general information about this manual. In
addition, the new features of the software version described are
explained briefly and a rough structure is given for the functions
available in the present software.
33
Introduction
1
1.1
Introduction
This programming guide is intended as reference material when using the DOLOG AKF software → A120/A250 with version number 7.1.
This software comprises two parts:
Dolog AKF → A120 (version 6.0)
Dolog AKF → A250 (version 6.0)
The DOLOG AKF software is described below → A120 for A120.
The software is used for structured programming of PLC user programs with the
aid of up–to–date window technology (with pulldown menus).
Note After installation you can press <F10> twice to call up an
overview of Help texts. In this overview, look under ”Information on
Help” and ”DOLOG AKF software overview” to obtain general information about DOLOG AKF software and the operator interface.
The text of the chapter on ”Programming” is organised in the order of the DOLOG AKF main menu, working from left to right. Within the description, the alphabetic index explains where to find function descriptions in the text.
2
Introduction
33
1.2
Differences between this version and
AKF125 V4.0
It is only necessary to compile and load the program into the PLC if you want to
use the additional functions in this version.
Introduction
New modules:
DEP 215, DEP 217
DAP 217
ADU 216
ADU 210
TXT 2E1, TXT 2C1
FRQ 204
New SFBs:
FRQ 204
ALU type
The ALU type is entered in the component list under ” Enter module →
CPU”.
Link mode
The selection ”automatic adaptation” in Link Mode is no longer available.
Printer
The printer directory allows the HP Laser-Jet II/III/IV to be used.
Baud rate
You can select an additional Baud rate for the V.24 interface: 150 Bd
Colors in the help window
You can set the colors for the index call.
33
Introduction
3
1.3
Validity ranges and differences between
versions
You will find the validity ranges for AKF125 version 7.1 and other differences
between this version and the previous versions in the AKF125 help texts (menu
commands: ”validity ranges”, ”expanded functions”); called via <F10>, <F10>.
1.4
Broad overview of the software structure
In the following broad overview of the structure the software is divided up as follows:
Edit
 Overview
 Blocks
 Symbols and Comments
 Equipment List
 Title Block
 Replacement of Signals
 Compile (blocks)
 Compile (Data Blocks)
Laden
Link Program
Program to PLC
Exchange online
Read Equipment list
Read out PLC
Compare
Set Date / Time
Process EPROM
Bootload









4
Introduction
33
Online
 Start PLC
 Stop PLC
 Dyn. Status Display
 Online–List
 PLC status
Print
 Overview
 Program Protocol
 Symbols and Comments
 Cross–Reference List
 Signal Assignment List
 Equipment List
 Complete Documentation
Special
 Table of Contents
 Backup the station
 Restore a station
 Erase a Station
 Format diskettes
 Copy diskettes
 Erase Files
 Copy files
 Operating System MS-DOS
 System information
 End station handling
Setup
System
PLC station
Print
Colors




33
Introduction
5
6
Introduction
33
Chapter 2
Operation
Programming with Dolog AKF Software is carried out on commercially available IBM compatible PCs.
The work is performed with a mouse and/or keyboard.
32
Operation
7
2.1
Using the mouse
In addition to the typewriter–style keyboard, line editor and arrow keys, you can
also use the mouse.
Please note that a parallel mouse (”bus mouse”) needs its own slot in the PaDT
and has to be configured.
Die Installation einer Maus entnehmen Sie bitte den Unterlagen des Herstellers.
Mouse functions with the software
The left key is used to call and confirm a function. It is therefore equivalent to
the <Return> key.
The right key is used to cancel or break, and is equivalent to the <Esc> key.
Pressing both keys at the same time is equivalent to the key combination
<Ctrl>+<Return>.
Warning: By select with the parameter /NOPLC the mouse is
used at the interface COM1.
The function<Ctrl>+<Return> (pressing both mouse keys at the
same time) is not possible in this case.
By Select without /NOPLC the mouse has to used at the interface COM2.
8
Operation
32
2.2
Using the keyboard
2.2.1
US/German keyboard
The following key legends are different on the German and English keyboards:
US / UK keyboard
<Esc>
<Ctrl>
<Home>
<End>
<Prtsc>
<PgUp>
<PgDn>
<Ins>
<Del>
2.2.2
German keyboard
<Eing Lösch>
<Strg>
<Pos1>
<Ende>
<Druck>
<Bild >
<Bild >
<Einfg>
<Lösch> oder <Entf>
Keyboard sections
The programming panel keyboard is divided into three different sections:
Typewriter keyboard and control keys
The typewriter keyboard is located in the middle (light keys) and is surroundet
by darker control keys. Only the white keys cause a display of the imprinted
symbol to appear on the screen when they are pressed.
In the Dolog AKF Software, these are used to operate the line editor, the key
macros and the reference characters (s. ”Special keys” Chapter 2.2.8) and to
enter text.
32
Operation
9
Function keys
These play a lesser role in pulldown menu, since all functions are selected
with the mouse, reference characters or arrow keys.
These keys are located above or alongside the typewriter keyboard (depending on the PaDT model) and are labeled <F1> ... <Fx>.
Numerical pad
The arrow keys and numerical pad are located to the right of the of the typewriter keyboard.You can toggle between the numerical pad and the cursor
pad with the <NumLock> key.
Of those in the numerical pad, the arrow keys are needed chiefly for the Dolog AKF Software.
They are used among other things for selecting the various menu lines (see
below).
The numbers are used to call Graphics characters (e.g. in the title block):
<Alt> + <number>.
10
Operation
32
2.2.3
Line editor, ”Line editor”
The line editor helps you to input text and/or numbers and consists of combining
the use of control keys and the typewriter keyboard.
It places the following editor functions at your disposal:
<Home>
Cursor to the beginning of the input line
<End>
Cursor to the end of the input line
< ³>
Cursor to the right
< ²>
Cursor to the left
<Return>
End of input
<backspace>, < ä>
Delete character to the left
<Del>
Delete character at cursor
<Ctrl>+<T>
Delete input
<Ctrl>+<R>
Restore original text
<Ins>
Toggle between insert / overwrite (big Cursor)/
overwrite (little Cursor)
<Esc>
input eliminate
Using the <Esc>-key interrupts input and the previous text ist restored.
You can use the key macros to insert stored texts (e.g. symbols, comments,
hardware adresses, File names and parts of them.).
32
Operation
11
2.2.4
Screen copy, ”Screensave”
This function is used to copy the complete current screen contents into a file. No
printer need be connected. The file is stored in the directory of the current station in IBM-ASCII format. The copy (file) thus generated can then be edited
using a text editor.
Step
Simultaneously press the <Alt>+<F2> keys to generate a
screen copy.
The first screen is saved under the name ”BILD0.BLD”. Screen 2 is called
”BILD1.BLD” etc.
Note If you leave Dolog AKF and start over, screen numbering begins again at Bild0.bld. This means that copies created earlier with
the same name will be overwritten.
12
Operation
32
2.2.5
Key input memory, ”Learning”
This function can combine up to 40 procedures (key inputs)
Step 1
Simultaneously press the <Alt>+<F8> keys to activate the
function.
Step 2
Press the key combination to which input sequences are
to be assigned. You can assign <Alt>+<0>, <Alt>+<1> etc.
up to <Alt>+<9>.
”Learning”appears in the status line.
Step 3
Choose the required menus with the reference characters
(up to 40 entries per assigned key).
Step 4
Press <Alt>+<F8> to end learning.
”Learning” disappears from the status line.
Step 5
For storing you terminate Dolog AKF.
Step 6
Start Dolog AKF again.
Step 7
Press<Alt>+<0>, <Alt>+<1> etc. bis <Alt>+<9>
the procedures you have saved.
to run
Note The menus should be selected with reference characters in
order to make the learned functions independent of the current menu
bar position.
32
Operation
13
2.2.6
Key text buffer, ”Key macros”
This simplifies the editing of symbols, comments, hardware addresses etc. Frequently used absolute or symbolic addresses can be stored as text. Proceed as
follows.
Step 1
Press <Alt>+<F9> to activate the function.
Step 2
Press the key combination to which text is to be assigned.
You can assign <Alt>+<A>, <Alt>+<B> etc. up to
<Alt>+<Z>.
Step 3
Enter up to 19 characters of text.
Step 4
Press <Return> to save.
Step 5
Press <Alt>+<A>, <Alt>+<B> etc. up to <Alt>+<Z> to call
the stored text to the cursor position.
At step 4 you can break off input by pressing <Esc>.
Example: the text Valve was stored. It was inserted as part of symbol/comment
inputs (Valve 1 on, Valve 2 off, Valve 1 half, ...).
2.2.7
Auto Repeat Function
Most of the keys on a PaDT are equipped with the auto repeat function:
When you press down a key the symbol on the key itself is displayed on the
screen or a corresponding function is executed. If the key is held down for longer than about 0.5 s, the key function is repeated up to 10 times a second until
the key is released.
Therefore take care not to use this key function unintentionally.
14
Operation
32
2.2.8
Special keys
The following keys are of particular importance for controlling menus:
Reference characters
Reference characters are used to select and execute a menu directly from the
typewriter keyboard. You access the corresponding function by inputting the
specially marked capital letter.
The highlighting colors may be adjusted in the ”Setup” und ”Color” sections.
<Ctrl>+reference character
Within an editor, the individual functions can be called with<Ctrl>+reference
character, without having to open the menu.
Arrow keys
With the arrow keys (movement keys, Cursor keys, direction keys) <°>,
<±>, <³>, <²> you can select individual menu lines.
The keywords are selected using the latter in the helptext.
(When editing) A key depression corresponds to:
<± > one line down (in the same column)
<°> one line up (in the same column)
<³> one column to the right (in the same line)
<²> one column to the left (in the same line)
Make sure you have switched the <NumLock> key off, so that the key respond. When editing a block you can move the cursor with the mouse as
much as you like without restriction.
<Return>-key, <Ctrl>+<Return>
The <Return>-key (also <Enter>, <Übernahme>, <Cr>) is used to call certain
functions or to accept (translate) (beenden). You can also toggle with it.
Call
within the help function in order to call the help texts for the selected keyword.
in the pulldown menus in order to call the selected menu line (menu function.
in ”Edit” (Blocks, Equipmentlist etc.): mit <Ctrl.>+<Return>calls the editing
function windows.
Exit, Accept
32
Operation
15
when editing a network and when making entries with the line editor, press
the <Return>-key to accept the parameter, hardwareadresse or comment
etc. you have just entered.
”Toggle”
Many menu functions provide direct selection of prepared settings. Thus, for
example, you can switch between ”off” and ”on” or ”IL”, ”LD”, ”FBD” directly
(”toggling”), without having to enter text.
You can toggle in the following manner:
1 type the referenced character
2 Go to the line using the arrow keys and toggle by pressing <Return>.The
<Return> key is equivalent to the left button on the mouse.
<Esc>-key
Using the <Esc>-key you can interrupt, i.e. break off any function ore input
within the Dolog AKF Software.
The <Esc> key is equivalent to the right mouse button
Caution If you are at operating system level, you can interrupt
only with <Ctrl>+<C>. Dies trifft bei den Funktionen im Menü
”Sonder” zu.
<Ins> key
In the line editor, in the case of comments and headers, you can use this key
to toggle between the ”Insert” and ”Overwrite” text input modes.
in the block edtor, ”insert” has the effect of automatically performing a vertical
spread in the network.
Table of Important Keys
At this stage it is not appropriate to list the most important special keys and key
combinations. The same key combinations can perform different functions. When
questions arise, please consult the index, where a key assignment table can be
found. In addition, the explanation of each menu describes the available keys
and their meanings.
16
Operation
32
Chapter 3
Programming
This chapter describes programming with the DOLOG AKF software for A120.
The chapter is intended as a reference for the person configuring
the system. Its structure follows the menu structure. Menu points
that occur more than once are only discussed once (the first time). The index contains the page numbers for the description of
menu points that occur more than once.
33
Programming
17
3.1
General
The individual menu points are described in the following order:
Dolog AKF main menu
Chapter 3.2
Edit
Chapter 3.3
Load
Chapter 3.4
Online
Chapter 3.5
Print
Chapter 3.6
Special
Chapter 3.7
Setup
Chapter 3.8
First you will be shown to select the menu line required (the ”path” from the main
menu). The functions which you can execute at this point (programming, documentation, backup etc.) are then described.
This symbol shows how you can select the described functions. The steps are
always given starting from the main menu.
e.g.:
- ”Edit”, ”Equipment List”, ”Controller”, ”Marker Bits”
means:
Select the ”Edit” menu,
Press Return to confirm the ”Equipment list” line,
Select ”Controller” and confirm by pressing Return,
”Marker Bits” is the function which is now described.
Note Some characters are written as capitals in the following description. They denote reference characters:
e.g. SeTup
18
Programming
33
3.2
Dolog AKF main menu
Status line, in this
case the path of
the current
system/ station;
depending whether installed on Ser. No. of
the disketA:
tes as
B:
shown on
C:
slipcase
D: or E:
33
Ser. No. of
your software
package (in
accordance
with software
license agreement)
Version No.
of the present
software
Pulldown menus can be
selected with reference
characters, arrow keys +
Return, or mouse
Programming
19
3.2.1
Status line
The bottom line of the display is known as the status line.
The 78 characters of the status line are divided up as follows:
12345678901234567890123456789012345678901234567890123456789012345678901234567
8
1
32
50
65
3.2.2
-
30
48
64
78
complete path of system and station name
message:
LEARN
Dolog AKF Status: FORCE active
PLC scan status:
PLC stopped / PLC active
Pulldown menus
Individual menu lines can be selected and called with reference characters, arrow keys and <Return>, or the mouse (refer to chapter on ”Operation”).
20
Programming
33
3.2.3
Help function
Help texts describe a function. They tell you what can be carrid out with the currently selected menu line or the current window. Help texts are also available for
the higher menus.
The <F10> key is always used to display the help text belonging to a menu line
selected from the pulldown menu.
This text may contain things known as keywords. These are terms and expressions that have a further explanatory help text attached to them. Use the arrow
keys to select them and press <Return> to call them. This makes the help texts
easy to follow. The texts are generally reminders for DOLOG AKF beginners.
Keywords are highlighted in color. <Alt>+<F10> takes you back to the help text
selected previously.
Press <F10> again, which brings you to ”Overview Help Texts”. This shows you
the keywords you can select, without menu lines of their own.
You may call references for any keyword in the index (index for help texts).
The bottom edge of every help window contains a line in which the available
functions are listed:
<°>, < ± >, <²>, <³>
Select keywords
<Return>
Call of helptext to the keyword
<Esc>
Abort and exit the help windows
<F10>
<Alt> + <F10>
<PgUp>, <PgDn>
33
Overview helptext
The helptext befor will called
backword, forword scroll inside the helptext
Programming
21
3.3
Edit
The funktions into the Pulldown–menu ”Edit” are used for the configuration of the
User programs.
You can select and call the following menu lines:
Edit
Load
Online
Print
Special
Setup
Help=F10
Overview
Blocks
Symbols and Comments
Equipment list
Title Block
Replace Signals
Compile Blocks
Compile Data Blocks
Caution The system / station set under ”Setup”, ”system”,
”PLC station” is processed. Enter the equipment list before the
blocks. If you want to carry out symbolic programming, enter
the data block under ”Symbols and Comments”.
22
Programming
33
3.3.1
Overview
- ”Edit”, ”Overview”
This function provides you with a graphical program run overview in a tree structure. This overview shows you how the complete program is structured, i.e. where and how often each block is called. This function enables you to shift the
image, select with the cursor (with the possibility of switching to edit mode) and
search for a block. The overview is generated on the basis of the OB1. The display is sorted by networks. If several blocks are called in a network it may be
that they do not appear in the right order in this display.
Figure 1 BScreen output for a program overview
33
Programming
23
After selecting <Ctrl>+<Return> you can select further special functions via a
pulldown window:
Structure
Edit Block
Scroll Forward
Scroll Backward
Search Block
Terminate
Outside the pulldown menu the functions can be called using <Ctrl>+<reference
character>. In addition, the following special keys are available:
<Esc>
Abort
< ±>
Use cursor to move one element deeper
<°>
Use cursor to move one element higher
<³>
Use cursor to move right
<²>
Use cursor to move left
<PgDn>
Next page
<PgUp>
Previous page
Edit Block
- ”Edit”, ”Overview”, ”Edit Block”
First of all select the block to be modified with the arrow keys or the search run.
Press <Return> to switch to Edit mode. The block on which the cursor was located can be edited.
Caution After exiting from Editing mode no new program overview is created. If you deleted or inserted block calls during editing, these will not be displayed on the screen.
24
Programming
33
Page up / page down
- ”Edit”, ”Overview”, ”Page up”
- ”Edit”, ”Overview”, ”Page down”
This enables you to scroll to the previous or next page in the Overview.
<PgUp> is equivalent to Scroll backwards, <PgDn> is equivalent to Scroll Forward.
Search block
- ”Edit”, ”Overview”, ”Search Block”
Here you can search for blocks within the Overview.
The search direction can be specified by prefixing a ”+” or ”–”.
The block name must be declared in full.
Exit overview
- ”Edit”, ”Overview”, ”Exit”
This terminates the Overview function. You can also exit from the overview with
the <Esc> key.
33
Programming
25
3.3.2
Blocks
- ”Edit”, ”Blocks”
This pulldown menu is used to generate the actual program. You can use the
editors to programindividual blocks in the display format you have selected. First
of all the blocks editors will be described, then the individual menu lines will be
explained.
The following functions are available in this pulldown menu:
Edit Blocks
Start Entry
Block Number:
Network Number:
Block:
Input Mode:
Adressing:
Output Monitoring
1
1
PB1
FBD
ABS
off
Block Editors
The available Block Editors are the IL-, LD- and FBD-Editor (depending on the
”Input mode”).
The blocks OB, PB can be entered and reproduced in the special language DOLOG AKF in an instruction list (IL), ladder diagram (LD) and function block diagram (FBD).
The network 1 of an FB can only be entered and reproduced in IL. The networks
shown below (2 – 999) can be ebtered and reproduced in IL, LD and FBD.
During editing of the user program (after ”Start Entry”) you can change the type
of presentation under ”PrEsetting” (”toggle”). Networks are presented on screen
in the display format selected, regardless of wich display format they were programmed in.
26
Programming
33
There are exceptions. For example, if a network is programmed in IL and is then
to be displayed in FBD, this cannot be done since it contains commands (LD, T,
jumps) which cannot be shown in FBD. Also if the screen is not wide enough because of the number of elements to be displayed (LD cannot display an ”AND”
with more than 7 inouts, an ”OR” with more than 16 inputs or several FBD elements in a parallel path).
Exceptional cases such as these are always presented in IL, regardless of the
display format selected.
During editing and reproduction of a network the type of addressing can be modified as you choose.
After input, the program is automatically examined for syntactical accuracy.
Start Entry
- ”Edit”, ”Blocks”, ”Start Entry”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”
Note Only once the other settings in the pulldown menu have been
defined is editing started here with <Return> or the reference character.
If the block set is not available it will be created.
To call the editing pulldown menu (”Edit network”) press <Ctrl>+<Return>.
In addition you can up a relevant help text at any step using <F10>.
You can exit from the editing procedure at any time with the <Esc>.
All the data entered until that time, apart from the comments and symbols of signals, will however be lost.
33
Programming
27
Editing in different display formats
You can program in three display formats. It is possible to switch between the individual technical languages at any time.
The various Editors will now be explained.
Certain menu lines or functions are present at several locations in the editor, or
are the same in several editors, for example the ”Edit Network” menu. These
positions are only described the first time they occur.
The keyword register provides further guidance.
Instruction list IL
IL Editor
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Note If you select an existing block in the required display format,
you can then edit it. After pressing <Ctrl>+<Return> you switch to the
menu ”Edit network”, the structure of which is the same for all display
formats. The common functions are described here in IL.
28
Programming
33
You are now in the IL editor, which is described below.
You can edit in IL
in the pulldown menu ”Edit network” using the reference characters, by selecting
the menu line with arrow keys and calling with <Return> or using the mouse.
Insert
Erase
Copy
Modify
Scroll forwards
Scroll backwards
Terminate (save)
Break
Search Signal
Search Network
Exchange online
Dynamic Status Display
If you press the <Return> key you can also select the functions listed above via
the menu line of the pulldown menu ”Edit network” which is displayed in the bottom right hand corner of the screen.
During network creation in IL editing takes place line by line and in tabular form.
In other words, certain tab positions are reserved for the IL operations (operations), the operands and the IL Line comments. These can be reached by pressing the <Tab> key or the Arrow keys.
For OBs, PBs and FBs each Il line can be given its own comment (max. 32 characters). Within the input fields the line editor (typewriter keyboard) can be used
with all keys (including e.g. <Backspace>).
33
Programming
29
Edit IL, LD, FBD / Network insert
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Insert”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
With this function ”insert” in the pulldown menu ”Edit network” you can insert a
new empty network before the network displayed.
Exception: Insertion of an FB in front of the first network is not permitted.
After inserting the new, initially empty network you will be in the correction mode
of the Editor.
Edit IL, LD, FBD / Delete network
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Delete”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
With the ”Delete” function from the ”Edit network” pulldown menu, you can delete
the indicated network.
The last remaining network of a block or the block end network cannnot be deleted using this function. To delete the entrie block use ”Special Delete”.
30
Programming
33
Edit IL, LD, FBD / Copy Network
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Copy”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
With this function ”Copy” in the pulldown menu ”Edit network” you can insert (copy) a network created preciously elsewhere before the network displayed.
Exception: Insertion of an FB in front of the first network is not permitted.
After selecting the function a window is displayed in which you enter the network
to be copied. It is then copied in front of the current network.
Copy NW
Start Copy
Source Plant:
Source Station:
Source Block:
Source Network:
C:\AKF125\
BEISP
OB1
1
After copying the network you will be in the correction mode of the Editor.
Edit IL, LD, FBD / Modify network
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
You can set the block editor to correction mode using the function ”Modify” in the
pulldown menu ”Edit network”.
You may then modify the network display on the screen. The block end network
cannot be modified.
33
Programming
31
IL-Editor / Correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
You can move from the menu ”Edit network” (present block) or from the menu
”Edit IL” (new block) into the correction mode of the IL Editor.
a) The pulldown menu ”Edit Il” consists of the following functions:
Edit IL
Insert Line
Erase Line
NW Terminate
NW Break
NW Header
NW Comment
FBD Elements
NW End Character
Presetting
b) The following functions are available via the special keys:
<²>, <³ >, <± >, <°>
<Ctrl>+<PgUp>
<Ctrl>+<PgDn>
<tab>
<backtab>
<Esc>
Move the cursor
Move screen up line by line
Move screen down line by line
next input field (Tab position)
previous input field (Tab position)
Breack off input without saving
If you press the <Return> key, you can also carry out the indicated functions by
means of the menu lines in the ”Edit IL” pulldown menu.
32
Programming
33
Edit IL / Insert line in correction mode
- ”Edit”, ”BLocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Insert line”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
You can use this function to insert IL lines at any point in networks.
Insertions are always placed in the line before the cursor.
Example:
:U
M2.4
:O
E3.12
:=
A4.3
: ***
Insert before 2nd line
:U
M2.4
:
:O
E3.12
:=
A4.3
: ***
Line inserted
:U
:U
:O
:=
: ***
Enter
M2.4
M4.15
E3.12
A4.3
instruction
Edit IL / Erase Line in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”DeLete line”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
This function allows you to delete IL lines at any point in networks.
The line on which the cursor is situated is erased.
33
Programming
33
Edit IL / exit from correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Exit”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Use this function to exit from the correction mode of the Editor and thus to end
correction of the network and accept the (inserted, copied or modified) network.
Caution If the ”Edit network” menu is terminated with ”Break”
(i.e. Cancel, Abort) or <Esc>, the amendment is ignored. In order
to transfer and accept it onto the user drive ”Exit”, ”Edit network” must be selected here too.
Edit IL, LD, FBD / Break in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Abort”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Use this function or <Esc> to end the correction mode of the network. Changes
are ignored and the original status remains unchanged.
Edit IL, LD, FBD / Network header (NW Overwrite) in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
”NW Overwrite”
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
present block, <Ctrl>+<Return>, ”Modify”,
<Ctrl>+<Return>, ”NW Overwrite”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
A network header of 32 characters can be entered in the status line.
34
Programming
33
Edit IL, LD, FBD / Network comments in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
present block, <Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>,
”NW comments”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
A maximum of 15 x 60 characters of comment on the network can be entered in
a window. The lines can be laid out as required.
Use the keys <Ctrl>+<Return> to call the following window:
Edit Comment
Break
Terminate
Text Start
Text End
Insert Line
Erase Line
Erase Comments
Exit from Editors without saving
Save comments and exit from Editor
Ste cursor to start of text
Set cursor end of text
Insert BlankLine in front of current line
Delete cursor line, subsequent text moves up
Delete all text without exiting from the Editor
The following functions are available via the special keys:
<³ >, <² >, <° >, <± >
Move the cursor
<Ins>,
Toggle between insert/ overwrite mode
<Del>
Delete character under cursor
<backspace,
Delete character in front of cursor. At the start
of a line: current line appended to precious
<Ctrl>+<Y>
Delete current line, subsequent text
moves up
<Home>
Move cursor to line start
<End>
Move cursor to line end
<Esc>
Exit from the Editor without saving
<Return>
Cursor to line end: Cursor in next
line Cursor in line: Text from cursor position
in next line
33
Programming
35
Edit IL / FBD Elements in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, Create element,
<Ctrl>+<Return>, ”FBD Elements”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Return>, ”FBD Elements”
- ”Edit”, ”Overview”, Select block, <Ctrl>+<Return>,
”Edit Block”,..
The elements can be called from the pulldown menu using <Ctrl>+<reference
characters> or by selection the menu lines and <Return>.
After selecting an FBD element the Editor specifies the appropriate order of instructions without an operand.
Note The FBD element called begins without an AND–link in the
first line.
The following FBD elements can be inserted in IL:
36
Programming
33
Edit Il, LD, FBD / PrEsetting in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”PrEsetting”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
This function enables you to change the basic setting of the Editor.
In correction mode the IL Editor provides you with the following functions in the
presettings menu:
Select Editor Setting
Output Monitoring
off
Enter Symbol in DB
off
Edit IL, LD, FBD / Enter symbol in DB
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>,
”PrEsetting”, ”Enter symbol in Db”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
You can toggle between ”on” and ”off”.
With the switch position ”on” you can enter a symbol and a comment for an absolute address in the present data block (DB) in the IL, LD or FBD Editor.
An entry can be made (an input window appears):
provided the input is closed off in the editor with the <Return> key,
the input is error–free and no symbol yet exists for the hardware address.
Your input signal appears in the first line for checking. Under it you can enter a
symbol with a maximum length of 8 characters. The comment can be up to 40
characters long.
All input must be closed off with the <Return> key. When the entry has been closed off, the symbol or comment can only be changed in the ”Symbols and comments” menu.
Press ”Abort” or <Esc> to retain the entries in the data block.
33
Programming
37
Edit IL, LD, FBD / Scroll network forward
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>,
”page up”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
The next network is cannled by selecting this function or with <PgDn>.
If the network cannot be displayed in the current display mode (FBD/LD), there
is an automatic switch to IL.
Edit IL, LD, FBD / Scroll network backward
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”page down”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
The previous network is called by selecting this function or <PgDn>.
If the network cannot be displayed in the current display mode (FBD/LD), there
is an automatic switch to IL.
Edit IL, LD, FBD / Terminate (save)
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Exit (Save)”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Editing is terminated when you select this function.
The block entered is checked for syntactically accuracy, transferred and saved
on the user drive.
38
Programming
33
Edit IL, LD, FBD / Break
- ”Edit”, ”Block”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Break”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Select this function or use <Esc> to terminate editing after acknowledgement. All
program changes will be rejected on acknowledgement. Symbol and comment
entries in the data blocks will be retained.
Edit IL, LD, FBD / Signal Search
- ”Edit”, ”BLocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Signal search”
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
”Dyn. status display”, <Ctrl>+<Return>, ”Signal search”
- ”Online”, ”Dyn. status display”, ”Start Display”, <Ctrl>+<Return>,
”Signal search”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Use the search function to look for signals within the block.
Signal names can be entered absolutely or symbolically.
By prefixing one of the optional characters (”+”,”-”) the search direction can be
specified as forward or backward.No prefix causes forward searching.
The search begins before or after the network currently set.
Press the <Return> key to enable this function in the window.
Use the <Esc> key to close the window again.
Absolute or symbolic addresses can be entered. The search direction is specified by placing a < - > or < + > in front.
33
Programming
39
Edit IL, LD, FBD / Network Search
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Network search”
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
”Dyn. status display”, <Ctrl>+<Return>, ”Network search”
- ”Online”, ”Dyn. status display”, ”Start Display”, <Ctrl>+<Return>,
”Network search”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
You can search for networks within a block with this search function. To do so,
enter the network number.
Press the <Return> pushbutton to enable the function in the window. Use the
<Esc> key to close the window again.
Edit IL, LD, FBD / Exchange Online
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Exchange Online”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Note
40
The description is shown under ”Load Exchange Online”.
Programming
33
Edit IL, LD, FBD / network / Dyn. status display
- ”Edit”, ”Blocks”, ”Start Entry, present block,
<Ctrl>+<Return>, ”Dyn. status display”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
After pressing <Return> the signal status is dynamically entered in the current
network. Use <Esc> to return to the Editing mode.
After pressing <Ctrl>+<Return> the following pulldown menu will be displayed.
Dynamic Display
Scroll Forwards
Scroll Backwards
Break
Search Signal
Search Network
MW Mode
Online list
Start PLC
Stop PLC
Display NW Comment
Presetting
33
The functions which can be used in dynamic
status display are shown below.
After pressing <Return> the signal status will
be entered dynamically into the current network.
Use <Esc> to return to Editing mode.
Programming
41
Edit IL, LD, FBD / network / PrEsetting
- ”Edit”, ”Blocks”, ”Start Entry, present block,
<Ctrl>+<Return>, ”PrEsetting”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
You can use this function to change the default settings of the Editor. The following functions can be selected:
Select Editor Setting
Input Mode
FBD
Addressing
ABS
Data Block file
DB0
Cursor Positioning
horizontal
Output Monitoring
off
Enter Symbol in DB
off
(LD/FBD/IL)
(absolute/symbolic)
(DB0 to DB9)
(horizontal/vertical/off)
(on/off)
(on/off)
In the correction mode of the IL Editor the functions ”Output monitoring” and ”Enter symbol in DB” are available.
Edit IL, LD, FBD / PrEsetting / Data block file
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”PrEsetting”, ”Data block file”
- ”Setup”, ”PLC station”, ”Data block file”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Here you must specify a data block edited previously in the menu line ”Edit”,
”Symbols and Comments”.
42
Programming
33
Edit IL, LD, FBD / PrEsetting / Cursor Positioning
-”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”PrEsetting”, ”Cursor Positioning”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
With automatic Cursor Positioning you can toggle to set the direction in which
the cursor is to move when making entries in LD/FBD between the question
mark fields.
Horizontal position: When entering ladder address input, the cursor moves
horizontally from one element to the next in a network line.
Vertical position:
When entering ladder address input, the cursor moves
vertically from one element to the next in a network column.
Off position:
The cursor moves from one character position to the next
on the screen.
33
Programming
43
Ladder diagram LD
LD Editor
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>
(when selecting an existing block)
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Note A present block can still be edited subsequently. After pressing <Return> you move to the ”Edit network” menu, the structure of
which is the same for all display formats. The shared functions are
dealt with in IL.
You are now in the LD editor, which is described below.
You can edit in LD
a) in the pulldown menu ”Edit network” using
<Ctrl>+<reference character>,
by selecting the menu line with arrow keys and calling with <Return> or
using the mouse,
b) with the special keys.
a) The following functions are available in the pulldown menu ”Edit network”.
Edit Network
Insert
Erase
Copy
Modify
Scroll Forwards
Scroll Backwards
Terminate (Save)
Break
Search Signal
Search Network
Exchange Online
Dynamic Status Display
Presetting
44
Programming
33
b) Special keys for the present block; Edit network
<PgDn>
<PgUp>
<Esc>
scroll to next network
scroll to previous network
Break off entry without saving
You can also press <Ctrl>+<Return> and select the functions listed above from
the menu lines of the ”Edit network” pulldown menu that is displayed at bottom
right of the screen. Use the <Esc> key to close the window again.
When creating a network in LD note that elements can only be entered in certain
cursor positions. These positions must be reached using the arrow keys.
For editing the cursor must be on the line.
Insert:
To the right of the cursor
Insert FBD element: Cursor must be on first character of the contact
(if necessary spread or toggle into insert mode previously)
Löschen:
To the right of the cursor
Erase FBD element: Elements of the same type can be swapped
if the cursor is on the first input (path).
For entering the address you can position the cursor automatically under the
”PrEsetting” menu.
Address input begins at the first question mark.
33
Programming
45
LD-Editor / correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
From the ”Edit network” menu (present block) or the ”Edit LD” menu (new block
after inputting the first element), you can access the correction mode of the LD
editor.
a) There are 3 ”Edit LD” pulldown menus that appear during editing:
Edit IL
46
Programming
33
b) The following functions are available via the special keys:
<²>, <³ >, < ± >, <°>
Move the cursor
<Ins>
Spread Vertical
<Del>
Erase Element
<PgUp>
Shift image upwards line by line
<PgDn>
Shift image downwards line by line
<Ctrl>+<PgDn>
Shift image up page by page (page
up)
<Ctrl>+<PgUp>
Shift image downwards page by page (page
down)
<letter>
Change Contact address
<Esc>
Break off without saving
<Home>
Exit from correction
If you press <Ctrl>+<Return> you can also execute the functions listed above via
the menu lines in the various pulldown menus ”Edit” LD”.
Edit LD / Horizontal spread in correction mode
- ”Edit”, ”Blocks”, ”STart Entry”, create element,
<Ctrl>+<Return>, ”Spread Horizontal”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Spread Horizontal”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
This function spreads the network horizontally to the right of the cursor position.
It is not possible to spread before the first input (left edge of the screen).The network is optimized by inserting FBD elements.
In insert mode spreading is not required since space is provided by DOLOG
AKF.
33
Programming
47
Edit LD / Vertical spread in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, ”Spread Vertical”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Return>, ”Spread Vertical”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
It is necessary to spread vertically before inserting a new parallel path. The cursor must be situated below the horizontal series path. Spreading takes place
above the cursor position. Spread Vertical is equivalent to the <Ins> key
In insert mode spreading is not required since space is provided by DOLOG
AKF.
Edit LD / Normally open contact in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, ”normally open contact”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”normally open contact”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
Reference character <S>
This function is used to edit a normally open contact to the right of the cursor
position:
a) in a serial path:
In a new network the output is inserted at the same time as the function
is selected.
b) in a parallel path:
With this function, a normally open contact, as the first element of a parallel
path, can be edited. For this the cursor must be located at least 3 lines below
an element or insert mode must be active.
48
Programming
33
Edit LD / Normally closed contact in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, ”normally closed contact”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”normally closed contact”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
Reference character: <O>
This function is used to edit a normally closed contact to the right of the cursor
position:
a) in a serial path:
An output is inserted in a new network at the same time as the function is
selected.
b) in a parallel path:
A normally closed contact can be edited as the first element of a parallel path
using this function. For this the cursor must be located at least 3 lines below
an element or insert mode must be active.
33
Programming
49
Edit LD / Connector
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”Connector”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Connector”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
–> >–
Reference character <C>
With the connector, a signal is laid on an intermediate marker or output without
register initialization.
Example
NW1
Q4.2
M3.3
M4.6
M3.4
M4.5
> >
Q4.3
In NW1 a connector has marker M4.5 assigned.
Edit LD / Output in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, ”normally closed contact”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”normally closed contact”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
Reference character: <R>
This function is used for inserting an output:
This function is used to reproduce an output signal. The cursor must be located
at least 3 lines below the previous output or insert mode must be active.
50
Programming
33
Edit LD / Exclusive OR block in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”Exclusive OR”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Exclusive OR”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol =2k+1
reference character <X>
This function is used to edit an exclusive OR block.
Two inputs:
Several inputs:
if the block has two inputs, the output is activated
if a ”1” signal or ”0” signal is applied to both of the
inputs (exclusive OR).
if the block has more than two inputs, the
input is activated when an odd number of
inputs carry a ”1” signal or ”0” signal
(”odd element”).
Insertion optimizes the network structure.
Edit LD, FBD / Conditional PB/FB
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
”PB/FB Cond’al”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
With this function you call a block conditionally. By this method, whether a block
is called depends on the result of a signal address.
e.g.
E2.2
PB4
*
PB4 is called only if E2.2 = 1
You must enter the address of the condition and the block to be called yourself.
The call condition is negatable.
33
Programming
51
FB:
PB:
OB:
User standard FB must be declared before calling.
can be called (even before programming)
cannot be called
Edit LD, FBD / PB/FB Uncond’al
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
”PB/FB Uncond’al”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
This function is used to call a block unconditionally, i.e. the block is executed in
each cycle.
You must enter the address of the block to be called yourself.
FB:
PB:
OB:
User standard FB must be declared before calling.
These can be called (even in advance of programming)
cannot be called
Edit LD, FBD / FBD elements in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, ”FBD Elements”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”FBD Elements”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
The elements can be called from the pulldown menu using a <reference character> or by selecting the menu lines and pressing <Return>.
The descriptions for the LD/FBD Editor and for ”Edit”, ”Blocks” apply to the entry
of FBD elements.In addition:The network is optimized when the element is inserted.Exchanging FBD elements of the same type (at the same place) is permissible. To do so the cursor must be on the path of the first input and the overwrite
mode must be active.
You will find a list of possible FBD Elements in the Section entitled ”Input mode”.
52
Programming
33
Edit LD / Erase in correction mode
- ”Edit”, ”Blocks”, ”Stary Entry”, create element,
<Ctrl>+<Return>, ”Delete”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Delete”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
This function is used for erasing elements from a network. All LD elements to
the right of the cursor are erased in the LD editor. When dealing with FBD elements, the cursor must be situated on the first input path in order to erase.
Edit LD / Parallel path
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, Parallel path
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, Parallel path
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
The pulldwn menu which can be called via <Ctrl>+<Return> is used to edit or
correct a Parallel path.
The menu remains available until the termination of the parallel path.You can select the following functions:
Edit IL
33
Programming
53
Edit LD / Normally open contact in parallel path
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, Parallel path, normally open contact
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>, ”
Edit Block”,..
Symbol
Reference character: <S>
This function is used for inserting a serial normally open contact in a parallel
path.
Edit LD / Normally closed contact in parallel path
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, Parallel path, normally closed contact
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
Reference character: <O>
This function is used for inserting a serial normally closed contact in a parallel
path.
Edit LD / connector in parallel path
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, Parallel path, Connector
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol -> >Reference character: <C>
This function is used for inserting a serial connector in a parallel path.
54
Programming
33
Edit LD / Cross–connection of the parallel path
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, Parallel path, cross–connection
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
Reference character: <V>
This is used to close the still open parallel path at the cursor position. It is only
permissible to insert the symbol if the parallel path has been created correctly,
otherwise the wrong path is deleted.
Edit LD / Continuation in parallel path
- ”Edit”, ”Blocks”, ”Start Entry”, create element,
<Ctrl>+<Return>, Parallel path, continuation
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
Reference character: <H>
The path is continued without contacts.
33
Programming
55
Function block diagram FBD
FBD editor
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>
(when selecting a present block)
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Note A present block can still be edited subsequently. After pressing <Return> you move to the ”Edit network” menu, the structure of
which is the same for all display formats. The shared functions are
dealt with in IL.
You are now in the FBD editor, which is described below.
You can edit in FBD
a) in the pulldown menu ”Edit network” using the
<Ctrl>+<reference characters>,
by selecting the menu line with arrow keys and calling with <Return> or
using the mouse,
b) with the special keys.
a) In the pulldown menu ”Edit network”.
Edit Network
Insert
Erase
Copy
Modify
Scroll Forwards
Scroll Backwards
Terminate (Save)
Break
Search Signal
Search Network
Exchange Online
Dynamic Status Display
Presetting
56
Programming
33
b) Special keys outside the pulldown menu
<PgDn>
<PgUp>
<End>
<Esc>
Scroll to next network
Scroll to previous network
End, compile and save input
Break off input without saving
If you press the <Return> key you can also select the functions listed above via
the menu line of the pulldown menu ”Edit network”, which is displayed in the bottom right hand corner of the display.
When creating a network in FBD note that elements can only be entered in certain cursor positions.
These positions must be reached with the arrow keys (or mouse):
Insert:
To the right of the cursor; the cursor must be on
the path of the input.
to the left of the cursor; cursor must be on the path of the output.
Delete:
To the right of the cursor; the cursor must be on the path of
the input.
Exchange:
Elements of the same type can be exchanged,
if the cursor is on the first input (path)
and overwrite mode is active.
For address input the cursor can be positioned automatically under the ”PrEsetting” menu.
Address input begins at the first question mark.
33
Programming
57
FBD Editor / correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
From the ”Edit network” menu (present block) or the ”Edit FBD” menu (new
block after inputting the first element), you can access the correction mode of
the FBD editor.
a) There are 3 pulldown menus ”Edit FBD” which appear during editing:
58
Programming
33
b) The following functions are available via the special keys:
<²>, <³ >, < ± >, <°>
<Ctrl>+<³>
<Del>
<PgUp>
<PgDn>
<Ctrl>+<PgDn>
<Ctrl>+<PgUp>
<Letter>
<Esc>
Move the cursor
Spread Horizontal
Delete elemtent
Shift image up line by line
Shift image down line by line
Shift image up page by page (page
up)
Shift image down page by page (page
down)
Change contact address
Break off without saving
If you press the <Ctrl>+<Return> key, you can also execute the functions listed
above via the menu lines in the various pulldown menus ”Edit FBD”.
Edit FBD / AND block in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”AND”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”AND”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol &
reference character <U>
This function is used to edit an AND block (with maximum 46 inputs). The network is optimized when this element is entered.
33
Programming
59
Edit FBD / Negated input in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”Negated input”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Negated input”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
Reference character <N>
DThis function is used to negate an input. Outputs cannot be negated. You can
only negate an existing input if the cursor is on the path of the input. A negated
input is inserted when the cursor is immediately to the left of the block edge. The
network is optimized when this element is entered.
Edit FBD / Input in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”input”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”input”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
Reference character <E>
This function is used to edit an input. An additional input can be inserted if the
cursor is directly to the left of the existing symbol.
Negated inputs can be overwritten with . The network is optimised when the
element is inserted.
60
Programming
33
Edit FBD / OR block in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”OR”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”OR”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol >=1
Reference character <O>
This function is used to edit an OR block (with maximum 46 inputs). The network
is optimized when this element is entered.
Edit FBD / Exclusive OR block in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”Exclusive OR”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Exclusive-OR”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol =2k+1
Reference character <X>
This function is used to edit an exclusive OR block.
Two inputs:
Several inputs:
if the block has two inputs, the output is activated
if a ”1” signal or ”0” signal is applied to both of the
inputs (exclusive OR).
if the block has more than two inputs, the output is activated,
if a ”1” signal or ”0” signal is applied to an odd number of
inputs (”odd element”).
Insertion optimizes the network structure.
33
Programming
61
Edit FBD / Connector
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”Connector”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Connector”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Symbol
–> >–
Reference character <C>
With the connector, a signal is laid on an intermediate marker or output without
register initialization.
Example
NW1
M3.3
*
&
Q4.5
M4.5
> >
*
&
M4.5
*
>=1
M5.1
Q4.2
In NW1 a connector has marker M4.5 assigned. The content of the marker is
used in the same scan as input of the OR block.
In addition, the marker M4.5 is used as input of the first AND block in the next
network.
NW2
M5.8
*
&
M4.5
*
&
M5.9
62
Q4.6
Programming
33
Edit FBD / Spread Horizontal in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”Spread Horizontal”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Spread Horizontal”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
This function or <Ctrl>+<> is used to spread the network horizontally to the
right of the cursor position. The network is optimized by inserting FBD elements.
In insert mode spreading is not required since space is provided by DOLOG
AKF.
Edit FBD / Spread Vertical in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”Spread Vertical”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Spread Horizontal”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
Vertical spreading is necessary in order to insert further inputs into an FBD symbol. The cursor must be below the first input path of the FBD symbol. The network is optimized when the element is inserted.
This function is equivalent to the <Ins> key.
In insert mode spreading is not required since space is provided by DOLOG
AKF.
33
Programming
63
Edit FBD / Deleting in correction mode
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
create element, <Ctrl>+<Return>, ”Delete”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”Modify”, <Ctrl>+<Return>, ”Delete”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
This function or <Del> is used to delete elements from a network.
Deleting an element:
The cursor has to be in the upper left
corner of the block.
Deleting several continuous elements:
The cursor must be at the start of the
element sequence to be deleted.
Deleting inputs:
The cursor must be on the signal to
which an input has been assigned.
The network is optimised when this function is executed.
64
Programming
33
Block number
- ”Edit”, ”Blocks”, ”Block number”
- ”Load”, ”Exchange Online”, ”Block number”
- ”Online”, ”dynamic state display”, ”Current display”,
”Block number”
Enter the number of the block which you want to edit (1-999) here.
After pressing the <Return> key you can enter or change the number using the
line editor (typewriter keyboard).
Note
For OB block number must be 1!
Block type
- ”Edit”, ”Blocks”, ”block type”
- ”Load”, ”Exchange Online”, ”block type”
- ”Online”, ”dynamic state display”, ”Current display”,
”block type”
The type of block to be edited is entered here (organization block OB, program
block PB, function block FB).
Note
34
Exchange Online: for OB block number must be 1!
Programming
65
Organization block OB1
The organization block contains the information content of the whole user program.
The OB is processed by cyclical scanning. Each scan starts by processing
network 001 and ends when the last network present in the OB is processed.
PB calls, FB calls and possibly user programs exist in networks with consecutive numbering, starting with network 001.
Each network may contain only one PB or FB call (with the exception of IL).
It calls conditional or unconditional PBs, FBs and SFBs.
It can also contain program parts in IL, LD or FBD.
Program block PB
A PB consists of a sequence of networks, consecutively numbered starting
with network 001.
It can call conditional or unconditional PBs, FBs und SFBs.
The same PB can be called several times.
It contains program parts in IL, LD or FBD.
In OB (or another PB), a block that is to be called is displayed as a square (in
LD/FBD) in the network. The PB number is above the square. In the case of
conditional PB calls the signal address of the condition is immediately to the
left of the square.
A PB that is not called from any place is never processed.
66
Programming
34
Conversion of a program block into a function block:
Program blocks which have been tested and founded to be suitable by users
can easily be converted into function blocks.
To do this, proceed as follows:
Step 1
Under ”Edit”, ”Blocks” here set the ”Input mode” ”IL” for instruction list.
Step 2
Also set the desired program block here and choose the
network.
Step 3
Insert a further network (dummy network)in front of the first
network and save the program block on the hard disk.
Step 4
Copy this program block within your station using ”Special”,
”Copy” to form a new function block (the source block is the
PB, the destination block is the new FB).
Delete the old program block if necessary.
Step 5
Under ”Edit”, ”Blocks”, ”Start Entry” call the new function
block and select network 1.
This network is still empty.
Simply enter the new function block name (overwrite NW
end).
If necessary you can still edit the new function block by inserting formal operands.
Note The ”key macros” function is useful for inputting formal operands (cf. Chapter 2.2.6).
Step 6
Save the new function block.
Don’t forget to then delete the appropriate program block calls within your user
program and to program new function block calls.
34
Programming
67
Function block (FB)
999 user function blocks can be parameterized (named FB1 – FB999).
The FB contains a part of a user program in instruction list, ladder diagram,
function block diagram.
Calling an FB ensures that the FB is then processed exactly to the runtime
when the appropriate call is triggered in the user program. This enables you
to optise the program yourself, thereby achieving shorter scan times.
For the processing of the block, the formal operands of the FB are replaced
with the declared actual operands. Formal operands are a maximum of 6 character long. The first character is a letter, the rest may be any characters.
An FB which is not called from any point will not be processed.
Structure
The FB consists of the declaration part (network 001) and the instruction part
(following networks).
Declaration part
In the declaration part is the name of the FB and the list of the formal operands,
stating the type.
Table 1 Example of the declaration part of an FB
Formal
operand
Name: EXAMP1
IDT: OP1
IDT: OP2
IDT: OP3
IDT: OFF
: ***
68
Type Possibilities
(E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/TN/B2/B8/B16/ANZ)
(E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/TN/B2/B8/B16/ANZ)
(E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/TN/B2/B8/B16/ANZ)
(E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/TN/B2/B8/B16/ANZ)
Programming
Type
(I/O) E
(I/O) E
(I/O) E
(I/O) A
I
I
I
O
34
The series (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) provides
information on the possible type statement.
The meanings are as follows:
E
: input
Ex
: input (x = B, W, D: byte, word, double word)
A
: output
Ax
: output (x = B, W, D: byte, word, double word)
M
: marker (as bit)
Mx
: marker (x = B, W, D: byte, word, double word)
SM
: system marker (as bit)
SMx : system marker (x = B, W, D: byte, word, double word)
T
: Timers
Z
: Counters
TN
: Nodes
Bx
: Bit string
ANZ : Number
I
O
:
:
The signal is an input parameter of the block
The signal is an output parameter of the block.
The appropriate representative must be specified from each of these two groups.
A declaration from the group (I/O) is used to state whether the parameter is to
be displayed in ther graphical display as an input an the left edge of the block or
as an output on the right edge of the block.
The declaration part ends with ”***”, Network end.
The formal operand name can be changed at any time, but the block calls must
be reprogrammed whenever changes are made.
Instruction part
The instruction part makes the algorithmic correlations between the formal operands of the declaration part (in IL/LD/FBD). In the instruction part the formal
operands must be marked with an ”=” sign. Where appropriate, to the right of the
instruction list is a number stating the nesting depth of the line in question. The
instruction list always ends with ”***”, the instruction part with ”:BE” (Block end).
34
Programming
69
The following figures show the instruction part of the above function block ”EXAMP1” in IL, LD and FBD.
IL
Statement of nesting depth
LD
FBD
call
*
Conditional call of a
function block in
ladder diagram or function block diagra
* = condition instruction
Instead of the question marks
operands which
are still relevant (M1.1, A2.4 ...)
are to be input.
An FB may be called from another FB or a PB.
70
Programming
34
The FB is shown as a square in the network (in LD/FBD). In the square, its description is once again displayed, in short form. On the left of the square is the
imput formal operands and to the left of the square the actual operands, and
possibly a further condition. On the right of the square is the output formal operands and to the right of the square the actual operands.
In IL the block is called using the operand BA or BAB.
Conditional call of a function block in
instruction list.
Actual operands (M1.1, A2.4, ...) are to be
input in place of the question marks.
The first line (condition) is to be
created manually and linked logically.
If formal operands are edited, deleted or inserted during editing of the declaration part if a function block, all the function block calls must be re–parameterized. The points in the user program at which the function block calls of the FB in
question are located can be established using the global cross–reference list.
It is also possible to call a function block from the instruction part of another
function block (nesting). The function block called may contain its formal operand
as an actual operand in the instruction part of the calling FBs. Thus for the runtime of the user program actual operands can be forwarded down to the deepest
nesting level (10).
Program blocks tried and tested by users can easily be converted into function
blocks FB1...FB999 (see PB).
34
Programming
71
Network number
- ”Edit”, ”Blocks”, ”Network number”
- ”Online”, ”dynamic state display”, ”continuous display”, ”Network number”
Here set the network (1 to 999) of the block which you want to edit after ”Start
Entry”.
After pressing the <Return> key you can enter or change the number with the line editor (typewriter keyboard).
Input mode (Display Formats ILs, KOP, FUP)
- ”Edit”, ”Blocks”, ”Input mode”
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
”Dyn. status display”, <Ctrl>+<Return>, ”Preset”, ”Input mode”
- ”Online”, ”Dyn. status display”, ”Current display”, ”Start Entry”,
<Ctrl>+<Return>, ”Preset”, ”Output mode”
- ”Online”, ”Dyn. status display”, ”Triggered display”, ”Start Entry”,
<Ctrl>+<Return>, ”Preset”, ”Output mode”
Here toggle to set the display format to be used during editing or reproduction
(special language).
72
Programming
34
Display Formats
Instruction list IL
The following applies to DOLOG AKF A120:
In IL OBs, PBs and FBs are programmable.
A maximum of 45 input or output operands can be defined in the declaration part
of an FB, but not more than 64 parameters in total.
Only formal operands defined previously in the declaration part are accepted in
the IL of a user functional block, and each formal operand muct be preceded by
an ”=” sign. This enables it to be clearly distinguished from a generally valid
symbol name.
A maximum of 24 jump marks are possible within a user FB per network. Likewise, there are also PB and FB calls (conditional or unconditional) in IL.
During network creation in IL the DOLOG AKF software carries out syntax
checks, so that impermissible input is refused.
Rules for constructing an instruction list
Network start / end
Example:
: U..., O... or L...
Each network must start with the operations U, O (for
logic) or L (for arithmetic)
: ***
and end with ” *** ”.
initiating pulse
The system marker SM2 (switch–on marker) is used as an initiating pulse. The
valency of the switch–on marker is only for the 1st cycle = 1.
Utilization: For initializing the actual values of timers and counters in hot restart
operating mode when powering–up or on program start. For details
of how to program memories with preferred state after power–up,
see ”Memory”.
34
Programming
73
Marker bit
Example
Network 001
: A I2.1
: A I2.2
: O I2.3
: = M5.1
: ***
Network 002
: A I2.4
: A M5.1
: = Q3.1
Markers (binary intermediate results) save the results
of logical operations for use elsewhere in the
program. They have to be defined before the scan.
For nesting, it is advisable to work with markers or
bracket operations.
Bracket operations (only in IL)
Example
: A (
Bracket operations can also be used in place of
: A I2.1
markers.
: A I2.2
After an instruction ”Open brackets”, just as at the start of
: O I2.3
the program, the next instruction has to begin with A or O.
: )
The maximum nesting depth for bracket operations is
: A I2.4
13. The number of ”Open brackets” operations
must be the same as:=Q3.1the number of ”Close brackets”
operations.
: ***
Block end
The last network of each block contains only the ”block end”:
: BE
74
Programming
34
Logic functions
Order of logic operations
Example
: A I2.1
When logical operations are being calculated, the rule ”AND
: A I2.2
before OR” is applied, as in Boolean algebra,
I.e. no superfluous brackets must be entered.
: O I2.3
The accompanying IL obeys this rule
: O I2.4
(I2.1 ∧ I2.2) ∨ I2.3 ∨ I2.4 = Q3.1
: = Q3.1
: ***
Normalizing operations
Instruction with normalizing
Example
: U E2.1
With the operations such as S..., R... the link result is
: S M5.19
normalized. The result cannot be used directly for the next
: U E2.2
instruction. Consequently, the following instruction must
always start with operation U or O. The
: ***
same behavior applies to the instructions U(, O(, X(, UN(,
ON(, XN(.
Instruction without normalization
: U M5.4
The result of logic operation UM5.4, UM5.5 is not normalised
on
: U M5.5
assignment of ”=”, i.e. it is available for further assignments
: = M5.6
(multiple assignment is possible).
: = M5.7
: = M5.8
: U E2.7
Prior to execution of the subsequent ”AND” operation the
register is first normalized, i.e. erased, so that the previous
: ***
result of logic operation can no longer be used.
34
Programming
75
Connector
With the connector, =C, a signal is placed on an intermediate marker or register.
The register is not initialized (reset), so networks can be saved. The marker type
must be congruent with the operands of the other instructions in the command
sequence.
Examples
Logic
: A M3.2
: A M4.5
: =C M3.5
: O M4.8
: = Q3.7
: ***
Arithmetic
Network 001
: L
K12
: ADD MW1
: =C
MW30
: SUB MW2
: =
MW44
: ***
Network 002
: L
MW30
Intermediate result from
NW001.
:
:
:
76
Programming
ADD
=
BE
MW15
MW45
34
Save operations
The sequence of IL commands must be strictly followed. The preferred state after power–on (startup marker) SM2 or additional instructions before the ”=” assignment are optional.
In cases where no additional instructions precede the ”=” assignment, the marker M* can also be replaced with Q3.*t in the examples mentioned below.
Example: SR memory, dominant resetting, preferred state after power–on 1
: U (
: O E2.1
: O SM2
The system marker SM2 has a ”1” signal in the 1st program
cycle,
: )
therefore preferred state after power–on 1.
: S Q3.1
: A I2.2
The reset condition is processed after setting, hence
: R Q3.1
dominant reset.
: = Q3.1
: ***
Example: pk memory, dominant setting, preferred state after power–on 1
: U E2.2
: R A3.2
: U (
: O E2.1
The system marker SM2 has a ”1” signal in the 1st program
cycle,
: O SM2
therefore preferred state after power–on 1.
: )
: S A3.2
The set condition is superordinate to the reset condition, i.e.
: = A3.2
dominant setting.
: ***
Note For examples of dominance, preferred state after power–on 0
and preferred state after power–on 1 refer to page 100.
34
Programming
77
Counters
Please adhere strictly to the command sequence C, S, L and R in order to avoid
syntax errors. There can be additional instructions between commands.
CU, counter up 0 ... 32 767
Example:
: A I2.1
Counting pulse input (count with 0 1 edges on I2.1).
With the first edge, the counter output is set to ”1”.
: CU Z10
C10, up counter.
: A I2.2
With ”1” signal on I2.2, the setpoint value is loaded with
K30.
: S C10
: L K30
: A I2.3
Reset input (actual value and counter output are set to ”0”
: R C10
with ”1” signal on I2.3).
: = Q3.1
When actual value = setpoint value: ”0” signal on Q3.1.
CD, counter down 0 ... 32 767
Example:
: A I2.1
Counting pulse input (count with 0 1 edges on I2.1).
With the first edge, the counter output is set to ”1”.
: CD C12
C12, down counter.
: A I2.2
With ”1” signal on I2.2, the setpoint value is loaded
: S C12
with CSW12.
: L ZSW
: A I2.3
Reset input (actual value and counter output are set to ”0”
: R C12
with ”1” signal on I2.3).
: = Q3.2
When actual value = setpoint value: ”0” signal on Q3.2.
78
Programming
34
C+, C-, counter up, down -32 768 ... +32 767
It is possible to count both up and down with this counter.
Example:
: A
I2.1
Counting pulse input (count up with 0 1 edges
on input I2.1).
: Z+
C12
Z12, count up
: A
I2.2
counting pulse input (count down with 0 1
edges on input I2.2).
: ZC12
Z12, count down
: A
I2.3
With ”1” signal on I2.3, the setpoint value ZWS13
: S
Z12
is loaded.
: L
CSW
: A
I2.4
Reset input (actual value and counter output are set to
”0”
: R
C12
with ”1” signal on I2.4).
: =
Q3.2
When actual value = setpoint value: ”1” signal on Q3.2.
: ***
34
Programming
79
Timers
In the case of IL input, the function and operating time characteristics of timers
are exactly equivalent to the FBD elements of the FBD or LD editor. There are 5
timer functions available. The associated timing diagrams can be found under
”FBD elements”. Please adhere strictly to the defined command sequence in order to avoid syntax errors. There can be additional instructions between commands.
Example: TI, pulse (monostable–circuit – monoflop)
: A I2.1
Start (input signal) timing element T30
: SI T30
: DZB 100MS
Define the time base in ms: 10, 100 or 1000
or input 10MS, 100MS, 1000MS
: L K30
load the constant K30 for the setpoint value
: U E2.2
reset the time block
: R T30
: = A3.1
With 0 1 edge on I2.1: ”1” signal on O3.1.
TV, extended pulse
: A
I2.1
: SV
T31
: DZB 100MS
: L
TSW30
: A
I2.2
: R
T31
: =
Q3.1
: ***
TS, stored on–delay
: A
I2.1
: SS
T33
: DZB 100MS
: L
MW32
: A
I2.2
: R
T33
: =
Q3.3
: ***
80
Programming
TE, on–delay
:
:
:
:
:
:
:
:
A
SE
DZB
L
A
R
=
I2.1
T32
100MS
TSW31
I2.2
T32
Q3.2
***
TA, off–delay
:
:
:
:
:
:
:
:
A
SA
DZB
L
A
R
=
I2.1
T34
100MS
MW33
I2.2
T34
Q3.4
***
34
Edge recognition
The following operations are able to detect pulse edges.
FLP
FLN
FL
Detection of an edge transition
Detection of an edge transition
Detection of edge transitions
Examples
FLP
: A
I2.1
: FLN M1.10
: =
M1.11
: ***
FLN
: A
: FLP
: =
: ***
I2.1
M1.10
M1.11
0³ 1
1³0
0 ³ 1 and 1 ³ 0
FL
:
:
:
:
U
FL
=
E2.1
M1.10
M1.11
***
Shift (only in IL)
These operations can be used to shift the contents of the register by a user–defined number of bits. The moved bits are lost. Sign information would be lost.
Therefore, shift is only sensible in logic.
1 0 1 0 0 1 1 0
Example:
SHL, shift
: A
: SHL
: =
: ***
→
Shift to the left by 3 bits,
SHL K3
→
0 0 1 1 0 0 0 0
to the left
MB1
The contents of MB1 are moved 3 bits to the left.
K3
SHL is only possible with constants.
MB1
The moved value is in MB1.
Example:
SHR, shift to the right
: A
MB1
The contents of MB1 are moved 5 bits to the right.
: SHR K5
SHR is only possible with constants.
: =
MB1
The moved value is in MB1.
: ***
34
Programming
81
Rotate (only in IL)
These operations can be used to rotate the contents of the register by a user–
defined number of bits. The rotated bits are reinserted in the opposite direction.
1 0 1 0 0 1 1 0
→
Rotate to the left by 4 bits,
ROL K3
→
0 1 1 0 1 0 1 0
Example:
ROL, rotate to the left
: A
MB1
The contents of MB1 are rotated 4 bits to the left.
: ROL K4
ROL is only possible with constants.
: =
MB1
The moved value is in MB1.
: ***
Example:
ROR, rotate to the right
: A
MB1
The contents of MB1 are rotated 5 bits to the right.
: ROR K5
ROR is only possible with constants.
: =
MB1
The moved value is in MB1.
: ***
Incrementing/decrementing (only in IL)
The following functions can be used to increase or decrease the contents of a
byte, word or doubleword by 1. This is used to modify setpoint values, for example.
INC
DEC
increase value by 1
decrease value by 1
Example
INC
: A
MW1
: INC
: =
MW1
82
Programming
DEC
: A
: DEC
: =
MB1
MB1
34
Load, Transfer (only in IL)
LBB, LBW: bit ³ byte, word
Operations LBB and LBW are used to load (read into the register) a defined bit
string (byte register, word register).
The operand following the load operation is the least significant binary signal of
the bit string. Upon input, an equipment list dependent syntax control of the acceptability of the bit string is carried out.
TBB, TBW: byte, word ³ bit
Operations TBB and TBW assign the register contents (binary) to a bit string.
The transfer begins with the bit of least significant value from the register content. The start of the bit string is determined by the operands.
In order to avoid damage to memory areas and undesired memory content, a
function is introduced in which the user states the width of the bit string.
The statement of bit string width is carried out with the command
DBB ANZ xx
Define bit string width
The operand number (ANZ) can accept the following values:
LBB, TBB with bit operand
DBB ANZ 1...8
for maximum 8 bits in byte register
Formal parameter in FB declaration part:
B8
LBW, TBW with bit operand
DBB ANZ 1...16
for maximum 16 bits in word register
Formal parameter in FB declaration part:
B16
LBW, TBW with byte operand
DBB ANZ 1...2
for maximum 2 bytes in word
Formal parameter in FB declaration part:
B2
Rules for creating IL:
It is absolutely necessary that the instruction DBB directly follows its bit string instruction. In the formal parameter declaration, the declaration for the number
must directly follow the declaration of the address. Otherwise, testing and assignment are not possible. The declaration of the setpoint types B2, B8 and B16
must be followed by the declaration of a setpoint type ANZ.
34
Programming
83
Note The maximum number of instructions and moved bits (DBB
ANZxx) in a user function block is < 1,000.
Σ instructions + Σ xxx < 1,000
Example:
Network 1 FB3
Name: FBTEST
IDT: BYE1 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) B2 I
IDT: EG1 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) ANZ I
IDT:
IDT:
BYA1 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) B16 O
BSP2 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) ANZ O
IDT:
IDT:
BIT2 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) B8 I
BSP3 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) ANZ I
IDT:
IDT:
BIA2 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) B8 O
BSP4 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) ANZ O
IDT:
IDT:
BIT3 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) B16 I
BSP5 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) ANZ I
IDT:
IDT:
***
BIA3 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) B16 O
BSP6 (E/Ex/A/Ax/M/Mx/SM/SMx/T/Z/NODE/B2/B8/B16/ANZ) (I/O) ANZ O
Network 2
: LBW =BYE1
: DBB =BSP1
: A
KH000F
: TBW =BYA1
: DBB =BSP2
: :
: =
MW12
: ***
84
Programming
Load 1...2 bytes in word register
Define bit string width 1...2
Transfer word register to bit string
Define bit string width 1...16
34
Network 3
: LBB =BIT2
: DBB =BSP3
: A
MB10
: TBB =BIA2
: DBB =BSP4
: :
: =
MB20
: ***
Network 4
: LBW =BIT3
: DBB =BSP5
: A
MW10
: TBW =BIA3
: DBB =BSP6
: :
: =
MW13
: ***
Network 5
: LBW E8.12
: DBB =BSP5
: =
MW22
: TE
34
Load bit string in byte register
Define bit string width 1...8
Transfer byte register to bit string
Define bit string width 1...8
Load bit string in word register
Define bit string width 1...16
Transfer word register to bit string
Define bit string width 1...16
Absolute addressing
Define bit string width 1...5, since I8.12...I8.16;
if LBW, LBB is absolute, ANZ xx must be
entered.
Programming
85
LLD, LHD: Load Low Data/ Load High Data ³
word, doubleword
The operations LLD and LHD load:
bytes from the signal memory into the word register, or
words from the signal memory into the doubleword register
A word consists of a high byte and a low byte. The low byte contains the less significant word part, the high byte contains the more significant word part. Accordingly, a double word consists of a high word and a low word.
With the command LLD the user can:
define any byte as the low byte of a word, or
define any word as the low word of a doubleword
With the command LHD the user can:
define any byte as the high byte of a word, or
define any word as the high word of a doubleword
1 0 1 0 0 1 1 0
0 1 1 0 1 0 1 0
11 1 0 0 0 1 0
0 0 1 0 0 0 1 0
27
27
27
27
20
LHD MB
20
LLD MB
LHD MB
1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0
215
20
20
LLD MB
1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0
20
215
LHD MW
20
LLD MW
1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0
231
215
20
Examples:
Using the operation LLD, the contents of MB112 (decimal 100) are loaded into
the low word of marker word MW223.
:L
:=
:LLD
:LHD
:=
K0
MB113
MB112
MB113
MW223
86
Programming
00000000
01100100
00000000
00000000 01100100
34
Using the operation LLD, the contents of MW212 (decimal 32 612) are loaded into the low word of marker double word MD200.
:L
:=
:LLD
:LHD
:=
34
K0
MW213
MW212
MW213
MD200
00000000
01111111
00000000
00000000 00000000 01111111
00000000
01100100
00000000
01100100
Programming
87
TLD, THD: Transfer Low Data/ Transfer High Data ³
word, doubleword
The operations TLD and THD transfer:
bytes from the word register into the signal memory, or
words from the doubleword register into the signal memory
A word consists of a high byte and a low byte. The low byte contains the less significant word part, the high byte contains the more significant word part. Accordingly, a double word consists of a high word and a low word.
With the command TLD, the user can:
define the low byte of a word as any byte, or
define the low word of a doubleword as any word
With the command THD, the user can:
define the high byte of a word as any byte, or
define the high word of a doubleword as any word
1 0 1 0 0 1 1 0
0 1 1 0 1 0 1 0
11 1 0 0 0 1 0
0 0 1 0 0 0 1 0
27
27
27
27
20
THD MB
20
TLD MB
THD MB
1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0
215
20
20
TLD MB
1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0
20
215
THD MW
20
TLD MW
1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 1 1 0 0 0 1 0 0 0 1 0 0 0 1 0
231
215
20
Examples
Using the operations TLD and THD, the contents of marker word MW219 (decimal 1 024) are transferred into low byte MB117 (0) and MB118 (4).
:L
MW219
:TLD MB217
:THD MB118
88
00000100 00000000
00000000
00000100
Programming
34
Using the operations TLD and THD, the contents of marker double word MD17
(decimal 2 097 168) are transferred into low word MW220 (16) and high word
MW221 (32).
:L
MD17
:TLD MW220
:THD MW221
00000000 00100000 00000000 00010000
00000000 00010000
00000000 00100000
The analog value EW5.1 (15 928) is loaded into the marker double word MD18.
Then the contents are loaded into the low word MW69 and the highword MW70.
:L
:=
:LLD
:LHD
:=
:L
:TLD
:THD
34
K0
MW68
EW5.1
MW68
MD18
MD18
MW69
MW70
00000000
00111110
00000000
00000000 00000000 00111110
00000000 00000000 00111110
00111110
00000000
00000000
00111000
00000000
00111000
00111000
00111000
00000000
Programming
89
Jumps (only in IL)
Inputting jump marks
When creating a network in IL, you can include conditional and unconditional
jumps within it. The mark that is entered for the jump call must also be entered
at the jump goal. Jump marks are introduced with an ”=” sign, just like formal parameters.
The jump goal should be a load instruction, in the case of arithmetic, or the start
of a logical connection, since the register is thereby initialised.
Since the register is initialised after an assignment, this has an effect on the
jump goal (see Example SPB, conditional jump)
Example: SP, unconditional jump
: A I2.1
Jump mark goals are entered to the left of
: A I2.2
the colon. You will need to move the cursor there
: = Q3.1
to do this (arrow keys or mouse). Jump marks
: SP =AM0012 consist of up to six characters. The first of
: ...
these must be a capital letter. The rest of
AM0012 : A Q3.1
the characters can be numbers, special characters or
: ...
letters, but spaces are not allowed.
Example: SPB, conditional jump with initialization
: S
I2.3
: S
I2.4
: SPB =AM0022
The jump is carried out
: ...
on a ”1” signal.
: =
M4.1
AM0022 : A
I2.5
with initialization
: ...
AM0022 : =
Q3.2
without initialization
Note
90
Reproduction of the jumps in LD and FBD is not available.
Programming
34
NOP instruction (only in IL)
The ”NOP” instruction is a dummy for an operation.
Note ILs with ”NOP” instructions cannot be reproduced in LD or
FBD.
FREE instruction (only in IL)
FREE is a dummy in instruction list. Unlike NOP, which can stand for any instruction, FREE is only valid for inputs from memories, timers and counters.
Example:
without dummy
: A
I2.1
: SV
T31
: DZB 100MS
: L
K10
: A
I.2
: R
T31
: =
Q3.1
: ***
34
:
with dummy
: A
I2.1
: SV
T31
: DZB 100MS
: L
K10
FREE
: =
Q3.1
: ***
In this network, note that
the time block cannot be
reset when it is
with dummy.
Programming
91
Arithmetic functions
Load
Arithmetic Functions are always with ”L”.
Constants
Constants K, KO and KH are loaded with operation ”L”.
Calculating
Essentially all arithmetic operations must begin with a load operation.
Example
: L
K12
: ADD MW1
Several arithmetic commands may follow each
other
: SUB MW12
: =
MW20
: ***
: L
rule.
: MUL
: ADD
: =
: ***
MW22
In the case of arithmetic there is no ”point-before-dash”
MW33
MW11
MW44
The expression <MW11> + <MW22> x <MW33> =
<MW44> must be programmed as shown
here.
It is possible to convert between data types, see ”Converting”.
Brackets cannot be used in arithmetic commands. If intermediate results are to
be used later, intermediate marker must be inserted.
Overflow markers are set when executing arithmetic operations. You will find these in the user instructions ”A120 Pocket Guide”. Each type of operand has its
own overflow marker.
If system markers are to be used, they must be called directly after the arithmetic operation.
92
Programming
34
Generating two’s complement
For BCN switches with a separate sign, the two’s complement should be calculated for negative values.
+
–
0
0
0
0
0
:
:
:
:
:
9
9
9
9
9
0 ... 32 767
I2.1 ... I2.15
I3.1
(1 = –, 0 = +)
corresponding IL:
END
34
:
:
:
:
:
:
:
:
:
:
LBW
DBB
=
A
SPZ
L
SUB
=
L
=
I2.1
ANZ
MW1
I3.1
=END
K0
MW1
MW1
MW1
MD1
Programming
93
Comparator
Comparators can only be used with operands of the same data type (in accordance with conversion rules).
If you do not require reproduction in LD/FBD, arithmetic instructions are permissible between load and comparison operations. Several instructions on bit logic
operation can precede the ”=” assignment.
=
:
:
:
:
equal to
L
MW30
==
MW31
=
Q3.1
<>
:
:
:
:
94
***
does not equal
L
MW32
<>
MW33
=
Q3.4
***
Programming
>
:
:
:
:
greater
L
>
=
than
MB30
MB31
M5.22
:
:
:
***
< less than
L
K20
<
MW51
=
Q3.3
:
***
≥ greater than/equal to
≤ less than/equal to
:
:
:
:
:
:
:
:
L
>=
=
***
MD40
MD42
M5.23
L
<=
=
K21
MW52
Q3.6
***
34
Conversion
Note Two types of processing and various operand types exist. The
possible conversions occur automatically. The user can use mixed
operand types and mixed types of processing in IL. The following
functional description makes clear how the values in the dynamic display arise.
Converting into other operand types
Logic:
Operand types without a sign
bit, byte, word and double word
Arithmetic:
Operand types with a sign
byte, word and double word
Conversion is always from a smaller to a larger operand type.
Logic: Operand type without sign; when converting, the more significant unassigned bits are filled with ”0”.
Example: Converting from MB to MW
0 0 1 0 0 0 1 0
27
20
0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0
215
20
Arithmetic: Operand types with sign; when converting, the more significant unassigned bits are filled according to sign.
More significant bits with positive values are filled with ”0”.
More significant bits with negative values are filled with ”1”.
Examples: Converting from MB to MW.
34
Programming
95
0 0 1 0 0 0 1 0
27
20
1 0 1 0 0 0 1 0
27
20
0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0
215
20
1 1 1 1 1 1 1 1 1 0 1 0 0 0 1 0
215
Conversion between two types of processing (logic ³
³ logic)
20
arithmetic, or arithmetic
The conversion from logic to arithmetic is always without sign.
The conversion from arithmetic to logic is always with sign.
96
Programming
34
ladder diagram LD
In the LD the OBs, PBs and FBsare programmable.
Per ladder diagram network, as inputs, a maximum of 16 signals in parallel and
7 signals plus output in series can be linked. There is only one output per LD
network. This cannot be negated. The valence of the output signal can be set on
a maximum of 16 contacts.
No jumps are valid in the LD, only block calls.
Processing of the called block is followed by return to behind the place that called.
In LD, a program or function block can only be alone in a network.
When generating networks in LD, one must be aware that the elements can only
be entered in certain cursor positions.
The following symbols can be selected when generating networks in LD:
normally open contact (inquiry 1 signal)
normally closed contact (inquiry 0 signal)
connector
=2k+1
exclusive OR block
connection of parallel paths
continuation in parallel path without contacts
output (not stored)
FBD elements
further elements that can be called in LD and FBD
(memories, timers, counters and comparators) can be
selected and called.
Note on FBD elements: Normally, when programming in LD, only
one FBD element per network is possible. Exceptions are several timers, counters, memories beside one another in the upper cross–
path.
34
Programming
97
possible
not possible
M0.1
M0.1
S
S
M0.2
M0.2
R
Q
S
R
Q
R
Q
S
M0.4
M0.3
R
Q
M0.1
S
M0.4
M0.2
R
Q
Figure 2 Inputting FBD elements into a ladder diagram
98
Programming
34
Function block diagram FBD
In the FBD the OBs, PBs and FBs are programmable.
Function block diagram allows a maximum of 6 FBD elements per network horizontally, and 46 input signals together with a maximum of 12 FBD elements with
two inputs each vertically. There is only one output per FBD network. This cannot be negated.
The valence of the output signal can be set on a maximum of 16 contacts .
In FBD there are no jumps, instead only block calls.
Processing of the called block is followed by return to the place from which the
call was made.
In FBD, a program or function block call must always be alone in a network.
For generating networks in FBD, it is important to note that elements can only
be entered at certain cursor positions.
The following symbols can be used for geneating networks in FBD:
&
>=1
=2k+1
FBD elements:
34
AND block
OR block
exclusive OR block
input (inquiry 1 signal)
negated input (inquiry 0 signal)
connector
The elements that can be called in LD and FBD (memories,
timers, counters and comparators) can be selected and
called.
Programming
99
FBD Elements
The FBD elements are standard blocks which you can select in the FBD or LD
Editor.
All AKF functions (FBD elements) show latching properties, i.e. following momentary power drop–out on the PLC all signals and words are unchanged. To
achieve initial state characteristics (initialisation upon voltage recovery), the system marker SM2 should be used as the initialisation input of the function.
An example of each FBD element is shown below.
Memory
RS Flipflops
dominant set
SR Memory
dominant reset
Q3.3
Q3.3
I2.1
S
I2.2
R Q
Q3.3
I2.2
R
I2.1
S Q
Q3.2
preferred state after power–on 0 (initial state) preferred state after power–on 0 (initial
Q3.3
SM2
SM2
I2.1
S
>=1
>=1
Q32
I2.2
Q3.3 I2.2
R Q
R
I2.1
>=1
Q3.3
I2.1
100
I2.2
S
I2.2
Programming
R Q
Q3.2
preferred state after power–on 1
Q3.2
SM2
I2.2
R
>=1
preferred state after power–on 1
SM2
S Q
S Q
Q3.2
Q3.3
34
Counters
CU, counter up
0 ... 32 767
Input
Z10
I2.1
ZV
Set
I2.2
S
Reset
65535
K30
I2.3
SW
Actual value
0
R
Q
Q3.1
Preset value default
SW = 2
SW = 3
SW = 2
0
Output
Figure 3 FBD element and timing diagram counter up
With a ”1” signal on reset input ”R”, the actual value and the output ”Q” are set
to ”0”.
With a 0 ³ 1 edge on set input ”S”, the setpoint value ”SW” is imported into
the set point value register. The actual value becomes ”0”. Only after at least
one setpoint value has been accepted, is a setpoint value/actual value comparison undertaken.
The permissible setpoint values ”SW” are: K, MW, ZSW
The output ”Q” is set to ”1” when the actual value is between 0 and the setpoint
value.
With a 0 ³ 1 edge on input ”CU”, the actual value is increased by 1 (up to a
maximum of 65 535) and compared with the setpoint value.
The actual and setpoint values (ZIW, ZSW) in the counter can be controlled
through the on–line list and/or initial values. The counter actual and setpoint va-
34
Programming
101
lues can be scanned via a load instruction and transferred to other operation
areas.
CD, counter down
0 ... 32 767
Input
Z12
I2.1
CD
Set
I2.2
S
Reset
IW=SW=setpoint value input
MW13
SW
I2.3
R
Actual value
Q
Q3.1
0
Output
Figure 4 FBD element and timing diagram counter down
With a ”1” signal on reset input ”R”, the actual value and the output ”Q” are set
to ”0”.
With a 0 1 edge on set input ”S”, the setpoint value ”SW” is imported into the
set point value register. The actual value is set equal to the setpoint value. Only
after at least one setpoint value has been accepted, is a setpoint value/actual
value comparison undertaken.
The permissible setpoint values ”SW” are: K, MW, ZSW
The output ”Q” is set to ”1” when the actual value is between 0 and the setpoint
value.
With a 0 1 edge on input ”CD”, the actual value is reduced by 1 (down to a
minimum of 0) and compared with the setpoint value.
The actual and setpoint values (ZIW, ZSW) in the counter can be controlled
through the on–line list and/or initial values. The actual and setpoint counter values can be scanned using a load assignment and transferred to other operand
areas.
102
Programming
34
CUD, up/down counter
–32 768 ... +32 767
Z12
I2.1
Z+ input
Z- input
Z+
Set
I2.2
Z–
Reset
I2.3
S
Output
K30
SW
I2.4
R
Actual value
Q
Q3.2
setpoint value
Preset value default
Figure 5 FBD element and timing diagram counter up, down
With a ”1” signal at reset input ”R” the actual value and the output are set to ”Q”
and the system marker SM26 to ”0”.
With a 0 1 edge on set input ”S”, the setpoint value ”SW” is imported into the
set point value register. The actual value remains unchanged. Only after at least
one setpoint value has been accepted, is a preset value/actual value comparison undertaken.
The permissible setpoint values ”SW” are: K, MW, ZSW
The output ”Q” is set to ”1” as soon as the actual value is greater than or equal
to the setpoint value.
With a 0 1 edge on input Z+, the actual value is increased by 1.
With a 0 1 edge on input Z–, the actual value is reduced by 1.
If as a result of the next count operation of the counter the actual value became
greater than 32 767 or less than -32 768, then the system marker SM26 (actual
value overflow) is set to ”1”. The system marker SM26 is updated by another counter in the user program.
34
Programming
103
The actual and setpoint values in the counter (ZIW, ZSW) can be controlled via
the Online–List. The actual and setpoint counter values can be scanned using a
load assignment and transferred to other operand areas.
Timers
TI, timer function pulse
I2.1
T30
I2.1
1^
100MS
ZB
Time
K30
SW
I2.2
I2.2
R
Q3.1
Q
Q3.1
Figure 6 FBD element and timing diagram pulse
TV, timer function extended pulse
I2.1
T31
I2.1
1^V
100MS
ZB
TSW30
SW
I2.2
R
Time
I2.2
Q
Q3.3
Q3.2
Figure 7 FBD element and timing diagram extended pulse
104
Programming
34
TE, timer function on–delay
I2.1
T32
I2.1
T-0
100MS
ZB
TSW31
SW
I2.2
R
Time
Q
Q3.3
I2.2
Q3.3
Figure 8 FBD element and timing diagram on–delay
TS, timer function stored on–delay
T33
I2.1
T-S
100MS
ZB
MW32
SW
I2.2
R
I2.1
Time
Q
Q3.3 I2.2
Q3.3
reset only possible with reset
Figure 9 FUP element and timing diagram stored on–delay timer
34
Programming
105
TA, timer function off–delay
I2.1
T34
I2.1
0–T
100MS
ZB
MW33
SW
I2.2
R
Time
I2.2
Q
Q3.3
Q3.3
Figure 10 FBD element and timing diagram off–delay
106
Programming
34
Comparator
The contents of two bytes or two words or two double words are compared. Six
different comparators can be used.
>
greater–than
MB30
P>Q
=
equal to
MW30
P=Q
MW31
<
K20
MW51
Q
Q3.1
less–than
Q3.3
>=
greater than/equal to
MD40
P>=Q
MD42
Q
Q
M5.22
not equal to
<>
MW32
P<>Q
P<Q
Q
MB31
M5.23
MW33
<=
K21
MW52
Q
Q3.4
less than/equal to
P<=Q
Q
Q3.6
When the condition described in the FBD element applies the output ”Q” is = 1.
34
Programming
107
Edge recognition
Three FBD elements are available for pulse edge detection.
FLP, Edge detection 0 –> 1
M1.10
I2.1
FLP
M11.1
FLN, Edge detection 1 –> 0
M1.10
I2.1
FLN
M11.1
FL, Edge detection 0 –>1 and 1 –> 0
M1.10
I2.1
FL
M11.1
When the condition described in the FBD element is met, the output for a cycle
”Q” = 1.
The intermediate marker (here M1.10) and the output marker (here M11.1) cannot be identical.
During network creation in FBD syntax checks are carried out by the DOLOG
AKF software, so that impermissible input is refused.
Additional information on network creation in function block diagram can be
found in the FBD editor and in the ”correction mode” of the FBD editor.
108
Programming
34
ADU 205
Note Programming for ADU 205:
In the ”Example” system supplied on diskette the function block FB2
provides you with one application.
To copy the FB2 from the example system to another station, proceed as follows:
34
Step 1
Under ”Setup”, ”system” enter the system in which you
want to insert ADU 205
Step 2
Select ”Setup”, ”PLC station”, ”PLC Station Name” and
enter a station
Step 3
Select the ”Special”, ”Copy files” menu
Step 4
Enter the following for source: A:\Example\FB2 (Note A:\
is the diskette drive in which your AKF125 diskette is inserted – this could also be B:\)
Step 5
Do not enter anything for destination (blank): the files will
be copied under the station set in Setup
Programming
109
Addressing
- ”Edit”, ”Blocks”, ”Addressing”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”PrEsetting”, ”Addressing”
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
”Dyn. status display”, <Ctrl>+<Return>, ”PrEsetting”, ”Addressing”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit Block”,..
- ”Online”, ”Dyn. status display”, ”Start display”, <Ctrl>+<Return>
”PrEsetting”, ”Addressing”
- ”Setup”, ”PLC station”, ”Addressing”
You can address all inputs, outputs, markers, marker words, etc. absolutely (e.g.
I 2.15, M 1.17) or symbolically, if you have previously created a data block.You
can toggle between the two forms of addressing.
Output monitoring
- ”Edit”, ”Blocks”, ”Output monitoring”
- ”Edit”, ”Blocks”, ”Start Entry”, present block,
<Ctrl>+<Return>, ”PrEsetting”, ”Output monitoring”
- ”Edit”, ”Blocks”, ”Start Entry”, <Ctrl>+<Return>,
”Dyn. status display”, <Ctrl>+<Return>, ”PrEsetting”,
”Output monitoring”
- ”Edit”, ”Overview”, select block, <Ctrl>+<Return>,
”Edit block”,..
- ”Online”, ”Dyn. status display”, ”Start Display”, <Ctrl>+<Return>,
”PrEsetting”, ”Output monitoring”
- ”Setup”, ”PLC station”, ”Output monitoring”
You can toggle between ”on” and ”off”.
When output monitoring is ”on” the address allocation is monitored during editing. If an output address already in use is entered again, a warning message is
given.
This draws the programmer’s attention to multiple assignments. The message
must be acknowledged.
110
Programming
34
3.3.3
Symbols and Comments
-”Edit”, ”Symbols and Comments”
This software function is used to create the data blocks. A data block contains
symbolic names and comments for absolute addresses.
You can select and call the following menu lines in the pulldown”Symbols and
Comments” menu:
Symbols and Comments
Start Input
Data Block DB
DB0
Start Entry
”Edit”, ”Symbols and Comments”, ”Start Entry”
First enter the desired number under ”data block file”.
If this DB does not yet exist it will be created automatically.
Press the <Return> key to begin editing the data block.
Data block DB
The general description of the data block is contained in the user instructions
”AKF125 for beginners”.
absolute addresses are given symbolic names and Comments to clarify the
association between the address (inputs/outputs, markers, etc.) and their
technological function
The text of the symbolic names and comments is stored in the Data block under the current station name
Activation of the DB by setting the addressing to ”SYM”
Documentation of the DB under ”Print””, ”Symbols and Comments”
Standard data block DB0 for the system markers (bit, byte snd word)
The system markers are automatically copied to each new DB
32
Programming
111
Data block Editor
The data block DB contains the assignment of symbolic names and comments
to the hardware addresses.
This assignment is made using the data block editor.
They describe how inputs, outputs, markers, marker words etc. are used within
your program.
To make input as user–friendly and simple as possible, the editor has various
menus, key macros and the line editor.
Input symbol, comment
- ”Edit”, ”Symbols and Comments”, ”Start Entry”,
<Ctrl>+<Return>
The data block is input by means of the data block editor:
When ”Start Entry” is activated the signal, symbol and comment table for the first
inputs are displayed
You can assign the hardware address symbols (maximum 8 characters) and
comments (maximum 40 characters) displayed with the following special keys,
the line editor and the key macros.
Special keys:
<²>, <³ >, < ± >, <°>
<Del>
<backspace>, < ä >
<Return>
³ (tab)
shift ² (tab)
<PgUp>
<PgDn>
<Ctrl>+<PgUp>
<Ctrl>+<PgDn>
<Home>
<End>
<Ins>
<F1> bis <F8>
<Esc>
112
Programming
Move the cursor
Delete character under cursor
Delete character to the left
End input on a line
next input field
previous input field
previous page
next page
scroll line up
scroll line down
jump to top of screen
jump to bottom of screen
insert on/off
text memory
break without saving
32
You may possibly see an asterisk (*) in front of a signal.
This means that this hardware address is not entered in the component list. You
can assign symbols and comments to these signals to use later, but you cannot
program them in the block editor.
Note Note: All changes made in this editor using its functions apply
only to the data block, not to the OB, PB, FB.
After pressing <Ctrl>+Return a window with the following functions is displayed:
Command
Exit (save)
Search Function
Search Operand
Delete Field
Copy Area
Erase Area
Move Area
Editor for Text Memory
Double assignment
on
Exit (save)
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Exit (save)”
The symbols and comments entered or changed for the hardware addresses are
saved in the preset data block under the preset station. You exit from the editor
at the same time.
32
Programming
113
Search Function
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Search Function”
If you are looking for a particular signal or a symbol which has been entered previously within the data block, use this function.
A window is displayed on the screen in which you enter the search mask. The
input is checked for errors.You can terminate with either the <Esc> key or by entering a space. If the search mask is found it will be entered in the first line of
the editor.
If a symbol sought is not present the cursor will remain in its old position and the
search will be terminated following a message.
Search Operand
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Search Operand”
Symbols and comments can be entered for the following operands:
I
O
IB
OB
Binary inputs
Binary outputs
inputs byte
outputs byte
IW inputs word
OW outputs word
ID
inputs double word
OD
outputs double word
M
Marker bit (central)
MB
Marker byte
MW Marker word
MD
Marker double word
SM
SMB
SMW
SMD
system marker bit
system marker byte
system marker word
system marker
double word
T
time (Timer)
TIW Timer actual value
TSW Timer setpoint value
Z
counter
ZIW counter actual value
ZSW counter setpoint value
An operand can be selected with:
Reference characters, by selecting the menu line with arrow keys and calling
with <Return> or the mouse.
The first possible hardware address of the operand selected is set in the first line
of the display. See also Search Function
114
Programming
32
Delete field
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Delete field”
The input field on which the cursor was positioned before the menu was called
up will be erase.
See also Erase Area
Copy Area
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Copy Area”
You can assign symbols and comments to other signals.
After selecting this function a window will be displayed on the screen.
From Signal
Till Signal
To Signal
Copy Area
:
:
:
first signal to be copied
last signal to be copied
target address
The input may be made absolutely or symbolically.
Even with symbolic Programming it is better to state the hardware addresses
when copying.
If you copy to another point you will have double symbols which you should correct.
Avoid duplicate symbols. Correct all double assignments.
32
Programming
115
Erase Area
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Erase Area”
You can erase symbols and comments in a block.
After selecting this function a window is displayed on the screen.
From Signal
Till Signal
Erase Area
:
:
First Signal to be Deleted
Last Signal to be Deleted
The input can be made absolutely or symbolically.
Move Area
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Move Area”
You can move symbols and comments as a block. After selecting this function a
window is displayed on the screen.
From Signal
Till Signal
To Signal
Move Area
:
:
:
first signal to be moved
last signal to be moved
target address
The input can be made absolutely or symbolically.
Even with symbolic programming it is better to state the hardware addresses
when moving.
116
Programming
32
Text Memory Editor
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Text Memory Editor”
You do not have to enter comments which you want to use frequently during editing again each time.
Use the convenient Text Memory Editor to assign texts of your choice to the
<F1> to <F8> keys using the line editor.
The input must not exceed 40 characters. When the appropriate function key is
pressed the text will be used in the data block editor at the current cursor position.
Note Key macros (permanent memory) can also be used instead of
the function keys.
Double assignment on/off
- ”Edit”, ”Symbols and Comments”, ”Start Entry, <Ctrl>+
<Return>, ”Double assignment on/off”
In operating mode ”on”, when symbols are input a check is made to see whether
the symbol has been assigned previously. If it is already assigned you will see
an error message where the double symbols occur. Double assignment should
be avoided. However, if you want to describe hardware addresses which have
not yet been entered in the component list you can disable the message on the
screen with this option. The status (on/off) can be seen in the status line.
DaTa block file
- ”Edit”, ”Symbols and Comments”, ”DaTa block file”
- ”Editieren”, ”Übersetzen (Datenbaustein)”, ”DaTenbausteindatei
- ”SeTup”, ”SPS-Station”, ”DaTenbausteindatei”
Here enter the number of the data block which you wish to edit. If this DB does
not yet exist it will be created automatically.
32
Programming
117
3.3.4
Equipment list
- ”Edit”, ”Equipment List”
This editor is where you specify the Hardware configuration and Presettings for
the operation of your station.
Note When entering the nodes note whether there are jumps in the
node numbers. (see A120 User Manual, chapter 3.1).
The Equipment List Editor is used for inputting or changing the I/O module types
inserted in the subrack.
After selecting this function a window is displayed in which you can edit the
equipment list.
edit equipment list
- ”Edit”, ”equipment list”, <Ctrl>+<Return>
In this menu the I/O modules are assigned to the appropriate slots in the subrack.
In addition, a comment of a maximum of 40 characters can be entered for each
entry using the line editor.
Here you have
a) a pulldown menu
b) special keys available.
118
Programming
32
a) Press <Ctrl>+<Return> in the module column and the following menu will be
offered:
Command
Exit (save)
Abort
Enter Module
Parameterize Central Controller
Switch–off Mode
Initiate Equipment list
Select ALU
b) Special keys
<Home>
<End>
<Esc>
<Del>
<backspace>, < ä >
<²>, <³ >, < ± >, <°>
³ (tab)
shift ² (tab)
<Return>
jump to top of screen
jump to bottom of screen
exit from editor
delete character under cursor
delete character to the left
Move the cursor
next input field
previous input field
Edit Comment
equipment list / exit
- ”Edit”, ”equipment List”, <Ctrl>+<Return>, ”Exit (save)”
Editing is terminated when you select this function. The equipment list entered is
checked for accuracy and saved on the user drive.
equipment list / Abort
- ”Edit”, ”equipment list”, <Ctrl>+<Return>, ”Abort”
If this function is selected and confirmed, editing is terminated. All changes are
lost after the user has acknowledged. (is equivalent to <Esc> key)
32
Programming
119
enter modules
- ”Edit”, ”equipment list”, <Ctrl>+<Return>, ”Enter modules”
This function is used to enter the modules in the equipment list.
A maximum of 18 nodes can be entered in the equipment list.
The following window is first displayed for selection :
120
Programming
32
modules Digital I/O
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>, ”Enter modules”,
”Digital I/O”
The following digital I/O modules can be entered:
32
Programming
121
modules AnalogI/O
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>, ”Enter modules”,
”AnalogI/O”
The following analog I/O modules can be entered:
Expert modules
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>, ”Enter modules”,
”Experts”
The following intelligent modules can be entered:
122
Programming
32
Other modules
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>, ”Enter modules”,
”Other”
the following modules can be entered:
Note For the ALU 201/ALU 202 the node 1 in the subrack must be
a power supply (DNP 205 or DNO 201).
Note The KOS 201 can only be assigned to one of the first three
nodes.
Delete modules
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>, ”Enter modules”,
”Delete modules”
This function is used to delete an item in the equipment list.
32
Programming
123
Parameterize Central Controller
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>, ”Parameterize Central Controller”
The controller controls the PLC. It executes the various program instructions in
line with rules laid down by the basic software.
This means:
it organises the reading in of external data and signals into the signal memory
it processes this data and performs calculations
it continuously stores the results of processing in the signal memory
organizes the output of results
During parameterization of the controller you set the number of markers, timers
and counters. To get back, press the <Esc> key.
The following entries are required:
Note The total of all markers, I/O modules, setpoint value times and
setpoint value counters must not exceed 3970 Bytes. For checking
you can see the rest of the marters to the right of the input window.
This means you can decide yourself where and how you want to
change the markers set.
Setting a marker bit
the number of markers may be between 0 and 3970 and is entered in full 32
groups. If the rest of the markers allow it, your entry will be rounded off to the
next 32 group.
The factory setting is 1600 (1.1 – 50.32).
124
Programming
32
Setting a marker byte
The number of marker bytes may be between 0 and 3970.
The factory setting is 600.
Setting a marker word
The number of marker may be between 0 and 1985.
The factory setting is 300.
Setting a marker double word
The number of marker may be between 0 and 992.
The factory setting is 100.
Setting timers
The number of timers may be between 0 und 567. The factory setting is 40.
Setting counters
The number of counters may be between 0 and 794.
The factory setting is 40.
32
Programming
125
switch–off mode
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>, ”switch–off mode”
In the event of a fault or failure of the I/O bus supply the switch–off mode determines how the outputs of the PLC react.
The switch–off mode can be specified for the individual nodes.
A menu appears in which you can toggle between ”SSP contents” and ”dominant
0” for all 18 node entries.
Normalize equipment list
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>,
”Normalize equipment list”
Here all the values in the equipment list are set to the values on delivery. All node entries will be deleted.
ALU select.
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>,
”ALU select.”
The desired ALU is selected here.
If using the ALU 201 or ALU 202 the second slot of the subrack (corresponds to
the first node) is reserved for the power supply DNP 205. When operating the
PLC with the ALU 200 no power supply is to be entered for node 1 since the
power supply is integrated into the ALU.
126
Programming
32
The following pulldown menu is available:
ALU select
Entry
ALU typ
ALU 200
Note This menu is opened automatically when you move the cursor
onto the ALU entry.
Enter
- ”Edit”, ”Equipment List”, <Ctrl>+<Return>,
”ALU select.”, ”Enter”
The ALu selected is entered in the equipment list.
ALUtype
- ”Edit”, ”Equipment list”, <Ctrl>+<Return>,
”ALU select.”, ”ALUtype”
Press <Return> to open a menu containing all the available ALUs.
32
Programming
127
3.3.5
Title Block
- ”Edit”, ”Title Block”
The following functions are available in the ”Title Block” pulldown menu:
Edit Title Block
Star Entry
Title Block name
Title.DOC
Title Block width
132
Title Block High
0
Entries are made using a title block editors.
Start Entry
- ”Edit”, ”Title Block”, ”Start Entry”
After specifying the Title Block Name, Title Block Width and height and confirming with the <Return> key you can begin editing the Title Block File.The title
block can then be used for all print operations. If the Title Block File does not
exist it will be created automatically using the following functions in the pulldown
menu.
Title Block Editor
- ”Edit”, ”Title Block”, ”Start Entry”
This editor allows you to specify the title block for all station documentation lists
to either be printed or displayed on the monitor.
The Title Block Editor uses special keys and graphics characters. Rather than
constructing your own Title Block File you can use a standard Title Block File in
which you only need to enter the current details. This standard Title Block File is
automatically copied under your station to the user drive.
128
Programming
32
You can use the following special keys to edit any text in the frame displayed.
special keys
<Del>
<backspace>, < ä >
Arrow keys
<Return>
³ (tab)
shift ² (tab)
<PgUp>
<PgDn>
<Ins>
Delete character under cursor
Delete character to the left
Move the cursor
End input of a line
by x columns to the right
by x columns to the left
shift screen to left
shift screen to right
insert on/off
Below is a printout of the title block of the example system:
graphics characters:
You can also use graphics characters when drawing a new title block. There are
created via the keyboard using the <Alt> key and the keys of the right numerical
keypad.
Press and hold down the <Alt> key.
Enter a 3–digit number using the keys of the right numerical keypad and release
the <Alt> key again.The appropriate graphic character appears on the screen at
the current cursor position.
The following graphics characters are available (3–digit number on the left, corresponding character on the right)
32
Programming
129
Figure 11 Graphics characters available in the title block editor
Title block name
- ”Edit”, ”Title Block”, ”Title Block Name”
Input the name of the title block file here which you would like to process.
The standard title block file is called ”HEAD.DOC”. The extension ”.DOC” is
usually given to title block file names.
Title block width
- ”Edit”, ”Title Block”, ”Title Block Width”
Input the required width of the title block here.
64-132 characters are permissible.
The width cannot be changed subsequently.
130
Programming
32
Title Block Height
- ”Edit”, ”Title Block”, ”Title Block Height”
Enter the number of lines you wish to have in your title block here (permissible
values 1-12).
The height cannot be changed subsequently.
32
Programming
131
3.3.6
Replacement of Signals
- ”Edit”, ”Replace Signals”
This function allows you to replace several signal addresses in your user program
with other signals (e.g. I3.1 with I3.6) or
exchange signals (e.g. I3.1 with I5.1 and I5.1 with I3.1)
In this pulldown menu you can select and call the following functions:
Replace of Signals
Start Replace
Old Signals
M1.1
New Signals
M10.1
Block list
PB
Load Block list
Store Block list
Signal lists are declared. This enables you to make relacements module–by–module, for example. In addition, the block list makes replacements block by block.
A ”*” in the block list means the whole station will be replaced.
Note Data block
Make sure that each block edited is asigned a data block. All the data blocks assigned are changed automatically, i.e.
a) the symbols and comments of the addresses to be replaced
are assigned to the new addresses
b) the entry is deleted in the replaced address
If other data blocks are to be replaced these must be declared individually in the block list.
132
Programming
32
Note Signal replacement
You can exchange signal A for signal B by proceeding as follows:
Step 1
”Old signal” A, ”New signal” Auxiliary contact, Start
Replace
Step 2
”Old signal” B, ”New signal” A, Start Replace
Step 3
”Old signal” Auxiliary contact, ”New signal” B, Start
Replace
Start Replace
- ”Edit”, ”Replace Signals”, ”Start Replace”
After declaring all the data required (see the following pulldown menu lines) a
safety check is first carried out by the software. If the new signals are unknown
to the Data block the replacement is started. If signals and comments are already present in the data block replacement does not take place until after an interrogation.
Note Repeated replacement with the same signals results in the deletion of symbols and comments.
32
Programming
133
Old or New Signals
- ”Edit”, ”Replacement of Signals”, ”Old Signals”
- ”Edit”, ”Replacement of Signals”, ”New Signals”
State here the desired addresses areas (I, O, M, TIW, SM ...) in which the replacement is to be carried out.
The following rules apply to the replacement:
The signal lists must be complete and must not contain any Replace character (e.g. * or ?)
Signal lists must be of equal length
The signal lists for ”old” and ”new” must differ (otherwise replacement makes
no sense)
Overlapping signal lists for ”old” and ”new” are possible
Examples of signal list input (according to editor)
correct
I1.1-3.16
M2.2-2.7
Q3.3
134
Programming
fincorrect
I1.8-1.1
I1.1-I3.4
Q1.1-I2.1
32
Old and new signals must have the same validity status in the equipment list
Example of signal list input (according to equipment list)
Equipment List:
Signal list input
Column1: Input module
correct
Column2: bare
”Old” I1.1-3.32
Column3: Input module
”New” I10.1-12.32
:
Column5: Input module
incorrect, where Column2 not used and Co–
lumn6 input
Column6: Input module
”Old” I1.1-3.32
Column7: Input module
”New” I5.1-7.21
:
Column10: Input module
Column11:
bare
Column12: Input module
32
Programming
135
Block list
-
”Edit”, ”Replacement of Signals”, ”Block list”
”Load”, ”Read–out PLC”, ”Block list”
”Load”, ”Compare”, ”Blocks with PLC”, ”Block list”
”Print”: ”Program protocol” / ”cross–reference list” /
”Signal assignment list”, ”Block list”
Enter here a list of the blocks to be processed. The list may consist of a maximum of 200 characters.
Permissible inputs:
*
Processing of all the blocks existing under the station
”*” is the preset.
OB, PB, FB
e.g. OB1, PB1, FB55, ...
PBxxx-yyy
e.g. PB8-19
FB10
FB10 only
In a list one declaration must be separated from the next by a comma: e.g.
PB1-19, PB23-24, FB5-8, FB13-28
You can overwrite existing entries or delete them with the <space> bar and then
replace them. This list can be saved under a name with the command ”Save
Block List” and then be reloaded when and where you wish.
Load block list
-
”Edit”, ”Replacement of Signals”, ”Load block list”
”Load”, ”Read–out PLC”, ”Load block list”
”Load”, ”Compare”, ”Blocks with PLC”, ”Load block list”
”Print”: ”Program protocol” / ”cross–reference list” /
”Signal assignment list”, ”Load block list”
The list which is programmed under ”Block list” and saved under ”Save Block
List” can be loaded using this function, if required.
The block list name should not contain a period.
136
Programming
32
Save block list
-
”Edit”, ”Replacement of Signals”, ”Save block list”
”Load”, ”Read–out PLC”, ”Save block list”
”Load”, ”Compare”, ”Blocks with PLC”, ”Save block list”
”Print”: ”Program protocol” / ”cross–reference list” /
”Signal assignment list”, ”Save block list”
The list which is input under ”Block List” can be stored under a name chosen by
the user.
If required, it can be called again using ”Load Block List”.
The block list name should not contain a period.
3.3.7
Compile (Blocks)
- ”Edit”, ”compile (blocks)”
This function compiles all the blocks of the station set (data blocks only).
After installing a new version of DOLOG AKF the old stations must be adjusted
using the function ”Compile Blocks” and thus matched to the current software
version.
3.3.8
Compile data blocks
- ”Edit”, ”compile (Data blocks)”
This function is used to compile the data block entered and thus to match it to
the current software version.
The following entries are required:
Compile Blocks
Start Compile
Data Block DB DB0
33
Programming
137
3.4
Load
The load function serves as a means of communicating with the PLC and processing the user program in the PLC.
Note Note that all the Functions except ”Link Program” and
”EPROM processing” are only possible with a properly connected
PLC.
The PLC ”A120” is only to be connected to the serial port COM1 of
the PaDT.
The EPROM programming station kit ”EPS 2000” is connected to the
serial port COM1 of the PaDT.
The following loading functions are available under this pulldown menu:
Edit
Load
Online
Print
Special
Setup
Help=F10
Linl Program
Program to PLC
Exchange Online
Read Equipment list
Read out PLC
Compare
Set Date / Time
Process EPROM
Bootload
138
Programming
33
3.4.1
Link program
- ”Load”, ”Program Link”
When this function is selected, the PLC program is generated .
Here the OB and all blocks called by the OB are together links into the run–ready SPC program.
This completely program is stored in the file ”CODE.PLC” and can then be transferred to the PLC using the function ”Program to PLC”.
Linking takes place with the link mode and ALU type set in ”Setup”, ”PLC station”.
In Link Mode you can determine the extent of the additional information to be
transferred into the PLC.
Complete Representation: This setting enables an unrestricted representation of the IL.
Here the representation is not of the symbols and comments from the data
block, but of line comments, network comments, parameter symbols and labels.
Comments, symbols and labels are identical to the original.
without comments : As complete representation, with the restriction that the
comments are no longer available.
without comments, symbols and labels: No comments, symbols or labels
are available for the representation. Only the structural information required
for reproduction are transferred to the PLC.
Without Representation: A representation is no longer possible with this setting.<F 6Ã@R@Z7@Lge>.
Automatic Adjustment: If the program is too large with complete reproduction, the link mode is switched back to the level at which the program still fits
into the PLC.
33
Programming
139
3.4.2
Program to PLC
- ”Load”, ”Program to PLC”
This function transfers the linked program and the equipment list to the PLC.
If the program file check (”CODE.PLC”) finds that an ”Online exchange” has already taken place after linking a safety inquiry is made as to whether the transfer
should really take place.
If the IL area of the PLC is equipped with an EPROM, loading is terminated.
3.4.3
Exchange online
”Load”, ”Exchange online”
- ”Edit”, ”Blocks”, ”Start entry”, ”existing block,
<Ctrl>+<Return>, ”Exchange online”
- ”Edit”, ”Overiew”, Select Block, <Ctrl>+<Return>,
”Edit Block”,..
This function allows you to load a new block into the program with the PLC running or stationary.
In addition, a existing changed block in the program can be exchanged with the
PLC running or stationary.
Note New SFBs cannot be loaded into the PLC using this function.
If new SFBs are to be loaded into the PLC the program is to be linked and loaded into the PLC.
When approaching the limit of available memory, an online exchange may no
longer be possible. In such a case, try to load the whole program into the PLC
after relinking.
140
Programming
33
The following entries are available in this menu:
Exchange
Start Exchange
Plock Number 1
Block Typ
OB
Start exchange
”Load”, ”Exchange online”
- ”Edit”, ”Blocks”, ”Start entry”, ”existing block,
<Ctrl>+<Return>, ”Exchange online”
- ”Edit”, ”Overiew”, Select Block, <Ctrl>+<Return>,
”Edit Block”,..
After determining the block to be exchanged (type and number), the exchange is
carried out.Small windows indicate at what point you are in the process.
3.4.4
Read Equipment list
- ”Load”, ”Read Equipment List”
This function reads the actual equipment of the PLC into the programming panel
and saves it in the file ”BES.DAT” (of the current station).
If ”BES.DAT” already exists in the station it will be overwritten following an inquiry!
33
Programming
141
3.4.5
Read out PLC
- ”Load”, ”Read out PLC”
This function is used to read out from the PLC:
individual blocks or
the complete program including equipment list
Then use the following functions to select the desired Block list and set the desired system and station:
Read out PLC
Start Read out
To Plant:
C:\AKF125
Station name:
BEISP
Block list
X
Load Block list
Store Block list
Start read–out
- ”Load”, ”Read out PLC”, ”Start PLC Read-Out”
After specifying the blocks to be read out (possibly present, i.e. block list to be
loaded) reading out from the PLC to the declared system and station is started.
If this system and station already exist the station will be overwritten following a
safety inquiry.
If the system and/or station do not yet exist, they will be created following confirmation.
142
Programming
33
Read out to system
- ”Load”, ”Read–out PLC”, ”To system”
Here you can determine the system to which the blocks read out will be written.
The preset for this system directory is the system set in the PLC.
Read out / Station Name
- ”Load”, ”Read–out PLC”, ”Station Name”
Here you can determine the station to which the blocks read out are written.
The preset for this Station Name is the station name set in the PLC.
33
Programming
143
3.4.6
Compare
- ”Load”, ”Compare”
These functions compare data from the AKF station in the PaDT with that in the
PLC.
The following Compare functions are available:
Compare
Block with PLC
Program with PLC
Equipment list
Compare Blocks with PLC
- ”Load”, ”Compare”, ”Blocks with PLC”
The following functions are available:
Compare Block
Start Print
Compare Mode
Title Block:
Title Block file
Output Unit
Block list
Load Block list
Store Block list
144
Programming
Byte Compare
off
Title.DOC
Monitor
*
33
Start printing
- ”Load”, ”Compare”, ”Blocks with PLC”, ”Start Print”
The blocks named in the block list are compared in the PaDT and PLC according to the specified mode.
The following example shows a successful block comparison.
Comparison Mode
”Load”, ”Compare”, ”Blocks with PLC”, ”Comparison Mode”
You can choose between the following by toggling:
Byte comparison:
Quick comparison:
33
The blocks are compared byte by byte (highest
level of certainty)
Only one test polynome is compared per block
Programming
145
Output Unit
–”Load”, ”Compare”, ”Blocks with PLC”, ”Output unit”
–”Load”, ”Compare”, ”Program with PLC”, ”Output unit”
–”Load”, ”Compare”, ”Equipment Lists”, ”Output unit”
–”Online”, ”PLC status”, ”Output unit”
–”Print”, ”Overview”, ”Output unit”
–”Print”, ”Program protocol”, ”Output unit”
–”Print”, ”Symbols and Comments”, ”Output unit”
–”Print”, ”cross–reference list”, ”Output unit”
–”Print”, ”Signal assignment list”, ”Output unit”
–”Print”, ”Equipment List”, ”Output unit”
–”Print”, ”All documentation”, ”Output unit”
”Special”, ”System information”, ”Output unit”
A menu appears from which you can choose:
Output Unit
Monitor
Printer
File
146
Programming
- output takes place page by page on the screen
- output takes place on the printer selected under ”Setup”
- output takes place into the MS–DOS file determined by the
entire path. If a file exists with the same name
as entered, then a message appears asking if the file should
be overwritten.
33
Program with PLC
- ”Load”, ”Compare”, ”Program with PLC”
This comparison checks different parameters and all the linked blocks of the entire program in the PLC with that on the PaDT.
The following functions are available:
Complete Program Compare
Start Print
Title Block
Title Block file
Output Unit
off
Title.DOC
Monitor
The following Example shows a successful program comparison.
33
Programming
147
Equipment List
- ”Load”, ”Compare”, ”Equipment Lists”
After selecting this function you will see on the screen the equipment list in the
PaDT compared with the actual equipment in the PLC.
Prior to transfer any program created must be linked to the PLC and must agree
with the equipment list of the PLC.
The following functions are available:
Compare Equipment list
Start Print
Title Block
Title Block file
Output Unit
148
Programming
off
Title.DOC
Monitor
33
3.4.7
Set Date / Time
- ”Load”, ”Set Date/Time”
This menu point is used for setting date and time for the PaDT as well as for the
PLC.
When the function Setup PLC is selected the date and time are transferred to
the PLC. This brings the system marker bytes SMB6 to SMB12 up to date.
The following functions are available:
Date / Time
Set Date
Set Time
Setting PLC
Set date
- ”Load”, ”Set date/time”, ”Set date”
In the first line you will see the date currently set on your PaDT.
This date mat be today’s date if you set the date and time on start–up or if your
PaDT has a built–in multi–function card. In diesem Fall verlassen Sie den Editor
mit der Taste <Esc>.
Enter a new date in the second line.
The entry must be repeated until a valid date has been entered or until you exit
from the editor.
Note Your PaDT’s date will be overwritten with the new date.
Here is an example of a valid input: (Date,Month,Year)
12.3.1989 12 3 1989 12/3/1989 12,3,1989 12-3-1989 12:3:1989
33
Programming
149
Set time
- ”Load”, ”Set date/time”, ”Set time”
In the first line you will see the time currently set on your PaDT.
This time may be the current time if you set the date and time on start–up or if
your PaDT has a built–in multi–function card. In diesem Fall verlassen Sie den
Editor mit der Taste <Esc>.
Enter a new time in the second line. Die Eingabe muß wiederholt werden, bis eine gültige Zeit eingegeben wurde oder der Editor mit <Esc> verlassen wird.
Note Your PaDT’s time will be overwritten with the new time.
Here is an example of a valid input: (Hours,Minutes,Seconds)
12.13.19 12 13 19 12/13/19 12,13,19 12-13-19 12:13:19
SEtting PLC
- ”Load”, ”Set Date/Time”, ”PLC Set Up”
If you have just entered the new time and date, these will be sent to the PLC.If
no new setting has been made the system date and time will be sent to the PLC.
Then, the system markers SMB6 to SMB12 in the PLC are brought up to date.
The date and time of the system can also be set on the PaDT using the operating system functions ’Date’ and ’Time’ after power–up (or warm restart).
150
Programming
33
3.4.8
Process EPROM
- ”Load”, ”Edit EPROM”
Note The EPROM programming station kit ”EPS 2000” is connected
to the serial port COM1 of the PaDT.
The file created during linking can be burned into the EPROM or compared with
the EPROM’s contents, using the ”EPS 2000” programming station.
In this menu the following functions are available:
Process EPROM
Test if empty
Program EPROM
Compare EPROM
Read PLC
Test if empty
- ”Load”, ”Edit EPROM”, ”Test if empty”
In this function all the memory cells of the EPROM are checked to see if they
are empty, i.e. hexadecimal ’FF’.
33
Programming
151
Program EPROM
- ”Load”, ”Edit EPROM”, ”Program EPROM”
This function is used to program EPROMs with the user program and the equipment list (File ”CODE.PLC”). The file was created either through ”Link Program”
(see Kapitel 3.4.1) oder durch Kopieren nach ”SPS Lesen” (s. below).
The transmission depends on the Setup setting and the ALU type.
ALU 201 and ALU 202
”Setup”, ”PLC station” as ”Memory Variant” ”EPROM”
This function is used to transfer the equipment list and the user program to
the EPROM in the programming station. EPROMtype: 1 Mbit EPROM
(PC001)
Step 1
In ”Setup”, ”PLC station” enter ”EPROM” as the ”Memory
Variant”.
If you want to transfer a new program, continue with Step 2.
If you want to transfer a program read out from the PLC, go to Step 3.
Step 2
Link the program under ”Load”, ”Link Program” and go to
Step 4.
Step 3
Copy the file ”CODEAUS.120” as ”CODE.PLC”.
Step 4
Attach the empty EPROM in EPS 2000.
Step 5
Start the function ”Load”, ”Edit EPROM”, ”Program
EPROM”.
”Setup”, ”PLC station” as ”Memory Variant” ”RAM”
setting is invalid.
152
Programming
33
ALU 200
”Setup”, ”PLC station” as ”Memory Variant” ”EPROM”
This function is used to transfer the basic software, the equipment list and the
user program to the EPROM in the programming station. EPROMtype: 512
kBit EPROM
Step 1
In ”Setup”, ”PLC station” enter ”EPROM” as the ”Memory
Variant”.
If you want to transfer a new program, continue with Step 2.
If you want to transfer a program read out from the PLC, go to Step 3.
Step 2
Link the program under ”Load”, ”Link Program” and go to
Step 4.
Step 3
Copy the file ”CODEAUS.120” as ”CODE.PLC”.
Step 4
Attach the empty EPROM in EPS 2000.
Step 5
Start the function ”Load”, ”Edit EPROM”, ”Program
EPROM”.
”Setup”, ”PLC station” as ”Memory Variant” ”RAM”
Programming the basic software on EPROM. EPROMtype: 512 kBit EPROM
During installation the basic software is also installed on the PaDT.
It can now only be programmed on EPROMs as follows.
33
Step 1
In ”Setup”, ”PLC station” enter ”RAM” as the ”Memory Variant”.
Step 2
Attach the empty EPROM in EPS 2000.
Step 3
Start the function ”Load”, ”Edit EPROM”, ”Program
EPROM”.
Programming
153
Compare EPROM
”Load”, ”Edit EPROM”, ”Compare EPROM”
This function compares the contents of the EPROM file ”CODE.PLC” and
EPROM.
The EPROM is divided into four pages. The comaprison is carried out for each
page.
Read PLC
- ”Load”, ”Edit EPROM”, ”Read PLC
First interconnect the PLC with the PaDT via the serial port COM1
.
This function transfers the complete user program and the equipment list from
the PLC into the PaDT (in file ”CODEAUS.120”). Its content is identical to the file
”CODE.PLC”, from which the user program was transferred.
The file can be backed up and restored, so that if necessary the same EPROMs
can be burned again and again.
If the file is used to program further EPROMs, it should be copied to the name
”CODE.PLC”. Instead of the PLC the EPS 2000 must now be connected to the
serial port of the PaDT.
154
Programming
33
3.4.9
Bootload
- ”Load”, ”Bootload”
This function is used to load the basic software into the RAM structure of an
ALU 201L or ALU 202L (”RAM ALU”). To do so, make an ordinary connection
between the PLC and PaDT (RS–232C).
Bootloading via the programming interface (PaDT) will be carried out if:
no PC001 is inserted
a blank PC001 is inserted
the PC001 contains only the user program (e.g. ALU bootloaded and with
AKF125 user program V. 4.0 on PC001)
Bootloading of the PC001 will be carried out if:
the PC001 contains the basic software and the user program (e.g. ALU bootloaded and with AKF125 user program V. 4.0 on PC001)
With a PC001 programmed with AKF125 and the PaDT-ALU connection the basic software will always be loaded from the PC001. The ”Bootload” function then
brings about the GSW lading from the PC001.
Note The yellow LED on the ALU flashes until the basic software is
loaded or in the event of a transmission error. The function ”Bootload”
must then be carried out. For the meaning of the various flashing frequencies please see the module description for the corresponding
ALU.
Note The procedure for switching from ALU 201/ALU 202 to ALU
201L/ALU 202L may be found in the user instructions ”How do I proceed?”
33
Programming
155
3.5
Online
The online functions are used to test the program in the programmable controller.
Note Note that all the Functions except ”Link Program” and
”EPROM processing” are only possible with a properly connected
PLC.
The PLC ”A120” is only to be connected to the serial port COM1 of
the PaDT.
The EPROM programming station kit ”EPS 2000” is connected to the
serial port COM1 of the PaDT.
In order to be able to carry out a dynamic state display with the ALU
200, DIP switch B2 must be set to ”OFF”.
The following online functions are selectable:
Edit
Load
Online
Print
Special
Setup
Help=F10
Start PLC
Stop PLC
Dynamic Status Display
Online list
PLC Status
3.5.1
Start PLC
- ”Online”, ”Start PLC”
This function is used to start the program in the programmable controller.
Before the PLC program is started, the start must be acknowledged.
After the start the status line is updated (PLC active).
156
Programming
33
3.5.2
StOp PLC
- ”Online”, ”Stop PLC”
This function is used to stop the program in the programmable controller and to
update the state display of the programmable controller.
Prior to stopping the programmable controller, an acknowledgement is required.
After stopping the status line is updated (PLC stopped).
3.5.3
Dynamic status Display
- ”Online”, ”Dyn. Status display”
The dynamic condition of a program in the programmable controller can be displayed by using this function.
After selecting this menu line the following functions first appear:
Dynamic Status Display
Current Display
Triggered Recording
Output Mode
IL
Addressing
ABS
33
IL/LD/FBD
SYM/ABS
Programming
157
Current display
”Online”, ”Dyn. status display”, ”Current display”
In this form of display, updated information on changing signals is taken into account. The following functions can be selected:
Current Display
Start Display
1
Block Number:
Block Typ
OB
Network Number:
1
1 – 999
OB/PB/FB
1 – 999
Start Display
- ”Online”, ”dynamic state display”, ”Current display”, ”
Start Display”
After you have selected all the other functions as desired, use this line to start
the display.
Display dynamically
- ”Online”, ”dynamic state display”, ”Current display”, ” Start display”,
Ctrl>+<Return>
- ”Edit”, ”Block”, ”Start entry”, <Ctrl>+<Return>,
”Modify”, ”dynamic state display”, <Ctrl>+<Return>
A pulldown menu is now displayed with which you can carry out various operations during the dynamic display.
You are in dynamic display mode.
158
Programming
33
a) By pressing the <Return>-key you can select the following functions:
Dynamic Status Display
Scroll Forwards
Scroll Backwards
Break
Search Signal
Search Network
MW–Mode
Online list
Start PLC
Stop PLC
Display NW Comment
Presetting
With the <Esc>-key you close the window again.
b) You can carry out the following functions with the special keys:
<PgDn>
<PgUp>
<>
<>
<Esc>
33
page to the next network
page to the previous network
move cursor up
move cursor down
abort the the dynamic status display
Programming
159
Scroll forward / scroll backwards
- ”Online”, ”Dynamic status display”, ”Current display”, or.
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Page up”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, ”Page up”
- ”Online”, ”Dynamic status display”, ”Current display”, or
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Page down”
- ”Edit”, ”Blocks”, ”Star entry”, <Ctrl>+<Return>, ”Modify”,
”Dynamic status display”, <Ctrl>+<Return>, ”Page down”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function is used for paging up and down, network by network, within the selected block.
abort
- ”Online”, ”Dynamic status display”, ”Current display”, or.
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Abort”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, ”Abort”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
After selecting this function the dynamic display is terminated.
After selecting the <Return>-key, you can start this function.
Use <Esc>-key to close the window again.
160
Programming
33
Signal search
- ”Online”, ”Dynamic status display”, ”Current display”, or.
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Search Signal”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, Search signal”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function allows you to search for a signal in the block selected. Geben Sie
dazu das gewünschte Signal bei ”Bezeichner” ein und bestätigen Sie mit <Return>. Die Suchrichtung wird durch vorangestelltes <+> (vorwärts) bzw. <–>
(rückwärts) vorgegeben.
Network search
- ”Online”, ”Dynamic status display”, ”Current display”, or.
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Search network”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, Search network”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function enables you to search for a network in the block selected. Geben
Sie dazu das gewünschte Netzwerk ein und bestätigen Sie mit <Return>.
33
Programming
161
MW mode
- ”Online”, ”Dynamic status display”, ”Current display”,
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”MW–mode”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, ”MW–Mode”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
IL
The status line always displays the symbol and the comment for the signal selected with the cursor.
The following are displayed in the IL line.:
MW mode = off
signal status in decimal and the line comments
MW mode = on
signal status in decimal and binary
LD/FBD
The following are displayed in the status line:
MW mode = off
symbol and comment of the signal selected
MW mode = on
signal and signal status in decimal, binary, hexadecimal
and ASCII
Mit der <Esc>-Taste schließen Sie das Fenster wieder.
Online-List
- ”Online”, ”Dynamic status display”, ”Current display”, or
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Online list”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, ”Online list”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function allows you to edit the lists within the dynamic status display. It is
described under ”Online–List”.
162
Programming
33
Start PLC
- ”Online”, ”Dynamic status display”, ”Current display”, or
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Start PLC”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, ”Start PLC”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function makes it possible to start the user program in the programmable
controller during the dynamic status Display.
Stop PLC
- ”Online”, ”Dynamic status display”, ”Current display”, or
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Stop PLC”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, ”Stop PLC”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function is used to stop the user program in the programmable controller
during the dynamic status Display.
NW–Display comments
- ”Online”, ”Dynamic status display”, ”Current display”, or
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Display network comments”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, ”Display network comments”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
The network comment generated in a window under ”Edit” can be retrieved at
this point.
33
Programming
163
PrEsetting
- ”Online”, ”Dynamic status display”, ”Current display”, or
”Triggered recording”, ”Start display”, <Ctrl>+<Return>,
”Presetting”
- ”Edit”, ”Blocks”, ”Satrt entry”, <Ctrl>+<Return>,
”Modify”, ”Dynamic status display”, <Ctrl>+<Return>, ”Presetting”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
You can select the following functions at this point:
Select Status Display Setting
Input Mode
IL
Adressing:
ABS
Data Bolck DB
DB0
164
Programming
IL/LD/FBD
ABS/SYM
DB0 – DB9
33
triggered recording
- ”Online”, ”Dynamic Status Display”, ”Triggered Recording”
The signal status of selected signals is recorded over several cycles.
Caution This function requires the programmable controller to
be in scan.
The following functions can be carried out in the pulldown menu:
Triggered Recording
Start Display
IL
Trigger conditions
Block list:
*
Online list:
Start Display
- ”Online”, ”dynamic state display”, ”triggered recording”,
”Start Display”
Once the signals to be recorded and the trigger conditions have been fixed, the
function is stated with this menu line.
First of all two message windows appear. With the first window you can abort
this function sinc recording (with<Esc>-key). The second window shows the ready message with the number of records made.
Network 1 of the first block (first record) is then overlaid.
33
Programming
165
Triggered display
- ”Online”, ”Dynamic status display”, ”Triggered recording”,
”Start display”, <Ctrl>+<Return>
a)A window appears on the right hand side of the screen with the following functions:
Dynamic Display
Scroll Forwards
Scroll Backwards
Break
Search Signal
Search Network
MW–Mode
Online list
Start PLC
Stop PLC
Display NW Comment
Select Block
Next Recording
Previous Recording
Select Recording
Presetting
b) The following special keys are available outside the pulldown menu:
<PgDn>
<PgUp>
<>
<>
<Esc>
166
page to the next network
page to the previous network
move cursor up
move cursor down
abort the the dynamic status display
Programming
33
Choose Block
- ”Online”, ”Dynamic status display”, ”Triggered recording”,
”Start display”, <Ctrl>+<Return>,”Select Block”
Use this function to select any block you like. The following menu is displayed
for this
Block Number
Block Typ:
Network Number:
Select Block
1
OB
1
1 – 999
OB/PB/FB
1 – 999
next Recording
- ”Online”, ”Dynamic status display”, ”Triggered recording”,
”Start display”, <Ctrl>+<Return>,”Next Recording”
Use this function to select the next recording. The recording number may be
found in the footer line in the bottom right of the screen.
previous recording
- ”Online”, ”Dynamic status display”, ”Triggered recording”,
”Start display”, <Ctrl>+<Return>,”Previous Recording”
Use this function to select previous recordings. The record number is in the bottom line, in the bottom right hand corner of the screen.
33
Programming
167
Choose Recording
- ”Online”, ”Dynamic status display”, ”Triggered recording”,
”Start display”, <Ctrl>+<Return>,”Select Recording”
This function is used for displaying any desired recording The record number is
in the bottom line, in the bottom right hand corner of the screen. The following
menu is used for selection:
Records (1–10)
No. of Run–on’s:
Run–on Number:
1
2
0
Number of recordings incl. run–ons
Starting number of run–ons
Number of run–on selected
TriggerConditions
- ”Online”, ”Dynamic Status Display”, ”Triggered Recording”,
”Trigger Conditions”
To carry out triggering, various conditions should be laid down in the ”Trigger
Conditions” menu:
the
the
the
the
condition for carrying out a recording
condition for starting the recording(Start condition)
condition for stopping the recording(Stop condition)
number of records after the stop condition (run–on)
The following pulldown menu is available:
168
Programming
33
For each of the record, start and stop conditions, select one of the following
functions from the right hand window and use <Return> to transfer it to the left
hand window.
Unconditional
Status 0
Status 1
Transition 0 1
Transition 1 0
Any Transition l
<= Trigger level
>= Trigger level
Condition always applies
Condition applies, if signal status is 0 (low)
Condition applies, if signal status is 1 (high)
Condition applies, if status transition 0 to 1
(positive edge)
Condition applies, if status transition 1 to 0
(negative edge)
Condition applies for each status transition
Condition applies if signal (Byte, Word oder
Double word) is less than or equal to the entered
trigger level
Condition applies if signal (Byte, Word oder
Double word) is greater than or equal to the entered
trigger level
The associated signal address (symbolic or absolute) is then declared. When
setting the condition ”Uncond’al” this statement is not made. In this case signal
declarations which already exist are ignored.
In addition, the declaration of the run–ons is entered (0 – N).
All entries will entered with the <Esc>-key, if they are correct.
33
Programming
169
Examples of triggerted status display
Note The figures for the time sequences of the various conditions
do not show the value signals (0 or 1) but the ”meeting” of the specified condition (yes or no).
a) Triggering on state ”1”, with run–on records
Timing diagram
Trigger conditions
Rec. Cond.
Start Cond.
Stop Cond.
run–on
Rec.
Scans
Recording conditionunconditional
Record signal
Start condition
State 1
Start signal
M4.4
Stop condition
State 1
Stop signal
M4.4
Number of run–on records
1
b) Pre-triggering on positive edge
Timing diagram
Trigger conditions
Rec. Cond.
Start Cond.
Stop Cond.
run–on
Rec.
Scans
Recording conditionunconditional
Record signal
Start condition
unconditional
Start signal
Stop condition
Transition 0-1
Stop signal
M4.5
Number of run–ons
0
c) Mid-triggering on positive edge, run–ons
Timing diagram
Trigger conditions
Rec. Cond.
Start Cond.
Stop Cond.
run–on
Rec.
Scans
Recording conditionunconditional
Record signal
Start Condition
unconditional
Start signal
Stop condition
Transition 0-1
Stop signal
M4.6
Number of run–ons
5
170
Programming
33
d) Recording of all the changes in Marker M4.7 until Marker M4.8 enters
state ”1”. If the available memory is insufficient for saving all the recordings,
at least the events can be counted.
Timing diagram
Trigger conditions
Rec. Cond.
Start Cond.
Stop Cond.
run–on
Rec.
Scans
Recording conditionany change
Record Signal
M4.7
Start condition
unconditional
Start Signal
Stop condition
State 1
Stop Signal
M4.8
Number of run–ons
0
Output mode
- ”Online”, ”Dyn. status display”, ”Output mode”
- ”Print”, ”Program protocol”, ”Output mode”
In this menu line, you can choose the mode of output of your program listing.
Available modes are instruction list (IL), ladder diagram (LD) and function block
diagram (FBD).
Select by toggling between the modes.
The following example shows the same program in three output modes:
:A
:A
:=
I1.2
I1.3
Q4.3
IL
I1.2
I1.3
Q4.3
I1.2
&
()
I1.3
LD
Q4.3
FBD
Online–List
- ”Online”, ”Dynamic Status Display”, ”Triggered Recording”,
”Online List”
If you enter a name in the online list under ”Triggered Recording”, the signals in
the list will also be recorded. Thus an extended program investigation is possible.
33
Programming
171
3.5.4
Online-Liste
- ”Online”,”Online list”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This list is used for testing, checking and monitoring of the user program in the
PLC. For this, access is made directly to the signal memory of the PLC.
You may edit several lists per station. Each list may include status, control and
forcing instructions.
If you select this function the following window first appears:
Online list
Load Online list
Delete Online list
Load On–line List
- ”Online”, ”Online list”, ”Load Online list”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function is used to load and to call up the online lists. Several lists can be
created for each station. The lists are station-specific.
When the function is selected, a menu line is displayed to enter a name. If lists
already exist, the latest list edited is displayed. Dieser Name kann mit <Return>
bestätigt oder mit dem Lineeditor geändert werden. Zusätzlich erscheint mit einem Leerzeichen und <Return> ein Fenster, in dem Sie mit den Cursortasten eine bereits vorhandene Liste auswählen können.
Now the window appears in which you can edit and run the online list.
172
Programming
33
Edit Online–List
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
A window with four columns appears.
Column 1
Column 2
Column 3
Column 4
Signals can be displayed (status), controlled, and forced.
Once the list has been entered, you can use the <Ctrl>+<Return>–keys to process (execute) the list with a pulldown-menu.
33
Programming
173
Column 1 (ID)
To set individual signals without having to discard the entire list, the following
identifiers (ID) are possible.
KE
brings about
F
FE
S
SE
”nothing”
marker set to force, not Active
force on, current signal becomes active on power–up
marker set to control, not active
control on, current signal becomes active on power–up
status display active after selection
Column 2 (signal)
The following Signal types are possible for the individual parts of the list (see also Chapter 3.1).
Operand
Status
Control
Force
I
IB
IW
ID
O
OB
QW
QD
M
MB
MW
MD
SM (bit)
SMB
SMW
SMD
T
TIW
TSW
C
CIW
CSW
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
not possible
not possible
not possible
not possible
not possible
not possible
possible
not possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
possible
not possible
not possible
not possible
not possible
not possible
not possible
possible
not possible
possible
possible
174
Programming
33
Column 3 (FRM)
The format of the signal value from column 4 is declared in this column.
The following formats are available:
FRM
Format
Example of signal value
ASC
BIN
DEZ
GLP
HEX
ASCII
binary
decimal
float. point
hexadecimal
Otto
11011001
1234567890
12.234
9AFF
Column 4 (Forcing/Status/Control Value)
In this column the signal content is displayed in the format selected under ”FRM”
(see also Column 3).
Edit
A new list can immediately be edited (see header of the list).
The following special keys can be used when editing:
<²>, <³ >, <± >, <°>
<Esc>
<tab>
<Shift>+<tab>
<PgUp>
<PgDn>
<backspace>
<Del>
33
Move Cursor
in the ”edit”-Mode: Abort
in the ”active” mode: switch in the ”edit”-Mode
Cursor to the next input field of a line
Cursor to the previous input field of a line
Page the list back one page
Page the list forward one page
Delete character to the left of the cursor
Delete character above the cursor
Programming
175
Once the list has been entered, you can use the <Ctrl>+<Return>–keys to process (execute) the list with a Online-menu.
Online Functions
Status Display
Switch on Control
UPdate Force
Force & Control
Switch of Force
Enter Force Status
Edit Online list
Store Online list
Terminate
Abort
status display
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”Status display”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”Status display”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
After selecting this function, the entire online list changes to the ”active” state
(display in the header) and cannot be edited. In this mode, the current actual values of all signals entered in the list are cyclically scanned by the PLC and displayed in the column for the signal value. You can display them in the numerical
system in the ”Format” column.
The keys < ² >,< ³ >,< ° > und < ± > retain their functions even if the list is
active. You are also provided with the functions of the online menu except for the
functions ”Status Display” (already active) and ”Accept Force Status”.
To go back to ”Edit”–mode from the active list, press <Esc> or use the ”Edit Online list”(Online menu). Simultaneously the status display becomes inactive again
and any signal values already overwritten automatically return.
176
Programming
33
Control Enable
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”Control enable”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”Control enable”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
All signals available in the list with the identifier ”CO” (Control On) are controlled
to the corresponding signal value, after this function has been selected. Controlling is effective only within the space of one program scan of the PLC. The state
of the signals controlled remains until the signals are overwritten with new values
by the program in the PLC or by functions of the online list (forcing, control).
Signals with the identifier ”C” are not controlled! The identifier ”S” is merely a
classification of the signal and is required for editing.
Update Force
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”Update force”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”Update force”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
Signals of the online list with the identifier ”FO” (Forcing On) are forced to the
corresponding signal value, after this function is selected. Forcing remains active
until explicitly disabled. Use the function ”Force Completely Off” (online menu) to
terminate forcing. It can also be disabled by changing the identifier for the signal
in question from ”FO” to ”F”, then performing the function ”Update Force”. A forced signal is recognisably by a change in color.
33
Programming
177
Force & Control
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”force & control”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”force & control”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function combines the two functions ”Control On” and ”Update Force”. Forcing and control of the signals then takes place at the same time.
Force Completely off
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”force completely off”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”force completely off”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
Forcing is inactive for all signals currently being forced. The respective identifiers
remain unchanged.
Accept Force Status
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”Accept force status”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”Accept force status”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
If some signals which are not entered in the selected online list are forced in the
PLC through previous operations, this function can be used to adjust the list to
the status in the PLC.
Missing entries are always inserted behind the last list entry. If a F-signal is in
the list but is forced with a different Signal value to that in the PLC, then the si-
178
Programming
33
gnal is given the value from the PLC. Superfluous force signals present in the
Online List are not affected by this function.
Edit Online–List
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”Edit Online list”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”Edit Online list”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
Use this function if you want an active online list (with the entry ”active” in the
first line) to be in the ”edit” state. Only in the ”edit” state you can make changes
in the list.
Die gleiche Funktion ist mit Taste <Esc> möglich.
Store Online List
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”Store Online list”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”Store Online list”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function is used to store the list under the current station. The new file name may be selected as desired. Wird ein Leerzeichen und <Return> eingegeben, erscheint ein Fenster mit allen bisher verfügbaren Listen. The list is stored
under the name selected. Do not quit the list editor.
33
Programming
179
Exit
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”Exit”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”Exit”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function is used to end and store the list.
Abort
- ”Online”, ”Online list”, ”Load Online list”, Name, <Return>
<Ctrl>+<Return>,”abort”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Load Online list, ”Name, <Return>,
<Ctrl>+<Return>,”abort”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
With ths function you quit the list without storing it.
Delete Online list
- ”Online”, ”Online list”, ”Delete Online list”
– ”Online”, ”Dynamic status display”, ”Start display”, <Ctrl>+<Return>,
”Online list”, ”Delete Online list”
- ”Edit”, ”Overview”, Select Block, <Ctrl>+<Return>,
”Edit Block”..
This function erases the list selected from the station directory.
180
Programming
33
3.5.5
PLC status
- ”Online”, ”PLC Status”
You can output the following list on the screen, on the printer set in ”Setup” or in
a file.
This on-line function is used to display different parameters and system markers
of the PLC. The following figure shows only a segment of the printout.
33
Programming
181
3.6
Print
You can output different presentations and lists on the printer, the screen or in a
file.
Select the reference characters to select the corresponding menu line directly.
Another way of getting into the sub–menu is to move the cursor to the appropriate menu line and press <Return>.
The following functions are available in this pulldown menu:
Edit
Load
Online
Print
Special
Setup
Help=F10
Overview
Program Protocoll
Symbols and Comments
Cross–Reference list
Signal assignement list
Equipment list
Complete Documentation
182
Programming
33
3.6.1
Overview
- ”Print”, ”Overview”
At this point you can print out the program overview created under ”Edit”, ”Overview”.
The following functions are available:
Start printing
-
”Print”, ”Overview”, ”Start printing”
”Print”, ”Program protocol”, ”Start printing”
”Print”, ”Symbols and Comments”, ”Start printing”
”Print”, ”Cross–reference list”, ”Start printing”
”Print”, ”Signal assignment list”, ”Start printing”
”Print”, ”Equipment List”, ”Start printing
”Print”, ”Complete Documentation”, ”Start printing”
”Load”, ”Compare”, ”Blocks with PLC”, ”Start printing”
”Load”, ”Compare”, ”Program with PLC”, ”Start printing”
”Load”, ”Compare”, ”Equipment List”, ”Start printing”
”Online”, ”PLC status”, ”Start printing”
”Special”, ”System information”, ”Start printing”
You can use this function to start the printout in accordance with the other entries in the pulldown menu.
33
Programming
183
Title Block
-
”Load”, ”Compare”, ”Blocks with PLC”, ”Title Block”
”Load”, ”Compare”, ”Program with PLC”, ”Title Block”
”Load”, ”Compare”, ”Equipment List”, ”Title Block”
”Online”, ”PLC status”, ”Title Block”
”Print”, ”Overview”, ”Title Block”
”Print”, ”Program protocol”, ”Title Block”
”Print”, ”Symbols and Comments”, ”Title Block”
”Print”, ”Cross–reference list”, ”Title Block”
”Print”, ”Signal assignment list”, ”Title Block”
”Print”, ”Equipment List”, ”Title Block”
”Print”, ”Complete documentation”, ”Title Block”
”Special”, ”System information”, ”Title Block”
You can print with it the Title Block which you created using ”Edit”, ”Title Block”
or which is provided as standard under the name ”HEAD.DOC”.
You can toggle between ”on” and ”off”.
The entry ”on” means that the Title Block whose file name is entered under the
menu line ”title block file” will appear on the printout.If the header desired is not
under the station with the entry ”one”, then the output is rejected with an error
message.
184
Programming
33
header file
-
”Load”, ”Compare”, ”Blocks with PLC”, ”header file”
”Load”, ”Compare”, ”Program with PLC”, ”header file”
”Load”, ”Compare”, ”Equipment List”, ”header file”
”Online”, ”PLC status”, ”Title Block”
”Print”, ”Overview”, ”header file”
”Print”, ”Program protocol”, ”header file”
”Print”, ”Symbols and Comments”, ”header file”
”Print”, ”Cross–reference list”, ”header file”
”Print”, ”Signal assignment list”, ”header file”
”Print”, ”Equipment List”, ”header file”
”Print”, ”Complete documentation”, ”header file”
”Special”, ”System information”, ”header file”
Here you should enter the name of a header file which exist under the station if
you actigated the entry ”one” in the ”Title Block” menu line. Otherwise, when
starting the printing process, you will receive the message, ”Header not found”.
Press any key.”
You must then enter either the name of another header file exisiting under the
station or copy the header file created previously under this station in the ”Special”, ”Copy” menu line.
You can enter the file name with the line editor.
Start Page number
-
”Print”,
”Print”,
”Print”,
”Print”,
”Print”,
”Print”,
”Print”,
”Overview”, ”Start Page number”
”Program protocol”, ”Start Page number”
”Symbols and Comments”, ”Start Page number”
”cross–reference list”, ”Start Page number”
”Signal assignment list”, ”Start Page number”
”Equipment List”, ”Start Page number”
”Complete documentation”, ”Start Page number”
With this function, you can enter the page number (1 to 9999) for the first page
of the printout.
In block–wide page mode each block or each list is started anew.
The output is continuously numbered if the page mode is continuous.
33
Programming
185
3.6.2
Program protocol
- ”Print”, ”Program Protocol”
This function can be used to output your user program (OB, PB, FB) which you
created under ”Edit”, ”blocks” in IL, LD or FBD to a printer, screen or file.
In this pulldown menu you can select and call the following functions:
Symbols and Comments
- ”Print”, ”Program protocol”, ”Symbols and Comments”
- ”Print”, ”cross–reference list”, ”Symbols/Comments”
You can toggle between ”on” and ”off”.
The entry ”on” means that the symbolic names and comments which you assigned to the individual signals (inputs, outputs, markers, etc.) appear next to the
signals as additional information on output.
The entry ”off” prevents this Additional information (Symbolic names and comments) from appearing in the program protocol or cross–reference list.
186
Programming
33
local cross reference list
- ”Print”, ”program protocol”, ”local cross reference list”
The local cross–reference lists contain all the inputs, outputs, markers, etc.
which you have used (in the blocks according to the Block list). In addition, the
networks of the blocks in question in which the addresses occur is stated.
You can toggle between ”on” and ”off”.
The entry ”on” means that the local cross reference list appears in the program
protocol.
On printout the networks in which the signals additionally occur is then stated for
each block:
IL/LD/FBDentry ”is used in NW: 1(I) 4(O)” means:
the signal inquired about appears in network 1 as an input
(I) and in network 4 as an output (O)
Page mode
- ”Print”, ”program protocol”, ”Page mode”
- ”Print”, ”cross–reference list”, ”Page mode”
- ”Print”, ”Signal assignment list”, ”Page mode”
Using this function, you can determine how the page numbering should be carried out by toggling:
continuously
by block
33
the starting page number is specified only at the beginning,
then counting up through the various blocks of the listt
numbering starts again with each new block / each new list
(with Start Page number)
Programming
187
3.6.3
Symbols and Comments
- ”Print”, ”Symbols and Comments”
You can print out the signals (inputs, outputs, markers, etc.) to which you assigned symbolic names and comments under ”Edit”, ”Symbols and Comments”.
The following functions are available under this pulldown menu:
Print Symbols and Comments
Start Print
Data Block DB
DB0
off
Title Block
Title.DOC
Title Block file
Monitor
Output Unit
Signal List
*
Start Page Number:
1
DaTa block file (DB number)
- ”Print”, ”Symbols and Comments”, ”Data Block file”
- ”Print”, ”cross–reference list”, ”Data Block file”
A data block (FB0 to DB9) editied previously in the menu item ”Edit”, ”Symbols
and Comments” is specified here.
188
Programming
33
Signal list
- ”Print”, ”Symbols and Comments”, ”Signal List”
- ”Print”, ”Cross–Reference List”, ”Signal List”
- ”Print”, ”Signal assignment list”, ”Signal List”
Here you must enter the signal areas for which you want to create cross–reference lists or allocation lists.
For example, the following entries are available (with line editor):
”*”
: all the inputs, outputs, markets, marker words, etc.
existing under the station
”operand” (I,O,M etc.) : all the signals of an operand
”Operand x.y-a.b”
: signals of the operand from x.y to a.b
”Operand x.y”
: only one particular signal
Multiple entries in these menu lines must be separated by commas (without spaces).
33
Programming
189
3.6.4
cross–reference list
- ”Print”, ”Cross–Reference List”
All the inputs, outputs, markers, etc. which have been used by you in the cross
reference list are listed and the parts of the program in which they appear are
specified.
Here you can output either the global, i.e. across blocks, cross–reference list or
the local, i.e. block–wise, cross–reference list.
The following functions are available under this pulldown menu:
Print Cross Reference list
Start Print
Data Block DB
DB0
Symbol / Comment
on
off
Title Block
Title.DOC
Title Block file
Monitor
Output Unit
Cross Reference Mode Local (blockwise)
Signal List
*
Block list
OB1
Load Block list
Store Block list
Page Mode
Blockwise
Start Page Number:
1
190
Programming
33
Cross–reference mode
- ”Print”, ”cross–reference list”, ”Cross–reference mode”
Here you must decide whether you want the global, i.e. across blocks, or the local, i.e. block–wise, cross–reference list output.
You can toggle between ”global” and ”local”.
The global cross–reference list, in addition to the local cross–reference list, also
specifies the blocks in which the signals which you entered in the ”Signal list”
(inputs, outputs, markers, etc.) occur.
In the ”Block list” you have to decide the blocks from which the cross–reference
lists are to be created.
33
Programming
191
3.6.5
Signal assignment list
- ”Print”, ”Signal assignment list”
In the signal assignment list all the inputs, outputs, markers, etc. which you used
in the blocks of the block list are output.
An ”X” in the corresponding position of the signal table means that this signal occurs in the blocks which are entered in the ‘‘Block List”.
Here you can output either the global, i.e. across blocks, or the local, i.e. block–
wise, signal assignment list.
The following functions are available in this pulldown menu:
Print Signal assignment list
Start Print
Title Block
Title Block file
Output Unit
Assignment Mode
Signal List
Block list
Load Block list
Store Block list
Page Mode
Start Page Number:
192
Programming
off
Title.DOC
Monitor
Local (blockwise)
*
OB1
Blockwise
1
33
Allocation mode
- ”Print”, ”Signal assignment list”, ”Allocation mode”
Here you must decide whether you want the global, i.e. across blocks, or the local, i.e. block–wise, signal assignment list output.
You can toggle between ”global” and ”local”.
local:
global:
the allocation list covers only blocks specified in the Block list
the allocation list covers blocks specified in the block list
and all the blocks called from these (direct or
indirect call, across all subordinate levels)
Example: OB1/global = all blocks(*)/local
In the ”Block list” you have to decide the blocks from which the signal assignment lists are to be output.
The following illustration is an example of the signal assignment list on the
screen.
33
Programming
193
3.6.6
Equipment list
– ”Print”, ”Equipment List”
The equipment list contains the I/O module types mounted in the subracks. They
can be output with the presettings.
The following functions are available under this pulldown menu:
Print Equipment list
Start Print
Title Block
Title Block file
Output Unit
Start Page Number:
3.6.7
off
Title.DOC
Monitor
1
Entire Documentation
- ”Print”, ”Entire Documentation”
This function is used to output a total output of all the lists.
Sequence: Equipment list, signal assignment list, cross–reference list, Symbol
comments list, Program protocol with connecting table of contents
Here the presettings of each menu (block list, signal list, etc.) are taken into consideration.
The following functions are available under this pulldown menu:
Print entire Documentation
Start Print
Page Mode:
Start Page Number:
Title Block
Title Block file
Output Unit
194
Programming
Blockwise / listwise
1
off
Title.DOC
Monitor
33
3.7
Special
In this menu applay the functions of PaDT.
The following system functions are available:
Edit
Load
Online
Print
Special
Setup
Help=F10
Table of contents
Archive the Station
Restore a Station
Delete a Station
Formate diskettes
Copy diskettes
Delete files
Copy files
Operating System MS–DOS
System Information
End Station handling
3.7.1
Table of contents
- ”Special”, ”Table of contents”
This function allows you to display the table of contents of your current station.
This will give you an overview of the blocks and files existing there.
Enter a maske for displaying the files, with help from a Lineeditor:
e.g.
*.*
*.TXT
FB*
Display all files
Display all text files
Display all function blocks
After displaying the last part of the table of contents press any key to return to
the pulldown menu.
33
Programming
195
3.7.2
Backup the Station
- ”Special”, ”Back up the station”
This function can be used to back up entire stations on diskette.
Caution all ”old” files on the diskette will be deleted on bakkup. Backup and restoring should be carried out with the same
MS-DOS version (see also MS-DOS Manual under ”Backup” and
”Restore”).
The following functions are available:
Archiv
Start Back up
From Station
To Station:
C:\AKF125}BEISP\*.*
A:
Start backup
”Special”, ”Back up the station”, ”Start Back up”
After enter the station (s) to be backed up and the Target plant the back up will
started.
Follow the information on the screen.
Caution
kup.
all ”old” files on the diskette will be deleted on bak-
You can only interrupt the backup by pressing the keys <Ctrl>+<C> at the same
time.
After backup you are taken straight back to the menu.
196
Programming
33
Backup from station
- ”Special”, ”Back up from Station”, ”From Station”
Enter the station (s) to be backed up here using the typewriter keyboard (line
editor):
e.g.: C:\AKF12\EXAMPLE\*.*
Input: a) <Return> (initiate edit)
b) enter station name
c) end by pressing <Return>
Backup to station
- ”Special”, ”Back up the Station”, ”To Station”
Now it will enter the target drive with help from the keyboard(Lineeditor).
For diskette e.g.: A:
Input: a) <Return> (initiate edit)
b) enter target drive
c) end by pressing <Return>
33
Programming
197
3.7.3
Restore a station
- ”Special”, ”Restore a station”
With this function the backed up station will restored under the same name as
backed up.
Warning Existing files with the same name will be overwritten
without an inquiry. Backup and restoring should be carried out
with the same MS-DOS version (see also MS-DOS Manual under
”Backup” and ”Restore”).
The following functions are available:
Restore
Start Restore
From Station
To Station:
A:
C:\AKF125}BEISP\*.*
Start restore
- ”Special”, ”Restore a Station”, ”Start Restore”
After Enter the source drive and station name the restore function will started.
Follow the information on the screen.
Caution The name of the target system must be the name with
which the system was backed up.
You can only interrupt the restoration by pressing the keys <Ctrl>+<C> at the same time.
After the restoration you are taken straight back to the menu.
198
Programming
33
Restore from station
- ”Special”, ”Restore a Station”, ”From Station”
Now it will enter the source drive with help from the keyboard(Lineeditor).
For diskettes e.g.: A:
Input: a) <Return> (initiate edit)
b) enter source drive
c) end by pressing <Return>
Restore to station
- ”Special”, ”Restore a station”, ”To Station”
Enter the target drive using the typewriter keyboard (line editor):
e.g.: C:\system\station\*.*
Warning
Existing files with the same name will overwritten!
Input: a) <Return> (initiate edit)
b) enter station name
c) end by pressing <Return>
33
Programming
199
3.7.4
Erase a station
- ”Special”, ”Delete from a Station”
This function enables you to erase an entire table of contents and its subdirectories.
Prior to erasing a sub–directory you will be asked whether this directory is really
to be erased.
This enables you to erase a number of directories selectively.
Press <Return> and a window will appear with a list of all the existing stations of
the system set. Use the arrow keys and <Return> to select a station.
The current station cannot be erased.
3.7.5
Format diskettes
- ”Special”, ”Formate from diskettes”
Sometime new diskettes has to be formated befor using for store.Formatting prepares the diskette so as to enable data from the can be saved and read.
Caution
ted.
While the formating all files on the diskette will dele-
The following functions are available under this pulldown menu:
Formate diskettes
Start Formate
Drive:
Parameter:
200
Programming
A:
/V
33
Start formatting
- ”Special”, ”Formating from diskettes”, ”Start Formateing”
After starting the drive and if necessary the parameter, formatting is started here.
After select of the function please follow the information on the screen.
Caution
The formating can not be brocken.
Drive for formatting
- ”Special”, ”Formating from diskettes”, ”Drive”
The data carrier to be formatted is entered here using the line editor.
B: Diskette in drive B: will be formatted
A: Diskette in drive A: will be formatted
33
Programming
201
Parameters for formatting
- ”Special”, ”Format diskettes”, ”Parameters”
Here you can specify additional parameters for the formatting using the line editor (additional information may be found in the MS-DOS Manual).
Note To make later identification easier it is recommended that you
assign the station name as a parameter with ”/V”.
Examples of parameters (apply to portable AEG programming panels; some parameters are specific to manufacturers so please note what it says in your MSDOS Manual):
/1
Only the first side of a diskette will be formatted. The diskette will be
formatted with 9 sectors/track, unless you specify /8
/3
Formats a 720 KByte diskette in a 1.44 MByte drive
/4
The diskette will be formatted with 40 tracks/side.
/4
The diskette will be formatted with 40 tracks per side. This parameter is
used to format a 5 1/4 inch diskette with 360 KB in a 1.2 MB
drive. This allows you to use 360 KB diskettes in a
high density drive.
/8
8 sectors are formatted per track. Without this parameter the
diskette will be formatted with 9 or 15 sectors/track,
depending on the type of drive.
/N:nn formats a 3 1/2 inch diskette with the number of sectors specified under
nn. Enter 9 for a 720 KByte diskette.
/T:nn Formats a 3 1/2 inch diskette with the number of tracks specified
below under nn. Enter 80 for a 720 KByte or 1.44 MByte diskette.
/V
After formatting the disk an automatic request is made for
a data carrier code to be entered..
/S
MS-DOS system files are copied from the diskette in the preset
drive to the newly formatted diskette.
/*
Generates a status line during formatting.
202
Programming
33
3.7.6
Copy diskettes
- ”Special”, ”Copying from diskettes”
With this function the complete contents of a diskette will copied on an other diskette (same capacity).
Caution This function destroys any data already on the target
diskette since the target diskette is formatted during copying.
The following functions are available in this pulldown menu:
Copy diskettes
Start Copying
Source drive:
Target drive:
A:
B:
Start copying diskette
- ”Special”, ”Copying frm diskettes”, ”Start Copying a Diskette”
After enter from Source– and Targetdrive now the copying will started.
After select the function please follow the information on the screen.
After this function has been started it can be aborted by pressing <Ctrl>+<C>.
33
Programming
203
Copy diskette / source or target drive
- ”Special”, ”Copy diskettes”, ”source drive”
- ”Special”, Copy diskettes”, ”target drive”
Using the line editor, you can enter the same drive twice or different drives.
Ex.1, one drive:
source drive: A:
target drive: A:
Ex.2, two drives:
source drive:
A:
target drive:
B:
- or B to A.
204
Programming
33
3.7.7
Erase Files
- ”Special”, ”Erase Files”
Thids function can be used to erase any number of files.
To do this, a mask is declared for the file(s) to be erased using the line editor:
e.g.
*.*
C:\AKF12\BSPANL\*.*
DB*
C:\AKF12\BSPANL\FB10
erase all the files of the system/station
set in Setup
erase all the files of the system/station
stated
erase all the data blocks of the system/station
set in Setup
erases the function block FB10 on the hard
disk of station ”BSPANL”
You can only interrupt the erasing by pressing the keys <Ctrl>+<C> at the same
time.
33
Programming
205
3.7.8
Copy files
- ”Special”, ”Copy files”
This command can be used to load parts of a station (files, blocks, etc.) to or
from a diskette. Files on the hard disk can also be copied from one station to another.
The following functions are available under this pulldown menu:
Copy files
Start Copying files
Source
Target:
Parameter:
*.*
A:
/V
You can use the replace characters (”wildcards”) ”?” and ”*” in the names of the
source and target.When using replacement characters, please be certain that
you will not unknowingly overwrite important files.
Start copying files
- ”Special”, ”Copy files”, ”Start copying files”
After stating the source, target and if necessary perameters, the copying process
is started here.
206
Programming
33
Copy Files / Source
- ”Special”, ”Copy files”, ”Source”
Using the line editor, enter under source the file to be copied along with the entire path.
e.g.: C:\AKF12\EXAMPLE\PB7
Program block 7 of station ”EXAMPLE” of system AKF12 on hard disk will be copied to ”target”.
If no path is intered but only a block name, the block of the current station will
be copied.
Copy Files / target
- ”Special”, ”Copy files”, ”Target”
This is where the target directory for the files under ”Target” is entered with the
help of the line editor.
Target e.g.:
A:
C:\TEST
C:\TEST\FB10
no statement
33
- to diskette
- to hard disk under directory ”TEST”
- to hard disk under directory ”TEST”
is where the source will be copied to
”FB10”.
- to the current station
Programming
207
Copy Files / Parameters
- ”Special”, ”Copy files”, ”Parameters”
here you can specify additional parameters for the copying using the line editor
(additional information may be found in the MS-DOS Manual).
Parameter:
/V: Check the copy
/A: The file will be treated as a text file.
Source: The file will be copied up to, but not including, the EOF character.
Target: The file is terminated with the EOF character.
/B: Source: The entire file will be copied.
Target: The file will not be terminated with an EOF character.
208
Programming
33
3.7.9
Operating sys. MS–DOS
- ”Special”, ”Operating sys. MS–DOS”
Excerpt from the MS-DOS Manual:
”What is MS-DOS ?
MS-DOS stands for Microsoft Disk Operating System and is an ”operating system”. It controls the basic functions of the computer and links the individual modules of the device to allow user programs (word processing, spreadsheets, databank, etc.) to use this module easily. MS-DOS allows data in files on diskette
or Hard disk to be saved and called up again and data input via the keyboard to
be printed out again.
MS-DOS lets you copy, delete, compare, rename, save and backup files from
diskette. It creates tables of contents for your data carriers and furnishes each
entry with time and date. In addition, it controls the backup of your data from the
hard disk onto a tape drive.”
You can now carry out the functiond described in the MS-DOS Manual.
Enter ”EXIT” to return to the DOLOG AKF software.
33
Programming
209
3.7.10
System information
- ”Special”, ”System Information”
This function provides you with an overview of the current hardware configuration of your programming panel.
This includes information on the processor, DOS version, ports and main memory.
This overview can be output on the screen, to a file or printer.
Print System information
Start printing
off
Title Block:
Title Block file
Title.DOC
Output unit:
Monitor
3.7.11
End station handling
- ”Special”, ”End Station Handling”
This function is used to end processing by the
DOLOG AKF software A120.
You can now only start the AKF software again by a new call.
210
Programming
33
3.8
Setup
The SeTup functions serve as a means of presetting fixed system data. This includes the following settings:
Edit
Load
Online
The menu commands ”System” and ”PLC Station”
have to be edited before
the user-programmed logic.
Print
Special
Setup
Help=F10
Plant
PLC–Station
Print
Colors
Directory structure on the PaDT
The DOLOG AKF software is installed to two different directories on the hard
disk.
33
Programming
211
C:\
<AEG-A91>
<SET>
<AKF12>
<AKF12>
<A>
<Stationx>
<Example>
3.8.1
- the program path (Presetting
”C:\AEG-A91”)
It must be specified during installation.
- the data path (Presetting ”C:\AKF12”)
Divided into the system and station path.
Marking: This is the data path of the
example system.
Ot must be specified during installation.
system
- ”SeTup”, ”system”
A system corresponds to a directory on the PaDT.
It many contain several different stations.
This function is used to set systems
If the system entered does not yet exist it will be created after a safety inquiry.
With existing systems, the last station worked on is automatically set up again.
Example: C:\AKF12
212
Programming
33
3.8.2
PLC station
- ”SeTup”, ”PLC Station”
This function is used to set presettings for the station created by the user:
Station Presetting
PLC Station name
LAUF12
Adressing:
SYM
DB Number:
DB0
Max. Block Number: 10
ALU Typ:
200; 201; 202
Link mode
Full Representation
Memory Variant:
RAM
33
Programming
213
Station Name
- ”SeTup”, ”PLC Station”, ”PLC Station Name”
This function can be used to select or create a station via the line editor (typewriter keyboard). Enter a space and <Return> and a window will appear showing
all the existing stations of the current system. From this window you can select a
station using the arrow keys and <Return>.
If the station entered does not exist it will be created after acknowledgement with
the <Return> key (in accordance with the directory on the PaDT).
e.g.: TEST
All the subsequent processing functions will then be carried out in the station
TEST and the files generated stored under this directory.
maximum block number
- ”Setup”, ”PLC station”, ”Max. No. of Blocks”
The number of blocks that you can enter in this menu lies between 1 and 500.‹
DOLOG AKF reserves the appropriate amount of space in the PLC when the
program is linked.
A maximum of 500 blocks can be transferred to the memory of the PLC.
If the number is set too low, it is not possible to link the program. When linking
for the last time, you should enter an additional 10 to 20% to the number of
blocks in this place. The number of blocks in the program will be indicated as an
event after linking.
Irrespective of the number set here, block numbers between 1 und 999 can be
set. However, the total of all the blocks must not exceed the number set here.
Note
214
If the list is full, no new block can be added on-line.
Programming
33
ALUtype
- ”Setup”, ”PLC station”, ”ALUtype”
Use this function to change the PLC by changing the ALUtype.
You can toggle between:
”200; 201, 202” for Modicon A120
”15X; 204; 205” for Modicon A250 (for software documentation refer to ”A250
Configuration” user instructions)
For exact technical information please refer to the Modicon A120 User Manual.
When using the ALU 201 or ALU 202 the second slot of the subrack (corresponds to the first node) is reserved for the power supply unit, e.g. DNP 205.
When operating the PLC with the ALU 200, instead of the power supply another
module can be entered for node 1, since the power supply is integrated into the
ALU.
Link Mode
- ”SeTup”, ”Station”, ”Link Mode”
You can specify here the amount of additional information which is to be loaded
into the PLC. You can choose between:
Link Mode
Full Representation
Without Comment
Without Comments, Symbols
Without Representation
Automatic Adjustment
33
Programming
215
Link Mode / Complete Representation
- ”Setup”, ”Station”, ”Link Mode”, ”Complete Representation”
This setting enables an unrestricted representation of the IL.
Comments, symbols and labels are identical to the original.
Line comments, network comments and parameter symbols and labels are represented.
Link Mode / Without Comments
- ”SeTup”, ”PLC Station”, ”Link Mode”, ”Without Comments”
With this setting the comments are not represented. Otherwise the function is
the same as ”Complete representation”.
Link Mode / Without Comments, Symbols
- ”Setup”, ”PLC station”, ”Link Mode”, ”Without Comments, Symbols”
No comments, symbols or labels are available for the representation. Only the
structure information required for representation is transferred to the PLC.
Link Mode / Without Representation
- ”SeTup”, ”PLC Station”, ”Link Mode”, ”Without Representation”
A representation is no longer possible with this setting.<F 6Ã@R@Z7@Lge>.
Link Mode / Automatic Adjustment
- ”Setup”, ”PLC station”, ”Link Mode”, ”Automatic Adjustment”
With this setting adjustment is carried out using the unused memory existing in
the PLC. If the program is too large, the additional information is switched back
step–by–step.
216
Programming
33
Memory Variant
- ”Setup”, ”PLC station”, ”Memory Variant”
This function applies only to the ALU 200.
Here you can toggle between RAM mode and EPROM mode. Compare this with
the functions under ”Load”, ”EPROM processing”.
33
Programming
217
3.8.3
Print
”Setup”, ”Print”
The following settings are possible in the Print menu:
Output unit
”Setup”, ”Print”, ”Output unit”
A menu appears from which you can choose:
- output takes place page by page on the screen
- output takes place to a printer chosen under ”Setup”
- output takes place into the MS–DOS file established by
the entire path. If a file exists with the same name
as entered, then a message appears asking if the file should
be overwritten.
A further windows opens under the menu line ”Printer”, in which you can select
the printer:
218
Programming
33
On the case of DIN A4 printers the line
length must be noted: the signal comment
may contain up to 32 characters.
33
Programming
219
Freely configurable V.1 interface (serial)
- ”Setup”, ”Print”, ”Output unit”, ”Printer”, ”Freely config.V24”
The following parameters must be entered for a printer with a freely configurable
V.24 interface:
Printer interface
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”,
”Printer Interface”
You can toggle between ”COM1” and ”COM2”.
Please make sure that the PLC is correctly connected to the COM1.
Caution When using a serial interface, you must have the following setting in the operating system before starting the AKF:
MODE COM1:96,,,,P
or MODE COM2:96,,,,P
220
Programming
33
Baud rate
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”,
”Baud Rate”
You can choose one of the following baud rates:
110 Bd, 300 Bd, 600 Bd, 1200 Bd, 2400 Bd, 4800 Bd, 9600 Bd
The baud rate is set by toggling.
Please check your printer setting.
Parity
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”, ”Parity”
You can toggle between ”even,” ”, ”odd” and ”no” parity.
DaTa Bits
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”,
”DaTa Bits”
You can toggle between ”8 Bits” and ”7 Bits”.
StOp-Bits
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”,
”StOp Bits”
You can toggle between ”1” and ”2” stop bits.
33
Programming
221
Initialisation
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”,
”Initialization”
ASCII sequence for initialization of the printer
e.g. character set, auto LF etc.
or
FILE=dddd.eee
Name of initialisation file e.g. for laser printer.
normal font
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”,
”NoRmal Font”
ASCII sequence for initialization to 80 characters / line
equals 10 cpi
e.g. for DRU096 ’15’
or
FILE=dddd.eee
Name of initialisation file e.g. for laser printer.
Narrow font
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”,
”Narrow Font”
ASCII sequence for initialization to 143 characters / line
equals 20 cpi
e.g. DRU096 ’0F’
or
FILE=dddd.eee
Name of Initialisation file e.g. for laser printer.
222
Programming
33
INitialize Printer
- ”SeTup”, ”Print”, ”Output Unit”, ”Printer”, ”Freely Config.V24”,
”INitialize Printer”
Press <Return> to transfer the parameters
set.
DRU 096
- ”SeTup”, ”Print”, ”Output unit”, ”Printer”, ”DRU096”
This is where you choose between:
33
Programming
223
DRU 120
- ”SeTup”, ”Print”, ”Output unit”, ”Printer”, ”DRU120”
This is where you choose between:
DRU 292
- ”SeTup”, ”Print”, ”Output unit”, ”Printer”, ”DRU292”
This is where you choose between:
224
Programming
33
DRU 293
- ”SeTup”, ”Print”, ”Output unit”, ”Printer”, ”DRU293”
This is where you choose between:
PRT 294
- ”SeTup”, ”Print”, ”Outout unit”, ”Printer”, ”PRT294”
This is where you choose between:
33
Programming
225
PRT 295
- ”SeTup”, ”Print”, ”Output unit”, ”Printer”, ”PRT295”
This setting is used to initialize PRT 1 and PRT 294 The selection is effected here between:
DRU 1200
- ”SeTup”, ”Print”, ”Output unit”, ”Printer”, ”DRU1200”
This is where you choose between:
226
Programming
33
Printer_xyz
- ”SeTup”, ”Print”, ”Output unit”, ”Printer”, ”Printer_xyz”
This is where you choose between:
Lines/page
- ”SeTup”, ”Printer”, ”Lines/Page”
You can specify the number of lines per page corresponding to the paper format
which is used in your printer here with the aid of the line editor.
Note Note: If using purely DIN A4 printers no more than 32 characters of signal comment may be input, otherwise pagination after 132
character will bring about line displacement.
Of the AEG printers the DRU 120 and DRU 292 are affected.
Page advance
”SeTup”, ”Print”, ”Form feed”
The outputs can be carried out with or without form feed, depending on the type
of printer used. If the form feed is switched off, the print program outputs a number of lines which corresponds to the number of blank lines.
You can toggle between ”on” and ”off”.
33
Programming
227
Upgrade of printer driver
To include a new printer in the AKF system you only need a simple editor, with
which you edit the file ”DRUAKF40.DRV” in the sub–directory ”AKF12”.
Up to 15 printers can be entered into this file. A printer description is started with
the name ”Printer=”. The name which follows is displayed by the AKF software
in a pulldown menu. There are then 3 initialization sequences to be entered in a
hexadecimal representation. Please take note of capitalization.
You will find the initialization sequences in the printer manual.
Examples:
Printer=DRU293
parallel/serial
1B3C
Initialization
12
Switch to 80 characters
0F
Switch to 132 characters
Printer=DRU096
parallel
1B3C
Initialization
12
Switch to 80 characters
0F
Switch to 132 characters
228
Programming
33
Defining the Epson Fx-80
Printer=Epson FX-80
parallel
1C1B04
Initialization
040577
Switch to 80 characters
0F444488
Switch to 132 characters
Caution When using a serial interface, you must have the following setting in the operating system before starting the AKF:
MODE COM1:96,,,,P
or MODE COM2:96,,,,P
There are restrictions with reference to:
Character set:
Cable Assignment:
33
The IBM graphic character set is required.
see printer manual and PaDT.
Programming
229
3.8.4
Colors
”SeTup”, ”Colors”
If your PaDT is equipped with a color monitor and the corresponding board, you
can set the colors by yourself. You may set the colors for pulldown windows,
help windows and message windows as you like.
The software has to be called with the extension ”/COL”.
Furthermore, you may use the screen parameters ”/GR” for grey scales and
”/BW” for black and white.
If the software is called with these parameters, the system uses fixed settings.
Recommendation:
Color monitor ”/COL”, liquid crystal display ”/BW”,
monochrome monitor ”/GY”.
If the software is called with the parameter /COL, a further pulldown menu appears for each window type. Here the color settings for the following sections of
a window can be selected for the color selection:
Pulldown window
Window Part
Frame
Normal Text
Inverse Text
Catchword
Inverse Catchword
Background
Inverse Background
Help window
Window Part
Frame
Normal Text
Inverse Text
Catchword
Background
Inverse Background
Messages window
Window Part
Frame
Normal Text
Inverse Text
Background
Inverse Background
230
Programming
33
By selecting one of these menu lines, a window appears with a color palette
from which you can select a color value.
The current adjustment is visible in the demonstration windows.
Press <Esc> to exit from the ”Colors” menu.
The new Color settings will appear after you exit from the Setup pulldown menu.
3.9
Hardware Settings
You will find information on initial start–up in the manual mentioned below.
You will find information on the hardware, e.g. on configuration, connections, settings and specifications in the manual:
A120
modular programmable controller
33
Programming
231
232
Programming
33
Index
A
Abort
Online–List, 180
equipment list, 119
abort, Dyn. Display, 160
actual operands, 71
Addressing, 110
Allocation mode, 193
-ALU select., 126
-ALUtype, 127
ALUtype, 215
analog , 122
-AND block, 59
-Arithmetic functions, IL, 92–110
--Auto Repeat Function, 14
B
Backup from station, 197
Backup to station, 197
Baud rate, 221
Block list, 136
Block number, 65
Block type, 65
Block-Editor, 26
Bootload (Basic–Software into ALU),
155
Break
Correction-mode, 34
Edit, 39
C
call parameter /BW, 230
call parameter /COL, 230
call parameter /GY, 230
Choose Block, 167
35
Choose Recording, 168
Comparator
IL, 94
LD/FBD, 107
Compare
Blocks with PLC, 144
Program with PLC, 147
Comparison Mode, 145
Complete Representation, 216
conditional block call, , 66
Conditional jump SPB, IL, 90
Connector, 50, 54, 62
Continuation of parallel path, 55
Control Enable, 177
Conversion of PB into FB, 67
Copy, area, 115
Copy Network, 31
Copy pulldown-menus, NW, 31
-correction mode, 46, 58
Correction-mode, 32
Counter down CD, IL, 78
Counter down CD, LD/FBD, 102
Counter range CU, CD, CUD, 78, 79
Counter up CU, IL, 78
Counter up CU, LD/FBD, 101
Counter up down CUD, LD/FBD, 103
Counters
IL, 78
LD/FBD, 101
Cross–connection of parallel path, 55
Cross–reference mode, 191
Ctrl+Referenzbuchstaben, 15
Current display, 158
Index
233
D
Data bits, 221
Data block DB, 111, 205
Data block file, 117, 137, 188
Data block-Editor, 112
Decrementing, DEC, 82
Delete, 64
Field, 115
module, 123
Network, 30
Diagnose, 157–171
digital , 121
Directory structure on PaDT, 211
Diskette, Copy, Source target drive,
204
diskette, start, copying, 203
does not equal, IL, 94
does not equal, LD/FBD, 107
Double assignment, 117
Drive for formatting, 201
DRU 096, 223
DRU 120, 224
DRU 1200, 226
DRU 292, 224
DRU 293, 225
Dynamic display, 158
dynamic state display
abort, 160
network, 41
E
Edge recognition, LD/FBD, 108
Edit, 4, 18, 22–40
Online–List, 173, 179
Blocks, 4, 26–40
Compile Blocks, 4
Compile blocks, 137
Compile Data Blocks, 4
Compile data blocks, 137–138
Equipment List, 4, 118
Equipment list, 118–127
Overview, 4, 23–25
Replacement of Signals, 4, 132
234
Index
Symbols and Comments, 4,
111–117
Title Block, 4, 128–131
edit, equipment list, 118
Edit Block, 24
Enter, 127
Enter symbol in DB, 37
equal to, IL, 94
equal, LD/FBD, 107
Equipment list, Compare, 148
equipment list, normalize, 126
Erase
area, 116
Line, 33
erase, 53
Exchange, Online, 40
--Exclusive OR block, 51, 61
Exit
Online–List, 180
Correction-Mode, 34
Equipment list, 119
Overview, 25
Symbols and Comments, 113
Expert modules, Experts, 122
F
-FBD Editor, 41, 42, 43, 51, 52, 56,
57, 58, 59, 60, 61, 62, 63, 64, 100,
108
-FBD editor, 108
-FBD Elements, 52, 98, 100
-FBD elements, 97
FBD-Editor, 26, 30, 31, 34, 35, 37, 38,
39, 40
FBD-Elements, 36
Field, delete, 115
files, Copy
Parameters, 208
target, 207
files, copy, Source, 207
files, start, copying, 206
FL, 81
LD/FBD, 108
35
FLN, 81
LD/FBD, 108
FLP, 81
LD/FBD, 108
Follow signal contents, 171
Force & Control, 178
Force Completely off, 178
Freely configurable V.24 interface, 220
Function block diagram FBD, 66, 99,
101, 104, 105, 108
function block diagram FBD, 100, 107
Function block FB, 26, 52
function block FB, 29, 65, 67, 68, 71,
97, 99, 136, 195, 207
actual operands, 71
block parameters, 69
call in IL/LD/FBD, 70
declaration part, 68, 71
instruction part, 68, 69
function block fiagram FBD, 26
formal operands, 71
Funktionstasten, 10
G
greater than, IL, 94
greater than/equal to, IL, 94
greater, LD/FBD, 107
greater/equal, LD/FBD, 107
H
Hard copy. Siehe Bildschirm-Kopie
HardwareSettings, 231
header file, 185
Help text, 2, 21
I
I/O modules
analog I/O, 122
digital I/O, 121
I/O-bus fault, 126
IL-Editor, 26, 28, 29, 30, 31, 32, 33,
34, 35, 36, 37, 38, 39, 40, 41, 42, 43
correction mode, 35
Incrementing, INC, 82
35
Initialisation, 222
Initialize Printer, 223
Input, 60
Input mode, Display Formats IL, LD,
FBD, 72
Insert
Line, 33
network, 30
Instruction list IL, 66, 74, 77, 78, 80,
81, 82, 83, 84, 90, 93, 94, 95
instruction list IL, 26, 68, 73, 75, 91,
92
K
Key assignement
Ctrl, 9
Del, 9
End, 9
Esc, 9
Home, 9
Ins, 9
PgDn, 9
PgUp, 9
PrtSc, 9
Key assignment
Alt+F10, 21
Alt+F2, 12
Alt+F8, 13
Alt+F9, 14
Alt+letter, 13, 14
Alt+number, 10
Arrow keys, 20, 24, 32, 35, 47, 59,
112, 119, 129
backspace, 112, 119, 129
backtab, 32, 35
Ctrl+C, 16
Ctrl+PgDn, 32, 47, 59, 112
Ctrl+PgUp, 32, 47, 59
Ctrl+Return, 27, 28, 45
Ctrl+Right arrow, 59
Ctrl+Y, 35
Del, 35, 47, 59, 112, 119, 129
End, 35, 57, 112, 119
Index
235
Esc, 21, 24, 27, 32, 35, 45, 47, 57,
59, 112, 119
F1, 112
F10, 21, 27
Graphics characters, 10
graphics characters, 129
Home, 35, 47, 112, 119
Ins, 16, 35, 47, 112, 129
Letters, 59
letters, 47
PgDn, 24, 45, 47, 57, 59, 112, 129
PgUp, 21, 24, 45, 47, 57, 59, 112,
129
Return, 20, 21, 29, 35, 57, 59, 112,
119, 129
shift+tab, 112, 119, 129
tab, 32, 112, 119, 129
key assignment
Alt, 129
Arrow keys, 21, 29
Ctrl+C, 196, 198, 205
Ctrl+Return, 24
graphics characters, 128
Return, 44, 56, 65, 72
tab, 29
-Key input memory. Siehe Lernen
-Key macros, 14
L
Ladder diagram LD, 66, 97
ladder diagram LD, 26, 98
Laden, 4
Datum/Uhrzeit stellen, 149–150
LD-Editor, 26, 30, 31, 34, 35, 37, 38,
39, 40, 41, 42, 43, 44, 45, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 100
Learning, 13
less than, IL, 94
less than/equal to, IL, 94
less, LD/FBD, 107
less/equal, LD/FBD, 107
Line
Erase, 33
Insert, 33
236
Index
Line comments, IL, 29
Line editor, 11
Lines/page, 227
Link Mode, 215
Automatic Adjustment, 216
without comments, 216
Without Comments and Symbols,
216
Without Representation, 216
Load, 18, 138–155
Block list, 136
Bootload, 4
Compare, 4, 144
Exchange online, 4, 140–141
Link Program, 4
link program, 139
Process EPROM, 4, 151–154
Program to PLC, 4, 140
Read Equipment list, 4, 141
Read out PLC, 4, 142–143
Set Date / Time, 4
Load High Data, LHD, 88
Load Low Data, LLD, 88
Loadable Basic–Software, 155
local cross reference list, 187
-Logic functions, IL, 75–91
Löschen, Online-Liste, 180
M
maximum block number, 214
Memory
IL, 77
LD/FBD, 100
Memory variant, 217
Modifiy, Network, 31
module, delete, 123
module, enter, 120
Modules
ADU 205, 109
other (power supplies etc.), 123
modules
ALU 200, 153
ALU 201, 123, 152
ALU 202, 123, 152
35
Mouse, 8
mouse, 29, 44, 56
Move, area, 116
MS-DOS. Siehe Betriebssystem
N
Narrow font, 222
Negated input, 60
nesting depth, 71
Network
Delete, 30
Modify, 31
Search, 40
network
copy, 31
Insert, 30
search, 161
Network number, 72
Network-comments, 35
Network-header, 34
next recording, 167
Normal font, 222
Normalize, Equipment list, 126
Normally closed contact, 49, 54
Normally open contact, 48, 54
O
Off–delay TA
IL, 80
LD/FBD, 106
on–delay stored TS, LD/FBD, 105
On–delay TE
IL, 80
LD/FBD, 105
On–delay, stored TS, IL, 80
Online, 5, 18, 156–180
PLC status, 181–182
Dynamic Status Display, 5
Dynamic status display, 157–171
-Online–List, 5
Online-Liste, 172–180
-PLC status, 5
Start PLC, 5
Starte SPS, 156
35
Stop PLC, 5
Stoppe SPS, 157
Online List, 162
Online-Liste, löschen, 180
Only burn basic software ALU 200
(EPROM), 153
operands IL, 29
operations IL, 29
-OR block, 61
Organization block OB, 52, 66
organization block OB, 23, 26, 29, 65,
97, 99, 136, 139
Output, 50
Output mode, 171
Output monitoring, 110
Output unit, 218
P
PaDT, 10, 14
Page advance, 227
Page down, Overview, 25
Page mode, 187
Page up, Overview, 25
Parallel path, 53
parameterize, controller, 124
Parameters for formatting, 202
Parity, 221
Path, explanation, 18
PB-/FB-/SFB-Conditional call, 51
PB-/FB-/SFB-Uncond’al call, 52
PC001, 155
pk-memory, IL, 77
PLC initial start–up, 231
PLC switch–off mode. Siehe
Abschaltverhalten SPS
PrEsetting, correction-mode, 37
Presetting
Cursor Positioning, 43
Data block, 42
Dyn. status display, 164
network, 42
previous recording, 167
Print, 5, 18, 182–194
Complete Documentation, 5
Index
237
Cross–Reference List, 5
cross–reference list, 190–191
Entire Documentation, 194–195
Equipment List, 5
equipment list, 194
Lines/page, 227
Overview, 5, 183–185
Page advance, 227
Program protocol, 186–187
Program-Protocol, 5
Signal -Assignment List, 5
Signal assignment list, 192
Symbols and Comments, 5,
188–189
Printer driver, 228
Printer interface, 220
Printer_xyz, 227
Program block PB, 52, 66
program block PB, 26, 29, 65, 67, 71,
97, 99, 136, 207
Program with PLC, 147
PRT 294, 225
PRT 295, 226
-pulldown menu
Digital I/O, 121
Dyn. Display, 41
Select Editor Setting, 42
pulldown menu, Edit, 22
-Pulldown menus, Edit LD, 46
Pulldown menus
Colors messages, 230
Output unit, 218
Print Presetting, 218
Setup Print, 218
V.1 Configuration, 220
-pulldown menus
AnalogI/O, 122
Commands, 113
Copy Area, 115
Edit equipment list, 119
Edit FBD, 58
Edit network, 44
Enter modules, 120
Erase Area, 116
Experts, 122
238
Index
Move Area, 116
Other, 123
Parameterize the controller, 124
Replacement of Signals, 132
Symbols and Comments, 111
Title Block, 128
pulldown menus
Colors Help, 230
Colors Pulldown, 230
Dyn. Display, 166
main menu, 19
Online exchange, 141
port, 223, 224, 225, 226, 227
Print system information, 210
Printer selection, 218
Special, 195
-pulldown menus, -ALU select., 127
pulldown-menu
Edit IL, 32
Edit network, 29
Pulldown-Menüs, Dyn. Anzeige, 159
Pulldown-menus
Edit comments, 35
FBD-Elements, 36
program-overview, 23
pulldown-menus
Commands, 119
Data block-Editor, 113
Edit Blocks, 26
Edit network, 56
intelligent modules (Experts), 122
program-structure, 24
Pulse TI
IL, 80
LD/FBD, 104
Pulse, extended TV
IL, 80
LD/FBD, 104
R
Read out to system, 143
Read PLC (EPROM), 154
recursive call, 71
Reference characters, 15
35
reference characters, 18, 20, 44, 56,
182
Referenzbuchstaben, 16
refernce characters, 29
Replace, old/new signal, 134
Replace characters, 134
Restore from station, 199
Restore to station, 199
Rotate left, ROL, 82
Rotate right, ROR, 82
RS memory, LD/FBD, 100
Rules for instruction lists
Bracket operations, 74
Calculating, 92
Comparator, 94
Connector, 76
Conversion, 95
Counters, 78
Edge recognition, 81
-FREE instruction, 91
Incrementing/decrementing, 82
initiating pulse, 73
Jumps, 90
Load, Arithmetic, 92
Load, Transfer, 83, 84
Logic, 83
Marker bit, 74
Network start/end, 73
NOP-instruction, 91
Normalizing operations, 75
Order of logic operations, 75
Rotate, 82
Save operations, 77
Shift, 81
Timers, 80
Two’s complement, 93
S
Save, Block list, 137
-Screen copy, 12
Screensave. Siehe Bildschirm-Kopie
Scroll Backward, Network, 38
Scroll backwards, network, 160
Scroll Forward, Network, 38
35
Scroll forward, network, 160
Search
Block, 25
Network, 40
operand, 114
Signal, 39
Search Contents of signal, 157–171
Search Function, 114
Set date, 149
Set PLC (Date/Time), 150
Set time, 150
SeTup, Colors, 230–232
Setup, 5, 18, 211–231
Colors, 5
-PLC station, 5
PLC station, 213–217
Print, 5, 218–229
System, 5
system, 212
Shift left, SHL, 81
Shift right, SHR, 81
Signal
Search, 161
search, 39
Signal list, 189
Special, 5, 18, 195–210
Backup the Station, 196–197
Backup the station, 5
Copy diskettes, 5, 203–204
Copy files, 5, 206–208
End station handling, 5, 210–212
Erase a Station, 5, 200
Erase Files, 5, 205
Format diskettes, 5, 200–202
-Operating sys. MS–DOS, 5
Operating sys. MS–DOS, 209
Restore a station, 5, 198–199
System information, 5, 210
Table of Contents, 5
Table of contents, 195
Special keys, 15
Spread Horizontal, 47, 63
Spread Vertical, 48, 63
SR memory, LD/FBD, 100
Index
239
SR-Memory, IL, 77
Start, printing, Block Comparison, 145
Start backup, 196
Start Display, 158
triggered recording, 165
Start Entry
Blocks, 27
Symbols and Comments, 111
Title Block, 128
Start exchange, 141
Start formatting, 201
Start Page number, 185
Start PLC, 163
Start read–out, 142
Start restore, 198
Start Translation (DB), 137
Station Name (PLC), 214
Station Name (Read out), 143
status display, 176
Stop Bits, 221
Stop PLC, 163
Store, Online–List, 179
switch–off mode PLC, 126
Symbols and Comments, 186
T
Tastentabelle
backspace, 11, 175
Bild, 9
Ctrl+K, 11
Ctrl+Return, 15
Ctrl+T, 11
Del, 11, 175
Druck, 9
Einfg, 9
Eing Lösch, 9
End, 11
Ende, 9
Esc, 11, 16, 159, 166, 175
Home, 11
Ins, 11
Lösch oder Entf, 9
Pfeiltasten, 11, 15, 16, 159, 166,
175
240
Index
PgDn, 21, 159, 166, 175
PgUp, 159, 166, 175
Pos1, 9
Return, 11, 15, 16
shift+tab, 175
Strg, 9
tab, 175
Terminate, Edit, 38
Test if empty (EPROM), 151
Text Memory Editor, 117
-The following functions are available
in the pulldown menus, Edit network,
56
Time base TI, TV, TE, TS, TA, 80
Timers
IL, 80
LD/FBD, 104
Title Block, 184
Title Block Height, 131
Title block name, 130
Title block width, 130
Title Block-Editor, 128
To system (read out), 143
Toggle, 16
toggle, 26, 72
TriggerConditions, 168
Triggered display, 166
Triggered recording, 165
Triggered Status Display, Examples,
170
Type Writer keyboard / Control keys, 9
-Typewriter keyboard, 15
U
unconditional block call, , 66
Unconditional jump SPB, IL, 90
Update Force, 177
-Using the keyboard, 9–16
Z
Ziffernblock, 10
35
Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement