P3: Basic PLC Program for SINUMERIK 840D sl
13.7 Interface structure
Basic Functions
872
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
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.
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...