EasyManuals Logo
Home>Mitsubishi>Controller>QD51-R24

Mitsubishi QD51-R24 User Manual

Mitsubishi QD51-R24
160 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #100 background imageLoading...
Page #100 background image
3 - 65 3 - 65
MELSEC-Q
3 SPECIFICATIONS
3.13.1 Synchronizing execution between BASIC programs (Event control)
In multitask processing, each BASIC program is process independently.
for this reason, if data are shared between BASIC programs, it is necessary that the
receiving side read the data after confirming that the sending side has sent the data.
Event control is used to synchronize the execution of the data sending side BASIC
program and the data receiving side BASIC program.
In event control, the BASIC program that is on the data receiving side is set in the
signal wait (WAIT) state then after the sending side finishes sending the data, it gives a
signal (event) and the receiving side BASIC program reads the data.
For this reason, the data sent by the sending side can be read precisely by the
receiving side BASIC program.
In event control, the following commands are executed.
• DEF ZEVENT : Definition of the event.
• ZEVENT ENABLE : Enabling generation of the event.
• ZWAIT EVENT : Waiting for the event.
• ZSIGNAL : Generating the event.
ZWAIT EVENT
(
Waiting for the
event to occur)
Task 2
DEF ZEVENT
(
Defines the event)
ZEVENT ENABLE
(
Enables the
event to occur
)
ZSIGNAL
(
The event occurs)
Waiting for
the event
to occur
Program execution status Program execution status
Task 1
ProgramProgram
Executing
Executing Executing
Resume
REMARK
Refer to the Programming Manual (Commands) concerning details on event control
and the commands used.

Table of Contents

Other manuals for Mitsubishi QD51-R24

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi QD51-R24 and is the answer not in the manual?

Mitsubishi QD51-R24 Specifications

General IconGeneral
BrandMitsubishi
ModelQD51-R24
CategoryController
LanguageEnglish

Related product manuals