User manual
Toolbox 32 User Manual 1.47d www.cse-semaphore.com/mykingfisher
Page
270
Clock Registers
Note: continuously writing to the real-time clock registers will cause the clock to stop or behave erratically.
#YMSEC
The current milliseconds (0-999). Resolution is currently 10ms. Read/Write
#YSEC
The current second (0-59) Read/Write
#YMIN
The current minute (0-59) Read/Write
#YHOUR
The current hour (0-23). 0=12 AM (midnight), 23=11 PM Read/Write
#YWEEKDAY
Day of the week (1-7). 1=Sunday, 7=Saturday Read/Write
#YDAY
Day of the month (1-31) Read/Write
#YMONTH
Month of the year (1-12) Read/Write
#YYEAR
Current year since 1900 (0-170). Eg. 1=1901, 104=2004 Read/Write
Timer Flags
These are system register bits that are periodically active for one scan of the ladder logic. Timer flags are
ladder contact addresses that be used multiple times in ladder logic and are useful for triggering events
periodically.
#YTICK.100TH
Hundredth of a second timer tick. Activated every 1/100 of a second
(10ms). Note: if the ladder scan rate is less than 100 times a second,
some of the times when YTICK.100TH is true will be missed by the
ladder logic.
Read
#YTICK.TENTH
Tenth of a second timer tick - activated every 1/10 of a second (100ms) Read
#YTICK.SEC
One second timer tick Read
#YTICK.10SEC
Ten second timer tick Read
#YTICK.MIN
One minute timer tick Read
#YTICK.10MIN
Ten minute timer tick Read
#YTICK.HOUR
One hour timer tick Read
#YTICK.DAY
One day timer tick Read