EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #928 background imageLoading...
Page #928 background image
2 Instruction Descriptions
2-880
NJ-series Instructions Reference Manual (W502)
Get**Clk
The Get**Clk instruction outputs a clock pulse at the specified cycle.
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.
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.
Instruction Name FB/FUN Graphic expression ST expression
Get**Clk Get Clock Pulse
Group
FUN Out:=Get**Clk();
“**” must be 100 us, 1 ms,
10 ms, 20 ms, 100 ms, 1 s,
or 1 min.
Variables
Name Meaning I/O Description Valid range Unit Default
Out Clock pulse Output Clock pulse Depends on data type.
--- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
Out OK
Function
Precautions for Correct Use
Get**Clk
EN Out
"**" must be 100 us, 1 ms, 10 ms, 20 ms,
100 ms, 1 s, or 1 min.
abc:=Get1sClk();
LD ST
abc
Get1sClk
EN
Out=abc
TRUE
FALSE
1 s

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals