App index, Tk sets a match time timer, Tu sets an event action – Yokogawa Removable Chassis DX1000N User Manual
Page 146
3-29
Commands
IM 04L41B01-17E
1
2
3
4
5
6
App
Index
3.4 Setting Commands
p4 Reference time (hh; fixed format)
hh
Hour (00 to 23)
When p2 is set to RELATIVE (relative timer)
Syntax
TQ p1,p2,p3,p4
p1 Timer number
p2 Timer type (RELATIVE)
p3 Time (hh:mm; fixed format)
hh
Hour (00 to 24)
mm
Minute (00 to 59)
p4 Reset at computation start (OFF, ON)
Query
TQ[p1]?
Example Set the timeout value of timer number 1 to 10
hours 30 minutes. Do not reset the timer when
computation is started.
TQ1,RELATIVE,10:30,OFF
Description • Set p1 by referring to the table in section 3.3.
• You cannot use this command while recording
(memory sampling) in progress. If you are
using the /BT2 multi batch option, you cannot
use this command if any of the batch groups
is recording (memory sampling).
• You can set up to 24:00 time when using a
relative timer.
TK
Sets a match time timer
When p2 is set to OFF (disable the match time
timer)
Syntax
TK p1,p2
p1 Timer number
p2 Timer type (OFF)
When p2 is set to DAY
Syntax
TK p1,p2,p3,p4,p5
p1 Timer number
p2 Timer type (DAY)
p3 Day (1 to 28)
p4 Hour (hh:mm; fixed format; 00:00 to 23:59)
p5 Timer operation (SINGLE, REPEAT)
SINGLE Executes the action once when the
condition is met.
REPEAT Executes the action at every specified
time.
When p2 is set to WEEK
Syntax
TK p1,p2,p3,p4,p5
p1 Timer number
p2 Timer type (WEEK)
p3 Day of week (SUN, MON, TUE, WED, THU,
FRI, SAT)
p4 Hour (hh:mm; fixed format; 00:00 to 23:59)
p5 Timer operation (SINGLE, REPEAT)
When p2 is set to MONTH
Syntax
TK p1,p2,p3,p4,p5
p1 Timer number
p2 Timer type (MONTH)
p3 Day (1 to 28)
p4 Hour (hh:mm; fixed format; 00:00 to 23:59)
p5 Timer operation (SINGLE, REPEAT)
When p2 is set to YEAR
Syntax
TK p1,p2,p3,p4,p5,p6
p1 Timer number
p2 Timer type (YEAR)
p3 Month (JAN, FEB, MAR, APR, MAY, JUN,
JUL, AUG, SEP, OCT, NOV, DEC)
p4 Day (1 to 31; varies depending on the
specified month)
p5 Hour (hh:mm; fixed format; 00:00 to 23:59)
p6 Timer operation (SINGLE, REPEAT)
Query
TK[p1]?
Example Set timer number 2 to expire at hour 21 every
Thursday.
TK2,WEEK,THU,21:00,REPEAT
Description • Set p1 by referring to the table in section 3.3.
• You cannot use this command while recording
(memory sampling) in progress. If you are
using the /BT2 multi batch option, you cannot
use this command if any of the batch groups
is recording (memory sampling).
TU
Sets an event action
When multi batch /BT2 is not in use
Syntax
TU p1,p2,p3,p4,p5,p6,p7,p8
p1 Logic number (1 to 40)
p2 Event type
NONE
REMOTE
RELAY
Alarm output relay
SWITCH
Internal switch
ALARM
Alarm
TIMER
Timer
MATCHTIMETIMER
Match time
USERKEY
USER key
EVENTLEVELSWITCH
Event level switch
EVENTEDGESWITCH
Event edge switch
RELAY-OFF
Alarm output relay off
SWITCH-OFF
Internal switch of
f
ALARM-OFF
Alarm off
EVENTLEVELSWITCH-OFF
Event level switch off
p3 Event details
p2=REMOTE
Remote number
p2=RELAY
Relay number
p2=RELAY-OFF
Relay number
p2=SWITCH
Internal switch number
p2=SWITCH-OFF
Internal switch number
p2=TIMER
Timer number