9-22
IM 04L42B01-01E
ReportTemplateExamples
• SystemKeywordExamples
Mixingakeywordandtext
File header: $FileHeader$
Date and time: $DateTime$
↓
File header: DX2000
Date and time: 2010/01/01 12:00:000
Mixingmultiplekeywordsandtext
Device number: $Serial$ File Header: $FileHeader$
↓
Device number: ABCDEFG File Header: DX2000
• ReportDataKeywordExamples
The following examples are for when the hourly report data for report channel R01 is
101, 102, 103, 104, and 105 and the hourly report data for report channel R02 is 201,
202, 203, 204, 205, and 206.
The $Repeat$ command applies to the closest keyword above the command in the
same column.
$ReportDataInst(Hour,R01)$ 101
$Repeat$ 102
$Repeat$ 103
$Repeat$ → 104
$ReportDataInst(Hour,R02)$ 201
$Repeat$ 202
$Repeat$ 203
$Repeat$ 204
$Repeat$ 205
The $Repeat$ command applies to the keyword above it in the same column, even
when that keyword is not directly above the command.
$ReportDataInst(Hour,R01)$ 101
$Unit(R01)$ °C
$Repeat$ 102
$Unit(R01)$ → °C
$Repeat$ $Unit(R01)$ 103 °C
You can mix system keywords, report data keywords, and text. If the data specified by
a keyword does not exist, nothing is output.
$ReportDataInst(Hour,R01)$($Unit(R01)$) 101(°C)
$Repeat$ 102
$Repeat$ 103
$Repeat$($Unit(R01)$) → 104(°C)
$Repeat$(°C) 105(°C)
$Repeat$
9.6CreatingaReportTemplate(Releasenumbers4andlater)