7.17 Other Instructions
7.17.2 Timing pulse generation
7-349
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
DUT
Y
DUTY
7.17.2
Timing pulse generation
DUTY
*1 : Only devices SM420 to SM424 and SM430 to SM434 can be used.
Function
(1) Turns ON the user timing clock (SM420 to SM424, SM430 to M434) specified for
, for the
duration equivalent to the number of scans specified for n1, and turns OFF for the duration
equivalent to the number of scans specified for n2.
(2) Scan execution type programs use from SM420 to SM424, and low-speed execution type
programs use from SM430 to SM434.
(3) The following will take place if both n1 and n2 have been set to 0.
(a) n1 0, n2 0 from SM420 to SM424 and from SM430 to SM434 stays OFF.
(b) n1 0, n2 0 from SM420 to SM424 and from SM430 to SM434 stays ON.
DUTY
indicates the following instruction.
DUTY
Input argument,
EN:
Executing condition
:Bit
n1:
Number of scans to be turned ON
:ANY16
n2:
Number of scans to be turned OFF
:ANY16
Output argument,
ENO:
Execution result
:Bit
d:
User timing clock
:Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
n1
−
n2
−
*1
−
−
Universal
UD
High
Performance
Structured ladder
ST
DU
TY
EN
ENO
n
1
d
n
2
DU
TY
(EN,
n
1,
n
2, d);
ENO:=
d
d
SM
4
20
to
SM
4
2
4
SM
4
30
to
SM
4
3
4
O
FF
O
N
n
2
scans
n
1
scans
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......