Mitsubishi Electronics Q173CPU(N) ユーザーズマニュアル

ページ / 472
 
 
 
7 - 75 
7   OPERATION CONTROL PROGRAMS  
 
F/FS G 
 
 
7.13.2 Event task disable : DI  
Format 
DI 
 
Number of basic steps 
 
[Usable data] 
 
Usable Data 
Word device 
Constant 
Setting 
data 
Bit device 
16-bit 
integer 
type 
32-bit 
integer 
type (L) 
64-bit 
floating 
point  
type (F) 
Coasting 
timer 
16-bit 
integer 
type (K/H) 
32-bit 
integer type 
(K/H, L) 
64-bit 
floating 
point  
type (K) 
Calculation 
expression 
Bit 
conditional 
expression
Comparison 
conditional 
expression 
— — — — — — — — — — — — 
 : Usable 
 
[Setting data] 
 
There are no setting data.  
 
[Functions] 
(1)   The execution of an event task is disabled.  
 
(2)   If an external interrupt or PLC interrupt occurs after execution of the DI instruction, 
the corresponding event task is executed once at the execution of the EI 
instruction. (If two or more external interrupts or PLC interrupts occur during DI, 
the corresponding event task is executed only once at the execution of the EI 
instruction.)  
 
(3)   During DI, a fixed-cycle event task is not executed.  
 
(4)   The execution of an NMI task cannot be disabled.  
 
(5)   The DI status is established at power-on or when a reset is made with the 
RESET/L.CLR switch.  
 
[Errors] 
(1)   An operation error will occur if:  
•  This instruction is used with other than a normal task.  
 
[Program examples] 
(1)   Program which disables the execution of an event task.  
 
DI