18.3 Direct Output Instruction
18-21
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
Y0
R1
Y0
D
D
DSET
DRST
SET
<
>
RST
<
>
Type of relays that can be specified (unit: bit) (A: Availalbe, -: Not available))
X Y R T C L P E
Index
modifier
DSET
Output coil
-
A
-
-
-
-
-
-
A
DRST
Output coil
-
A
-
-
-
-
-
-
A
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
Device Range
FP-XH M8N control unit
Y0-Y7·Y1100-Y141F (Note)
(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.
Summary of Contents for FP-XH M8N16PD
Page 1: ......
Page 23: ...1 System Structure ...
Page 39: ...2 Control Unit Specifications ...
Page 48: ...Control Unit Specifications 2 10 ...
Page 49: ...3 I O Allocation ...
Page 77: ...4 Installation ...
Page 89: ...5 Wiring of Power Supply and General purpose I O Parts ...
Page 104: ...Wiring of Power Supply and General purpose I O Parts 5 16 ...
Page 105: ...6 Wiring of Motion I O Parts ...
Page 116: ...Wiring of Motion I O Parts 6 12 ...
Page 117: ...7 Power On Off and Check Items ...
Page 124: ...Power On Off and Check Items 7 8 ...
Page 125: ...8 Steps Before Running ...
Page 142: ...Steps Before Running 8 18 ...
Page 143: ...9 Setting of Position Control Parameters ...
Page 159: ...10 Transfer to Unit and Commissioning ...
Page 181: ...11 Automatic Operation Position Control ...
Page 193: ...11 2 Interpolation Control 11 13 ...
Page 209: ...12 Automatic Operation Synchronous Control ...
Page 251: ...13 Manual Operation JOG Operation ...
Page 256: ...Manual Operation JOG Operation 13 6 ...
Page 257: ...14 Manual Operation Home Return ...
Page 264: ...Manual Operation Home Return 14 8 ...
Page 265: ...15 Pulse Input Function ...
Page 278: ...Pulse Input Function 15 14 ...
Page 279: ...16 Stop Function ...
Page 285: ...17 Auxiliary Function ...
Page 329: ...18 Instruction Reference ...
Page 357: ...19 Error Warning Annunciation Function ...
Page 386: ...Error Warning Annunciation Function 19 30 ...
Page 387: ...20 Troubleshooting ...
Page 402: ...Troubleshooting 20 16 ...
Page 403: ...21 Memory Master Memory Cassette ...
Page 418: ...Memory Master Memory Cassette 21 16 ...
Page 419: ...22 Security Functions ...
Page 430: ...Security Functions 22 12 ...
Page 431: ...23 General purpose Input High speed counter Function ...
Page 448: ...General purpose Input High speed counter Function 23 18 ...
Page 449: ...24 Other Functions ...
Page 452: ...Other Functions 24 4 ...
Page 453: ...25 Maintenance and Inspection ...
Page 457: ...26 Specifications ...
Page 552: ...Specifications 26 96 ...
Page 553: ...Record of changes Manual No Date Record of Changes WUME FPXHM8N16PD 01 Sep 2017 First Edition ...
Page 554: ......
Page 555: ......
Page 556: ......