Dset·drst] Direct Set / Direct Reset - Panasonic FP-XH M8N16PD User Manual

Programmable controller
Table of Contents

Advertisement

18.3.2 [DSET·DRST] Direct set / Direct reset
DSET: When execution condition is satisfied, external output flag will be ON. And the ON
state will be held. As input refreshing is performed by taking contact as a unit, it is valid for
controls with requirement for high-speed response.
DRST: When execution condition is satisfied, external output flag will be OFF. And the OFF
state will be held. As input refreshing is performed by taking contact as a unit, it is valid for
controls with requirement for high-speed response.
 Instruction format
R0
R1
 Type of relays that can be specified (unit: bit) (A: Availalbe, -: Not available))
DSET
Output coil
Output coil
DRST
 Operation description
• 「DSET」 Instruction, when execution condition is ON, the specified output contact flag will be
ON and external output flag will be ON. Hold the ON state, regardless of the change of state
of execution condition.
• 「DRST」 Instruction, when execution condition is ON, the specified output contact flag will be
OFF and external output flag will be OFF. Hold the OFF state, regardless of the change of
state of execution condition.
• 「DSET」「DRST」 Instruction can designate output on the same coil for many times. (No
syntax error may occur even if total check is performed)
<Example> During the above procedure
• When R0 flag is ON, external output Y0 flag will be ON and the ON state will be held.
• When R1 flag is ON, external output Y0 flag will be OFF and the OFF state will be held.
 Range that can be specified
Model
FP-XH M8N control unit
(Note): When designating Y1100-Y141F, the input area of the motion control part is read and reflected.
 Precautions for programs
• When the contact is out of the specified possible range, operation error may occur.
• The state of output end of DSET instruction will be held even if 「MC」 instruction is being
executed.
• The output end of DSET instruction will be reset when switching from 「RUN mode」 to
「PROG mode」 or when the power is OFF, etc.
Y0
D
SET
Y0
D
RST
X
Y
R
T
A
A
Device Range
Y0-Y7·Y1100-Y141F (Note)
18.3 Direct Output Instruction
DSET
DRST
C
L
P
E
modifier
Index
A
A
18-21

Advertisement

Table of Contents
loading

Table of Contents