6 – 330
Module 9192 Reading the operating times
You read the current value of an operating time. The current value is
transferred in seconds. If the value is greater than 2 147 483 648 (approx. 69
years), a negative number will be transferred.
Call:
PS
B/W/D/K <Number of the operating time>
–3: TNCTIME
–2: MACHINETIME
–1: PROGTIME
0 to 7: PLCTIME0 to PLCTIME7
CM
9192
PL
B/W/D
<Current time [s]>
–1: Error
Error recognition:
Marker
Value
Meaning
M4203
0
PLC operating time started
1
Incorrect transfer value, or module was not called in a
spawn job or submit job
Module 9193 Setting the operating times
You overwrite the current value of the operating time. The old value is lost
irretrievably.
The time for "control on" (TNCTIME) cannot be overwritten.
Transfer all values greater than 2 147 483 648 (approx. 69 years), as negative
numbers.
Call:
PS
B/W/D/K <Number of the operating time>
–2: MACHINETIME
–1: PROGTIME
0 to 7: PLCTIME0 to PLCTIME7
PS
B/W/D/K <New time [s]>
CM
9193
Error recognition:
Marker
Value
Meaning
M4203
0
Operating time was overwritten
1
Incorrect transfer value, or module was not called in a
spawn job or submit job
HEIDENHAIN Technical Manual TNC 426, TNC 430