Siemens SINUMERIK 828D Function Manual page 872

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

P3: Basic PLC Program for SINUMERIK 840D sl
13.7 Interface structure
The extensions are:
Support for 10 channels, 31 axes.
Areas for feed stop, read-in disable, etc. are available without messages. The information from this area is
stored on the interface in DB21, DB31 depending upon the FC 10-parameter "ToUserIF" together with the
related message bits as group signals. As such, the previous cumbersome handling of the signals is omitted.
The alarms / messages also get the 16-bit integer additional value (%Z parameter in the alarm text) in addition
to the alarm number for the user area 0. The user must write the 16-bit integer values in the DB 2 in the Array
variable ZInfo0 parallel to setting an alarm bit. An integer value is available for each bit in the user area 0, see
UDT1002 in the basic program.
The user messages can be parameteized in the second decade of the message number in the numerical
range 0 to 9. The display value of the second decade must be written by the user in the DB5 in the array
variable UserDek2No. A number can be defined for each user area, see DB 5 in the basic program.
The value 0 is set by default for second decade.
The structuring of the DB 2 in UDT1002 can be recoginzed (basic program). In case of new alarm functions, the
UDT1002 must be assigned symbolically to the DB2.
At the start of DB 2 there are bit fields for signals without alarm generation. This is followed by an array of size 64
integer for additional info of the user area 0.
Thereafter follow the areas, which also trigger alams / messages (see List manual) These areas are extended to
10 channels, 31 axes.
Simple implementation of a user program on the new alarms
The source container of the basic program contains the file "udt2_for_Convert.awl", which has the following
structural element from UDT1002:
ChanA as array of 1 ... 8
AxisA as array of 1 ... 18
UserA as array of 1 ... 31
This UDT2 is to be compiled via the KOP/FUP/AWL - Editor. The UDT2 must be assigned to the DB 2 in the
symbol table.
Sources must be generated for components, which have assignments on DB 2. Alternatively, sources can
naturally be created for all blocks too. The UDT1002 must now be assigned to the DB 2 in the symbol table.
Thereafter, the sources must be recompiled.
Now all the alarm allocations are assigned to the new data areas in the DB 2 and now only the parameter
"ExtendAlMsg" at FB 1 must be set to True .
After a Power On RESET the alarm behavior is the same as earlier.
872
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Basic Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents