Manual PG2000 PDF
Manual PG2000 PDF
Manual PG2000 PDF
Art.Nr. 9851
Art.Nr. 9851-3
Art.Nr. 9851-2
18.10.2018
© PI 2018
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 2 de 80
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 3 de 80
2 Overview of PG-2000
2.1 Treatment of blocks
2.1.1 Treatment of blocks of a S5D-file
2.6 LAD-Editor
2.6.1 LAD-palette elements
2.7.3 I/Q/F-List
2.8 Other
2.8.1 Datalogger
3.1.7 Print
3.1.8 Hotkeys
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 4 de 80
3.2.4 Hotkeys
3.3.2 Contents
3.3.4 Introduction
3.4.3.1 Symbols
3.4.5 _________________
3.4.9 Configurations
3.4.10 Font
3.4.11 Colors
3.4.13 Language
3.4.14 Interfaces
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 5 de 80
3.5.8 Force-Variables
3.5.9 Force-Outputs
3.5.12 ISTACK
3.5.13 BSTACK
3.6.3 Zoom
3.6.4 Palette
3.7.2 Replace
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 6 de 80
3.8.5 Copy
3.8.6 Paste
3.8.7 Delete
3.9.5 Datalogger
3.9.6 Block
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 7 de 80
3.11.2 Edit
3.11.4 Transfer to
3.11.8 Print
3.11.10 Search
3.11.11 Replace
3.11.13 I/Q/F-list
3.11.17 DB-Mask
3.11.18.1 Messages
3.11.18.5 AG95F L1
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 8 de 80
7 Help
7.1 Help for Comparison
7.2 Help for Timer Functions
7.3 Help for Counter Functions
7.4 Help for Flip-Flop’s
7.5 Help for Function Blocks
7.6 Help for Operands
7.7 Help for Input Parameters
7.8 Help for Goto Segment
7.9 Help for Output Parameters
7.10 Help for Force Outputs
7.11 Help for Force Variables
7.12 Help for View PLC Memory
7.13 Help for Error Messages
7.14 Help for S5-V5
7.14.1 Function keys like S5-V5
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 9 de 80
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 10 de 80
You read some further information of the block list for example how you select and you mark blocks for to edit in the theme (chapter 2.2)
PG-2000 offers you to use the three effective tools for changing and appending blocks:
(chapter
the STL-Editor Define your blocks in form of a Statement List Programming with this special editor.
2.4)
(chapter
the CSF(S5) / FBD(S7)-Editor Generate your blocks with this graphic-editor in form of CSF(S5) / FBD(S7)
2.5)
(chapter
the LAD-Editor Generate your blocks with this graphic-editor in form of Ladder Logic Programming.
2.6)
In the menu ”options” offers you to define the colors and the used font of each editor.
You get further information of this and the other commands in the menu ”options” in the theme:see chapter: and see chapter:
PG-2000 with its ”function PLC” offers you different possibilities to observe or to influence easily and clearly the program service of the PLC.
There you find for example functions for watching and controlling variables functions for compressing or deleting the PLC, functions for displaying the status of the
PLC and so on. Read for further information see chapter:
If you need more detailed information of some windows, menus or buttons (of the tools for example) you get these information fast and easily by using the context-
sensitive help function
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 11 de 80
Commands in...
_________________
File Menu
View Menu
PLC-Functions Menu
Options Menu
Window Menu
Help Menu
_________________
To open or create a file by calling the menu commands. If you have called the command File Open, you press the button File in the following window and choose the
file you want in the next dialog.
Now the block list shows you all blocks in the actual window. Move the mouse cursor onto the block you want to edit. This selected block will be displayed in a
default editor by pressing Return, clicking twice with the mouse or calling the command block edit in the block-menu.
To save your file on floppy-disk or hard-disk by calling the command Save or Save as in the File-menu and you press the button File in the following dialog.
To transmit your file to the PLC by calling the command Save in the File-menu and you press the button PLC in the following dialog.
To open the PLC by calling the command File Open in the File-menu and pressing the button PLC in the following dialog.
Now the block list shows you all blocks in the actual window. Move the mouse cursor onto the block you want to edit. This selected block will be displayed in a
default editor by pressing Return, clicking twice with the mouse or calling the command block edit in the block-menu.
To save your file on floppy-disk or hard-disk by calling the command Save or Save as in the File-menu and you press the button File in the following dialog.
To transmit your file to the PLC by calling the command Save as in the File-menu and pressing the button PLC in the following dialog.
You can choose the blocks to be displayed by pressing the button in the block list toolbar.
You can search some blocks by using the block list's toolbar. You enter a block name, maybe not complete, and after each pressed key a corresponding block will be
searched. The cursor will be set on the corresponding block if it is found.
You get into the input line by calling the command "Block/Goto block" in the menu (hot-key Crtl-F) or you enter directly the name you are looking for. If you call the
command in the menu, the name you entered rests in the input line and can be edited. By entering the name directly each time a new line will be begun. You leave the
input line by pressing the key ESC or RETURN.
The marked blocks are displayed in the left column in the list by showing the code ">>". You mark or unmark the block by pressing the button
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 12 de 80
or you calculate the sum of all the blocks, which are marked, by calling the command "Mark/Sum of the marked blocks". The sum is displayed
Drucken Speichern
in the input line of the
Speichern als PDF
block list's input line.
For further information about marking and unmarking see: see chapter:
Commands in the menu PLC-Functions
You can apply the command in the menu Block to the marked blocks.
for further information see: Commands in the block list's menu ”Block”
The Force Variables Window displays the variables you have entered (operands like inputs, outputs and flags for example), in tabular form. You move inside this
variables list by using the cursor keys or the buttons, which are explained in the following.
You can observe and control up to 10 operands at the same time. Enter the addresses of the operands you want, the presentation you want, the values to initialize them
and enter a comment in the corresponding fields of the variables list, if you want.
For example:
• only the operands QD (double word output), QW (word output), QB (byte output) are allowed,
• the PLC must be stopped otherwise the controlling is not possible,
• the cycle is not available but the command Transfer to the PLC.
The commands in the Menu Status are placed at your disposal for transmitting the values, you have entered, or for observing the actual values in the PLC.
Finally you can save the operands, you have entered, including the newest value by using the commands Open and Save in the menu File.
With the toolbar you can choose the command out of the Status in the following order, from left to the right side.
start datalogger
send values to PLC
start cycle
stop cycle
For editing your block in the STL-Editor, first of all you have to move the cursor on the corresponding line. Then you choose the command Edit in the menu Block.
You can also click twice with the mouse the corresponding line or press RETURN there. This selected block will be displayed on the editor that you choose as
default.
You choose the STL, CSF(S5) / FBD (S7) or LAD editor in the menu View or on the toolbar buttons. This is the following button:
You insert a new line by pressing the keys CTRL + N or by calling the command Paste line in the STL-editor's menu Edit.
You delete one line by pressing the keys CTRL + Y or by calling the command Delete line in the STL-editor's menu Edit.
You insert a new segment like it is usual in STEP5. See the following to this:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 13 de 80
1. Insert a new line on the desired position (Ctrl-N). Drucken Speichern Speichern als PDF
2. Enter "***” in this new line.
3. Confirm with ENTER. Thereon the previous segment will be closed and a new segment will be created.
• You do not have to set the operand and the operator in position. They will be entered automatically on
the right position when you have pressed the key RETURN.
• When you pressed RETURN a reasonableness test is started. If an error is detected the line is displayed
in that color for errors, which can be defined in the menu Options-Colors
• The major letters and small letters are not distinguished. They will be converted in major letters when
you have pressed RETURN.
• Labels have to be in column 1 and it is not allowed to name them with a blank as first char.
• Comments must be in column 5.
If you want to display a block in the STL for which no DV-block (Reference Blocks) exists for the first time, you have to select a method for displaying the data in
this dialog. Therefore you have to select one of the specified formats with the mouse or keyboard and confirm by clicking the OK-button. If you store the block in a
file the DV-block will be created and stored automatically. This DV-block contains information about all formatting at the moment of saving. Naturally additional
changes will be stored, too.
The STL-Editor for the comment blocks and the symbols list is a variant of the STL-Editor. It is divided and to employ in the same way as the STL-Editor.
There are difference in the construction of the menu Edit and Search:
You get an explication of the modified commands in these menus by calling help about the commands.
The window rests empty if the block is not notable. You move inside the CSF(S5) / FBD(S7) - Editor by using the two scroll-bars of the window.
You insert a new segment after the actual segment by pressing the following button:
You move one segment up by pressing Ctrl - Page up or pressing the following button:
You move one segment down by pressing Ctrl - Page down or pressing the following button:
The following button will display a dialog, where you could select by mouse or keyboard a segment. The editor will then display this segment:
You can input the segment-number by keyboard or by double-click on the segment listed below. Even in CSF(S5) / FBD(S7) or LAD you could jump to the specified
segment:
The following buttons are displayed and available for to edit, when you have chosen the S5/V5 Mode. You choose this mode in the dialog configurations, which is
called in the menu Options by the command Configurations. Here are some helpful indications for this program.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 14 de 80
POS1 (HOME) Moves the cursor to the left corner above Drucken Speichern Speichern als PDF
END Moves the cursor to the right corner above
TAB Moves the cursor onto the next input line
SHIFT + TAB Moves the cursor onto the input line before last
ARROW UP Shifts the content of the window down
ARROW DOWN Shifts the content of the window up
ARROW LEFT Shifts the content of the window to the right
ARROW RIGHT Shifts the content of the window to the left
For inserting a new element, you have to choose the corresponding element of the palette with the mouse. Then you click the connection in which the element shall be
inserted.
You also have the possibility to change an already placed element into a element of the same type. That means, you are able to change an AND-element into an OR-
element, etc. The type of the element has to be the same as before. The following elements are available:
• AND/OR
• Timer
• Counter
• Comparator
• Set/Reset precedence
• arithmetic with one operand
• arithmetic with two operands
• special functions without operands
For changing an element, you choose the new element in the palette and click on the old element to change it. You set the parameter or delete elements as it is
explained aside the symbol below.
AND element
OR element
with a double-click a sub-menu appears where you can choose vertical or horizontal connection-lines, the active one is selected.
SUB-Menu output
• Output
• Set-Output
• Reset-Output
• Save Flags
• FlipFlop with reset precedence
• FlipFlop with set precedence
SUB-Menu timer
SUB-Menu counter
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 15 de 80
SUB-Menu comparison
SUB-Menu function-blocks
SUB-Menu arithmetic
• add integers
• subtract integers
• multiply integers
• divide integers
• add floating-point operands
• subtract floating-point operands
• multiply floating-point operands
• divide floating-point operands
• add double-words
• subtract double-words
• add byte-constant to Accumulator
• add word-constant to Accumulator
• add double-word-constant to Accumulator
SUB-Menu word-functions
• X-OR integer
• AND integer
• OR integer
• one’s complement integer
• two’s complement integer
• two’s complement double-word
• shift-left integer
• shift-left double-word
• shift-right integer
• rotate-left double-word
• rotate-right double-word
• shift right integer with sign-extension
• shift right double-word with sign-extension
• convert BCD to integer
• convert integer to BCD
• convert BCD to double-word
• convert double-word to BCD
• convert integer to floating-point
• convert floating-point to integer
• transfer word-operands
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 16 de 80
• disable alarm-interrupts
• enable alarm-interrupts
• exchange Accumulators
• Push integer onto Accumulator-Stack
• absolute block-end
2.6 LAD-Editor
For editing your block in the LAD-Editor, first of all you have to move the cursor on the corresponding line. Then you choose the command Edit in the menu Block.
You can also click twice with the mouse the corresponding line or press RETURN there. This selected block will be displayed on the editor, which you choose as
default.
You choose the STL, CSF(S5) / FBD(S7) or LAD editor in the menu View or on the toolbar buttons. This is the following button:
The window rests empty if the block is not notable. You move inside the LAD-Editor by usings the two scroll-bars of the window.
You insert a new segment after the actual segment by pressing the following button:
You move one segment up by pressing Ctrl - Page up or pressing the following button:
You move one segment down by pressing Ctrl - Page down or pressing the following button:
The following button will display a dialog, where you could select by mouse or keyboard a segment. The editor will display this segment:
You can input the segment-number by keyboard or by double-click on the segment listed below. Even in CSF(S5) / FBD(S7) or LAD you could jump to the specified
segment:
The following buttons are displayed and available for to edit, when you have chosen the S5/V5 Mode. You choose this mode in the dialog configurations, which is
called in the menu Options by the command Configurations. Here are some helpful indications for this program.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 17 de 80
For inserting a new element, you have to choose the corresponding element of the palette with the mouse. Then you click the connection in which the element shall be
inserted.
You also have the possibility to change an already placed element into an element of the same type. That means, you are able to change an AND-element into an OR-
element, etc. The type of the element has to be the same as before. The following elements are available:
• AND/OR
• Timer
• Counter
• Comparator
• Set/Reset precedence
• arithmetic with one operand
• arithmetic with two operands
• special functions without operands
For changing an element, you choose the new element in the palette and click on the old element to change it. You set the parameter or delete elements as it is
explained aside the symbol below.
switch-element
SUB-Menu output
• Output
• Set-Output
• Reset-Output
• Save Flags
• FlipFlop with reset precedence
• FlipFlop with set precedence
SUB-Menu timer
SUB-Menu counter
• up-counter
• down-counter
SUB-Menu comparison
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 18 de 80
SUB-Menu function-blocks
SUB-Menu arithmetic
• add integers
• subtract integers
• multiply integers
• divide integers
• add floating-point operands
• subtract floating-point operands
• multiply floating-point operands
• divide floating-point operands
• add double-words
• subtract double-words
• add byte-constant to Accumulator
• add word-constant to Accumulator
• add double-word-constant to Accumulator
SUB-Menu word-functions
• X-OR integer
• AND integer
• OR integer
• one’s complement integer
• two’s complement integer
• two’s complement double-word
• shift-left integer
• shift-left double-word
• shift-right integer
• rotate-left double-word
• rotate-right double-word
• shift right integer with sign-extension
• shift right double-word with sign-extension
• convert BCD to integer
• convert integer to BCD
• convert BCD to double-word
• convert double-word to BCD
• convert integer to floating-point
• convert floating-point to integer
• transfer word-operands
• disable alarm-interrupts
• enable alarm-interrupts
• exchange Accumulators
• Push integer onto Accumulator-Stack
• absolute block-e
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 19 de 80
2.7 Cross-Reference, program-structure and I/Q/F-List Drucken Speichern Speichern als PDF
2.7.1 Cross-reference-rolls
see chapter:
The XRF-List displays for one operand where else in the blocks this operand exists. The XRF-List refers always to all blocks in the actual block list. The XRF-list
always refers to all components of the current block list.
Before creating the XRF-List by filling in the dialog which appears after calling the command XRF-List, you decide if only specific operand types (flags, inputs,
outputs,...) and specific operand sizes (bit, byte,...) will be taken in this list.
Mark the desired operand type, for example flags and inputs. After that mark the operand sizes which should be considered. Here for example Bits and Bytes. This
has to the consequence that all bits - and bytes-accesses of flags and inputs are inserted into the XRF-list.
sample:
All options of the XRF-list will be saved automatically by closing its windows. So you can edit them again at any time.
If for your currently file a XRF-list exist and you wants to see it, you choose YES. If you would like to produce a new XRF-list, you choose the button NO.
Subsequently, the XRF-list is represented in a new window, and when closing this window automatically stored again.
After the access-mode, the program code line is displayed, in which the operand is used.
You move inside the XRF-list window by pressing the cursor keys or using the scroll-bars. If the cursor is on list line and you press <ENTER>, you change into the
corresponding block window in that line, in which this operand occurs. Then the cursor is set on the corresponding line.
In consideration of the big amount of data that occur, always only a part of the data will be displayed. This depends of font's size. You can move in one part of the
data from the begin to the end of the part. You move to the next part by using the key Page Up/Page Down. The end of the XRF-list is displayed specially.
You can jump among the different areas by pressing the first character:
I Input
Q Output
F Flag
D Data
T Time
C Counter
S S-Flag
P Periphery
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 20 de 80
There is the command XRF in the menu XRF-list with functions for jumping into the corresponding block window and forDrucken
jumping to Speichern
a specific area in the XRF-list.
Speichern als PDF
This menu contains also a function for sorting, which offers to get a XRF-list in variable order.
You can copy the context of the XRF-list into the clip board by calling the command Copy .
In the window ” Sort XRF ” you can choose on which way the XRF list should be sorted.
Declare here, in which sequence the operands should occur in the XRF. Choose for each place in the sort sequence (1-10) the wished operand. For each
place dial only one operand.
Declare here, in which sequence the operands-size should be sorted. The sorting is applied within the area to each operand. Choose for each place in the
sort sequence (1-4) the wished operands-size. Only one operands-size may be dialed for each place in the sort-sequence.
Declare here, whether the operands-address and the bit-number should be sorted with bit-operands rising or descending numerically.
Declare here, in which sequence the designations of the Blocks-types, in which a certain operand is found, should be sorted. Choose for each place in the
sort sequence (1-7) the wished Blocks-type. Only one component-type can be selected for each place in the sort-criterion.
The program-structure diagram shows the nest of the block-calls in the PLC program. For each marked block, all the blocks, which are called by it, are displayed.
• exclamation mark
• blocks name
• note in brackets e.g. + - FB011()
The call note is composed of two characters. The possible combinations and their meanings are specified in the following:
The actual block is in the first column. The following column contains the called blocks corresponding to their overlapping depth.
Example:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 21 de 80
FB 11 is called absolutely by OB 1. Then FB 12 is called conditionally; FB 12 does not exist in the file. Then FB 13 is called absolutely; FB 12 is called indirectly by
FB 13. At last FB 11 is given as formal operand of type B in a FB/FX-Call.
You can copy the whole or a part of the program structure, which is displayed, by the command in the menu Program structure of the program structure window.
2.7.3 I/Q/F-List
The I/Q/F-List shows the employed inputs, outputs and flags. It is displayed if and who the operand is used.
Each symbols byte is registered in a table. The symbols have the following meaning:
' ' (blank.) Apply a byte, word or double word command to the operand
There is a table with two columns for each byte. Column 1 (_7_6_5_4_3_2_1_0_) shows the I/Q/F of the bits, column 2 (_B_W_D_) shows, if there is a byte-, word-
or double word access in this byte for the start address. Only the start address of a byte-, word- or double word access is marked with a X on the suitable place in the
_B_W_D_ - column.
You have to look for X-marks in column 1, if you want to verify if one byte's single bits are used.
You have to look for X-marks in column 2 (X under B = byte access, X under W = word access, X under D = double word access), if you want to verify if one byte is
the start address of byte-, word- or double word access.
There are two possibilities for checking a byte on being a part of a word or double word access:
In the first case you only have to verify if there is a blank filled in instead of "-" on a bit. In this case, the concerned byte is part of a word or double word access.
In the second case you have to verify if the start address is given either for the concerned byte (byte access) or for the precede byte (word access) or for one of the
three bytes before (double word access).
Example:
You discern this by regarding the columns of the table which are marked by colors.
1. In the column _7_6_5_4_3_2_1_0_ , there is filled in only "-", that means that no bit of the input byte 0 is used as bit operand.
2. In the column _B_W_D_ , there is filled in only "-", that means that the input byte 0 is not the start address of any access.
C. All bits of the input byte, except bit 6, are used as operands and byte 1 is the start address of a word access.
In the I/Q/F-list, you jump to the begin of the presentation of input, output or flag by pressing the keys ' O ', ' Q ', or ' F ‘.
In the menu I/Q/F-list of the “I/Q/F-list” - window you can copy all or a part of the displayed I/Q/F-list to the windows clipboard.
2.8 Other
2.8.1 Datalogger
The datalogger is an expansion from ”Force variables”, it is used to record the values from ”Force variables” over a specific period with a selectable temporal
resolution (sample rate).
Enter in the window ”Forced variables” the data which should be observed. In the menu item ”Status” you can configurate the records. Following options are
possible:
only the configuration-data of the datalogger are loaded. If you would like to load the input variables in “Force variables”
load datalogger
enter it over the option ”File/Open”.
save datalogger only the configuration data of the datenlogger will be stored.
configure datalogger to call up the configuration-masks of the datalogger a description will follow.
start datalogger activate the datenlogger.
datalogger active shows if the datalogger is active at the next record. With this menu item the datalogger can switch into on or off
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 22 de 80
- Time sharing
- Output to
- Output with
With the option “date“, you can save another column with the date of the record in the denoted file.
With the option “time“, you can save another column with the time of the record in the denoted file.
The two above named options are designated for long-lasting records.
With the option “number”, you can save another column with consecutively numbers for each line in the denoted file.
With the option “headline”, you can save headlines for the table-column in the denoted file. This option always can be dialed; the possibility of
deactivating the table heading can be used to ease the imports of older programms.
With the option “preceding zeroes“ you can show zeros in front of the number. For example: 10 ? 0010
- File format
Here you can enter especial data format for saving the data.
- Column
With the option “tabs”, you can use the usual tabulator control character as table-separator.
With the option “others”, you can use your fixed symbol as table-separator.
- Line-end
The options “CR” (carriage return) and “LF” (line feed) is for the usual, common used line-end symbols.
With the option “others” you can use your own fixed symboles as line-end symbols.
The reference to the “Force Variable”-window above includes the “Force outputs”-window.
The best result can be reached if the datalogger works out of the “Force Variable” window.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 23 de 80
In this dialogue-window, you can do adjustment for the ”line-scribber”-windows of the datalogger.
You can enter following parameters for the 16 variables, which you enter in the “Force Variables”-window:
Here enter the minimum amount, from which the value of the variables should be shown.
Here enter the maximum amount, from which the value of the variables should be shown.
- scaling
- color
- type
- background
- direction
Here enter one of the four possible directions: “downwards”, “upwards”, “to left” or “to right”.
- fix lines
If this option is active, separating lines will be marked between each period.
- measuring values
Here enter, if the gradient for more variables should drawn parallel or on top of each other.
- separator
Here enter the color of the separating lines for the periods.
- Pixel to Scroll
The datalogger can be started automatically via command-line parameters. Therefor you need a BLT-file (what to record) and a DLG-file (how to record). Both files
have the same name, except the flaring DLG/BLT. If you use S7 you have to switch the PG-2000 on S7 and choose the correct PLC. In the program-arguments will
be entered “-DATALOG” together with a space and a file-name with BLT at the end.
For example: The input-words 0,2,4,6 and output-words 32 should be written every 15 sec. into a file.
At first define the BLT-file while starting PG-2000 and open “Force variables” under “PLC function”.
There you can enter the desired datas
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 24 de 80
After that, go to “Status” and open the datalogger configuration to configure the record-rate and the destination file (here ”DATA.LOG“). The default settings are
define, that the file can be included direct into Excel via import-filter. Set the leading numbers.
Confirm this dialog and save this configuration under „C:\TST\ASTRT.DLG“ with the menu item
“Status/Datalogger save”.
Finally include the command-line parameters. Therefor we create a linkage on the desktop:
Please pay attention, the application-name might be surrounded by quotation marks. Behind the last quotation mark there comes a space then a minus, then you have
to write in upper case “DATALOG”. After that there comes a space with the file-name and “BLT” at the end. Bind this file-name with quotation marks. Confirm the
changes. After a double-click on the linkage PG2000 starts, it opens a “Force variables”-window, reads the “C:\TST\ASTRT.BLT”, after it reads the
“C:\TST\ASTRT\.DLG” and starts the record-process
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 25 de 80
Open the file in a text-editor, select all and copy it over the clipboard into excel: Drucken Speichern Speichern als PDF
To get more information about a certain window, menu-command or a special button, click on the button for context-sensitive help.
The cursor changes into an arrow with question-mark. Now click on the element, you want have more information about. Then the help text for this element pops up.
New
Open
Close
Save
Save as
Printer configuration
Print
Hotkeys
Exit
______________________
Select this command of the menu for creating a new file. An empty block list will appear. This block list will get the name that you enter by the using the commands
Save or Saving as.
In the same way you can click the control panel in the toolbar:
With the command Open you can open an existing file from hard-disk or floppy-disk
or the content of the PLC in a new window. PG-2000 saves the names of the files you handled last.
You can open one of these files quickly by activating its name with the mouse in the menu File.
If you have finished your work with a document and you want to take it away from the screen, you close it by using the command close. You can create documents
by the command New.
In the same way you can click the control panel in the toolbar:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 26 de 80
- Filename:
Enter the name of the file to open or choose it in the list. This list contains all files in the actual directory with the extension that is selected in the field
"List files of Type".
You can double-click a filename in the list box to open the file. You can select a file type from the List Files of Type box to display a list of all files with
a predetermined type from the current drive and directory. If you type a pattern using a wildcard (* or ?) in the File Name box and press ENTER, the list
box displays files matching that pattern. This file type subsequently appears as the default when you open this dialog box again.
- File Type:
- Drives:
- Directories:
You confirm by activating the button OK or you exit without opening a file by activating the button Cancel.
Select this command of the menu for closing the active file and its window.
You will get a notice and the possibility to save the changes, if the file has been changed.
ect this command of the menu for saving your file with its name and its path.
In the same way you can click the control panel in the toolbar:
Select this command of the menu for saving your file with a different name or in a different path.
In the following dialog you can select the path you want and you fill in your new file name. You acknowledge with OK for saving your file.
You can transfer your file completely into the PLC in the same way.
Select the button PLC in the following dialog.
- Filename:
Enter the name of the file to save or choose it in the list. This list contains all files in the actual directory with the extension that is selected in the field "List files of
Type".
You can double-click a filename in the list box to open the file. You can select a file type from the List Files of Type box to display a list of all files with a
predetermined type from the current drive and directory. If you type a pattern using a wildcard (* or ?) in the File Name box and press ENTER, the list box displays
files matching that pattern. This file type subsequently appears as the default when you open this dialog box again.
- File Type:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 27 de 80
- Directories:
You confirm by activating the button OK or you exit without saving this file by activating the button Cancel.
Select this command of the menu for printing the content of the actual window. If you have opened a block list, you will get only the marked blocks and not the
whole file.
This dialog show a list of the installed printers defines the default printer and offers some options of the printer, that you have selected. Before printing for the first
time, you have to
o Connect the printer to your computer or your network. You get the information that you need, in your printer's manual.
o Install your printer driver with a install-program for Windows or with the Windows systems control. You get the information in your
Windows manual.
o You select the printer that you want in the dialog Printer configuration.
- Standard printer:
- Special printer:
Choose your printer. PG-2000 shows the printers that are installed in Windows. You get information about the installation of printers in your Windows
manual.
- Format
- Options
Controls the print options of the printer that is selected in the list. The available options depend of the installed printer driver. You get information about
the selected printer by clicking the Options-button and then the Help-button.
3.1.7 Print
Select this command of the menu for preparing the printing of the file with the printer you want.
The command Print controls the activities of printing. You have to install a printer and select it before using this command. You find information about the printer
installation in your Windows manual. You get further information about the selection of a printer in the dialog Configuration.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 28 de 80
- Printer
- All
- Pages
- Copies
- Assort copies
- Quality
3.1.8 Hotkeys
Here you get the last ten files, which were opened by you. For opening one of these files you choose one by mouse or you use the hot-keys: 1, 2, 3, ... 9
Select this command of the menu for to exit the program PG-2000.
Cascade
Tile horizontal
Arrange symbols
Hotkeys
More Windows
______________________
3.2.1 Cascade
If you have minimized your documents into symbols, you can arrange them in lines with this command.
3.2.4 Hotkeys
Here is the list of the ten current windows which have been opened by you. You select one of these windows by using the mouse in the menu or by pressing the hot-
keys: 1, 2, 3, … 9
This menu-point will appear when you have opened more than 10 windows in PG-2000. In the following dialog you can select the window which will be activated:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 29 de 80
Contents
To use Help
Introduction
About PG-2000
______________________
Pressing down the key - F1 will show you the help screen for the active window or menu command.
In the same way you can click the control panel in the toolbar:
Pressing down the key - SHIFT + F1 changes the mouse-cursor and you are in the context-sensitive
help-mode. See also the following: Context-sensitive Help
In the same way you can click the control panel in the toolbar:
3.3.2 Contents
You will get into the overview of this the PG-2000 Help by calling this Command.
Here you get a detailed explication how to handle PG-2000 Help and how to choose the themes.
3.3.4 Introduction
Here you will get into the introduction of PG-2000, which displays a short overview about the work with PG-2000
This command displays some information about this program PG-2000. In the following dialog you can see which options are completely included, included as a
demo or not included:
Symbols
View all symbols
Symbols absolute operands
Symbols comments
Symbols & absolute operands
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 30 de 80
Symbols file
Footer file
Configuration
Font
Colors
A dialog will be displayed after activating this command, in which you can indicate if and how to display the memory addresses of each STL-Command.
There are the following possibilities:
• none The memory addresses of the commands are not displayed in the STL.
• hexadecimal in words The first column of the STL contains the memory addresses of the following command in words hexadecimal.
• hexadecimal in bytes The first column of the STL contains the memory addresses of the following command in bytes hexadecimal.
• decimal in words The first column of the STL contains the memory addresses of the following command in words decimal.
• decimal in bytes The first column of the STL contains the memory addresses of the following command in bytes decimal.
_________________
New
Open
Hotkeys
_________________
Select this command for creating a new symbol file. An empty symbol editor window will be displayed at first. The file gets the filename that you enter in the dialog
which follows the commands save or save as.
Choose in the following dialog the file, which contains the desired symbol definitions.
Call the command View all symbols in the menu Options for changing some symbols or for appending some new symbols.
You create a new symbols file by calling the command New in the menu Options-Symbols file.
Save your symbol file by using the commands save or save as in the menu File.
Here is the list of the ten last symbol files which has been opened by you. You select one of these file to open by using the mouse in the menu or by pressing the hot-
keys: 1, 2, 3, … 9
The first file in this list always is regarded as valid and is handled as already chosen.
3.4.3.1 Symbols
Select this command for changing between ”Symbol active” and ”Symbol inactive”. Symbol can be used in the STL-editor, in the CSF(S5) / FBD(S7) - editor and in
the LAD-editor.
All defined Symbol Operands are substituted by the corresponding symbol. In the editor you can use the Symbol Operands (for example QW 15) directly or the
symbol for it (for example MOTOR 2).
If Symbol is active, its command in the menu is marked.
If you have activated Symbol, the symbol definitions are printed after the printed program.
This command calls the symbol editor. This editor displays all symbols of the selected symbol file.
You can change, delete or create any symbols. Save your changed symbol file by using the command save or save as in the menu File.
This command displays the allocation of a symbolic operand. Select this command (if the cursor is placed on a program line which contains a symbolic operand) for
displaying the absolute operand, the symbolic operand and the corresponding symbols comment in a dialog.
Select this command for displaying the statement comment instead of the symbols comment. This function is only active for the program lines in which a symbol
operand is associated. There is no possibility to edit the symbol comment.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 31 de 80
3.4.3.5 Symbols & absolute operands Drucken Speichern Speichern als PDF
Select this command for displaying the absolute and the symbol operand. This command is possible in all program lines which contain a symbol operand association.
The absolute operand can be edited.
If the Symbol and the Absolute operand are active, this command in the menu is marked.
3.4.5 _________________
New
Open
Hotkeys
_________________
The footer offers you the possibility to print specific data of the project or the person. You can enter here the project number, name of the employee etc.
On each print the selected footer is printer on the end of each page. You choose in the dialog print format if you want to print a footer or not. You call this dialog by
calling the command Printer configuration for output in the menu Options. If you once have defined a footer, the first footer in the file list in the menu
Options/Footer file is the default footer.
The footer editor displays the footer in the same disposition like it will be printed. You can choose between the standard formats of Siemens (80 char or 132 char
large) with defined sections. You change among the several sections by pressing TAB or SHIFT + TAB. Inside a section, you move with the cursor keys and you
edit like usually in Windows.
If you have selected the 132 char large footer, it cannot be displayed in the whole size. You change between the left and the right part by activating the buttons Part
1... and Part 2... .
You save the changed file by activating the button Save with the original name or by activating the button Save as with a different name.
Select this command in the menu for creating a footer file. You have to indicate the desired foots width in the following dialog. The empty footer dialog is displayed
after acknowledging the choice. You save your entries by pressing the buttons save or saving as in the footer dialog.
Select this command for opening an existing footer file. The footer dialog depends of the entered format of the selected file (80 or 132 characters width).
You choose file in the dialog File Open, which contains the desired footer definitions.
The command New in the menu Options-Footer File creates a new symbols file. Save your edited footer file by using the buttons save or saving as in the footer
dialog.
Here you see the list of the last ten footer files, which have been opened by you. For opening one of these windows you may use the command of the menu or use the
hot-keys: 1, 2, 3, … 10
The first file in the list is regarded as actual valid footer file and will be used for the following print activities.
With this menu item you can enable or disable the usage of a reference file.
To disable the checkbox must be checked.
If you transfer the data and MC5-blocks into the PLC, the corresponding Reference Blocks (DV) and the Documentation Blocks (DC) will not be transferred.
For editing the blocks in the PLC you have the possibility to declare the corresponding S5D-file by using this command.
You can open the corresponding file in the following dialog. You select the reference-file for the contents in the PLC, and now you have all reference data and
documentation data while you edit the blocks on the PLC.
You define in the dialog Configurations if you want to save the data into the reference-file. You call this dialog in the command Configurations in the menu Options.
You can influence the print and decide which additional information you want for printing some blocks or a whole S5D-file.
You enter the details in the following dialog.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 32 de 80
Here you have some option to change the print and the additional information. The following options are available:
- Border configuration
Choose this option, if the printer font has to be used for printed CSF(S5)- / FBD(S7)- / LAD-
presentation and not the active screen font
Deselect this option when a printer which could do graphics is rejected because it is a
TTY-Printer.
- Scaling
Choose this option for printing the list of the symbols operands that have been used in this
segment at the end of each segment. This option is available, if the symbols or symbols
comment is set.
Enter here how many chars of the symbolic operand should be printed. The range of value is
between 8 and 24 chars.
If you select this option, the segment comments of the Doc-blocks will be printed.
Choose this option for printing the instruction comment in the line aside the symbols comment. This option is available, if the presentation of the symbols
comment is set. You get long lines by using this option. So it is necessary to choose a small font.
Choose this option for printing the selected footer at the end of each page. See how to create
or to choose a footer in the chapter footer editor.
- Graphic border
Choose this option for printing the footer with a not broken line as border.
- Network-Header in Block-List
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 33 de 80
- Print with
Define here whether Page-Number, Date, Time and Filename should be printed in the header or not.
Enter the font to be used for printing. You choose the font by activating the button select and the following dialog.
3.4.9 Configurations
Others
If you exit the PG-2000 with visible function keys, this option will be saved. This means
that PG-2000 will start with the Siemens S5-V5 start dialog and the function keys will
be displayed.
Choose this option, if you after activates the transfer of the variable-list, wants be asked
again whether the data should really be transferred to the PLC.
Choose this option, when you want with each attempt the PLC starting or stop, to
receive an explicit message. With out this option, the PLC is immediately started or stopped.
Select this option for using specific and national characters as valid input characters.
These chars can not be displayed properly in the orginal Siemens PG´s
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 34 de 80
- DOS comp.
Choose this option in order to test the segment-length for 255 words and, to receive a
mistake-news with demand.
It is testing when saving, whether the block becomes not too big. If the block should
become too big, so the user is pointed out of this. With voting out, not SIEMENS
compatible files, which work correctly in the PLC, can be generated. They could not
read with SIEMENS programming software.
When active, the corresponding Symbolic-File will be loaded as well when opening an
S5D-File
- Save as S7V3.0
In Version 3.0 of the S7 the root-file has had a different format. Therefore this option
exists. But today this option is not needed anymore.
- 3D-effect
- Bubble-Help
Choose this option in order to switch on the Bubble-Help. If you let a certain time stand
the mouse-pointer over a button, a help is shown under the button.
- Compile S7 Always
When this option is active a Message box will appear before exiting the program.
Reference file
If this adjustment is turned on, you must confirm each writing process into the selected reference file, presupposed application of the put in reference file
is active.
You select the reference file under OPTIONS, SELECT REFERENCE FILES.
Is this adjustment is choose, a connection exist to a defaulted reference file. Under OPTIONS, SELECT REFERENCE FILES can be selected this file.
The selected
reference-file may not be opened with the access on the PLC then. If you open then the PLC you get the comments and the symbolic to see, because the
connection with the reference file. With each storage process, now stored in the PLC and in the selected reference file, with retrieval or without,
dependence from adjustment in
CONFIGURATION, REFERENCE FIL, CONFIRM BEFORE WRITING IN REFERENCE FILE.
If you would not like to work with a reference file, so you don’t choose this adjustment.
Compare blocks
- Compare binary
- Compare comments
- with head
When this option is active the block header will be checked, too and displayed
correspondingly when the content differs. (default value is off)
Choose this option in order only to show the operand in the XRF-list, in the first lines. If
there are several lines with the same operand, so the operand is represented only in the
first line.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 35 de 80
Choose this option, to show more than a position with the XRF-list within on line.
- XREF interruptible
If the XRF-list should be generated in the background, however, still to execute other works in the foreground, it (like for example texts prints or
produces) can be admitted the message handling by adjustment of this point. The disadvantage is that the XRF-list over many blocks are quite long.
- DB-Format
If the reference-data is not present in the S5D-file or in the PLC then this will be the
default displaying format
Working Directory
- Use Path
That here put in file-path is defaulted with all file accesses in PG-2000.
Choose this option, if you want to work with the blocks from the blocks library. If you now generate a new block that exists in the block library, you get
a block with the parameter of the block in the library.
If you create a new block into one of the above 3 file, the automatic parameter becomes effective for this block, first after finish PG-2000 and started
again. This adjustment is absolutely necessary for S7.
Graphic editor
Select this option for getting a white/gray colored presentation of the toolbar.
This option is recommended for systems with reduced color display,
like LCD-displays for example.
- Small palette
Select this option for getting a smaller palette. This option is recommended for the
standard VGA resolution for economizing place on the screen. This option is only in the
one color mode available because of it’s visibility.
- Printings in color
Select this option for printing the CSF(S5)- / FBD(S7)- / LAD- print in colors if you have a color printer. There is no conversion in black/white output.
- Use keyboard
A courser, which can be controlled with the keyboard, is displayed. The functions from the menu refer to this cursor.
Texteditor
If a label is never used, then it will be deleted. This label will be erased permanently.
When active, a new line after the current line will be inserted when pressing enter.
Display
These options define the displaying of the symbol’s background and the symbol’s frames and the way to draw the wire connections.
The options are separate for the displaying of CSF(S5) / FBD(S7) and LAD and for the displaying on the screen (D= Display) and on the printer (P=Printer).
- wires fat/thin
The wire connections will be displayed large and plastically if this option is on. The status blocks will be displayed in colors which correspond to their
actual logic mode.
The wire connection will be displayed as small lines if this option is off. The actual logic mode will be displayed by the line. A line means logic 1 and a
broken line means logic 0.
- frame
The frame of the symbols is drawn in the selected color if this option is on. No frame is drawn if this option is off.
- area
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 36 de 80
The background of the symbols is displayed in the selected color if this option is on. If this option is off no background is displayed.
Drucken Speichern Speichern als PDF
- images
The print job runs faster if the last three options are off
Saving
The first bracket about the first connection in a network can be left out without loss of the logical function. These networks are not representable in the
SIEMENS original PG in CSF(S5) / FBD(S7).
- NOP in T/C
Without parameter Input/output in times and counters, Siemens concurring NOP 0 lines are generated. PG-2000 doesn’t require these lines to recognition
of a Timer/Counter. If the NOPs are missing however, the Siemens-PG can represent this network not in CSF(S5) / FBD(S7) or LAD.
- S5-Filenames
The Siemes convention is now used with the file-names. Name cut off on 6 signs,
lacking signs with ”@” replenished and in the end ”ST.S5D” appended.
Example:
T ...................T@@@@@ST.S5D
TEST.S5D..... TEST@@ST.S5D
TESTST........ TESTSTST.S5D
test00st.S5D.. TEST00ST.S5D
- always overwrite
When transferring a block from A to B and the block to transfer already exists a Message box appears whether the existing block should be overwritten
or not. When this option is active, the Message box won’t appear and the existing block will always be overwritten.
- never rename
When transferring a block from A to B always a Message box appears where you can rename the block for the destination. When this option is active,
this dialog will not
appear.
Window title
- 'file - Block'
When active, the filename will be displayed before the block name in the window title when opening a block.
Display symbols
- No
- in status line
The association of the selected symbolic operand contains the absolute operand, the symbolic operand and the symbolic comment in the status bar.
Display type
Symbolic in CSF(S5) / FBD(S7) / LAD, here is fixed something in the status-line is shown
Errors
With this option, you can choose, as and whether a mistake is shown at all.
- Beep
Scrolltext
With this option, you can fix only in the full version, whether the scrolltext is fixed in the status line or goes through.
- Off
Symbolic-Editor
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 37 de 80
It is tested with each input of an absolute - or symbolic operand whether it was possibly entered same in the symbolic editor. This has the
Drucken
consequence
Speichern
however the
Speichern als PDF
copies a line and following editing of the same, is not possible. If you want to do this, you deactivate this point, edit (copy) and let run after the edit an examination of
the absolute - and symbolic operands.
Password
With this control box, you can turn PG-2000 to a read-only version. With activated control box you couldn’t edit the program. The adjustment mask is protected by a
password
3.4.10 Font
You define the font for the actual editor in this dialog, where you can enter the font and its options. The font and it's options will be saved by closing the actual editor
window. When you open the same editor again it will use the font that you defined in this dialog before.
• Font style
• Font size
• Font color
• Font presentation
You can also change among the different section by pressing the TAB-key and enter your choice in the sector by pressing the cursor keys. Some letters using this font
you entered are displayed in the field pattern. If you agree with the selected font then you confirm with OK. If you want the previous font you leave by pressing
Cancel.
3.4.11 Colors
You define the colors for the actual editor in this dialog, where you can enter the fond and its options. The fond and its options will be saved by closing the actual
editor window. When you open the same editor again it will use the colors that you defined in this dialog before. Dependent on which view you have selected (STL,
CSF or LAD) one of the following dialogs will appear:
You select the color which should be changed for the actual editor in this dialog. The color will be saved by closing the actual editor window. When you open the
same editor again it will use the colors that you defined in this dialog before.
Select one of the fundamental colors or of self defined colors by clicking with the mouse. You can also change among the different section by pressing the TAB-key
and enter your choice in the sector by pressing the cursor keys. If you agree with the selected color then you confirm with OK or the key ENTER. If you want the
previous color you leave by pressing Cancel.
Activate the button Define color >> for getting a self defined color in a section. In a square of colors you choose your color with the mouse and additionally you can
enter the brightness and the saturation in the columns. You can also enter directly the values of color, saturation, brightness, red, green and blue and the
corresponding base color in the field Base. Activate the button Append for appending your selected color. Then you can use this self defined colors in the same way
as the fundamental colors.
Call this command for copying the symbols comment of a selected symbols file into instruction comment of all block in the actual file. This command is not available
if there is a open block in the actual file.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 38 de 80
Choose this menu-option to change the language of the application. You could choose separately the language of the application-menu and text or the MC5-Code
language:
3.4.14 Interfaces
In this dialog you can define the COM-interface of your computer which is connected to your PLC. COM1 to COM4 are available. If the option check COM-Ports is
active only COM-Ports which can be opened are listed. You have to be sure, that the selected interface is really free and not reserved by a mouse driver, for example.
S5 S7
In the Timeout-field (default-value 2500 ms) you can enter the time for trying to get a connection with the PLC. If the connection is not established in this time
(Retries default 3 times) an error message occurs and the current action will be cancelled (e.g. saving blocks to the PLC).
In the Timeout between Data field you can define the time between two data-blocks. The default-value of this time is 275 ms though there are a few PLCs which need
a different value instead.
ATTENTION:
If you use a Sinumerik 810 use the value 360 in field "Time-out between data"
If you use a VIPA 242.NET use the value 80 in field "Time-out between data"
In the field STL not executed (default-value 2500) you can define the time until it is expected that the block which is viewed in ‘Status’ is not being processed.
The selection save file-by-file effects that the interface-settings will be stored in an extra file. If this option is inactive the interface-settings must be entered every
time.
If the selection Show Properties at Load-time is active the stored Interface Settings will be shown after loading a file.
If you select Grip always only one block from the PLC only the block list will be read from the PLC without any content of the blocks. The content of a block will
only be read when you select a block.
If you select stat. PLC access the application will connect only once to the PLC when the program starts and end the connection with the application. It is necessary
to select this option when you connect via H1.
If you select FB-Names the name of the function-blocks will be read from the PLC. On smaller PLCs it is necessary to read the whole block.
If you select Bst.Info the block-informations component-size and the library-number will be read from the PLC. On smaller PLCs it is necessary to read the whole
block.
If check COM-Ports is selected, PG-2000 checks which COM-Ports already covered from other interfaces. You get under OPTIONS, INTERFACES..., PLC-
INTERFACE only the free COM-Ports are offered. When this option is not selected, all COM-Ports are offered, also the busy.
- Baudrate
The Connection between the S7-PLC and the PG is done with a PC-Adapter. The original PC-Adapter could work at 19,2k or 38,4 Baudrate which is
selected with an Dip-Switch on the Adapters side.
PG-2000 checks on application-start or when selecting ”Interface” from Menu ”Options” if such an PC-Adapter is attached and which Baudrate is
selected. Because this switch is changed manually you could not change the Baudrate in PG-2000. If you use an MPI-Interface from our Company, you
could then select the desired Baudrate if the MPI-Interface has a Version 1.15 and following. You could select only this Baudrate which are possible. On
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 39 de 80
application exit this selection will be saved to profile-settings for further use (if possible). Drucken Speichern Speichern als PDF
The S5-PLC works only at 9,6k Baud, so a selection is not possible.
- PC-MPI
With this attitude, the multi-point-interface gate (MPI) becomes put in. If this option is selected also can searches again, as described under PG-Path-
selection is used.
In the list-box below you can choose the network adapter if you want a direct TCP/IP connection with a S5LAN,H1-CP or a S7/MPI-LAN. Below that you can
activate the general S5LAN, S7LAN or MPILAN linking.
The destination-IP-Address can be entered manually or can be searched via search-button „…”.
If you click the search-button, the following dialog will show the configured name, IP-Address and network adapter. Only the corresponding devices will be listed
(when S5 only S5LAN/S5Gateway/S5GatewayPlus, when S7 only S7LAN/MPILAN)
Over the area of inc. PG-Bus, a PG-Bus path-selection becomes (L1-Bus) or the MPI-Address (S7 - 300/400) put in. The respective participant-number is written
down under AG-Slave-Number.
S5 S7
- PG-Path selection
Only when this option is selected, KOR/MUX-Time can be selected searches, unique selection.
- inc. PG-Bus
After selects this option the button can (PG-Bus) is operated. The attitudes, that can be planned here, are explained extended PG-Bus path selection in the
section in more detail.
- Searches
If you press on searches, PG looks for the programming number. The particular PG-Nr is shown in the status-line.
If this option is selected, so the bus participant is dialed only singularly. Otherwise, INC. of the bus participant is dialed before each access on that.
- KOR/MUX-Time
So, if the bus extension is managed over a KOR/MUX, must be activated before the participant-selection of the KOR/MUX. If selected, then the
selection of the KOR/MUX switches on.
With operates the PG-Bus button a dialog-window appears can be put the bus-path to the PLC. (PG-Bus path selection). in this menu is possibly itself it over different
bussystems SINEC L1, SINEC L2 and SINEC H1 to one PLC. Are the single knots, over which one reaches the final point, through bridges -, counter-adjustments or
software parameterization an address assigned. It is always dayl, that is possible for the in each case chosen configuration, only the knots or bus systems.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 40 de 80
- Rename
Select the corresponding path of your path-file in the dropdown list “PG-Pathname” and click “rename” to change the name of the path.
- Erase
To erase a path from your path-file select the corresponding path and click “Erase”.
One click on the arrow, three start-knots appear in order to reach the respective Bus system over the programming-appliance:
- PG AS511
- PG CP-H1
- PG CP-L2 currently not available
- Chooses one in the first window PG.AS511 a second dialogue-window is shown, in which between:
- KOR/MUX
- CP-H1
- CP-L2
- CP-L1 can be chosen.
- Chooses one in the first window PG CP-H1 a second dialogue-window is shown, in which between:
- PG CP-H1
- CP-H1 can be chosen.
- Chooses one in the first Window. PG CP-L2 a second dialogue-window is shown, in which between:
- PG CP-L2
- CP-L2 can be chosen.
- Chooses one in the second window SINEC H1, three more windows appear:
Example:
Here you enter the address of the S-flag area in the memory of the PLC in hexadecimal numbers.
This option is necessary for function "Status Block" and "Force Variable" with the PLCs S5-PLC135U/PLC155U.
If this option is not entered correctly, the displayed values of the S-flag instructions in "Status Block", e.g. in the instruction like "U S 1000.0", and for access to the
S-flag-area in "Force Variable", e.g. with operands like "SW 10", do not match with their originally values in the PLC.
You get this value in your system manual (in the chapter "Memory structure" or some like this). Also if the PLC works in a 20-bit-address area, the address must be
declared as 16-bit-base address; if the S-flag area is e.g. at EA000, you have to enter the value EA00.
If 0 is entered the corresponding value for the PLC will be selected automatically.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 41 de 80
This command starts the PLC and the program starts running.
In the same way you can click the control panel in the toolbar:
This command stops the PLC and the program stops running.
In the same way you can click the control panel in the toolbar:
When you delete a block in the PLC, the block is not deleted in the memory but marked as deleted. The memory is fragmented by doing this. So you have to call the
command compress for getting a cohered free memory again. All blocks, which are not marked as deleted, are contracted by this command and the one piece of free
memory rests, which contains the free part of the memory and the deleted blocks.
Tip:
While the PLC is running in cycle only one block per cycle pass is shifted. Depending on the cycle time this can take very long
(e.g. 270 blocks by 1 second cycle time are approximately 4,5 minutes). According to possibility stop the PLC for a moment or
enter a BEA in the beginning of OB1. Thereby the cycle-time will be reduced and the PLC will be faster. However the machine
will be changed, so this step should be well-considered or only used in the manual operating mode without PLC.
This command deletes all block in the PLC. The marked blocks are deleted and removed. This command is equivalent to the command Factory Reset of the PLC. The
PLC will be in the STOP-mode and only the internal system blocks and the DB 1 will rest, corresponding to the Factory Reset of the PLC.
Here you get information about the status and the content of the memory in the PLC.
You get information of the memory configuration in your PLC by calling this command.
These are the following:
- The start address and the end address of the available memory.
- The start address and the end address of the memory used by the program.
- The size of the free memory.
The content of the whole PLC's memory is displayed by calling this command.
The value of each memory address from 0 hex to maximal FFF hex (depends of the PLC type) is displayed in a list box.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 42 de 80
Enter the address you want to read the memory of your PLC from under Address begin.
Under Address you can define in which type the memory should be displayed.
The memory content of the corresponding address will be displayed in the form you have selected under Representation.
If you want to have the memory displayed in two kind of ways you can adjust it through Display left and Display right.
3.5.8 Force-Variables
In the column address you insert the name of the operand (f.e. I 2.2).
In the column type you insert the type of the selected operand (f.e: KM).
In the column value you insert the value you want.
In the column comment you could insert a describing text
A star ”*” at the beginning of a line marks lines which will be transferred to the PLC because they are changed.
3.5.9 Force-Outputs
You could change the state of Outputs directly. The PLC must be in stop-state to use this function.
In the column address you insert the name of the operand (f.e. I 2.2).
In the column type you insert the type of the selected operand (f.e: KM).
In the column value you insert the value you want.
In the column comment you could insert a describing text
The command start status block starts the presentation of the actual window's status. This command is only available, if
The command status block is available for block in MC5-code only, that means not for data blocks for example. If this command has been selected, the following
information will be displayed behind each Step5 command-line.
1) DBADR = Address of the actual data block. This address is not assigned to any block or 0
2) DB-Nr = Number of Data-block actually selected
3) VKE = Actual logic result at this point.
4) Status/Accu1 = Content of accu 1 or status (depends of the instruction)
5) Acc2 = Content of accu 2.
6) Stytus = the set bits are displayed here after the respective instruction
7) SAC = Step5 Address counter. The addresses of the respective program code are displayed in the PLC.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 43 de 80
The values above will be read in the PLC and displayed after each PLC-cycle. This will happen until you stop the mode Status Block by
Drucken
calling the Speichern
Speichern
commandalsStatus
PDF
blocks stop
This command stops displaying the status of the actual block window. After this command, the status information will not be read and displayed any longer.
3.5.12 ISTACK
This command displays the Interrupt Stack in your PLC. The Interrupt Stack contains data which contain some information of the reason why the PLC has stopped
the program. You get further explication of the specifications by clicking the Help-button in the dialog ISTACK
This dialog displays the Interrupt-Stack in your PLC. The Interrupt-Stack contains the information of the cause of interrupt and why the program has been stopped.
The following information is saved in this stack:
Symbol
signification
operand
CC1 coded condition code 1
CC0 coded condition code 0
OVFL arithmetic overflow
CARRY over of the two bytes in the arithmetic unit
OR And before Or
/ERAB last instruction is the first command of a binary condition
STATUS logic mode of the bit operation
RLO result of logic operation
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 44 de 80
This dialog displays the Interrupt-Stack in your PLC. The Interrupt-Stack contains the information of the cause of interrupt and why the program has been stopped.
The following information is saved in this stack:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 45 de 80
002C: passage into the stop mode; STOP in multi-processor-mode stop switch or PG-STOP Drucken Speichern Speichern als PDF
002E: interface error
0030: alarm error
0032: controller error
0034: cycles error
0036: not used
0038: instruction code error
003A: delay error
003C: address error
003E: acknowledge delay
0040: not used
0042: not used
0044: MANUAL RESTART
0046: AUTOMATIC RESTART
STEP-address counter: In contains the absolute address of the last instruction in the interrupted program step. In the case of an error the SAZ shows exactly
SAZ
on the bad instruction
NR block type and number of the last used block
REL-SAZ relative STEP-address counter: It contains the relative address (relative to the first address of the block) of the last instruction in the last used block.
UAMK interrupt display word: The UAMK contains all occurred and not yet finished
UALW interrupt display clear word
DB-ADR absolute begin address of the last used data-block (= 0000, if no data-block has been used)
DB-NR number of the last used data-blocks
DBL-REG length of the last used data block
BA-ADR absolute address of the next instruction to execute in the last called block
...NR block type and -number of the last called block
ACCU1 bis content of the accus at the moment of the interrupt. In the case of some special errors, the system program saves an error code into ACCU1 and ACCU2,
ACCU4 which declare the interrupt reasons.
PARENTHESES number of step "KEx a b c" with :
x = 1 to 7 steps
a = OR
b = VKE (see result displays)
c = 1: 'U('
......0: 'O('
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 46 de 80
- is set after the call of PROCESSING CONTROL END (in contrast to BARBEND in the first line of the mask it is also set if the PROCESSING
CONTROL END is set in Stop Mode; it prevents RESTART) is set after ‘Compress in Stop Mode’; prevents Restart.
NEUZU NEW START is admissible (Stop) or during the last start NEW START was admissible (START/RUN)
MWA-ZUL MANUAL RESTART is admissible (STOP) or during the last start MANUAL RESTART was admissible (START/RUN)
Line 4 and 5
Lines 6 to 8; these flag bits mark errors, that are possible in the modes START and RUN
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 47 de 80
ZYK ZYK cycles observing time over Drucken Speichern Speichern als PDF
QVZ QVZ acknowledge delay during data exchange with periphery
ADF ADF Address error for inputs or outputs; access on the process model of periphery groups that do not exist or are out of order or are not declared in DB 1
WECK-FE Alarm error: Before and during the processing of a special alarm-OB a different alarm for this OB has been occurred.
BCF Instruction code error (STEP-5-instruction not possible to interpret)
FE-6 not used
FE-5 Hint of a difficult system error, more information in BS 80
Power-down-error:
FE-4
Treatment of the occurred power failure (NAU) by the system- program has been done incorrectly. RUN not possible
FE-3 Interface error (SSF)
LZF Run time error:
- called block is not loaded
- load/transfer error in data blocks
- any other run time error
REG-FE Error during processing the regulator structure R64 in CYCLES
DOPP-FE Double error: An active error handle level has been activated twice (ADF, BCF, LZF, QVZ, REG, ZYK). NEW START necessary
This dialog displays the Interrupt-Stack in your PLC. The Interrupt-Stack contains the information of the cause of an interrupt and why the program has been stopped.
The following information is saved in this stack:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 48 de 80
ZYK Cycles observing time exceeded Drucken Speichern Speichern als PDF
BAU Battery error = power failure of the buffer battery in the central unit
SUF Substitution error:
- call of function block with false actual parameter
TRAF Transfer error:
- programmed data block instruction with dataword number > data block length.
- programmed data block instruction without opening DB before
- DB to create is to long for the user memory
ADF Address error in inputs and outputs; access to the process copy of periphery blocks, which do not exist or are out of order or not defined in DB 1
Lines 1 and 2
Lines 3 and 4
Lines 5 and 6
Lines 7 and 8
This dialog displays the Interrupt-Stack in your PLC. The Interrupt-Stack contains the information of the cause of interrupt and why the program has been stopped.
The following information is saved in this stack:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 49 de 80
...-NR type and number of the last handled block Drucken Speichern Speichern als PDF
REL-SAZ data block address
DB-ADR Datenbausteinadresse
DB-NR data block number
ACCU1 accu1-content
ACCU2 accu2-content
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 50 de 80
PROEND shifting finished before using PROM Drucken Speichern Speichern als PDF
WECKFE alarm, during alarm-handling is still active
PADRFE address error in user PROM-memory
ASPLUE user memory is addressed incorrect
RAMADFE address error in user RAM-memory
KEINAS no user memory found
SYNFEH synchronization error or false code
NINEU new start not possible
NIWIED restart not possible (new start necessary)
RUFBST call of a not existing block
QVZNIN reason of acknowledge delay not possible to interpret
SUMF sum error in user program memory or system program memory
URLAD user program factory loading necessary
This dialog displays the Interrupt-Stack in your PLC. The Interrupt-Stack contains the information of the cause of interrupt and why the program has been stopped.
The following information is saved in this stack:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 51 de 80
ADF Address error in user program (I or O) Drucken Speichern Speichern als PDF
PARE Parity error
ZYK Cycles time exceeded
STOP Main switch in position STOP
STS Cause of Stop is STS-instruction
WEFEH Alarm error hardware - alarm-basic clock masked for too long time
PEU Periphery error (extension unit not in order)
HALT Cause of Stop HALT-Signal
system description:
Reasons of Stop:
Start identifiers:
Error identifiers:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 52 de 80
This command displays the BSTACK in your PLC. The BSTACK contains the list of addresses and return addresses which have been saved on the BSTACK in the
order of their call. You get further explication of the specifications by clicking the Help-button in the dialog BSTACK
This dialog displays the B-Stack in your PLC. The B-Stack contains all block and return addresses in the order of their call. The top of the list is the actual block.
Example:
The block FB10 has been called by the block PB20, which has been called by the block OB1. While calling the BSTACK-command the program process is actually
in the block FB10. Then the order of the blocks in the Bstack is the following:
FB10
PB20
OB1
Toolbar
Status bar
Standard
Zoom
Palette
STL
CSF(S5) / FBD(S7)
LAD
Segment comment
______________________
The menu View contains the additional submenu Block type in the block list, where you can choose the block types to display like in the toolbar.
______________________
DB
DX
FB
FX
OB
PB
SB
Comment blocks
Preheader blocks
VW
BB
______________________
The block list can be sorted as desired. In this dialog you can define the order of listing for the different block-types in the block list.
- blocks
Give the order from left to right and the corresponding blocks from up to down. If the
data-blocks should be shown in the beginning set the first checkbox in the row “DB“.
Thereby the cross in the row “OB“ will be deleted. Set the column “5” which is the only free
column. The order will be like following after confirming:
DB,PB,SB,FB,OB,FX,DX,DOK,KOM,VW.
- sequence
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 53 de 80
Here you can additionally define the order and grouping of reference-, comment data and Drucken Speichern Speichern als PDF
documentation blocks.
3.6.1 Toolbar
You call this command for changing between "Toolbar visible" and "Toolbar invisible". If this option is on then the command is marked in the menu and the toolbar
is visible. The toolbox contains the buttons for file-, editor-, PLC- and help functions.
You get further information of the toolbar buttons by using the context-sensitive help
In a block-list
3.6.3 Zoom
Select this command for displaying a part of your block in the CSF(S5)- / FBD(S7)- or LAD - editor. You move inside this window by using the scroll-bar in the
editor window.
You have got the possibility to choose the size of the elements yourself.
The choice you made is saved automatically and will be active for the next editor window you open.
If the mode "Zoom" is active, the point of the menu is marked.
3.6.4 Palette
Use this command for changing between "Palette visible and "Palette invisible" (The palette serves you the corresponding elements like "AND" etc. as buttons.).
If the palette is visible, the option is on and the command is marked in the menu.
Select this command for changing between "Segment comment visible" and "Segment comment invisible". If this option is on, the command is marked in the menu.
In the same way you can click the control panel in the toolbar:
You define Statement List Programming (STL) as default editor by using this command. If you want to edit a block and you call the command Edit in the menu block
of the block list, the STL will be started by default.
If the default editor STL is active, the option is on and the command is marked in the menu.
In the same way you can click the control panel in the toolbar:
You define CSF(S5) / FBD(S7) as default editor by using this command. If you want to edit a block and you call the command Edit in the menu block of the block
list, the CSF(S5) / FBD(S7) will be started by default. If the default editor CSF(S5) / FBD(S7) is active, the option is on and the command is marked in the menu.
In the same way you can click the control panel in the toolbar:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 54 de 80
You define PLC as default editor by using this command. If you want to edit a block and you call the command Edit in the menu block of the block list, the PLC will
be started by default. If the default editor PLC is active, the option is on and the command is marked in the menu.
In the same way you can click the control panel in the toolbar:
Search
Search
Search/Replace again
Search double absolute-operands
Search double symbols-operands
Goto segment
Goto address
Goto block begin
Goto block end
Goto the next segment
Goto the segment before
Goto block begin
Goto block end
_________________________
3.7.1 Search
Call this command for searching a special string in the STL, DOC- or Symbols-Editor. You enter the string to search and some options in the following dialog. You
get further information by clicking the Help-button. If this string has been found, the cursor will be on the corresponding line, if not, a message will be displayed. You
may enter Ctrl-L for searching again or you call the command search/replace in the menu Search for repeating the search.
You have to enter the following option for searching a string in a text editor:
You start the search by confirming with OK. Press Cancel for to exit without searching.
3.7.2 Replace
Call this command for searching a special string and replacing it by a different string in the STL, DOC- or Symbols-Editor. You enter the string to search, the string
to replace and some options in the following dialog. You get further information by clicking the Help-button. If this string has been found, the cursor will be on the
corresponding line and the string will be replaced, if not, a message will be displayed. You may enter Ctrl-L for searching again or you call the command
search/replace in the menu Search for repeating the search.
You have to enter the following option for searching a string in a text editor:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 55 de 80
Text to search - Enter here the string to search for. Drucken Speichern Speichern als PDF
Text to replace - Enter here the string to replace the searched string.
Case sensitive - Click this option for case sensitive searching.
Only the whole word - Click this option for searching for whole words only
Search only operands - Click this option if you want to read in the operand section only
- Click this option if you are sure that you want replace all the strings. The position will not be displayed and you cannot confirm or cancel the actio
Replace all
of replacing.
Click this option if you want to be ask before replacing a string in the text. The position will not be displayed and you must confirm or cancel the
Confirm before overwriting
action of replacing.
Search - Click here the direction where to search.
There are the following possibilities:
- forwards,
- backwards,
- in the whole text,
- in the marked block only.
You start the search by confirming with OK. Press Cancel/ for to exit without searching.
Call this command for repeating the search you started last. You may also employ the hot-key Ctrl-L.
3.7.4
Search double absolute-operands
This command is offered to you by the symbols-editor for finding the absolute operands that are used more than one time. The cursor moves onto the list with the first
of the operand that is used more than one time. You correct this and call this function again. You repeat this until there is not any operand used more than one time
any more.
_____________________________________________________________________________
Example:
I 2.1 DOOR
I 3.4 PUMP
I 2.1 DOOR 1 CHECK
The cursor is in the last line on IW 2.1 after calling this command. This absolute operand has been used inadmissible twice with the same symbols name.
_____________________________________________________________________________
This command is offered to you by the symbols-editor for finding the absolute operands that are used more than one time. The cursor moves onto the list with the first
of the operand that is used more than one time. You correct this and call this function again. You repeat this until there is not any operand used more than one time
any more.
_____________________________________________________________________________
I 2.1 DOOR1
I 3.4 PUMP
I 5.1 DOOR1
The cursor is in the last line on I 2.1 after calling this command. This absolute operand has been used inadmissible twice with the same symbols name.
_____________________________________________________________________________
You can change among the operands you have found by calling the command Search double absolute operands respectively Search double symbols operands.
This command sets the cursor to the beginning of a special segment. When you call this command a dialog appears, in which you can enter the segment's number.
You confirm by pressing OK. Then the cursor is on the first instruction of the segment t1hat you have selected.
This command sets the cursor onto the beginning of a STL-instruction. When you call this command a dialog appears, in which you can enter the address of the
instruction that you want. This address is exactly that address that you get by calling the menu Options/Output address. Then the cursor is on the first instruction of
the segment that you have selected. You confirm by pressing OK. The cursor is set this address by this command.
This command sets the cursor to the beginning of a block which is defined by you. You can define a block by using the commands Block begin, Block end in the
menu Edit->.
This command sets the cursor to the end of a defined block. You define a block by using the commands Block begin, Block end in the menu Edit->.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 56 de 80
3.7.11 Goto the next segment Drucken Speichern Speichern als PDF
This command sets the cursor to the begin of the next segment. The next segment is the segment after the actual.
This command sets the cursor to the begin of the segment before. The segment before is the segment before the actual.
This command inserts a new, empty segment at the cursor's actual position.
This command sets the cursor to the begin of the block that process now.
This command sets the cursor to the end of the block that process now.
Cut out
Copy
Paste from
Delete
Block begin
Block end
Unmark blocks
Paste line
Delete line
This commands marks the begin of a text block. You mark the end of the selected block by using the command Block end. The text that you defined like this is
displayed in a different color. You can treat this text by calling the commands of the menu Edit.
This commands marks the end of a text block. You mark the begin of the selected block by using the command Block begin. The text that you defined like this is
displayed in a different color. You can treat this text by calling the commands of the menu Edit.
This command cuts the marked part out of the text and copies it to the clip-board. You get this part of the text back from the clip-board for appending it in your text
by calling the command
Paste from in the menu Edit.
In the same way you can click the control panel in the toolbar:
3.8.5 Copy
This command copies the marked part of the text to the clip-board. The text will not be changed. You get this part of the text from the clip-board for appending it in
your text by calling the command
Paste from in the menu Edit.
In the same way you can click the control panel in the toolbar:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 57 de 80
This command appends a text from the clip-board into the actual text at the actual cursor position. You call the commands Cut out or Copy in the menu Edit for
copying a part of a text to the clip-board.
In the same way you can click the control panel in the toolbar:
3.8.7 Delete
You call this command for deleting the marked part of the text without copying it to the clip-board. The actual content in the clip-board rests the same as before.
This command appends an empty line at the actual line without shifting the comments.
This command deletes the actual program line without shifting the comments. If there is a comment in the last line of the actual segment, you have to acknowledge it
before.
This command appends an empty line at the actual line without shifting the program text. The comments from the actual line to the end will be shifted down a line. If
there is a comment in the last line of the actual segment, you have to acknowledge it before.
This command deletes the comment in the actual line without shifting the program text. The comments from the actual line to the end will be shifted up a line.
This command sorts the symbols list to absolute operands. It is available in a symbol editor only.
The assortment happens in different sections, this means each section of the symbols list will be sorted. A section means all lines between two section separators. This
are pure comment lines (lines which begin with a ' ; ') and lines with an empty absolute operand. In this way, the parts separated by comment lines are preserved in
the symbols list.
This command assorts the symbols list to symbols operands. It is available in the symbols editor only.
The assortment happens in different sections, this means each section of the symbols list will be sorted. A section means all lines between two section separators. This
are pure comment lines (lines which begin with a ' ; ') and lines with an empty absolute operand. In this way, the parts separated by comment lines are preserved in
the symbols list.
You can convert a segment comment into a block comment by calling this command. This command is available only if you edit a block of the types FK, FKX, OK,
PK or SK. This command is not available for the first comment line of a segment, because there has to be always a segment comment in the first line of a comment
block.
Start cycles
Stop cycles
Send values to PLC
Configuration datalogger
Datalogger
______________________
This command starts the PG-2000 cycles, which reads in the PLC the actual values of the selected variables. You select this variables in the list that you get by calling
the command Force variables. This means you can display only these variables that you have defined in the list. You cannot define more than 10 variables in the list.
Important:
The PLC must be in the RUN-mode when you start the cycles for watching the changing values. If the PLC is the STOP-mode,
only the static values are displayed but the PLC will not be set on the RUN-mode. Use the command Start PLC in the menu PLC
functions or activates the button in the tool-bar for starting the PLC.
In the same way you can click the control panel in the toolbar:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 58 de 80
If the datalogger is on, the values will be recorded in the datalogger. The values will be recorded in a file, in a solid line recorder or in both, which depends of the
configuration of the datalogger. Use the command Datalogger in the menu Status.
This command stops the PG-2000 cycles, which dates up the values of the selected variables. So the variables will not be updated any longer. This variables are
selected in the variables list that you get by calling the command Force variables.
Important:
If the PLC gets into the STOP-mode, these cycles will not stop automatically but the static values in the PLC will be read and
displayed.
In the same way you can click the control panel in the toolbar:
This command saves the values of the selected variables into the PLC. The variables have been select by calling the command Force-variables. It does not matter if
the PLC is in the STOP-mode or the RUN-mode. After the transfer of these values, the cycles will be started.
In the same way you can click the control panel in the toolbar:
see chapter:
With this command you can set the properties of the data-logger. You can record and display the values of Force Variables/Force Outputs.
You get further information by clicking the Help-button in the dialog datalogger configuration.
3.9.5 Datalogger
see chapter:
3.9.6 Block
You could input all operands, from this operand the next 20 words are inserted. When you input FW10 there will be created 10 Lines with ”FW10”, ”FW12”, ”FW14”
- address
and so on.
- type Input the type
- value Hier wird der einzutragende Wert eingestellt.Input the value
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 59 de 80
The marked blocks are displayed by >> Drucken Speichern Speichern als PDF
in the left column of the block list.
Please notice, that all commands in the menu Mark are applied to the displayed blocks. If you want to transfer all MC5-blocks you have to display all MC5-blocks
and to mark them all for transferring them. This avoids to delete or to transfer wrong blocks by accident
This command marks all MC5-blocks (blocks with Step5 program code) in the block list.
The marked blocks are displayed by >>
in the left column of the block list.
This command unmarks all MC5-blocks (blocks with Step5 program code) in the block list.
This command changes the mark of the actual block and all blocks of the same type (function blocks for example) in the block list.
This command changes the mark of the actual block where the cursor is.
This command undoes the last action of marking and recreates the marks as before.
This command calculated the memory of all marked blocks. The result in byte is displayed in the field in the tool-bar of the block list.
New block
Edit
Goto block
Transfer
Rename block
Delete block
Compare block
Print
Print Blocklist
Search
Replace
XRF list
I/Q/F list
Program structure
Rewire manual
Rewire automatic
DB-Mask
AG95FDiagnosis
______________________
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 60 de 80
Call this command for appending a new block. You must enter its name in the following dialog.
3.11.2 Edit
This command displays the block in STL- / CSF(S5)- / FBD(S7)- or LAD-editor. You activate this command also by pressing RETURN or clicking twice with the
mouse in the corresponding line. The default editor is defined in the menu View.
You get into the input line of the block list tool-bar by calling this command. This input line serves to search faster some blocks corresponding to the string that you
enter.
You can also get into the input line of the block list tool-bar by pressing the hot-key Ctrl-F or by entering a string to search for. In the first case the string rests in the
line and can be edited, in the second case you have to begin the input from it's begin.
3.11.4 Transfer to
This command transfers the marked blocks of the block list to a defined destination. After calling this command you get to a dialog to enter the destination.
The following destinations are available:
• into a file
• into the PLC
• into the PLC Simulator
• into the Programmer-Device
You can rename a block by calling this command. You set the cursor on the line with the block to rename and then you call this command Rename block. After
calling this command a dialog to enter the block name will be displayed. You confirm with OK. Now the new block name will be displayed.
This command compares the marked blocks in the block list to the blocks with the same name of a different file or in the PLC. After calling this command you have
to enter the file to compare in the following dialog. If you have entered the file and you have confirmed with OK, all blocks with the same name will be compared.
For example, if you have marked the blocks OB1, PB20 and PB30 in the block list, the block OB1 will be compared to the block OB1 of the file that you entered.
Then the block PB20 to the block PB20 etc.
3.11.8 Print
This command prints all marked blocks of the block list in their order.
This command prints a list of all blocks in the active file, when a symbolic-file is selected and symbolic or symbolic-comment is active the corresponding symbolic is
printed too.
3.11.10 Search
This command searches a word in all selected blocks. This word and the configuration could changed in the next dialog.
3.11.11 Replace
This command searches and replaces a word when confirmed in all selected blocks.
This command creates a XRF-list of all operands, which exist in the actual block list . In the dialog of this command you can enter optionally which types of operands
are to take into consideration. If you exit the XRF-list it will be saved. If you call this command later again, you have to select if you want to create a new XRF-list or
if you want to regard the old XRF-list again.
In this dialog you can enter the operand to be used in the XRF-list. Select the types of operands that you want (e.g. flags and inputs). Then you select the size of
operand (e.g. bit and byte). Only this operands will be noticed for creating the XRF-list (only bit and byte accesses to flags and inputs in this example).
Example:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 61 de 80
After that open the following dialog by clicking Block XRF list (or just click Ctrl + Q), configure it as you wish (for further information see chapter 2.7.1) and
confirm by clicking OK.
3.11.13 I/Q/F-list
see chapter:
This command creates a I/Q/F-list of all inputs, outputs and flags which are used (read or write) in the actual file. It gets bit-, byte-, word- and double word access.
The created I/Q/F-list is displayed in its own window and will be saved while closing its window. If you call this command later again, you have to select if you want
to create a new I/Q/F-list or if you want to see the old I/Q/F-list again.
see chapter:
This command creates a presentation of the blocks calling each other in the actual PLC program.
This command is followed by a dialog to enter the blocks to take in consideration for creating the program structure. The blocks that you need for the cycles operation
are not the same for all SIMATIC-S5-PLCs.
The program structure diagram will be created and displayed in its own window after entering the blocks that you need.
The created program structure will be saved while closing it's window. If you call this command later again, you have to select if you want to create a new program
structure or if you want to see the old program structure again.
You enter the blocks which shall be taken in consideration for creating the program structure diagram.
The treatment of the cycles of the MC5-blocks in the PLC is not the same for all SIMATIC-S5-PLCs.
The cycles handling of the important PLC block are not the same for all SIMATIC-S5-PLCs. E.g. the block for cycles handling is generally OB 1 or PB 1, for the
word addressed PLC (S5-135, S5-155) it is perhaps also FB 0 or FX 0. You get details in the system manual of the PLC.
Before calling this command, you have to mark the blocks to rewire manual.
If you have marked the corresponding blocks and you call this command, a dialog will be displayed, where you enter pairs of old and new operands. After closing this
dialog by OK, you have to select the destination (PLC, File,...) where to rewire. If you have selected File you can enter the file name in the dialog Save As. After
confirming this dialog all the old operands in the marked blocks are replaced by the new operands.
In the following dialog the result of the action Rewire is displayed. Here you get the number of rewired connections of each marked block and the sum of all rewired
connections.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 62 de 80
To rewire automatically you need two equally symbolic files. A Chart of the executed rewire in the following: Drucken Speichern Speichern als PDF
The result of the rewire is the same as in rewire manually. The approach is that you can exchange a lot of operands at one step and the possibility of an hardware-
independent symbolic.
3.11.17 DB-Mask
Data-block-masks are used for configuring the behavior of the PLC in a multi-processor-system or when system-errors are trapped. This DB-Masks are only available
on PLC’s 135, 150 und 155.
This Mask is for the peripheral access from digital in/outputs and couple-marker to a CPU. Also you could define the co-existence in multi-processor-systems and the
same rack. You could enable in/outputs for the specified CPU.
The ”time-block-length” defines the counted timers, on odd number is down-rounded to the next even number.
Restart after power up Defines the behavior of the PLC on power-up. You could choose between ”Restart” and ”New-Start”
Synchronize multiprocessor restart The PLC will be synchronized or not synchronized
The access to couple-markers could be defined by semaphores, so it is not possible for two CPU’s to access the sam
Block transfer of IPC Flags
couple-marker. When activated the access is timed longer.
The access on non-existent address-blocks results normally in a PLC-Stop. The testing of this access on non-existen
Addressing error monitoring
could be turned of. When turned off, the cycle-time is less than with activated.
The OB 1 cycle is timed out, to detect dead-lock-situations.
cycle time monitoring
This watchdog-timeout is defined between 1 to 13000ms.
This value defines the accumulated time-cells, where on odd values the value is down-rounded to the next even
Number of timer-cells number.
The same value is existing in the DB 1 - Mask, but this value is higher priorised than the one in DB 1.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 63 de 80
You could choose between the behavior of a PLC 150 or PLC155. When PLC 150 is choosed extended process-alarms in EB 0 are possible.
Mode of
When choosed PLC 155 you could configure Hardware-process-alarms
Restart after power up Defines the behavior of the PLC on power-up. You could choose between ”Restart” and ”New-Start”
Warm restart Procedure Defines the behavior on restart of the PLC. You could choose between ”Restart” (the default) and ”remanent New Start”.
This value defines the accumulated time-cells, where on odd values the value is down-rounded to the next even number.
Number of timer-cells
The same value is existing in the DB 1 - Mask, but this value is higher priorised than the one in DB 1.
The access to couple-markers could be defined by semaphores, so it is not possible for two CPU’s to access the same couple-marker. When
Block transfer of IPC Flags
activated the access is timed longer.
Time interrupt servicing Hier wird eingestellt ob überhaupt Zeitalarme erzeugt werden.
System interrupt E Defines if the system-interrupt E are processed and which priority is used.
System interrupt F Defines if the system-interrupt F are processed and which priority is used.
System interrupt G Defines if the system-interrupt G are processed and which priority is used.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 64 de 80
In this menu you could let analyze the diagnostic data-block of the AG95F. It is always analyzed the DB 254 of the active document, whether the document is a file
or a PLC. The following dialogs are for disposal:
______________________
Messages
OnBoard
Signalgroup
External
L1
______________________
3.11.18.1 Messages
In DB 254 the data words 1, 34, 37, 62 as well as 64 to 191 are analyzed and represented in the following dialog:
Reaction It is displayed the system reaction so far. The following reactions are possible:
Hard stop The system must be erased completely
Soft stop The system can be started with a stop/run transition again.
Message Created one entry in the diagnosis - block DB 254, the PLC’s remain in the run State.
DB1 In the DB1 can be entered the reaction to an error.
Type It is displayed the image of the types of the errors. The following types are possible
It represents an error block, always displayed according to the error block entered last. With the buttons " < " and " > " you could navigate within the error blocks.
Error block
Per error block the following information is displayed:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 65 de 80
[032 000] 032 = byte number, no bit specification Drucken Speichern Speichern als PDF
.................000 = Signal group
[032.2 000] 032.2 = bit number
-............................= Signal group
[077].............. Length of the L1-Bus-Frame
In DB 254 the data word 35 and 36 are analyzed and displayed in a dialog:
3.11.18.5 AG95F L1
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 66 de 80
Goto Inputs
Outputs
Flags
Timer
Counter
Data
Periphery
S-Flag
Blocks
Operands
Editor
Assort
______________________
You jump among the separate operands sections of the XRF-List by calling these commands Goto. Press the following hot-keys as abbreviation (First char of the
operands)
I Inputs
Q Outputs
F Flags
D Timer
T Counter
C Data
S Periphery
P S-Flag
B Blocks
O Operands
Call this command for displaying the block where the entered operand exists. Then the cursor is set on that line where the operand occurs.
Call this command for assorting the XRF-list. When you call this command you first enter options of the XRF-list assortment. You get explication of this command
by pressing the Help-button in this dialog.
You enter the options how to assort the XRF-list in the following dialog:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 67 de 80
You enter here the order of the operands in the XRF-list. Choose for each place in the order (1-10) the type of operand that you want. Each place in the
order can be used by only one type of operands.
You enter here to assort the operands' addresses and the number of the bit whether increasing or decreasing.
You enter the way to assort the size of the operands' size. The assortment will be made in a section for each type of operand. Choose the order (1-4) in the sequence
for the operands' size. Each place in the order can be used by only one operands' size.
You enter here the order (1-7) of the blocks, in which one special operand has been found.
Each place in the order can be used by only one block.
The version control system works per project: You can decide on every open command if you want to start/continue a versioning. Also it is possible to have one
project with versioning and one without open at the same time in PG 2000. And you can decide on "Save as..." if you want to continue the versioning.
To trace every change back to the user who made it, a user management is built into the system. You can switch to another user name every time you want to.
All changes can simply be viewed in a history that gives you information on all saved data: When, who, in which module, etc. From here, you can restore or compare
older versions, or branch them to a new project.
When in mode "Change", you will be prompted most frequently to comment your changes: In addition to the big window "Comment changes", that will appear for
example when you create a new module, you will get a small window "Instant comment" even when you only change a single line of source code. This mode makes
sense, as you can suppose from the name, mostly when you change some code after you already finished the program, for example when working directly at the
production line.
When you're still writing your program, you may like to use the mode "Develop". All instant comments are omitted here, but, for example when closing a window,
you will be prompted to comment all your changes so far.
Last, in mode "Manual", all changes are written "blindly" to the database. But the user can press a button to insert a comment any time he wants to.
There are some exceptions to these modes: For example when you create a new versioning or backup a project, you always will be prompted for a comment.
Manual / Develop / Change: Switches between the different modes described above.
Comment entry: Shows the dialog to insert an additional comment into the version list.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 68 de 80
User list:
Choose the name that shall identify you in the version histories.
Password field:
Every user has a corresponding password. You can only choose or delete a user, after you have entered here the password belonging to the user marked in the list
above.
New user:
If you are not yet in the list, you can add your name here.
Delete user:
Name field:
Type in the name that shall identify you in the version histories.
Password field 1:
Password field 2:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 69 de 80
The last changes are stored directly in the path where your project file resides. But when you create an archive, this data will be stored in one central location for all
projects. You can enter this path here. If it doesn't exist, the computer will prompt for your confirmation to create it. Each project gets its own subdirectory that has
the name of the project file it belongs to, but instead of the extension "S5D" or "S7P", it has "000" or "001" if the name is already used by a project with the same
name in another location. You can view the generated name in the project properties.
You don't need to access these directories yourself, because the whole archive management is done from the version history.
Browse:
To prevent you from typing a whole directory path, you can choose an existing path here.
Use Controller:
At this point you could select if the controller is always used or the user is asked when a file is opened or the controller is not used.
PC – Current version:
This corresponds to the last entry in the current version history, so this is the current state of the project file on the PC.
Below this path, all archives for this project will be stored. Be aware of the extension (000, 001, and so on), to not mix up two different projects.
PC – Logged in as user:
All changes currently made are stored along with this name in the database.
Modules:
If you have downloaded single modules to the PLC, you ca see in a list what versions these modules have on the PLC. This list will be cleared next time you save the
whole project to the PLC.
Module:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 70 de 80
Names of all modules that were downloaded separately to the PLC, and for that reason have a different version than the restDrucken
of the project on the PLC,
Speichern
normally
Speichern als PDF
meaning they are newer than the rest.
Version:
Downloaded version of this module. If you download the same module a second time, naturally the old version will be overwritten instead of appearing a second time
in the list.
Version:
Version numbers of the current change. Be aware that every entry, even a pure comment entry, gets its own number.
Time:
User:
Change:
List of changes:
Here you can see how the entry will appear in the history. In addition to the data already shown above, you can see to what modules the changes correspond.
Depending on the chosen mode, you can see a varying number of entries here.
Mode "Change": For most types of changes, there will only be one entry with the information for the current change. But for example "Find and replace" can scan
through several modules on many different positions. You will be prompted to comment such an operation when it finished completely and see all corresponding
locations here.
Mode "Develop": As all instant comments are omitted in that mode to allow efficient working, you will see here all changes done since your last comment.
Mode "Manual": Same as "Develop", except that you have to decide yourself when to insert the next comment for all the changes done so far. These changes will be
listed here.
Comment:
Comment:
Here you can read the type of change you just made.
Input field:
OK (green hook):
This will close the window and insert your comment in the version history. You can also reach this button by pressing the tab key after you typed in your comment.
Then press the return or space key to click the button.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 71 de 80
This will close the window WITHOUT inserting your comment into the version history. Surely, the data entry will be stored, but with an empty comment field. You
can get the same effect by pressing the escape key (regardless whether you have typed some comment or not).
Version list:
This list contains all changes since the last backup. You can adjust the column widths by dragging the column borders in the title line with the mouse. Additionally, a
click on the column title will sort the whole list after that column. But some actions are only possible when the list is sorted the original order (by version).
Print:
You can choose in the following dialog to print the whole list or only a selected area. Do a LEFT mouse click on the first entry to be printed. Then search for the last
entry, hold down the shift key and click on the last entry to be printed. This will select all the entries between the first and the last. If you want to select or deselect
several non-continuous entries, you can do this by holding down the control key while pressing the mouse button. If the entries are too wide to fit on your paper, try
to switch to landscape mode in the properties of your chosen printer.
Restore:
This button becomes available when exactly one version is marked (see below: "Marked"). It opens the separate dialog "Restore version". The whole process is
described there.
Compare:
This button becomes available when exactly two versions are marked (see below: "Marked"). The two versions will be copied to two temporary directories and
handed over to PG 2000's built-in compare routine as two new projects. After comparing, the two directories will be deleted. The current version is not affected by
this process.
Branch:
This button becomes available when exactly one version is marked (see below: "Marked"). This version will be copied to an empty directory you have to choose and
is begun as a whole new project. The old project will not be changed, but the process will be noted down in both project histories.
Archive:
Here you can switch between all available archives for this project and view all changes ever done. You can see only the changes between to backups at the same
time.
Marked:
The buttons to restore compare or branch projects relate to these fields. You enter a version here either by clicking on a list entry with the RIGHT mouse button, or,
assuming you navigate through the list using the cursor keys, by pressing the space key. A second version will be selected, like in many windows applications, by
simultaneously holding down the control key. Hereby it is possible to mark any two versions, even out of two different archives, by first selecting one version with
the RIGHT mouse button, then switching to another archive, then selecting the second version with the RIGHT mouse button while holding down the control key.
Comment:
This field will display the comment of the currently selected entry, so that you can better read even multi-line comments.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 72 de 80
Last archive:
This will inform you when the last backup was made.
New archive:
This is the resulting version when you now decide to create the archive.
What to backup:
Here you choose the level, meaning how many files you want to backup. S7 projects always should be backed up with all subdirectories, otherwise most parts of the
project would be left out. At first sight it may be clever to use this method also for S5 projects – just to be sure not to miss anything. But this can take too much time
if there are many subdirectories not belonging to the project at all. One example: You have stored your project in the hard disk’s root directory (a thing you never
should do): In that case, the program would try to backup your whole hard disk! But the most important thing is: You must be very careful when restoring a version
that was backed up with subdirectories to prevent things to be "restored" that do not belong to your project, only because they were unnecessarily saved during the
backup process.
Present:
Restore:
This selection not only affects file deletion, but this is the most important point. To better understand, here is a simplified overview of the restore process:
1. Making a backup copy. If the restore process fails, this copy will be wrote back. So, if you select "too much", this process can last unnecessarily long.
2. In case you restore from an archive: Unpacking of the files you selected here. This means, for example, you have the possibility to only unpack the files
that are strictly relevant to the project even if you created the archive including all subdirectories.
3. To prevent mixing up old and new files, all new ones will be deleted before unpacking the archive. This means: The whole path including all
subdirectories if you choose the last option. Files and directories not belonging to the project will also be deleted and replaced by their old versions (so
far they existed the time the archive was created). This is surely not what you intended to do, so be careful to select the proper mode!
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 73 de 80
For safety reasons, you only can delete the amount of files also stored in the archive, meaning you can never delete the whole directorySpeichern
Drucken
tree if only the files strictly
Speichern als PDF
relevant to the project are stored in the archive. But if you restore from the current database, you naturally have all options available, as they only affect the size of
your backup copy.
In general, it is always better to only have one project per directory on your hard disk. With S7 projects you don't have the choice, but also for S5 projects it is safer if
you don't want to delete "neighbouring" files by mistake.
After unpacking the archive (in case you don't restore out of the current database), PG 2000 will restore every single entry (apart from pure comment entries that don't
affect the project at all). Some settings, for example view settings, don't affect the project, but PG 2000 in general. When the program runs over a change of that kind
during the restore process, the corresponding line will be highlighted in the version history and you will be asked whether you want to restore that setting.
The S5-Emu application uses functions from the S5EMU.DLL, which is the simulated PLC. On the same DLL the PG-2000 is using, so both of them use the same
PLC where PG-2000 uses a helper-DLL between S5Emu and PG-2000.
These DLL’s are loaded on demand from the Windows-Kernel. For example if only PG-2000 is loaded and the block-list of the S5-Emulator is used then only PG-
2000 with the driver PCS595E.DLL and S5EMUDLL.DLL is loaded in memory.
After you start the application with a double-click on the icon, the above dialog is displayed. You could choose one of the checkboxes or left blank and confirm with
”OK”
You choose the checkbox ”Input” if you want to show the inputs IB 0 to IB 31
You choose the checkbox ”Output” if you want to show the outputs QB 0 to QB 31
You choose the checkbox ”Flag” if you want to show the flags FB 0 to FB 31
You choose the checkbox ”Timer” if you want to show the timer T 0 to T 31
You choose the checkbox ”Counter” if you want to show the counter C 0 to C 31
You could even choose none of the checkboxes to get an blank view:
A new Window is opened, in which the Variables and their values together with a comment could be defined:
With a doubble-click onto an element in the table you could then change this value.
The values are confirmed with <ENTER>. To delete a line press the „Del“-Key, insert a new line with the “Ins”-Key.
In Default the emulator is not running, that means the cyclic block OB1 is not executed.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 74 de 80
You could use following Operands, where they are always displayed in the chosen language: Drucken Speichern Speichern als PDF
The Data in the table could be permanently saved in a file and retrieved from a file:
The User has now the following 3 possibilities to test his program:
The state of the emulated PLC is shown in the menu and could also be changed there:
The used language is choosable, restart application to change the GUI to the desired language:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 75 de 80
5.3 Error-Messages
When errors occurs then the Simulation is showing an error-message which describes the error and position..
The following error messages exist:
"illegal OpCode"
"STS or STP"
"SPA FB, the FB does not exists" or "SPB FB, the FB does not exists"
"SPA OB, the OB does not exists" or "SPB OB, the OB does not exists"
"SPA PB, the PB does not exists" or "SPB PB, the PB does not exists"
"SPA SB, the SB does not exists" or "SPB SB, the SB does not exists"
"0x70 , unknown OpCode"
"SPB , the block-type is not known"
"SPx , unknown type of jump"
"No more User-Memory"
"OB 1 not existing"
"unknown indirect Command"
"unknown Shift/Rotate-Command"
"unknown Complement-Command"
"used DB not existing"
"Data-Word in DB not existing"
"unknown Load-Command" or "unknown Transfer-Command"
"unknown Akku-Operation"
"unknown binary Akku-Operation"
"unknown Akku-Comparison"
"OB 1 not existing"
"unknown binary Bit-Comparison"
"unknown Bit-Operand"
"unknown Bit-Operation"
"unknown Akku-Operation (Byte)"
"unknown Akku-Operation (Word)"
"unknown KLE Stack-Operation"
"KLE Stack Underflow"
"unknown Alarm-Operation"
"LIR, unknown Register" or "TIR, unknown Register"
"unknown Type of Timer" or "unknown Type of Counter"
"unknown Type of Reset"
"BFW, unknown Type"
"KLE Stack Overflow"
"recursive call of OB 13"
"Overflow of cycle-time"
"Timerword is too great" or "Counterword is too great"
"unknown type of timer"
If an error occurs the PLC show the following and stops the execution, where after correction the problem the stop-switch must be turned to restart (first STOP then
RUN!):
Attention:
The simulated PLC reacts more extremely as an original PLC, for example on
access on a data-word which not exists the simulated PLC is stopped but a real
PLC works further with the false value.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 76 de 80
After a short time the block-list of the simulated PLC appears on screen:
The FB 250 is a internal block, the OB 1is newly created. The editing and usage of the simulated PLC is analog to a real PLC.
Attention:
PLC-functions have only an effect on the simulated PLC when
the block list or a block of the simulated PLC is activated.!
As we see, the counter is decreasing. Now we take a look at the second segment:
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 77 de 80
The cyclic block OB 1 is terminated every time, because we typed in the false Operand F 2.0. We stop the ”force-block” and open the Speichern
Drucken
”force-variable” window,
Speichern als PDF
where we set the Flag F2.0 to 1:
Immediately after transferring the 1 to the PLC we get an error, that the Data-block is missing, we have forgotten to generate and call the data-block. So now we
create a new data-block 10 with a view data words. Also we insert before the first access to the data-word a ”C DB 10”. After restarting the PLC the data-word is
changing.
We now start the application ”S5 Emu” und inserted some data to view:
When you change the bit F 2.0 with the mouse on the button ”0” the Data-word 0 is changed to ”AFFE”.
Finally an screen-shot of an simulated error-search in one PC with an simulated PLC and the programming system simultaneously working:
7 Help
7.1 Help for Comparison
Choose the type of the comparison by clicking the corresponding variable and enter the input and output parameters.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 78 de 80
• Counter up
• Counter down
• Reset priority
You can also select the function block by clicking twice the corresponding line.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 79 de 80
• = ....Equal output
• S ....Set output
• R ....Reset output
The segment can also be selected by clicking twice on the corresponding line.
• = Equal output
• S Set output
• R Reset output
You enter the format how to display the addresses in the box Address.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018
Handbuch Página 80 de 80
The memory content of the corresponding address is displayed in that way that you have defined in the box Representation.Drucken Speichern Speichern als PDF
If you want to display the content of the memory in two different ways, you have to enter this in the boxes Display left and Display right.
Then you change in a segment which can be presented in CSF(S5) / FBD(S7) or LAD and the selected presentation mode will be set automatically.
The Siemens S5-V5 function keys will be displayed above the status line. This keys are activated by pressing the function key F1 to F8. The activated function
depends of the actual window. The holding of each function key may change if you press one function key. The actual holding of each function key is displayed by
the text on the respective function key.
If you leave PG-2000 by using visible function keys, the current options will be saved. So the Dialog Select Simatic S5-Program will run in the same presentation for
the next time.
If you leave PG-2000 by using visible function keys, the current options will be saved. So the Dialog Select Simatic S5-Program will run in the same presentation for
the next time. You enter the part to edit in Select Simatic S5 Program. Symbols-editing or STL-, CSF(S5)-, FBD(S7)- or LAD-editing is available. Activate the button
OK for continuing or Exit PG-2000 for leaving the program PG-2000. If you want to leave this mode with S5-V5 function keys you activate the button Exit S5-V5.
You have chosen the STL-, CSF(S5)-, FBD(S7)- or LAD-programming in the Select Simatic S5 Program. You enter the following necessary default options in this
dialog.
• The presentation mode for your blocks.... (STL, CSF(S5) / FBD(S7), LAD)
• If you use Symbols.
• If you use a footer file for prints
• The name of the program file to load.
• The name of the symbols file to load.
• The name of the footer file to load.
You can choose a file in the following file dialog by activating the button Select. You confirm your choice by pressing OK and the selected file is filled in at the
corresponding position. If you have done all the setting, you confirm with OK for to begin to edit.
You have chosen the symbols editing in the Select Simatic S5 Program. You enter the following necessary default options in this dialog.
You can choose a file in the following file dialog by activating the button Select. You confirm your choice by pressing OK and the selected file is filled in at the
corresponding position. If you have done all the setting, you confirm with OK for to begin to edit.
https://www.process-informatik.de/produkte/data/getText.php?text=61&ART=1&lan... 17/10/2018