![background image](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831410.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-293
Ver. 1
6.41.2 DUTY
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
DUTY
D
-
-
-
O
-
-
-
-
-
-
-
-
-
-
-
-
4
-
-
-
N1
-
-
-
-
-
-
-
-
-
-
-
O
-
-
-
-
N2
-
-
-
-
-
-
-
-
-
-
-
O
-
-
-
-
Operand
Description
Data Type
D
F100 ~ F107
BIT-
N1
Number of scans to be ON
WORD
N2
Number of scans to be OFF
WORD
1) DUTY
(1) It generates the pulse to make user’s timing pulse F area (F100~F107) specified in D. On for N1 scan
and Off for N2 scan.
(2) If input condition is Off, the timing pulse (F100~F107) will be Off.
(3) If N1 = 0, the timing pulse will be always Off.
(4) If N1 > 0, N2 = 0 , the timing pulse will be always On.
(5) If DUTY instruction operates to start generating the timing pulse with input condition ON, the timing
pulse will be continuously produced even if duty’s input condition is Off.
2) Program Example
DUTY F01000 3 1
P0
DUTY
DUTY
D
N1
N2
Remark
(1) Timing pulse will keep operating even if DUTY instruction applicable to specific timing pulse is cancelled through
modification during Run.
Input
condition
DUTY
Timing
N1 scanN2 scan
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...