Timing Pulse Generation (Duty) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.18.2

Timing pulse generation (DUTY)

DUTY
DUTY
Setting
Data
n1
n2
D
Function
(1) Turns the user timing clock (SM420 to SM424, SM430 to M434), designated by
the duration equivalent to the number of scans specified by n1, and OFF for the duration
equivalent to the number of scans specified by n2.
(2) Scan execution type programs use SM420 to SM424, and low speed execution type
programs use SM430 to SM434.
(3) The following will take place if both n1 and n2 have been set for 0:
(a) n1 0, n2 0
(b) n1 0, n2 0
(4) The data designated by n1, n2, and
instruction is executed, and the timing pulse is turned ON and OFF by END processing.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The device designated by
• The values of n1 and n2 are less than 0.
Command
n1 : Number of scans for ON (BIN 16 bits)
n2 : Number of scans for OFF (BIN 16 bits)
: User timing clock (SM420 to SM424, SM430 to M434) (bits)
D
Internal Devices
R, ZR
Bit
Word
*1
ON
OFF
SM420 to SM424
SM430 to SM434
n1 scans
SM420 to SM424 and SM430 to SM434 will stay OFF.
SM420 to SM424 and SM430 to SM434 will stay ON.
D
is not from SM420 to SM424 or SM430 to SM434.
D
High
Basic
performance
DUTY
n1
J
\
U
\G
Bit
Word
––
*1: Only SM420 to SM424, SM430 to SM434 can be used.
n2 scans
is registered with the system when the DUTY
DUTY
Process
Redundant Universal
LCPU
n2
D
Constants
Zn
Other
K, H
––
––
––
, ON for
D
(Error code: 4101)
(Error code: 4100)
7-387
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents