Mitsubishi Electronics 60/60S Router User Manual


 
8. Maintenance Functions
8.2 Data Sampling
III-77
(10) #21 PROCESS FORM (Setting range: 0 to 2)
Set the sampling process type.
0: One-shot (Stops only when buffer is full.)
1: Repeat valid (After the process ends (the buffer is full), the "TRIGGER WAIT" state
will be entered again.
2: Sampling buffer valid
(Note) If a value other than "0" is set, #22 must also be set.
If not set, the sampling process will not end until it is forcibly ended.
(11) #22 E-CONDITION (Setting range: 0 to 4)
Set the conditions for ending the sampling process.
0: Sampling completed (buffer full)
1: Variable No.
(Sampling ends when the variable set in #23 is 0 or a value other than null)
2: PLC device (Sampling ends at the rising edge of the signal set in #24)
3: Address condition, true (Sampling ends when the #25 to #27 conditions are true)
4: Address condition, false (Sampling ends when the #25 to #27 conditions are false)
(Note 1) Always set #25 to #27 when "3" or "4" is set. Sampling may not end if these are not set.
If the same value as #5 is set (if #5 is set to "3" and #22 to "3" or #5 to "4" and #22 to "4"),
sampling will not take place.
(Note 2) When "1" is set, the common variable uses the floating decimal point method, so if the
calculation results are used, an error will occur, and the value may not be recognized as 0.
When using a multi-system, the end trigger will turn ON only when the conditions are satisfied
in all systems.
(Note 3) The variable data settings are validated immediately only from the program. These will not be
validated immediately with settings from the screen or DDB.
(Note 4) Even fit the ending conditions are satisfied, the subsequent flow will differ according to the
value set in #21. Refer to the following diagram for details. (This also applies when ending
manually.)
#21 Process type Flow of sampling process
One-shot
Repeat
Ring buffer
Start trigger ON
Sampling com-
pleted (buffer full)
Start trigger ON
End trigger ON
Sampling
Process continued until sampling is
completed
Waiting for trigger
Sampling
Sampling
Sampling
Sampling stopped
Sampling stopped
Sampling stopped