Table of contents
Basic Functions
24
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
13.15.2.3POINTER or ANY variable for transfer to FC or FB ............................................................... 1079
13.15.3 Multiinstance DB ................................................................................................................... 1082
13.15.4 Strings ................................................................................................................................... 1083
13.15.5 Determining offset addresses for data block structures ......................................................... 1083
13.15.6 FB calls .................................................................................................................................. 1084
13.16 Data lists................................................................................................................................ 1086
13.16.1 Machine data ......................................................................................................................... 1086
13.16.1.1NC-specific machine data ...................................................................................................... 1086
13.16.1.2Channelspecific machine data .............................................................................................. 1086
14 P4: PLC for SINUMERIK 828D .............................................................................................................1087
14.1 Overview................................................................................................................................ 1087
14.1.1 PLC firmware ......................................................................................................................... 1087
14.1.2 PLC user interface ................................................................................................................. 1087
14.1.2.1 Data that are cyclically exchanged ........................................................................................ 1089
14.1.2.2 Alarms and messages ........................................................................................................... 1089
14.1.2.3 Retentive data ....................................................................................................................... 1089
14.1.2.4 Non-retentive data ................................................................................................................. 1089
14.1.2.5 PLC machine data ................................................................................................................. 1090
14.1.3 PLC key data ......................................................................................................................... 1090
14.1.4 PLC I/O, fast onboard inputs/outputs ..................................................................................... 1091
14.1.5 PLC Toolbox .......................................................................................................................... 1091
14.1.5.1 Star/delta changeover ............................................................................................................ 1091
14.2 Programming Tool PLC828 ................................................................................................... 1092
14.3 Programming ......................................................................................................................... 1093
14.3.1 Introduction ............................................................................................................................ 1093
14.3.1.1 Important terms ...................................................................................................................... 1093
14.3.1.2 Create/open a project ............................................................................................................ 1096
14.3.1.3 Program organization using the the Programming Tool ........................................................ 1097
14.3.1.4 Fast onboard inputs and outputs ........................................................................................... 1099
14.3.2 Target system memory .......................................................................................................... 1099
14.3.2.1 Type of memory .......................................................................................................
.............. 1099
14.3.2.2
Addressing range of the target system .................................................................................. 1100
14.3.2.3 Addressing ............................................................................................................................. 1102
14.3.2.4 Data types ............................................................................................................................. 1104
14.3.2.5 Constants .............................................................................................................................. 1106
14.3.2.6 Data blocks ............................................................................................................................ 1108
14.3.2.7 Special bit memories and their functions ............................................................................... 1118
14.3.3 Operation set ......................................................................................................................... 1119
14.3.4 Data classes .......................................................................................................................... 1119
14.3.4.1 Defining data classes ............................................................................................................. 1119
14.3.4.2 Assigning a block to a data class ........................................................................................... 1121
14.3.4.3 Load data class(es) into the CPU .......................................................................................... 1123
14.3.4.4 Load data class(es) from CPU ............................................................................................... 1125
14.3.4.5 Comparison between online and offline projects ................................................................... 1126
14.3.4.6 Delete in the target system .................................................................................................... 1127
14.3.5 Rewire addresses .................................................................................................................. 1127
14.4 Test and diagnostic functions ................................................................................................ 1131
14.4.1 Program status ...................................................................................................................... 1131
14.4.1.1 Status definition ..................................................................................................................... 1131