7-350
7.17 Other Instructions
7.17.2 Timing pulse generation
DUTY
(4) The data specified for n1, n2, and
is registered to the system when the DUTY instruction
is executed, and the timing pulse is turned ON and OFF by the END processing.
O
peration Error
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The device specified for
is not from SM420 to SM424 or from SM430 to SM434.
(Error code: 4101)
• The values of n1 and n2 are less than 0.
(Error code: 4100)
Program Example
In the following program, SM420 is turned ON for 1 scan, and OFF for 3 scans when X0 turns
ON.
[Structured ladder]
[ST]
DUTY(X0,1,3,SM420);
[Operation]
d
d
X
0
3
scans
1
scan
SM
4
20
O
FF
O
FF
O
N
O
N
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......