Timing Pulse Generation - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Timing pulse generation

DUTY
High
Basic
Process
performance
DUTY
n1:
Number of scans for ON (BIN 16 bits)
n2:
Number of scans for OFF (BIN 16 bits)
(D): User timing clock (SM420 to SM424, SM430 to SM434) (bits)
Setting
Internal device
data
Bit
n1
n2
*1
(D)
*1 Only SM420 to SM424, SM430 to SM434 can be used.
Processing details
• Turns the user timing clock (SM420 to SM424, SM430 to M434), designated by (D), ON for 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.
ON
OFF
SM420 to SM424
SM430 to SM434
• Scan execution type programs use SM420 to SM424, and low speed execution type programs use SM430 to SM434.
• The following will take place if both n1 and n2 have been set for 0:
• n1=0, n20: SM420 to SM424 and SM430 to SM434 will stay OFF.
• n1>0, n2=0: SM420 to SM424 and SM430 to SM434 will stay ON.
• The data designated by n1, n2, and (D) is registered with the system when the DUTY instruction is executed, and the timing
pulse is turned ON and OFF by END processing.
Operation error
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
4100
The values of n1 and n2 are less than 0.
4101
The device specified in (D) is not from SM420 to SM424 or SM430 to
SM434.
7 APPLICATION INSTRUCTIONS
754
7.19 Other Instructions
Redundant Universal
LCPU
Command
R, ZR
Word
n1 scans
n2 scans
DUTY
J\
U\G
Bit
Word
Q00J/
Q00/
Q01
n1
n2
D
Zn
Constant
K, H
QnH
QnPH
QnPRH
Others
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents