Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
5-35
SET F,RST F
1
2
3
4
5
6
7
8
5
.3 Out
put Instruction
s
5
.3.7 Setting and re
setting the a
nnunciator
s (
SET F
,RST F
)
5.3.7  
Setting and resetting the annunciators (SET F,RST F)
SET F,RST F
Function
SET
(1) The annunciator designated by 
 is turned ON when the execution command is turned ON.
(2) The following responses occur when an annunciator (F) is turned ON.
 • The "USER" LED goes ON.
*1
 • The annunciator numbers which are ON (F numbers) are stored in special registers 
(SD64 to SD79).
 • The value of SD63 is incremented by 1.
*1: When using the Basic model QCPU, the "ERR."LED goes ON.
(3) If the value of SD63 is 16 (which happens when 16 annunciators are already ON), even if a 
new annunciator is turned ON, its number will not be stored at SD64 to SD79.
RST
(1) The annunciator designated by 
 is turned OFF when the execution command is turned ON.
(2) The annunciator numbers (F numbers) of annunciators that have gone OFF are deleted 
from the special registers (SD64 to SD79), and the value of SD63 is decremented by 1.
Remark
1. For details of annunciators,refer to the  User's Manual (Functions Explanatio 
Program Fundamentals) for the CPU module used.
2. The number of basic steps for the SET F  and RST F  instructions is 2.
SET 
: Number of the annunciator to be set (F number) (bits)
RST 
: Number of the annunciator to be reset (F number) (bits)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
Other
Bit
Word
Bit
Word
 (Only F)
––
Basic
Process
High
performance
Redundant Universal
Command
Command
RST
SET
SET
D
D
RST
D
D
D
D
D