Pacific Research Solutions RI-300e User Manual
Page 73
S-Cmd 42 REGULAR INTERVAL MACRO TRIGGER
This command is used to configure a timer that will trigger a macro at a Start Line address at a regularly timed interval. There
are 8 timers available. Use this command to trigger a macro line that starts the ID, if you want to have a beacon ID every hour.
SYNTAX: 42 [Timer] [Start Line] [Time]
READ BACK: 42 [Timer]
STORAGE: RAM/EEPROM
PARAMETERS: Timer 1–8 = Interval timers
Start Line 000 = Disable this function, 001 – 999 Macro data start line.
Time 0 = Reset timer, 1–14400 in 6 second increments (1 to 1440.0 minutes).
DEFAULT: All timers, Start Line = 000, Time = 0.
EXAMPLE: 42 1 123 100 Timer 1 will trigger macro starting at line number 123 every 10 minutes.
42 2 000 0 Disable timer 2.
S-Cmd 43 SET CLOCK TIME (RI-300 and RI-310 Version 2 Only)
The scheduler uses the system’s time clock, see S-Command 44. This (S-command 43) command is used to set the system time
clock. If you wish to use the scheduler, the time clock must be set to the correct time after controller power is restored.
Executing this command resets the flag that triggered the “Clock not set” courtesy message, (S-Command 32). You must set
the time using the 24-hour format. If you plan to use the scheduler, you may want to change the “Clock not set” message
trigger to point to the Power-on reset courtesy, “RST” message.
SYNTAX: 43 [Day] [Hours] [Minutes]
READ BACK: 43
STORAGE: RAM (Return to default at power on reset)
PARAMETERS: Day (1-Sunday, 2-Monday, 3-Tuesday, 4-Wednesday, 5-Thursday, 6-Friday, 7-Saturday)
Hours 00 to 23 = Time of day in 24 hour mode
Minutes 00 to 59 = Time of day in 24 hour mode
DEFAULT: Clock is not set when power is turned on.
EXAMPLE: 43 2 07 30 Set time to Monday 07:30 AM
You can also use this command to adjust for errors in the clock. If you notice a time loss or gain, you can set an adjustment
value that will correct errors in the clock.
SYNTAX: 43 0 [Plus/Minus] [Seconds]
READ BACK: 43 0
STORAGE: RAM/EEPROM
PARAMETERS: Plus/Minus 0 = Plus (add time each day) and 1 = Minus (subtract time each day)
Seconds 0 to 120 = Seconds per day adjustment
DEFAULT: 0 Seconds.
EXAMPLE: 43 0 0 14 Add 14 seconds each day to the time clock.
EXAMPLE: 43 0 1 100 Subtract 100 seconds each day from the time clock.
S-Cmd 43 SET REAL TIME CLOCK DATE and TIME (RI-300e and RI-310e Only)
The real time clock can only be found in the RI-300e and RI-310e, version 3. The scheduler uses the system’s time clock, see
S-Command 44. This (S-command 43) command is used to set the system real time clock. This clock is battery backed and
will continue to keep time even when power is removed from the controller.
SYNTAX: 43 [Day] [Date] [Time]
READ BACK: 43
STORAGE: Battery Backed RTC
PARAMETERS: Day (1-Sunday, 2-Monday, 3-Tuesday, 4-Wednesday, 5-Thursday, 6-Friday, 7-Saturday)
Date in MMDDYY where MM = Month 01 to 12, DD = Day 01 to 31 and YY = Year 00 to 99
Time in HHMM where HH = Hours 00 to 23 in 24 hour format and MM = Minutes 00 to 59
DEFAULT: Clock set at factory, Pacific Time Zone.
EXAMPLE: 43 2 100801 0730 Set data and time to Monday October 08, 01 at 07:30 AM
43 5 122001 1644 Set date and time to Thursday December 20, 01 at 04:44 PM