Mitsubishi Electronics QJ7MES96 Thermostat User Manual


 
7
- 74
7.10 Job Setting
7.10.2 Setting items in Trigger conditions
7
MES INTERFACE FUNCTION CONFIGURATION TOOL
2) Program example
The following is a program example in which a job is executed when an
execution request (X100) from the outside turns ON.
When system switching occurs during [Handshake operation], the processing
to retry is incorporated.
*1 The same job cannot be restarted during the job operation.
After switching systems, the job waits time set by Retry timer (30 seconds in program example).
*2 Completion notification (M200) may not be turned OFF at system switching.
The job restart processing is performed at the next scan.
3) Precautions
Executing the same job twice is necessary when switching systems.
Create the system in view of executing the same job twice.
(Example) When [INSERT] is used at [Communication action]
When the record of the same data (production number etc.) is inserted to the
table of data base twice, create the information system to use the latest data.
Figure 7.59 Program example when Redundant CPU is used
Sets In-process flag at
processing request.
For XML processing
Retry timer (30 seconds)
Resets Completion
notification
Processing for normal
job execution
Processing at system
switching
Processing for failed
job execution
Job restart processing
Job restart processing
Resets In-process flag
at normal completion.
Send data generation
Receive data processing
Error handling
*2
*