7.1.3.4
CYCLE105(PAR1) Creating log content
This cycle generates up to 4 lines of log contents (lines of values) according to the entries in
the variables of the data block (GUD6). It allows you to generate only value lines or only the
log header depending on the setting for PAR1.
Parameter
PAR1
7.1.3.5
CYCLE106(PAR1) Logging sequence control
This cycle controls how logging is executed.
Parameter
PAR1
The CYCLE106 cycle is called by CYCLE100 automatically when the log is activated.
CYCLE106 deletes all old log files with the same name as required, creates follow-up log
files and monitors the page layout of the log.
7.1.3.6
CYCLE113(PAR1,PAR2) Read system date and time
Parameter
PAR1
PAR2
7.1.3.7
CYCLE118(PAR1,PAR2,PAR3,PAR4,PAR5)
The CYCLE118 cycle formats real numbers (data type REAL) for a set number of decimal
places.
It can be called to format just one number of to format several numbers.
Formatting one number:
• The input and output values are specified directly in the first 3 parameters passed on
• For the return value, up to 12 characters are provided, i.e. the return variable is of type
Measuring cycles
Programming Manual, Release 04/2006, 6FC5398-4BP10-0BA0
Data type
INTEGER
Data type
INTEGER
Data type
INTEGER
STRING[10]
cycle call, i.e. the number to be formatted (PAR1), the number of digits (PAR2), and the
name of a string variable for the formatted string that is returned.
STRING[12].
Value
Meaning
0
Output block of values
1
Output header
Value
Meaning
1
Output header
2
Output block of values
Value
Meaning
1
Read date and return in PAR2
2
Read time and return in PAR2
Specify the length with the STRING type
Miscellaneous functions
7.1 Log measurement results
7-3