Tme functons, Selectable range of parameters – Yokogawa PC-Based MX100 User Manual
Page 52
2-38
IM MX180-01E
Tme Functons
The table below shows the functions related to time. The functions are not case sensitive.
Only integer numeric constants can be written in the function parameters
the description in the table are defined below.
Edge:
Returns 1.0 for computation immediately after the specified absolute or
relative time.
Previous edge: Returns 1.0 for computation immediately before the specified absolute or
relative time.
Level:
Returns 1.0 during the specified absolute time or relative time.
• Selectable range of parameters
1970 to 2036
1 to 12 (1: January, 2: February, ..., 12: December)
1 to 31
0 to 23
Functon
Descrpton
Example
time(
Edge operation on the date/time
time(2003,6,3,9,53) ? StartRec() : 0
bfTime(
bfTime(2003,6,3,9,3) ?
on the date/time
StartRec() : 0
time(
Level operation between
time(2003,6,3,8,53,2003,6,3,9,13) ?
date/time A and B
sum(ch(1),ch(2),ch(3)) : 0
monthly(
Edge operation every month on
monthly(3,9,53) ? StartRec() : 0
the specified day, hour, and minute.
bfMonthly(
Previous edge operation every
bfMonthly(3,9,53) ? StartRec() : 0
month on the specified day,
hour, and minute.
monthly(
Level operation between the
monthly(3,9,3,4,9,3) ? StartRec() : 0
specified day, hour, and minute of
A to the specified day, hour, and
minute of B every month
weekly(
Edge operation every week on the
weekly(3,9,53) ? StartRec() : 0
specified week day, hour, and minute.
bfweekly(
Previous edge operation every
bfWeekly(3,9,53) ? StartRec() : 0
week on the specified week day,
hour, and minute.
weekly(
Level operation between the
weekly(10,00,11,05) ?
specified week day, hour, and
sum(ch(1),ch(2),ch(3)) : 0
minute of A to the specified week
day, hour, and minute of B every week.
daily(
Edge operation at the specified hour
daily(10,00) ? StartRec() : 0
and minute every day
bfdaily(
Previous edge operation at the
dfDaily(10,00) ? StartRec() : 0
specified hour and minute every day
daily(
daily(10,00,11,05) ? sum(ch(1),
A and B
ch(2),ch(3)) : 0
hourly(
Edge operation at the specified
hourly(30) ? StartRec() : 0
minute every hour
bfhourly(
Previous edge operation at the
bfHourly(30) ? StartRec() : 0
specified minute every hour
hourly(
Level operation between
hourly(10,20) ?
minute A and B every hour
sum(ch(1),ch(2),ch(3)) : 0
timer(
Returns the status of the specified
timer(1)==1.0 ? StartRec() : 0
timer
2.5 Settng Computatons (Settng the Computaton Channels)