712
8 APPLICATION INSTRUCTION
8.25 Timing Check Instruction
8.25
Timing Check Instruction
Generating timing pulses
DUTY
This instruction sets user timing clock output destinations (SM420 to SM424 and SM8330 to SM8334) specified by (d) to on
for the number of scans specified by (n1) and to off for the number of scans specified by (n2).
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1 Only SM can be used.
Processing details
• This instruction sets user timing clock output destinations (SM420 to SM424 and SM8330 to SM8334) specified by (d) to on
for the number of scans specified by (n1) and to off for the number of scans specified by (n2).
• Specify SM420 to SM424 (SM8330 to SM8334) in the special relay of the timing clock output destination specified by (d).
• In SM420 to SM424 (SM8330 to SM8334), when one device is turned on, another device is also turned on at the same
time.
Ladder diagram
Structured text
ENO:=DUTY(EN,n1,n2,d);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(n1)
Number of scans to be turned on
0 to 32767
16-bit unsigned binary
ANY16
(n2)
Number of scans to be turned off
0 to 32767
16-bit unsigned binary
ANY16
(d)
Special relay of the timing clock output destination
(SM420 to SM424,
SM8330 to SM8334)
Bit
ANYBIT_BOOL
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(n1)
(n2)
(d)
(n1): (n1) scans
(n2): (n2) scans
(n1) (n2)
(d)
EN
ENO
d
n1
n2
OFF
ON
(n1)
(n2)
SM420 to SM424,
SM8330 to SM8334
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......