
B-63364EN/03 B. EXAMPLES OF REGISTERING MONITOR ITEMS AND LOG OUTPUT ITEMS
- 173 -
Line 7
The current value [I/O Type: 0] of the sequence number being executed
or last executed [Item Type: Sequence Number] is obtained from the
CNC machine at each sampling [Condition: None], and the obtained
value is used as the output value [Output Value: =E7] as is.
The name of this monitor item is "Sequence No." [Item Name:
Sequence No.].
Line 8
The current value [I/O Type: 0] of the machine signal [Item Type:
Machine Signal] of bit 5 [Data Type: -5] at address F0000 [Address:
F0000] is obtained at each sampling [Condition: None], and the
obtained value is used as the output value [Output Value: =E8] as is.
The name of this monitor item is "STL" [Item Name: STL].
Line 9
The current value [I/O Type: 0] of the machine signal [Item Type:
Machine Signal] of bit 4 [Data Type: -4] at address F0000 [Address:
F0000] is obtained at each sampling [Condition: None], and the
obtained value is used as the output value [Output Value: =E9] as is.
The name of this monitor item is "SPL" [Item Name: SPL].
Line 10
The current value [I/O Type: 0] of the main program number [Item
Type: O Number (Main)] is obtained from the CNC machine at the start
of the main program
[Condition: =AND(F_ISON(F8),NOT(F_ISOFF(F9)))], and the
obtained value is used as the output value [Output Value: =E10] as is.
The name of this monitor item is "Main Program No." [Item Name:
Main Program No.].
The program start condition according to the monitored values of the
STL and SPL signals can be expressed in words as follows. (For the
start condition, see the figure, "Main program start and end times" in this
section.)
Rising edge of the STL signal (0 → 1)
and
Other than falling edge of the SPL signal (1 → 0)
The conditional expression of this status is the expression described
above because the STL signal is monitored in cell F6 and the SPL signal
is monitored in cell F7.