
B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS B-63364EN/03
- 176 -
Line 16
Calculation is performed [Item Type: Calculation] using the
computational expression [=(Date(End)(cell F13)+Time(End)(cell
F14))-(Date(Start)(cell F11)+Time(Start)(cell F12))] is calculated, and
the result is used as the output value [Output Value: =(F13+F14)-
(F11+F12)].
The name of this monitor item is "Executing Time" [Item Name:
Executing Time].
Addition and subtraction can be performed for date and time data as
described above because the data is stored as 8-byte double-precision
data indicating the date and time.
Line 17
Calculation is performed [Item Type: Calculation] using the
computational expression [=Executing Time(cell F16)-Cutting
Time(cell F15)], and the result is used as the output value [Output
Value: =F16-F15].
The name of this monitor item is "Non-Cutting Time" [Item Name:
Non-Cutting Time].
Line 18
Calculation is performed [Item Type: Calculation] using the
computational expression [=Blank(cell E18)], and the result is used as
the output value [Output Value: =E18].
The name of this monitor item is "Dummy Data" [Item Type: Dummy
Data].
Line 19
The current value [I/O Type: 0] of the machining result (processed part
count) [Item Type: Machining Result] is obtained from the personal
computer at the end of the main program [Condition:
=AND(F_ISOFF(F8),NOT(F_ISON(F9)))], and the obtained value is
used as the output value [Output Value: =E19] as is.
The name of this monitor item is "Machining Result" [Item Name:
Machining Result].
For the condition, see the explanation of line 13 because the condition is
the same as that for the monitor item on line 13.
At the end of the main program, the processed part name and machining
process name obtained together with the processed part count are stored
in cells G19 and H19.