6805710
6805710
1 Overview
STRUC G is the graphics oriented configuring language for the digital control system SIMADYN D.
STRUC G describes and specifies the interaction of the hardware components such as processor or peripheral
modules and the software components such as controller, arithmetic or logic blocks.
The list oriented configuring language STRUC L is available, in addition to STRUC G for the configuring of
SIMADYN D. Full compatibility exists between STRUC G and STRUC L. Configuring generated by STRUC L can be
further processed, without restrictions, with STRUC G and vice versa.
Project
D Group term belonging to a plant or a plant section, under which the master programs of all racks are
managed.
D Macros (see below) can be created for each project, that simply group frequently repeating sub-
functions together.
Master Program
D Describes the hardware configuration of one rack
D The configuring of the master program is implemented in the graphics oriented master program editor
The positions (slots) and types of the processor modules, the sub-modules, the communication and I/O
modules are defined here (arrangement drawing)
In addition, the parameters of the individual boards, i.e. the sampling times of processor modules, are spe
cified in the master program (module parameter drawing)
D The designation ‘ ‘Master Program’ ’is also utilized as a group term for all function packets in the processor
modules within a rack
Function Packet
D Describes one or several configured control or communication tasks for a processor module. A processor
module can be allocated several function packets. All configured control or communication tasks are
created from groups of function blocks and/or macros.
D The configuring of a control or communication task is implemented in the graphics oriented function
packet editor. The function blocks are selected from libraries, inserted onto drawing pages and their param
eters set. The signal inter-connections are created by clicking on the start and end locations of the signal
connections in the editor; the line routing and text positioning is automatically implemented by the editor
(auto-routing).
Macros
D Permit the possibility of grouping several function blocks together to make one unit. A macro is configured
in the graphics editor just as a function packet and can subsequently be reused as often as necessary.
Macros permit the designer to create new function block types.
Namensvergaben:
---Festlegung eines Projektnamens
---Festlegung eines oder mehrerer Masterprogrammna-
men des Projekts
erfolgt direkt im Grunddialog
---Festlegung eines oder mehrerer Funktionspaketna-
men fü r ein oder mehrere Prozessormodule eines Ma-
sterprogramms
---Festlegung der Makros, die verwendet werden sollen
Projektierung:
Prü fungen:
Compilierung und Konsistenzprü fung der
MP---COP (Masterprogramm---Comp.)
Projektierung des Masterprogramms
Inbetriebnahme:
Online---Visualisierung, Test und Inbetriebnahme FP---EDIT --- IBS G
Configuring:
Checks:
Compiling & Consistency Checks of the
MP---COP (Master Program Compiler)
Configuring within the Master Program
Commissioning:
On-line Display, Test and Commissioning FP---EDIT --- IBS G
Speicher---Submodule
P32
SCO --- PC
MEMORY
CARD
Prommer
Drucker P16
Memory Sub---Modules
P32
SCO --- PC
MEMORY
CARD
Prommer
Printer P16
PC Minimum Equipment: ` PC486 with operating system with SCO ODT V3.0
20 MByte main memory
200 MByte hard disk
High resolution monitor (1024 x 786 Pixel)
3.5”disk drive,
CD ROM drive (with SCSI interface),
Optional: MOD drive (3.5 ”, 128 Mbyte)
High resolution color monitor (1280 x 1024 Pixel)
The STRUC G software runs on the UNIX operating system SCO---ODT V3.0
(Open Desktop Personal System V3.0) and SCO Open Server 5.0.
When a board SINEC CP1411 has been installed for the IBS--G or download via SINEC H1, then the
SINEC H1 driver and the SINEC H1 installation software is additionally necessary and can be obtained
via the order number 6GK1704--1TC00--0EA0 (German) or 6GK1704--1TC01--0EA0 (English). The order
designation for the CP1411 is 6GK1 141--1A00. The current order numbers can be reviewed in the
catalog IK10.
STRUC has been designed for single operation as well as for working in an interactive network group. The
structure and layout of the network is relatively unrestricted; the following minimum equipment must be available:
D A streamer tape, a magneto optical or a disk drive on any one of the configuring devices
Working in a network offers the following advantages with respect to the individual workstation:
+ Several users can utilize common data and peripheral devices. Therefore each PC does not require its own
printer, disk drives, streamer tape drives or parallel prommers.
+ The data in a project is saved only once, even when several users are working on one project.
Diagram 1/3 shows one example of a network constellation with differing STRUC workstations.
Every user requires a login identification to the configuring devices in order to work on STRUC projects.
If one user supervises a STRUC project alone, then all work is processed under his login identification.
Configuring data, such as master programs and function packets, are stored in a user data area in his home
directory. The required data is always inserted into a temporary data area when it is to be processed.
If several STRUC users work on a project together, then it is practical to have the system administrator assign
access login identifications with the same group ID (i.e. ‘
Smith.Group 1’ ,‘Jones.Group 1’and ‘Bass.Group 1’ ).
The configuring data is then saved only once per group in the user data area of one user. All other group members
can access this data.
The processing always occurs in the temporary data areas of the individual group members.
Please take note that it is not possible for two users to simultaneously process the same master program or
function packet, since the modified data is saved into the configuring data area when they are finished.
Therefore modifications from the first version to be saved, of the simultaneously processed data, is lost.
The user must identify himself to the system, at the start of the configuring session, with his user ID
(i.e. ‘
Smith.Gr1‘) and his password.
The valid user ID and the password are assigned by the system administrator.
At all STRUC---PC or STRUC---Notebooks, preinstalled by SNI, the user ID and the password is ”gast”.
SCO
OPEN SYSTEMS SOFTWARE
sco... login
Password
login: guest ¿
password: guest ¿
A screen is displayed with two lines (‘‘Continue my last Session”[Default] and ‘‘Start a New Session’’); position
mouse to ‘‘OK’’and click left-hand mouse key .
The UNIX environment platform has now been created. Now search for the STRUC symbol and select it with a
double .
The basic dialog screen will then be created. A new project (with the name ‘‘Quicky”) is created:
Use on the button in the line ‘‘Projects’’and enter the name ‘‘Quicky’’(upper case characters are
Create
automatically converted to lower case characters) in the name window, that is subsequently popped onto screen,
and complete with ¿ :
Projects:
create pjv 400 pjsyfp
Create Project
Enter Project Name:
quicky
OK Cancel
A new master program (with the name ‘‘Single”) must subsequently be created, in which all HW and system
definitions are to be made:
G Select quicky with (button becomes green).
G Use on the button create in the line ‘‘Master Program’’and enter the name ‘‘Single”(upper case charac-
ters are automatically converted to lower case characters) in the name window, which is subsequently
popped onto screen, and complete with ¿ :
Master Program:
create
OK Cancel
1 23 4
G Select the button in the menu strip (on the upper edge of the basic dialog screen) using and
MP --- EDIT
OK
G The subsequently displayed information panel
is acknowledged with ¿ .
G The rack screen is then displayed. Define a name and rack type.
The empty panel behind ‘‘Name’’is selected with (or by pressing the TAB key [Tabulator]) and enter
‘‘Rack’’, press 2x TAB, the type ‘‘SR12’’is inserted; complete with ¿ :
Rack
OK Cancel
OK Cancel
Use 3x TAB to go to the button ‘‘OK”and insert the PT31 screen into the rack using ¿ .
Each processor module requires one program memory sub-module MSxy. The configuring is implemented
as follows:
G Select the empty panel T0
TD
0.0 ms
OK Cancel
Press 8x TAB (or direct selection via the mouse and ) to go to the panel for the basic sampling time. En-
ter ‘‘1’’. Use ¿ to accept the entry and insert into the PT31 screen.
the mouse and select the button CURRENT with . A new menu strip is popped onto screen. Go to the line
‘‘Module Parameters..?’’with ¯ and acknowledge using 2x ¿ . The module parameter drawing is then
popped onto screen.
T1 / T0 1 1.0 ms T0
T2 / T0 4 1.0 ms T1
T3 / T0 16 8.0 ms T2
T4 / T0 128 32.0 ms T3
T5 / T0 256 64.0 ms T4
Sys TX T1 256.0 ms T5
OK Cancel
Branch to OK using TAB and accept all the entries into the module parameter drawing with ¿ .
G No further ‘‘?’’must be visible in the module parameter drawing !
To complete the master program processing, the cover sheet must be created, in which a version date must
always be entered:
G This entry is implemented in another menu, the ‘‘Text Panel..?’’. Use the mouse to go to the upper menu
Panel..?’’with # and acknowledge with ¿ . The text panel will then be presented.
G Warning: the position of the mouse pointer is decisive for all entries in this menu !
The mouse pointer always enables the specific panels for the keyboard entries.
G Position the mouse pointer in the panel with the brown background, behind the panel ‘‘Date’’, and enter the
date, i.e. ‘‘30.11.95’’(do not forget to eliminate the ‘‘?’’):
Date 05.09.95
Drawn ASI 1 R
Appr.
Name Std.
The module parameter drawing is now popped onto screen once again. The processing of the master program
is now complete for this hardware configuration. Exit the processing by placing the mouse pointer in the
processing exited with 2x ¿ . The screen will now display the basic dialog.
The result of the compiler run is shown in the right-hand lower box ‘‘Message Output Basic Dialog’’. If all
definitions have been correctly made, then the following appears in the black panel:
The technological functions and the communication are configured in the function packets using the available
function blocks:
G Define the function packet names in the master program. This example only shows how to configure the
function packet with the name ‘‘RUN”. It is already created as a light brown button in the first column.
Move the mouse pointer to the button ‘‘RUN’’to select the function packet. Activate with (button
becomes green).
G Processing the function packet requires a different screen layout. Place the mouse pointer on the button
and select with . The new screen layout, the function packet editor, is activated with ¿ (menu
FP --- EDIT
item ‘‘Configure’’).
mouse pointer in the large window in the middle of the screen and activate the sheet for ‘invoke block’using
. A window is displayed. Switch to the empty panel for the FB name using TAB and enter the name,
i.e.‘‘TOTAL’’(upper case characters automatic).
G Go to the next empty panel (FB type) using TAB and either directly enter the type.
Or: place the mouse pointer on the & panel and select with . Place the mouse pointer in the newly
popped up library window on the line ‘‘FBSLIB " ”and select with . Surf through the menus until the
desired FB is selected, i.e. ‘‘SIN0F”:
Libraries
FBSLIB " Block Classes
MACROS " Control FB’
s " Arithmetic FB’
s
Arithmetic FB’
s " ACOSF
Logic FB’
s " ADD ... 4 FB’
s "
Input/Output FB’
s " ASINF
Communic./Interrupt FB’
s " ATANF
Conversion FB’
s " AVA0F
Service/Diagnostic FB’
s " COS0F
Special Communication FB’
s " DIV ... 2 FB’
s "
MAS0F
MIS0F
MUL ... 2 FB’
s "
PLI ... 2 FB’
s "
SII0F
SIN0F
SQR0F
SUB ... 2 FB’
s "
TAN0F
After ‘‘SIN0F”, the type is automatically accepted. The default ‘‘T1’’(see window) is retained as the sam-
pling time.
Place the mouse pointer on the panel ‘‘OK’’and complete the entry with . The window is then closed and
the frame of the block lies at the mouse pointer. Move the mouse pointer to the position where the block is
to be placed and insert the block with the right-hand . The block is then displayed.
G The ‘invoke block’is continued with the . This procedure is also used for configuring the block type
‘‘INT0F’’(class: control FB’s) with the name ‘‘WIN”. Placing the block using the mouse pointer then results in:
WIN 2T1 TOTAL 1T1
INT0F SIN0F
?--- X NF NF Y --- ?--- X NF NF Y ---
?--- LU B1 QU ---
?--- LL QL ---
?--- SV
?--- TI TF
?--- S B1
G ‘Invoke block’is completed using the middle . The upper graphical menu line can now be reselected.
G One small tip regarding the screen layout and the allocation of the mouse keys in the menu is as fol-
FP --- EDIT
lows:
Information is located below the menu line at the upper edge of the screen layout:
The editor function defines which function is currently selected, i.e. ‘‘Invoke Function Blocks’’. The next action
implies the actions to be activated next and the right-hand panel mouse keys indicate the allocation of the
three mouse keys.
G The Y output of the INT0F block is to be connected to the X input of the SIN0F block. In addition the QU
output of the INT0F is to be connected to the S input of the INT0F.
G Bring the mouse pointer in the large window into the middle of the screen and select the Y output of the
INTOF with (click directly onto ‘‘Y’’). Drag the mouse pointer to the X input of the SIN0F and create the
WIN 2T1 TOTAL 1T1
INT0F *6 SIN0F *2
?--- X NF NF Y --- A* *A ?--- X NF NF Y ---
?--- LU B1 QU ---
?--- LL QL ---
?--- SV
?--- TI TF
?--- S B1
connection with :
G Position the mouse pointer on the QU output, for the 2nd. connection, and select with . Drag the mouse
WIN 2T1 TOTAL 1T1
INT0F *6 SIN0F *2
?--- X NF NF Y --- A* *A ?--- X NF NF Y ---
?--- LU B1 QU --- B*
?--- LL QL ---
?--- SV
?--- TI TF
*B ?--- S B1
pointer to the S input and create the connection with :
G The block connect is completed with the middle and the connections are then displayed:
WIN 2T1 TOTAL 1T1
INT0F SIN0F
?--- X NF NF Y --- X NF NF Y ---
?--- LU B1 QU ---
?--- LL QL ---
?--- SV
?--- TI TF
S B1
¿ .
G Parameters should only be set at inputs displaying a ‘‘?’’(only at INT0F) and only in sequence starting from
the top with ‘‘260%’’, ‘‘359.64%’’, ‘‘0%’’, ‘‘0%’’and ‘‘1’’:
G Bring the mouse pointer in the large window to the middle of the screen and select the X input of the INTOF
with (directly click on the X). A parameter window is popped onto screen:
Configure FB/CONN
WIN.X NF< NXT? CONN FB
Constant []
Signal Designator
Scalling SCAL
IBS Limit MIN
IBS Limit MAX
FORMat
Comment:
OK Cancel
G Select the empty panel for the constants using and enter ‘‘260’’. Then use on " of NXT? to switch
to the next connector and correspondingly repeat the procedure.
The parameters of all the other inputs are set in the same manner. After setting the TI input, the mouse
pointer is placed on the button OK in the window and all entries are accepted with :
WIN 2T1 TOTAL 1T1
INT0F SIN0F
?--- X NF NF Y --- X NF NF Y ---
?--- LU B1 QU ---
?--- LL QL ---
?--- SV
?--- TI TF
S B1
G Use the middle (the mouse pointer must be inside the sheet) to exit the block parameters and display all
WIN 2T1 TOTAL 1T1
INT0F SIN0F
260%--- X NF NF Y --- X NF NF Y ---
359.64%--- LU B1 QU ---
0%--- LL QL ---
0%--- SV
1 [s]--- TI TF
S B1
the input values:
The upper graphical menu line can now be reselected.
All the necessary steps for processing this function packet have now been completed. Use the mouse to
select the button with to exit the processing. Press 2x ¿ to acknowledge and save all entries
END
MP --- COMP
Busy
The compiling is activated with ¿ . The window Please wait ... is temporarily displayed.
FP --- COP run
The result of the compiler run is displayed in the right-hand lower box ‘‘Message Output Basic Dialog’’. If all
definitions have been correctly implemented, then the following appears in the black panel:
Select the button with to compile. The line ‘‘Selected PN’’appears below the button.
PN--- COMP
Activate compiling with ¿ . The result of the compiler run is displayed in the right-hand lower box ‘‘Message
Output Basic Dialog’’. If all definitions have been correctly made, then the following appears in the black panel
as a completion message:
**** 0 Errors 0 Warnings
Now the last step, programming the program memory sub--module MSxy:
G First insert the program memory sub--module into the corresponding slot of the parallel prommer.
G The basic dialog screen still shows that the project quicky , the master program single and the processor
D01_P1 are selected. This can be seen by the green background of the three panels.
Select the button with to compile. Three lines are displayed below the button, the line
PROG.
‘‘Selected PN’’is the automatic preselection.
Activate the compiler with ¿ , whereby the following window is initially popped onto screen and sequentially
filled:
Program -
The window is automatically closed and processing continued by opening the following window:
Info
MP --- single PN--- D01_P1 : PN--- EPROM end
OK
The processor program has now been successfully compiled. The programming and the configuring phase
are then completed with ¿ .
Exiting the STRUC configuring software and powering down the STRUC--PC:
G Select the left-hand button with in the basic dialog screen. A menu strip is popped onto screen.
FILE
Use # to go to the line ‘‘Exit STRUC....”and acknowledge with ¿ (or place the mouse pointer on this
location and acknowledge with ). A further window for acknowledging is popped onto screen.
Acknowledge with ¿ .
The basic dialog screen is closed. Select ‘‘File’’, on the UNIX shell in the upper left-hand corner with
File Edit View Help
and go to the last line ‘‘Exit’’using # . Acknowledge with ¿ .
Are you sure you want to log out?
Finally power down the STRUC--PC in a controlled manner. First switch the console to console 1 by
simultaneously activating the keys CNTRL, ALT and F1. Then enter
login: root ¿
password: root ¿
The PC will now run until a ‘‘#’’appears, enter ‘‘init 0’’(init space zero) and ¿ . Wait until the screen
** Press Any Key to Reboot **
appears, then the PC can be powered down.
If an immediate restart up is desired (i.e. no power down), then press any key to activate.