Get**Clk - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

Get**Clk

The Get**Clk instruction outputs a clock pulse at the specified cycle.
Instruction
Get**Clk
Get Clock Pulse
Group
Variables
Name
Meaning
Out
Clock pulse Output
Bit strings
Out
OK
Function
The Get**Clk instruction outputs a clock pulse at the specified cycle.
The clock pulse period is 100 us, 1 ms, 10 ms, 20 ms, 100 ms, 1 s, or 1 min.
The name of the instruction is determined by the period of the clock pulse. For example, if the period of
the clock pulse is 10 ms, the instruction name is Get10msClk.
The following example is for the Get1sClk instruction.
LD
Get1sClk
EN
TRUE
Out=abc
FALSE
Precautions for Correct Use
• When the instruction is executed, the first value of Out may be TRUE or it may be FALSE.
• If this instruction is used in a ladder diagram, the value of Out changes to FALSE if an error occurs in
the previous instruction on the rung.
NY-series Instructions Reference Manual (W560)
Name
FB/FUN
FUN
"**" must be 100 us, 1 ms, 10 ms, 20 ms,
100 ms, 1 s, or 1 min.
I/O
Description
Clock pulse
abc
1 s
Graphic expression
Get**Clk
EN
Out
Valid range
Depends on data type.
Integers
ST
abc:=Get1sClk();
2 Instruction Descriptions
ST expression
Out:=Get**Clk();
"**" must be 100 us, 1 ms,
10 ms, 20 ms, 100 ms, 1 s,
or 1 min.
Unit
Default
---
---
Times, durations,
dates, and text strings
2-1393
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents