Index
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
1587
Reading attributes with ATTR_DB, 541
single FB with multiple instance DBs, 191
standard access, 193
structure, 83
WRIT_DBL (write to data block in load
memory), 538
Data block
synchronizing online and offline start values, 219
Data exchange between IO systems, 931
Data handling block (DHB), 192
Data log
data log overview, 509
data record structure, 509
DataLogClose (close data log), 519
DataLogCreate (create data log), 510
DataLogNewFile (data log in new file), 522
DataLogOpen (open data log), 514
DataLogWrite (write data log), 516
Deleting with DataLogDelete, 520
Empty with DataLogClear, 518
example program, 529
size limit and calculating size, 526
viewing Data logs, 525
Data Logs standard Web page, 1038
Data transmission, initiating, 1122, 1226
Data types, 125
arrays, 132
Bool, Byte, Word, and DWord, 126
characters and strings, 130
PLC data type editor, 133
Real, LReal (floating-point real), 127
Struc, 133
Time, Date, TOD (time of day), DTL (date and time
long), 128
USInt, SInt, UInt, Int, UDInt, Dint (integer), 127
Variant (pointer), 134
DataLogClear, 518
DataLogDelete, 520
Date
Date data type, 128
DTL (date and time long data type), 129
SET_TIMEZONE (set time zone), 343
T_ADD (add times), 336
T_COMBINE (combine times), 337
T_CONV (convert times and extract), 335
T_DIFF (time difference), 337
T_SUB (subtract times), 336
Daylight saving time TimeTransformationRule, 342
DB (data block), (Data block)
DB_ANY_TO_VARIANT (Convert DB_ANY to
VARIANT, 300
DC
grounding, 77
inductive loads, 80
isolation guidelines, 77
outputs, 1367
wiring guidelines, 76, 78
Debugging in RUN mode, 1345
Debugging n RUN mode, 1335
DEC (decrement), 259
DECO (decode), 327
Defining enum types, user-defined Web pages, 1050
Degree of protection, 1366
DELETE (delete characters in a character string), 365
DELETE_DB (Delete data block), 542
DEMUX (demultiplex), 330
Deserialize, 269
Designing a PLC system, 183, 185
DETACH (detach an OB from an interrupt even)t, 420
Device
PROFINET IO, 922
PROFINET IO device names, 923
shared, 939
Device configuration, 153, 914
add modules, 158
add new device, 154
AS-i, 978
AS-i port, 978
changing a device type, 170
configuring the CPU, 170
configuring the modules, 177
discover, 157
download, 216
Ethernet port, 814
network connection, 806
PROFIBUS, 972
PROFINET port, 814
time synchronization property (PROFINET), 823
unplugged modules, 50
Device exchange
procedure, 170
V3.0 CPU for a V4.2 CPU, 1571
DeviceStates (read module status of an I/O
system), 468
DeviceStates, example, 469
Diagnostic error interrupt OB, 97
Diagnostic standard Web page, 1022
Diagnostics
buffer, 114
cycle time, 1321
DeviceStates (read module status of an I/O
system), 468
diagnostics buffer, 1322