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 #693 background imageLoading...
Page #693 background image
2-645
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
System Control Instructions
2
GetNTPStatus
GetNTPStatus
The GetNTPStatus instruction reads the NTP status.
The GetNTPStatus instruction reads the NTP status. The following information is read: NTP last normal
operation time ExecTime and normal end flag ExecNormal.
The following figure shows a programming example.
Instruction Name FB/FUN Graphic expression ST expression
GetNTPStatus Read NTP Status FUN GetNTPStatus(ExecTime,
ExecNormal);
Variables
Name Meaning I/O Description Valid range Unit Default
Out Return value
Output
Always TRUE TRUE only ---
---
ExecTime NTP last normal
operation time
NTP last normal opera-
tion time
Depends on data type.
Year, month,
day, hour,
minutes,
seconds
Exec
Normal
NTP normal
end flag
TRUE: Normal end
FALSE: Error end
---
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
ExecTime OK
Exec
Normal
OK
Function
(@)GetNTPStatus
EN ENO
Out
ExecTime
ExecNormal
GetNTPStatus(abc, def);
LD ST
abc
def
GetNTPStatus
EN ENO
ExecTime
ExecNormal

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